:root {
  color-scheme: light;
  --page: #f8f7f3;
  --surface: #ffffff;
  --surface-soft: #f0efe9;
  --brand: #f4c84a;
  --brand-pressed: #dfae24;
  --brand-soft: #fff8df;
  --ink: #1d1d1f;
  --ink-secondary: #67676b;
  --ink-tertiary: #929296;
  --line: #e5e3dc;
  --success: #3e8e68;
  --danger: #d9534f;
  --focus: #8d6500;
  --content: 1120px;
  --article: 790px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
    "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: #765000;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #4f3600;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(244, 200, 74, 0.62);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--brand);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 243, 0.96);
  backdrop-filter: blur(10px);
}

.nav,
.hero,
.section-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  color: var(--ink-secondary);
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
}

.language-link {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: 72px;
  padding: 56px 0 48px;
}

.hero-copy {
  max-width: 650px;
}

.product-mark {
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #765000;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--ink-secondary);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  color: var(--ink);
  background: var(--brand);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--brand-pressed);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.hero-visual {
  position: relative;
  width: min(100%, 350px);
  justify-self: end;
}

.hero-visual::before {
  position: absolute;
  inset: 18px -20px -18px 20px;
  z-index: -1;
  border: 1px solid #ead47b;
  border-radius: 8px;
  background: var(--brand-soft);
  content: "";
}

.app-shot {
  width: 100%;
  border: 1px solid #d8d6cf;
  border-radius: 8px;
  background: var(--surface);
}

.hero-visual .app-shot {
  aspect-ratio: 430 / 540;
  object-fit: cover;
  object-position: top;
}

.quick-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.fact-grid {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  border-left: 1px solid var(--line);
}

.fact:last-child {
  border-right: 1px solid var(--line);
}

.fact strong {
  font-size: 16px;
}

.fact span {
  margin-top: 3px;
  color: var(--ink-secondary);
  font-size: 13px;
}

.band {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.band-white {
  background: var(--surface);
}

.band-warm {
  background: var(--brand-soft);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-secondary);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}

.feature {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 14px;
  color: #8a6200;
  font-size: 13px;
  font-weight: 760;
}

.feature p {
  margin-bottom: 0;
  color: var(--ink-secondary);
}

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

.screen-card {
  margin: 0;
}

.screen-card img {
  width: 100%;
  border: 1px solid #d8d6cf;
  border-radius: 8px;
  background: var(--surface);
}

.screen-card figcaption {
  padding: 12px 2px 0;
  color: var(--ink-secondary);
  font-size: 14px;
}

.privacy-layout,
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

.principles,
.purchase-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li,
.purchase-points li {
  padding: 20px 0;
  border-top: 1px solid rgba(29, 29, 31, 0.13);
}

.principles strong,
.purchase-points strong {
  display: block;
  margin-bottom: 5px;
}

.principles span,
.purchase-points span {
  color: var(--ink-secondary);
}

.status-note {
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--success);
  color: var(--ink-secondary);
}

.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  padding: 20px 32px 20px 0;
  cursor: pointer;
  font-weight: 700;
}

.faq-list details p {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--ink-secondary);
}

.article-shell {
  width: min(calc(100% - 40px), var(--article));
  margin: 0 auto;
  padding: 64px 0 84px;
}

.article-header {
  margin-bottom: 42px;
}

.article-header h1 {
  font-size: 46px;
}

.article-lede {
  margin-bottom: 22px;
  color: var(--ink-secondary);
  font-size: 18px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-tertiary);
  font-size: 13px;
}

.summary-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 38px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.summary-item {
  min-height: 116px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-item strong {
  display: block;
  margin-bottom: 5px;
}

.summary-item span {
  color: var(--ink-secondary);
  font-size: 14px;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}

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

.legal-section li::marker {
  color: #8a6200;
}

.notice {
  margin: 0 0 34px;
  padding: 16px 18px;
  border: 1px solid #e3cf7d;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: var(--brand-soft);
}

.contact-box {
  margin: 24px 0 38px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
}

.support-item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.support-item p:last-child,
.support-item ol:last-child,
.support-item ul:last-child {
  margin-bottom: 0;
}

.site-footer {
  color: var(--ink-secondary);
  background: #efeee8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px 0 40px;
}

.footer-brand {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 750;
}

.footer-copy,
.footer-legal {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

  h1 {
    font-size: 48px;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .fact:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-layout,
  .purchase-layout {
    gap: 42px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .nav {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-link {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 24px;
  }

  .product-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-visual {
    width: min(82%, 330px);
    justify-self: center;
  }

  .hero-visual .app-shot {
    height: 180px;
    aspect-ratio: auto;
  }

  .fact-grid,
  .feature-grid,
  .screens-grid,
  .privacy-layout,
  .purchase-layout,
  .summary-panel,
  .support-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: 82px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .band {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .screen-card {
    width: min(88%, 360px);
    margin: 0 auto;
  }

  .article-shell {
    padding-top: 46px;
  }

  .article-header h1 {
    font-size: 38px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .nav,
  .hero,
  .section-inner,
  .footer-inner,
  .fact-grid,
  .article-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav-links {
    gap: 13px;
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .hero-visual::before {
    inset: 12px -10px -12px 10px;
  }
}

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