/* logdtraining.com.au. The app's palette: near-black, off-white, the lime
   ink (#C6D747 light / #CEDE54 dark) and the one warm accent. System fonts,
   like the app. */

:root {
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-2: #ebebe7;
  --border: #e2e2dd;
  --text: #121214;
  --muted: #5f5f66;
  --subtle: #9b9ba1;
  --ink: #c6d747;
  --ink-text: #121214;
  --accent: #d84a28;

  /* The dark bands (hero, laptop, closing, header, footer) in both modes. */
  --night: #0a0a0a;
  --night-2: #151515;
  --night-border: #262626;
  --night-text: #ffffff;
  --night-muted: #a1a1a6;
  --lime: #cede54;

  --radius: 22px;
  --wrap: 1180px;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --surface: #161616;
    --surface-2: #1f1f1f;
    --border: #2a2a2a;
    --text: #ffffff;
    --muted: #a1a1a6;
    --subtle: #6c6c70;
    --ink: #cede54;
    --ink-text: #0a0a0a;
    --accent: #f08e35;
    --night: #000000;
    --night-2: #111111;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap.narrow {
  max-width: calc(780px + var(--gutter) * 2);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--lime);
  color: #0a0a0a;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.skip:focus {
  left: 12px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  max-width: 22ch;
}

.section-title.wide-title {
  max-width: none;
}

.section-lead {
  margin-top: 16px;
  max-width: 36em;
  font-size: 18px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-ink {
  background: var(--lime);
  color: #0a0a0a;
}

.btn-ink:hover {
  background: #d9e86a;
}

.btn-white {
  background: #ffffff;
  color: #0a0a0a;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}

.cta-row.center {
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.store-badge img {
  height: 48px;
  width: auto;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--night-border);
  color: var(--night-text);
  font-weight: 700;
  font-size: 15px;
}

.link-quiet {
  color: var(--night-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.link-quiet:hover {
  color: var(--night-text);
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  border-bottom: 1px solid transparent;
  color: var(--night-text);
  transition: border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--night-border);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-icon {
  border-radius: 8px;
}

.nav {
  display: none;
  gap: 28px;
  margin-left: 16px;
}

.nav a {
  color: var(--night-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--night-text);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  background: radial-gradient(1200px 500px at 85% 10%, rgba(206, 222, 84, 0.13), transparent 60%), var(--night);
  color: var(--night-text);
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero .eyebrow {
  color: var(--lime);
}

.hero-grid {
  display: grid;
  gap: 56px;
}

.hero h1 {
  font-size: clamp(40px, 4.7vw, 66px);
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.hl {
  color: var(--lime);
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--night-muted);
  max-width: 34em;
}

.hero .cta-row {
  margin-top: 32px;
}

@media (min-width: 1040px) {
  .hero {
    padding: 72px 0 96px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 5.3fr) minmax(0, 6.7fr);
    align-items: center;
  }
}

/* ---------------------------------------------------------------- devices */

.laptop-screen {
  background: #1c1c1e;
  border: 1px solid #333336;
  border-radius: 14px 14px 0 0;
  padding: 2.2% 2.2% 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

.laptop-screen img {
  border-radius: 4px 4px 0 0;
  width: 100%;
}

.laptop-base {
  height: clamp(10px, 1.4vw, 18px);
  margin: 0 -5%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(#3b3b3e, #1d1d1f 70%);
  position: relative;
}

.laptop-base::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #121214;
}

.phone {
  width: 100%;
  max-width: 290px;
  border-radius: 13% / 6%;
  border: 7px solid #121214;
  background: #121214;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone img {
  width: 100%;
}

/* Three phones, the middle one in front. */
.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 12px 0 8px;
}

.hero-phones .phone {
  width: 34%;
  max-width: 250px;
  flex: none;
}

.hero-phones .center {
  width: 38%;
  max-width: 280px;
  position: relative;
  z-index: 2;
}

.hero-phones .side {
  position: relative;
  z-index: 1;
  filter: brightness(0.92);
}

.hero-phones .left {
  margin-right: -7%;
  transform: translateY(6%) rotate(-7deg);
}

.hero-phones .right {
  margin-left: -7%;
  transform: translateY(6%) rotate(7deg);
}

/* ---------------------------------------------------------------- paths */

.paths {
  padding: 88px 0 8px;
}

.path-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.path-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.path-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.path-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ink-text);
  margin-bottom: 4px;
}

.path-card h3 {
  font-size: 22px;
  font-weight: 800;
}

.path-card p {
  color: var(--muted);
}

.path-more {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 700;
  font-size: 15px;
}

@media (min-width: 820px) {
  .path-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------------------------------------------------------------- the swap */

.swap {
  padding: 72px 0 24px;
}

.swap-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.swap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
}

.swap-old {
  /* Readable first, crossed out second: muted (not faint) text, and a thin,
     half-strength line so it doesn't cover the letters. */
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 1.5px;
  font-weight: 600;
}

.swap-new {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .swap-grid.six {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  .swap-grid,
  .swap-grid.six {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------------------------------------------------------------- features */

.feature {
  padding: 88px 0;
}

.feature-alt {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.feature-copy h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  max-width: 18ch;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}

.ticks li {
  position: relative;
  padding-left: 38px;
  color: var(--muted);
}

.ticks li strong {
  color: var(--text);
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
}

.ticks li::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 7px;
  width: 6px;
  height: 11px;
  border: solid var(--ink-text);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.ticks.compact {
  gap: 12px;
  margin: 22px 0 28px;
}

.ticks.compact li {
  color: var(--text);
}

.aside {
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 15px;
  color: var(--muted);
}

.phones-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 18px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.phones-pair .phone-offset {
  margin-top: 56px;
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }
  .feature-grid.reverse .feature-copy {
    order: 2;
  }
}

/* ---------------------------------------------------------------- laptop band */

.laptop-section {
  background: var(--night);
  color: var(--night-text);
  padding: 96px 0 0;
  overflow: hidden;
}

.laptop-section .eyebrow {
  color: var(--lime);
}

.laptop-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.laptop-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
}

.laptop-copy p {
  margin-top: 20px;
  color: var(--night-muted);
  font-size: 18px;
}

.laptop-copy .cta-row {
  justify-content: center;
  margin-top: 30px;
}

.muted-note {
  color: var(--night-muted);
  font-size: 14px;
}

.laptop-wide {
  max-width: 1000px;
  margin: 56px auto 0;
  /* Cropped by the band's bottom edge, like a laptop rising out of it. */
  margin-bottom: -6%;
}

/* ---------------------------------------------------------------- pricing */

.pricing {
  background: var(--surface);
  padding: 96px 0;
}

.pricing-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.pricing h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
}

.pricing-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 30em;
}

.price-card {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.per {
  color: var(--muted);
  font-weight: 600;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr auto;
    gap: 80px;
  }
}

/* ---------------------------------------------------------------- FAQ */

.faq {
  padding: 96px 0;
}

.faq .section-title {
  margin-bottom: 28px;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  padding: 0 0 24px;
  color: var(--muted);
  max-width: 40em;
}

.faq a {
  color: var(--text);
  font-weight: 600;
}

/* ---------------------------------------------------------------- closing */

.closing {
  background: radial-gradient(900px 380px at 50% 0%, rgba(206, 222, 84, 0.16), transparent 70%), var(--night);
  color: var(--night-text);
  padding: 104px 0;
  text-align: center;
}

.closing h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
}

