@font-face { font-family: "Poppins"; src: url("assets/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #07111f;
  --paper: #fffdf7;
  --mist: #edf3f1;
  --sand: #f5ecd6;
  --gold: #d9ad52;
  --teal: #17766e;
  --coral: #bb5548;
  --muted: #5d6672;
  --line: rgba(7, 17, 31, .15);
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --content: 1120px;
  font-family: "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3 { letter-spacing: 0; }
p { line-height: 1.75; }
h1, h2 { font-family: var(--display); text-wrap: balance; }
.wrap { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.page-header { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 700; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.page-nav { display: flex; align-items: center; gap: 26px; }
.page-nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.page-nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; padding: 11px 16px; border-radius: 6px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; text-decoration: none; }

.hero { padding: 92px 0 76px; background: var(--mist); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: center; gap: 72px; }
.overline { margin: 0 0 14px; color: #8a631f; font-size: 12px; font-weight: 700; text-transform: uppercase; }
h1 { max-width: 800px; margin: 0; font-size: clamp(45px, 6vw, 78px); line-height: .98; }
.hero-lead { max-width: 720px; margin: 26px 0 0; color: var(--muted); font-size: 18px; }
.hero-note { padding: 28px; border-left: 3px solid var(--gold); background: var(--paper); }
.hero-note strong { display: block; font-family: var(--display); font-size: 28px; line-height: 1.15; }
.hero-note span { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--ink); color: white; }
.button-secondary { border: 1px solid var(--line); background: white; }

.band { padding: 82px 0; border-bottom: 1px solid var(--line); }
.band-sand { background: var(--sand); }
.band-mist { background: var(--mist); }
.section-grid { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: 78px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; }
.section-copy { color: var(--muted); }
.section-copy > :first-child { margin-top: 0; }
.section-copy strong { color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principles article { min-height: 190px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles h3 { margin: 0 0 10px; font-size: 18px; }
.principles p { margin: 0; color: var(--muted); font-size: 14px; }
.source-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.source-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.signature { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }

.device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 24px; }
.device-grid figure { margin: 0; }
.device-grid img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border: 9px solid var(--ink); border-radius: 28px; box-shadow: 0 20px 48px rgba(7,17,31,.16); }
.device-grid figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-list article { min-height: 170px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-list span { color: #8a631f; font-size: 11px; font-weight: 700; }
.feature-list h3 { margin: 12px 0 8px; font-size: 17px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 13px; }

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.platform { min-height: 300px; padding: 34px; }
.platform + .platform { border-left: 1px solid var(--line); }
.platform h3 { margin: 0 0 12px; font-family: var(--display); font-size: 34px; }
.platform p { color: var(--muted); }
.store-badge { width: 220px; display: inline-flex; margin-top: 18px; }
.store-badge img { width: 100%; height: auto; }
.apple-badge { align-items: center; gap: 12px; padding: 8px 14px; border-radius: 7px; background: #050505; color: white; text-decoration: none; }
.apple-badge svg { width: 38px; height: 38px; flex: 0 0 auto; }
.apple-badge small, .apple-badge strong { display: block; }
.apple-badge small { font-size: 8px; }
.apple-badge strong { font-size: 18px; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.price { padding: 34px; }
.price + .price { border-left: 1px solid var(--line); }
.price.recommended { background: var(--sand); }
.price-label { color: #8a631f; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.price h3 { margin: 12px 0; font-size: 22px; }
.price strong { font-family: var(--display); font-size: 48px; }
.price p { color: var(--muted); font-size: 13px; }

.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 20px 0; font-weight: 700; }
.faq-list details p { max-width: 780px; margin: -4px 0 22px; color: var(--muted); }

.page-footer { padding: 44px 0; background: var(--ink); color: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 12px; }
.page-footer small { color: rgba(255,255,255,.62); }
.page-footer small a { color: white; }

@media (max-width: 820px) {
  .wrap { width: min(calc(100% - 32px), var(--content)); }
  .page-header { grid-template-columns: 1fr auto; }
  .page-nav { display: none; }
  .hero { padding: 64px 0 54px; }
  .hero-grid, .section-grid { grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  .principles, .feature-list, .platforms, .pricing { grid-template-columns: 1fr; }
  .platform + .platform, .price + .price { border-left: 0; border-top: 1px solid var(--line); }
  .device-grid { gap: 10px; }
  .device-grid img { border-width: 5px; border-radius: 16px; }
  .device-grid figcaption { font-size: 11px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
