:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --white: #fffdf7;
  --ink: #211d17;
  --muted: #60594b;
  --line: #ded8ca;
  --gold: #ffd54e;
  --dark: #211e19;
  --radius: 24px;
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid #936000; outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(100% - 80px, 1240px); margin-inline: auto; }
.section-pad { padding-block: clamp(56px, 7vw, 108px); }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon:has(use[href="#icon-windows"]) { fill: currentColor; stroke: none; }
.skip { position: absolute; z-index: 5; top: 8px; left: 12px; padding: 10px 15px; background: var(--gold); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.home-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 79px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; flex: 0 0 auto; width: 204px; height: 52px; overflow: hidden; }
.wordmark img { width: 100%; height: auto; }
.home-header nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(16px, 2.8vw, 38px); }
.home-header nav a, .footer-inner nav a { font-size: .94rem; font-weight: 650; text-decoration: none; }
.home-header nav a:hover, .footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 1px; }

.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 9px; padding: 11px 16px; border: 1px solid transparent; border-radius: 11px; font-weight: 750; font-size: .95rem; line-height: 1.22; text-align: center; text-decoration: none; transition: background-color .16s, border-color .16s; }
.button.small { min-height: 43px; font-size: .875rem; }
.button.ink { background: var(--ink); color: var(--white); }
.button.ink:hover { background: #42392d; }
.button.gold { background: var(--gold); color: var(--ink); }
.button.gold:hover { background: #f8c637; }
.button.outline { border-color: #a19a89; color: var(--ink); }
.button.outline:hover { background: #eee9db; border-color: var(--ink); }
.eyebrow { margin-bottom: 12px; font-size: .875rem; font-weight: 790; letter-spacing: .12em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); align-items: center; gap: clamp(28px, 5.5vw, 90px); padding-block: clamp(38px, 5.8vw, 88px); }
.hero h1, .guide-hero h1 { font-size: clamp(3.15rem, 6.5vw, 6.4rem); line-height: .91; letter-spacing: -.061em; font-weight: 775; text-wrap: initial; }
.hero h1 em { display: block; margin-top: .06em; font: italic 400 1.07em/.97 Georgia, serif; letter-spacing: -.07em; }
.lead { max-width: 37ch; margin-top: 24px; color: var(--muted); font-size: clamp(1rem, 1.54vw, 1.23rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-note { margin-top: 13px; font-size: .875rem; color: var(--muted); }
.hero-photo { position: relative; padding: 11px 11px 24px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: 0 12px 36px #37261013; transform: rotate(2deg); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: center 52%; border-radius: 20px; background: #d29725; }

.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 14px 28px; margin-bottom: 29px; }
.section-heading > p, .help-grid > div > p:last-child { max-width: 37ch; color: var(--muted); font-size: 1.07rem; }
h2 { font-size: clamp(2.25rem, 5vw, 4.6rem); line-height: .99; font-weight: 780; letter-spacing: -.052em; }
h3 { font-size: 1.43rem; font-weight: 780; line-height: 1.15; letter-spacing: -.038em; }
.download-section { background: var(--dark); color: var(--white); }
.download-section .eyebrow { color: var(--gold); }
.download-section .section-heading > p { color: #dfd6c7; }
.platform-grid, .plan-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.platform-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); padding: clamp(19px, 2.6vw, 32px); border-radius: var(--radius); display: flex; flex-direction: column; align-items: stretch; }
.platform-icon { display: grid; width: 49px; height: 49px; place-items: center; margin-bottom: 15px; border-radius: 13px; background: #f1ede1; }
.platform-icon .icon { width: 25px; height: 25px; }
#android .platform-icon { background: var(--gold); }
.platform-card > p:not(.file-note) { margin-top: 8px; color: var(--muted); }
.platform-card > p.spec { display: flex; align-items: end; flex: 1; margin-block: 16px 13px; font-size: .875rem; font-weight: 700; }
.platform-card .button + .button { margin-top: 8px; }
.platform-card .store-download { margin-top: 12px; }
.file-note { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.link-row { display: flex; flex-wrap: wrap; column-gap: 16px; margin-top: 12px; }
.link-row a, .plan-note a { display: inline-flex; align-items: center; min-height: 38px; font-size: .875rem; font-weight: 680; text-underline-offset: 3px; }

.experience { background: #f0ebdf; }
.product-showcase { padding: clamp(10px, 2vw, 23px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.preview-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.preview-tabs button { min-height: 44px; padding: 7px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: .875rem; font-weight: 730; cursor: pointer; }
.preview-tabs button[aria-selected="true"] { background: var(--gold); }
.preview-tabs button:hover { border-color: #b5a97f; }
#preview-panel img { margin-inline: auto; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #10100f; border-radius: 12px; }
#preview-caption { padding: 10px 2px 1px; color: var(--muted); font-size: .875rem; }
.feature-grid { margin-top: 18px; }
.feature { padding: 20px 4px; }
.feature > .icon { width: 27px; height: 27px; margin-bottom: 6px; }
.feature p, .plan-card > p:not(.price) { margin-top: 7px; color: var(--muted); }

.plan-card { display: flex; flex-direction: column; padding: clamp(18px, 2.6vw, 32px); border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.plan-card.featured { background: #ffecac; border-color: #e5ca73; }
.price { margin-top: 9px; font-size: clamp(1.85rem, 3.7vw, 3.1rem); font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.price span { display: inline-block; font-size: .875rem; font-weight: 650; letter-spacing: 0; }
.plan-card .button { margin-top: auto; }
.plan-card > p:not(.price) { margin-bottom: 18px; }
.plan-note { margin-top: 13px; }
.help-section { background: #f0ebdf; }
.help-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 70px); }
.help-grid > div > p:last-child { margin-top: 14px; }
.help-grid a, .guide-body a { text-underline-offset: 3px; }
.faq details { border-bottom: 1px solid #d8cdb8; }
.faq details:first-child { border-top: 1px solid #d8cdb8; }
.faq summary { padding: 16px 2px; cursor: pointer; font-weight: 730; }
.faq details p { margin: 0 2px 17px; color: var(--muted); }
.footer-inner { display: flex; gap: 17px; justify-content: space-between; align-items: center; padding-block: 24px; }
.footer-inner nav { flex-wrap: wrap; gap: 8px 23px; }
.download-feedback { position: fixed; z-index: 4; bottom: 15px; right: 15px; width: min(400px, calc(100% - 30px)); padding: 13px 17px; border-radius: 11px; border: 1px solid var(--line); background: var(--ink); color: var(--white); box-shadow: 0 10px 24px #211d1733; }

.guide-hero { padding-block: clamp(38px, 7vw, 90px); }
.guide-hero h1 { font-size: clamp(2.75rem, 7vw, 5.7rem); }
.guide-hero .lead { max-width: 49ch; }
.guide-hero .hero-actions { margin-top: 17px; }
.guide-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 70px); align-items: start; padding-top: 36px; border-top: 1px solid var(--line); }
.guide-body h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.guide-body p, .guide-body li { color: var(--muted); margin-top: 12px; }
.guide-body li { padding-left: 5px; }
.guide-body ol { padding-inline-start: 22px; }
.guide-steps section + section { margin-top: 36px; }
.guide-panel { background: #ffecac; border: 1px solid #e5ca73; border-radius: 19px; padding: clamp(17px, 3vw, 26px); }

@media (min-width: 761px) {
  .menu-toggle { display: none; }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .home-header { min-height: 65px; flex-wrap: wrap; gap: 9px; padding-block: 9px; }
  .home-header .wordmark { width: clamp(118px, calc(100vw - 202px), 185px); height: 46px; }
  .home-footer .wordmark { width: 180px; height: 46px; }
  .home-header nav { order: 3; width: 100%; flex-wrap: wrap; }
  .home-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .has-menu .home-header nav { display: none; }
  .has-menu .home-header.is-open nav { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 32px 40px; }
  .hero h1 { font-size: clamp(3.22rem, 10vw, 5rem); }
  .hero h1 em { display: inline; margin: 0; }
  .lead { margin-top: 15px; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .button { padding-inline: 11px; gap: 6px; font-size: .875rem; }
  .hero-actions .icon { width: 18px; height: 18px; }
  .hero-note { margin-top: 10px; }
  .hero-photo { width: 100%; max-width: 520px; justify-self: center; padding: 7px 7px 15px; transform: none; border-radius: 20px; }
  .hero-photo img { aspect-ratio: 1.54; border-radius: 13px; object-position: center 47%; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 21px; }
  .help-grid, .guide-body { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 590px) {
  .platform-grid, .plan-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 0; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .feature { padding-block: 15px; }
  .platform-card .spec { display: block; }
}
@media (max-width: 375px) {
  .hero h1 { font-size: clamp(2.65rem, 11.8vw, 3.8rem); }
  .hero-photo img { aspect-ratio: 1.35; }
  .preview-tabs button { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
