:root {
  --ink: #171612;
  --muted: #665f55;
  --paper: #f7efe5;
  --paper-deep: #efe1d0;
  --surface: #fffaf2;
  --line: #d9c8b5;
  --action: #171612;
  --terracotta: #b96043;
  --ochre: #c99b42;
  --sage: #70897c;
  --blue: #384d59;
  --shadow: 0 24px 70px rgba(41, 31, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(247, 239, 229, 0.96)),
    var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 239, 229, 0.92);
  border-bottom: 1px solid rgba(217, 200, 181, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(41, 31, 22, 0.18);
}

.top-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.top-nav a,
.site-footer a,
.legal-back {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover,
.legal-back:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px) 42px;
}

.hero h1,
.hero-title,
.section h2,
.download-section h2,
.legal-page h1 {
  max-width: 760px;
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 6.1rem;
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.app-lockup img {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(41, 31, 22, 0.22);
}

.app-lockup .eyebrow {
  margin-bottom: 6px;
}

.hero-title {
  max-width: 680px;
  font-size: 3.05rem;
  font-weight: 820;
}

.lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.store-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: var(--surface);
  background: var(--action);
}

.button.secondary {
  background: transparent;
}

.store-placeholder {
  color: var(--surface);
  background: var(--ink);
}

.trust-list,
.check-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  color: var(--muted);
}

.trust-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
}

.trust-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--sage);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 610px;
}

.phone-frame,
.screen-placeholder {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(239, 225, 208, 0.74)),
    repeating-linear-gradient(90deg, rgba(23, 22, 18, 0.035) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow);
}

.phone-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 336px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 42px;
  background:
    linear-gradient(145deg, #2b2926, #080807 46%, #1a1917);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 -16px 34px rgba(255, 255, 255, 0.05),
    0 28px 80px rgba(41, 31, 22, 0.2);
}

.phone-frame::before {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 90px;
  height: 24px;
  border-radius: 999px;
  background: #070707;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  content: "";
  transform: translateX(-50%);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 31px;
}

.main-shot {
  aspect-ratio: 390 / 844;
  width: min(100%, 350px);
}

.tall-shot {
  aspect-ratio: 390 / 844;
}

.wide-shot {
  aspect-ratio: 390 / 844;
}

.placeholder-label {
  align-self: start;
  justify-self: start;
  padding: 7px 10px;
  color: var(--muted);
  background: rgba(255, 250, 242, 0.86);
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 720;
}

.mock-photo {
  align-self: end;
  width: 100%;
  min-height: 330px;
  border: 1px solid rgba(23, 22, 18, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(183, 96, 67, 0.32), transparent 42%),
    linear-gradient(35deg, rgba(112, 137, 124, 0.44), transparent 48%),
    linear-gradient(180deg, #f4dfbc, #bfa17d 52%, #405047);
}

.mock-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-self: end;
  margin-top: 14px;
}

.mock-swatches span {
  height: 48px;
  border: 1px solid rgba(23, 22, 18, 0.14);
  border-radius: 8px;
  background: var(--swatch);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(58px, 9vw, 104px) clamp(18px, 4vw, 56px);
}

.band,
.split-band,
.download-section {
  max-width: none;
  background: rgba(255, 250, 242, 0.58);
  border-top: 1px solid rgba(217, 200, 181, 0.8);
  border-bottom: 1px solid rgba(217, 200, 181, 0.8);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section h2,
.download-section h2 {
  font-size: 3.6rem;
}

.steps,
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.steps article,
.principles article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-number {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 820;
}

h3 {
  margin: 8px 0 8px;
  line-height: 1.16;
  font-size: 1.15rem;
}

p {
  color: var(--muted);
}

.feature-grid,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split-band {
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
}

.feature-copy p {
  max-width: 640px;
}

.mock-wheel {
  align-self: center;
  justify-self: center;
  width: min(76%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--surface) 0 26%, transparent 27%),
    conic-gradient(from 20deg, #b96043, #c99b42, #70897c, #384d59, #6d5068, #b96043);
  box-shadow: inset 0 0 0 1px rgba(23, 22, 18, 0.12);
}

.mock-lines {
  align-self: end;
  height: 92px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #b96043 0 24%, transparent 24%),
    linear-gradient(90deg, transparent 0 28%, #c99b42 28% 48%, transparent 48%),
    linear-gradient(90deg, transparent 0 52%, #70897c 52% 76%, transparent 76%),
    linear-gradient(90deg, transparent 0 80%, #384d59 80% 100%);
}

.brush-row {
  height: 58px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 7px),
    linear-gradient(90deg, transparent, var(--paint), transparent);
  filter: saturate(1.05);
}

.compact {
  padding-top: 78px;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(46px, 7vw, 76px) clamp(18px, 4vw, 56px);
}

.download-section > div {
  max-width: 680px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 430px;
  margin: 6px 0 0;
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 22px 70px;
}

.legal-page h1 {
  margin-top: 20px;
  font-size: 3.4rem;
}

.legal-page h2 {
  margin: 2rem 0 0.4rem;
  line-height: 1.18;
  font-size: 1.18rem;
}

.updated {
  margin-bottom: 2rem;
  color: var(--muted);
}

.legal-page a:not(.legal-back) {
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .feature-grid,
  .split-band,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    row-gap: 24px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .main-shot,
  .tall-shot,
  .wide-shot {
    max-width: 340px;
  }

  .trust-list,
  .steps,
  .principles {
    grid-template-columns: 1fr;
  }

  .download-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .section h2,
  .download-section h2,
  .legal-page h1 {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 1.12rem;
  }
}

@media (max-width: 560px) {
  .top-nav {
    gap: 8px 12px;
  }

  .hero-copy {
    display: contents;
  }

  .app-lockup {
    order: 1;
  }

  .hero-title {
    order: 2;
  }

  .lead {
    order: 3;
  }

  .hero-visual {
    order: 4;
  }

  .hero-actions {
    order: 5;
  }

  .trust-list {
    order: 6;
  }

  .hero-actions,
  .download-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .store-placeholder {
    width: 100%;
  }

  .app-lockup {
    gap: 14px;
    margin-bottom: 6px;
  }

  .app-lockup img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-title {
    font-size: 1.42rem;
  }

  .section h2,
  .download-section h2,
  .legal-page h1 {
    font-size: 1.95rem;
  }

  .hero {
    padding-top: 38px;
  }

  .lead {
    margin-top: 12px;
    font-size: 0.98rem;
  }
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-size: 0.9rem;
}

.legal-page .language-nav {
  margin: 20px 0;
}

.language-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
