/* Hoppet website. Brand colours from Brand/README.md. No scripts.
   Headings: Plus Jakarta Sans (SIL Open Font License 1.1), self-hosted. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  color-scheme: light dark;
  --ink: #18181a;
  --brand-highlight: #ffd84d;
  --on-brand-highlight: #18181a;
  --muted: #5d636d;
  --bg: #f4f4f0;
  --panel: #ffffff;
  --panel-soft: #eceae5;
  --line: #dedbd4;
  --blue: #1859a5;
  --blue-soft: #e3ecf7;
  --sky: #5b9be0;
  --protein: #a6596a;
  --green: #3f7a5f;
  --button-fill: #1859a5;
  --button-ink: #ffffff;
  --warning-bg: rgba(194,143,54,.08);
  --warning-line: rgba(145,98,25,.3);
  --shadow: 0 30px 60px -28px rgba(24,25,27,.45);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f4f1;
    --muted: #a7adb6;
    --bg: #111214;
    --panel: #1b1d20;
    --panel-soft: #202327;
    --line: #2d3036;
    --blue: #80c3ff;
    --blue-soft: #16273b;
    --sky: #80c3ff;
    --protein: #e29aab;
    --green: #8fd0b0;
    --button-fill: #236bb5;
    --button-ink: #ffffff;
    --warning-bg: rgba(255,191,105,.07);
    --warning-line: rgba(255,191,105,.28);
    --shadow: 0 30px 70px -30px rgba(0,0,0,.9);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg); font: 17px/1.6 "Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible,summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: 6px; }
.shell { width: min(1120px,calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 20; padding: 10px 18px; background: var(--panel); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* Navigation (all pages) */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand img, .brand picture { width: 116px; height: auto; }
.mark { display: none; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; color: var(--muted); font-size: 15px; font-weight: 600; }
.links a { color: var(--blue); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.links a:hover { text-decoration: underline; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 9px 26px 10px; border-radius: 14px; background: var(--ink); color: var(--bg); text-decoration: none; line-height: 1.15; }
.store small { font-size: 12px; font-weight: 600; opacity: .75; }
.store strong { font-size: 20px; letter-spacing: -.01em; }
.store-badge { display: inline-flex; border-radius: 12px; }
.store-badge img { width: 180px; height: auto; }
.coming-soon { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 12px; background: var(--blue-soft); color: var(--ink); font-weight: 700; }
.store-badge:hover img { opacity: .88; }
.text-link { color: var(--blue); font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Hero */
/* Yellow is reserved for the hero and the download band. */
.hero, .cta { color: var(--on-brand-highlight); background: var(--brand-highlight); }
.hero { position: relative; overflow: hidden; }
.hero .eyebrow, .hero .lede, .hero .hero-note, .cta .lede { color: var(--on-brand-highlight); }
.hero .text-link { color: #1859a5; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 40px; align-items: center; padding: 72px 0 40px; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, .brand, .plan h3, .trust strong { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1 { margin: 14px 0 20px; font-size: clamp(40px,5.8vw,68px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; }
.lede { max-width: 560px; margin: 0; color: var(--muted); font-size: clamp(18px,2vw,21px); }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 650px; }
.hero-art .device { position: absolute; width: min(270px,62%); }
.hero-art .front { z-index: 2; left: 10%; top: 0; transform: rotate(-4deg); }
.hero-art .back { z-index: 1; right: 4%; top: 54px; transform: rotate(5deg); opacity: .96; }

/* CSS phone frame around real screenshots */
.device { padding: 9px; border-radius: 46px; background: #0c0d0f; box-shadow: var(--shadow), inset 0 0 0 1.5px #3a3d42; }
.device img { width: 100%; border-radius: 38px; }

/* Feature rows */
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { margin: 10px 0 14px; font-size: clamp(30px,4vw,46px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
h3 { margin: 0 0 10px; font-size: 23px; font-weight: 700; letter-spacing: -.015em; }
.section-head p { margin: 0; color: var(--muted); font-size: 19px; }
.feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; margin-top: 28px; padding: 56px; border-radius: 36px; background: var(--panel); }
.feature + .feature { margin-top: 28px; }
.feature.flip .feature-art { order: 2; }
.feature-art { display: flex; justify-content: center; padding: 26px 0 0; border-radius: 28px; overflow: hidden; }
.feature-art .device { width: min(280px,80%); margin-bottom: -150px; }
.art-blue { background: linear-gradient(160deg, var(--blue-soft), color-mix(in srgb, var(--sky) 30%, var(--blue-soft))); }
.art-rose { background: linear-gradient(160deg, color-mix(in srgb, var(--protein) 14%, var(--panel)), color-mix(in srgb, var(--protein) 30%, var(--panel))); }
.art-green { background: linear-gradient(160deg, color-mix(in srgb, var(--green) 12%, var(--panel)), color-mix(in srgb, var(--green) 28%, var(--panel))); }
.feature-copy p { margin: 0; color: var(--muted); font-size: 18px; }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 7px 0 7px 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 14px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust strong { display: block; margin-bottom: 4px; font-size: 18px; }
.trust span { color: var(--muted); font-size: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.plan { padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.plan.featured { border: 2px solid var(--blue); }
.plan-tag { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan h3 { margin: 6px 0 4px; font-size: 28px; }
.plan .ticks li { font-weight: 500; font-size: 16px; }
.plans-note { margin: 22px 0 0; color: var(--muted); font-size: 15px; text-align: center; }

/* FAQ (index and support) */
.faq-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Closing call to action */
.cta { margin: 0 auto 88px; padding: 64px 40px; border-radius: 36px; text-align: center; }
.cta .cta-wordmark { width: 148px; margin: 0 auto 18px; }
.cta .actions { justify-content: center; }
.cta .lede { margin: 0 auto; }

/* Legal and help pages */
.page { width: min(820px,calc(100% - 40px)); margin: 0 auto; padding: 56px 0 88px; }
.page h1 { font-size: clamp(36px,5vw,52px); }
.page h2 { margin-top: 48px; font-size: 26px; letter-spacing: -.02em; }
.page-intro { color: var(--muted); font-size: 19px; }
.page p, .page li { color: var(--ink); }
.page a { color: var(--blue); }
.notice { margin: 24px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.notice.warning { border-color: var(--warning-line); background: var(--warning-bg); }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

/* Footer */
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--blue); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { min-height: 600px; }
  .feature, .faq-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .faq-layout { padding: 0; }
  .feature.flip .feature-art { order: 0; }
  .trust, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 32px); }
  .links a:not(.keep) { display: none; }
  .hero-art { min-height: 500px; }
  .hero-art .device { width: 62%; }
  .feature { padding: 22px; border-radius: 28px; }
  .section { padding: 64px 0; }
  .cta { padding: 48px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