.closing p {
  margin: 16px 0 34px;
  color: var(--night-muted);
  font-size: 19px;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--night);
  color: var(--night-muted);
  border-top: 1px solid var(--night-border);
  padding: 56px 0 32px;
  font-size: 15px;
}

.site-footer .brand {
  color: var(--night-text);
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr;
}

.footer-brand {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  justify-items: start;
  align-content: start;
}

.footer-grid h2 {
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--night-text);
  margin-bottom: 12px;
}

.footer-grid a:not(.brand):not(.store-badge) {
  display: block;
  text-decoration: none;
  padding: 4px 0;
}

.footer-grid a:not(.brand):not(.store-badge):hover {
  color: var(--night-text);
}

.footer-base {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--night-border);
  font-size: 13px;
  display: grid;
  gap: 6px;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* ---------------------------------------------------------------- legal + help */

.prose {
  max-width: calc(760px + var(--gutter) * 2);
  padding-top: 64px;
  padding-bottom: 80px;
}

.prose h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
}

.prose .meta {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 15px;
}

.prose .lead {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
}

.prose section {
  margin-top: 40px;
}

.prose h2 {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
}

.prose section > h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text);
  line-height: 1.65;
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 14px;
}

.prose ul {
  padding-left: 22px;
  margin: 0;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--subtle);
}

.prose a {
  color: var(--text);
  font-weight: 600;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.help-more {
  padding-top: 0;
  margin-top: -40px;
}

.not-found {
  min-height: 50vh;
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
  .header-actions .link-quiet {
    display: none;
  }
  .hero {
    padding-top: 40px;
  }
  .swap,
  .feature,
  .pricing,
  .faq {
    padding: 64px 0;
  }
  .laptop-section {
    padding-top: 72px;
  }
  .closing {
    padding: 72px 0;
  }
  .phones-pair {
    gap: 12px;
  }
  .phones-pair .phone-offset {
    margin-top: 32px;
  }
  .phone {
    border-width: 5px;
  }
  .price-card {
    padding: 24px;
  }
}
