*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
p { text-wrap: pretty; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 99px; z-index: 20; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: var(--r-pill); border: 1px solid color-mix(in oklch, var(--ink-2) 45%, transparent); background: transparent; color: var(--accent-ink); font: 500 1rem/1 var(--font-ui); text-decoration: none; transition: background 120ms, box-shadow 120ms; }
.btn:hover { background: color-mix(in oklch, var(--accent) 8%, transparent); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn.primary:hover { background: color-mix(in oklch, var(--accent) 90%, var(--ink)); box-shadow: var(--shadow-pop); }
.btn.small { min-height: 40px; padding: 0 20px; font-size: 0.95rem; }
.btn.light { background: var(--surface); color: var(--accent-ink); border-color: transparent; }
.btn svg { width: 20px; height: 20px; }

/* brand mark: a bookmark ribbon in the four Google colors */
.logo-mark { flex: none; width: 34px; height: 34px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in oklch, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 500 1.35rem/1 var(--font-display); }
.site-head nav { display: flex; gap: 6px; margin-left: auto; }
.site-head nav a { color: var(--ink-2); text-decoration: none; padding: 10px 14px; border-radius: 99px; font-weight: 500; }
.site-head nav a:hover { background: var(--sunken); color: var(--ink); }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 0.9rem; color: var(--ink-2); }
.tabs-fan { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tabs-fan span { padding: 6px 14px; border-radius: 99px; background: var(--c); color: var(--on-tab); font-weight: 500; font-size: 0.9rem; }

/* browser composite */
.browser { background: var(--surface); border-radius: 16px; box-shadow: 0 2px 4px rgb(60 64 67 / 0.12), 0 24px 60px -12px rgb(60 64 67 / 0.35); overflow: hidden; border: 1px solid var(--line); }
.bw-top { display: flex; align-items: flex-end; gap: 6px; padding: 10px 14px 0; background: var(--sunken); }
.dots { display: flex; gap: 6px; padding: 0 12px 12px 0; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.bw-tab { padding: 9px 18px; border-radius: 10px 10px 0 0; background: var(--surface); font-size: 0.82rem; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-tab.dim { background: transparent; color: var(--ink-2); }
.bw-url { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.bw-url-box { flex: 1; padding: 7px 16px; border-radius: 99px; background: var(--sunken); color: var(--ink-2); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-ext { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; }
.bw-bar { display: flex; gap: 6px; padding: 6px 14px; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.bm { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; color: var(--ink); }
.bm svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bm-co { background: var(--accent-soft); font-weight: 500; }
.bw-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; height: 540px; background: var(--paper); }
.bw-page { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.sk { border-radius: 8px; background: var(--sunken); }
.bw-panel { border-left: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.bw-panel img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.band { background: var(--surface); }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); font-weight: 500; font-size: 0.88rem; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head p { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }
.problem .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.problem p { font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; }
.problem p + p { margin-top: 16px; color: var(--ink); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-sheet); background: var(--sunken); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 500; }
.steps p { color: var(--ink-2); }
.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 44px; }

.device { width: 300px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 2px 4px rgb(60 64 67 / 0.1), 0 18px 40px -10px rgb(60 64 67 / 0.3); }
.device img { width: 100%; height: auto; }
figcaption { margin-top: 12px; text-align: center; font-size: 0.95rem; color: var(--ink-2); }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 120px); }
.feature.flip > :first-child { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 16px; }
.feature-copy h3 { font: 400 clamp(1.5rem, 2.4vw, 1.95rem)/1.15 var(--font-display); text-wrap: balance; }
.feature-copy p { font-size: 1.1rem; color: var(--ink-2); max-width: 46ch; }
.feature-copy ul { padding: 0; margin: 4px 0 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feature-copy li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--ok); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2px 4px rgb(60 64 67 / 0.1), 0 24px 56px -14px rgb(60 64 67 / 0.32); background: var(--surface); }
.frame img { width: 100%; height: auto; }
.duo { display: flex; justify-content: center; gap: 22px; }
.duo figure { width: min(250px, 46%); }
.duo .device { width: 100%; }

/* illustrations built in CSS */
.ill { padding: 22px; background: var(--paper); border-radius: 16px; border: 1px solid var(--line); }
.ill-bar { display: flex; gap: 6px; padding: 8px 12px; background: var(--sunken); border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.menus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: start; margin: 0 0 0 10px; }
.menus .menu.second { margin-top: 82px; }
.menu { margin: 0; width: 100%; padding: 8px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-pop); font-size: 0.92rem; }
.menu div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.menu div.on { background: var(--sunken); }
.menu svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-2); flex: none; }
.menu .chev { margin-left: auto; }
.ill-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) 32px minmax(0, 1fr); gap: 8px; align-items: center; }
.sheet { background: var(--surface); border-radius: 12px; border: 1px solid var(--line); overflow: hidden; font-size: 0.9rem; }
.sheet .th { padding: 8px 12px; background: var(--sunken); color: var(--ink-2); font-weight: 500; border-bottom: 1px solid var(--line); }
.sheet .tr { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.sheet .tr:last-child { border-bottom: 0; }
.sheet .tr span:last-child { color: var(--ink-2); font-family: var(--font-url); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arrow { text-align: center; color: var(--accent-ink); }
.arrow svg { width: 28px; height: 28px; margin: auto; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(64px, 9vw, 112px); }
.more article { padding: 28px; border-radius: var(--r-sheet); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.more p { color: var(--ink-2); }
.dot { width: 40px; height: 40px; border-radius: 12px; background: var(--c); }

.owner .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.points article { padding: 24px; border-radius: var(--r-sheet); background: var(--sunken); display: flex; flex-direction: column; gap: 8px; }
.points p { color: var(--ink-2); font-size: 0.98rem; }
.it { margin-top: 20px; font-size: 0.98rem; color: var(--ink-2); }

.trust-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.trust-list li { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.trust-list svg { width: 22px; height: 22px; margin-top: 2px; color: var(--ok); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.trust-list b { display: block; font-weight: 500; font-size: 1.05rem; }
.trust-list span { color: var(--ink-2); }

.plan { max-width: 520px; margin-inline: auto; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); display: flex; flex-direction: column; gap: 20px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font: 400 3.4rem/1 var(--font-display); }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 12px; }
.plan li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ok); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 1.1rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform 200ms var(--ease-out); flex: none; margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 4px 24px; color: var(--ink-2); max-width: 64ch; }

.final { background: var(--accent); color: var(--on-accent); text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final p { color: color-mix(in oklch, var(--on-accent) 85%, transparent); font-size: 1.2rem; max-width: 46ch; }
.final .btn.light:hover { background: var(--sunken); }

footer { padding: 40px 0 56px; color: var(--ink-2); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
footer nav { display: flex; gap: 24px; margin-left: auto; }
footer a { color: inherit; }

@media (max-width: 920px) {
  .hero .wrap, .problem .wrap, .feature, .owner .wrap { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .steps, .more { grid-template-columns: 1fr; }
  .points, .trust-list { grid-template-columns: 1fr; }
  .site-head nav a:not(.btn) { display: none; }
  .bw-body { grid-template-columns: 1fr; height: 460px; }
  .bw-page { display: none; }
  .bw-panel { border-left: 0; }
  .menus .menu.second { margin-top: 82px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .btn { padding: 0 22px; }
  .cta-row .btn { flex: 1 1 100%; }
  .ill { padding: 14px; }
  .ill-grid { grid-template-columns: 1fr; }
  .menus { grid-template-columns: 1fr; }
  .menus .menu.second { margin-top: 0; }
  .arrow svg { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
