/* Hooley website: shared look (home page, support, privacy, terms, delete
   account, 404). Fonts are served from this site (CSP font-src 'self'). */
@font-face { font-family: "Inter"; src: url("/fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }

:root {
  --bg: #f6faf9; --bg-2: #eaf4f1; --card: #ffffff; --text: #10251f; --muted: #55706a;
  --line: #dde9e6; --accent: #00796b; --accent-2: #00a08f; --accent-text: #ffffff; /* accent was #00897b: white text on it was a little faint */
  --accent-ink: #00796b; /* teal for text and solid buttons: reads well on white */
  --accent-warm: #b7791f; /* the hero headline's gradient end */
  --deep: #134e45; --sun: #f6b93b; --rose: #ef7f95; --soft: #e3f3ef; --warn: #fff4d6;
  --shadow: 0 1px 2px rgba(16, 37, 31, .06), 0 12px 32px rgba(16, 37, 31, .08);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1412; --bg-2: #111d1a; --card: #15211e; --text: #e8f2ef; --muted: #9bb3ad;
    --line: #23332f; --accent: #4fc3b4; --accent-2: #6fd6c8; --accent-text: #032420;
    --accent-ink: #4fc3b4; --accent-warm: #f6b93b;
    --deep: #0f2e29; --soft: #18302b; --warn: #3a3214;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
/* Read by screen readers, not shown (a heading the design doesn't need) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid transparent;
}
.site-head.scrolled, .site-head.solid { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--soft); }
.nav .btn { margin-left: 6px; }
.nav a.btn-primary { color: var(--accent-text); } /* (the .nav a text color must not win) */
/* Phones: Features and Help stay; the other links wait for a wider screen */
@media (max-width: 720px) { .nav a:not(.btn):not(.nav-keep) { display: none; } }
@media (max-width: 430px) {
  .site-head .wrap { gap: 8px; }
  .brand { font-size: 18px; gap: 8px; }
  .nav { gap: 0; }
  .nav a { font-size: 14px; padding: 8px 8px; }
  .nav .btn { margin-left: 2px; padding: 8px 12px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-ink); color: var(--accent-text); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.store { background: #0b0f0e; color: #fff; padding: 10px 18px; border-radius: 14px; text-align: left; line-height: 1.15; text-decoration: none; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
.store b { font-size: 17px; }
@media (prefers-color-scheme: dark) { .store { background: #fff; color: #0b0f0e; } }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } .section-head { margin-bottom: 28px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55;
}
.hero::before { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--sun) 40%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: 2; } }
.pill-note {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--muted);
}
.pill-note .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--accent); font-size: 12px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); font-weight: 800; letter-spacing: -.04em; margin: 18px 0 0; }
.hero h1 .hl { background: linear-gradient(100deg, var(--accent), var(--accent-2) 45%, var(--accent-warm)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 540px; margin: 20px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.hero .small-print { margin-top: 18px; font-size: 14px; color: var(--muted); }
.fade-up { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.fade-up.d1 { animation-delay: .08s; } .fade-up.d2 { animation-delay: .16s; } .fade-up.d3 { animation-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Phone mockup (pure HTML/CSS) */
.hero-art { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone {
  width: 300px; border-radius: 44px; padding: 12px; background: #0b1311;
  box-shadow: 0 40px 80px rgba(16, 37, 31, .25), inset 0 0 0 2px #26332f; transform: rotate(2deg);
}
.screen { border-radius: 34px; overflow: hidden; background: #f4f8f7; color: #10251f; min-height: 560px; position: relative; }
.notch { width: 96px; height: 26px; background: #0b1311; border-radius: 0 0 16px 16px; margin: 0 auto; }
.app-bar { padding: 10px 18px 6px; }
.app-bar small { color: #5b6f6b; font-size: 12px; font-weight: 600; }
.app-bar div { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.m-card { margin: 10px 12px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 2px 10px rgba(16, 37, 31, .08); }
.m-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; }
.m-tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e3f3ef; color: #00796b; }
.m-sub { font-size: 12.5px; color: #5b6f6b; margin-top: 2px; }
.vote { margin-top: 10px; font-size: 13px; }
.vote-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; margin-top: 8px; }
.vote-row b { font-weight: 600; }
.vote-row span { color: #5b6f6b; font-size: 12px; }
.vote-bar { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: #e6efed; overflow: hidden; }
.vote-bar i { display: block; height: 100%; border-radius: 999px; background: #00897b; }
.vote-bar i.w80 { width: 80%; } .vote-bar i.w45 { width: 45%; background: #9fd3cc; } .vote-bar i.w20 { width: 20%; background: #c9e6e1; }
.rsvp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.rsvp span { text-align: center; font-size: 12px; font-weight: 700; padding: 8px 0; border-radius: 12px; background: #f1f5f4; color: #3d544f; }
.rsvp span.on { background: #00796b; color: #fff; }
.faces { display: flex; align-items: center; margin-top: 12px; font-size: 12px; color: #5b6f6b; }
.faces i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.faces i:first-child { margin-left: 0; }
.faces .f1 { background: #f6b93b; } .faces .f2 { background: #00897b; } .faces .f3 { background: #ef7f95; } .faces .f4 { background: #6c8cff; }
.faces em { font-style: normal; margin-left: 8px; }
.list { margin-top: 2px; font-size: 13px; }
.list div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #edf2f1; }
.list div:first-child { border-top: 0; }
.list s { color: #8aa09b; }
.float {
  position: absolute; background: var(--card); color: var(--text); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow); font-size: 13.5px; display: flex; gap: 10px; align-items: center; max-width: 250px;
  animation: floaty 6s ease-in-out infinite;
}
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float b { display: block; font-size: 14px; }
.float span { color: var(--muted); }
.float > div, .float .ic { transition: opacity .35s ease, transform .35s ease; }
.float.swap > div, .float.swap .ic { opacity: 0; transform: translateY(4px); }
.float { min-width: 230px; }
.float.f-top { top: 226px; left: -24px; }
.float.f-bottom { bottom: 60px; right: -6px; animation-delay: -3s; }
@media (max-width: 480px) { .float.f-top { left: 0; top: 196px; } .float.f-bottom { right: 0; bottom: 20px; } .phone { width: 270px; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ic.teal { background: var(--soft); color: var(--accent-ink); }
.ic.sun { background: color-mix(in srgb, var(--sun) 22%, var(--card)); color: #b7791f; }
.ic.rose { background: color-mix(in srgb, var(--rose) 20%, var(--card)); color: #c2415d; }
.ic.blue { background: color-mix(in srgb, #6c8cff 18%, var(--card)); color: #4d6bf0; }
@media (prefers-color-scheme: dark) { .ic.sun { color: var(--sun); } .ic.rose { color: var(--rose); } .ic.blue { color: #93a9ff; } }
.ic svg { width: 20px; height: 20px; }

/* Logos strip / problem */
.problem { padding: 28px 0 0; }
.problem .wrap > div {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.problem h3 { font-size: 17px; }
.problem p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.problem .stat { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
@media (max-width: 760px) { .problem .wrap > div { grid-template-columns: 1fr; } }

/* Features */
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features .grid { grid-template-columns: 1fr; } }
.feature { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.feature .ic { width: 44px; height: 44px; border-radius: 13px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-top: 16px; }
.feature p { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }

/* Steps */
.steps { background: var(--bg-2); }
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 800px) { .steps ol { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); margin: 8px 0 0; }

/* Split band */
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }
.band h2 { font-size: clamp(30px, 4vw, 42px); }
.band p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 32px; margin: 10px 0; font-weight: 600; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.web-rsvp {
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 26px; max-width: 420px; margin: 0 auto; width: 100%;
}
.web-rsvp .url { font-size: 12.5px; color: var(--muted); background: var(--bg-2); border-radius: 999px; padding: 6px 12px; display: inline-block; }
.web-rsvp h3 { font-size: 22px; margin-top: 16px; }
.web-rsvp .when { color: var(--muted); margin-top: 4px; }
.web-rsvp .choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.web-rsvp .choices span { text-align: center; padding: 12px 0; border-radius: 14px; font-weight: 700; background: var(--bg-2); }
.web-rsvp .choices span.on { background: var(--accent); color: var(--accent-text); }
.web-rsvp .note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* Promo + final CTA */
.promo .wrap > a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; text-decoration: none; color: inherit;
  background: linear-gradient(120deg, color-mix(in srgb, var(--rose) 16%, var(--card)), color-mix(in srgb, var(--sun) 18%, var(--card)));
  border-radius: var(--radius); padding: 26px 28px; box-shadow: inset 0 0 0 1px var(--line);
}
.promo .gift { font-size: 40px; }
.promo h3 { font-size: 21px; }
.promo p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 640px) { .promo .wrap > a { grid-template-columns: 1fr; text-align: left; } }
.final { padding: 40px 0 96px; }
.final .wrap > div {
  background: radial-gradient(120% 140% at 0% 0%, #1b6b5f 0%, var(--deep) 55%, #0b2622 100%); color: #eaf6f3;
  border-radius: 28px; padding: clamp(32px, 6vw, 64px); text-align: center; position: relative; overflow: hidden;
}
.final h2 { font-size: clamp(32px, 4.6vw, 50px); color: #fff; }
.final p { color: #b9d6cf; font-size: 18px; max-width: 520px; margin: 14px auto 0; }
.final .cta-row { justify-content: center; }
.final .btn-primary { background: #fff; color: #0f3d36; box-shadow: none; }
.final .soon { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 10px 18px; font-weight: 600; }

/* FAQ */
.faq .list-q { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14.5px; color: var(--muted); }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }
.site-foot h3, body.doc .site-foot h3 { color: var(--text); font-size: 14px; letter-spacing: 0; margin: 0 0 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 6px 0; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.site-foot .brand { font-size: 18px; margin-bottom: 10px; }
.site-foot .copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 4px; font-size: 13px; }

/* Text pages (support, privacy, terms, delete account): a readable column */
body.doc main { max-width: 780px; margin: 0 auto; padding: 40px 20px 72px; }
body.doc .card { background: var(--card); border-radius: 24px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); overflow-wrap: break-word; /* long links wrap on phones */ }
body.doc h1 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
body.doc h2 { font-size: 21px; margin-top: 36px; letter-spacing: -.02em; }
body.doc h3 { font-size: 17px; margin-top: 24px; }
body.doc main a { color: var(--accent-ink); }
body.doc .card > footer { display: none; } /* the site footer replaces the old link row */
.hidden { display: none !important; }

.more-link { text-align: center; margin: 28px 0 0; }

/* Features page */
.feat-hero { padding: 56px 0 24px; text-align: center; }
.feat-hero h1 { font-size: clamp(38px, 5.6vw, 60px); font-weight: 800; letter-spacing: -.04em; }
.feat-hero .lead { margin: 16px auto 0; font-size: 19px; color: var(--muted); max-width: 620px; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.jump a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.jump a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.feat-group { padding: 44px 0; scroll-margin-top: 72px; }
.feat-group h2 { font-size: clamp(26px, 3.4vw, 34px); display: flex; align-items: center; gap: 12px; }
.feat-group h2 .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.feat-group h2 .ic svg { width: 21px; height: 21px; }
.feat-group > .wrap > p { color: var(--muted); margin: 8px 0 0; }
.feat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
@media (max-width: 900px) { .feat-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feat-list { grid-template-columns: 1fr; } }
.feat { background: var(--card); border-radius: 16px; padding: 18px 18px 16px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; }
.feat h3 { font-size: 16.5px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.feat .plus { font-size: 13.5px; color: var(--text); margin-top: auto; padding-top: 6px; }
.feat .plus b { color: #9a6200; }
@media (prefers-color-scheme: dark) { .feat .plus b { color: var(--sun); } }
.tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; }
.tag.free { background: var(--soft); color: var(--accent-ink); }
.tag.prem { background: color-mix(in srgb, var(--sun) 24%, var(--card)); color: #8a5a00; }
.tag.both { background: linear-gradient(90deg, var(--soft), color-mix(in srgb, var(--sun) 24%, var(--card))); color: var(--text); }
@media (prefers-color-scheme: dark) { .tag.prem { color: var(--sun); } }
.premium-box { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px) { .premium-box { grid-template-columns: 1fr; } }
.premium-box h2 { font-size: clamp(26px, 3.4vw, 34px); }
.premium-box p { color: var(--muted); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.compare th { font-size: 13px; color: var(--muted); font-weight: 700; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare td { white-space: nowrap; } .compare td:first-child { white-space: normal; }
/* Phones: tables wrap instead of pushing the page sideways */
.premium-box > * { min-width: 0; }
@media (max-width: 480px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 9px 5px; } .compare td { white-space: normal; } }

/* A look inside: app screenshots. Wide screens: 3 at a time, big enough to read, with arrows;
   phones: swipe. Each opens full size in .shot-view. (Nov 6: 5 in a row were too small to read.) */
.shot-strip { position: relative; }
.shot-row { list-style: none; margin: 0; padding: 4px 2px 12px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shot-row::-webkit-scrollbar { display: none; }
.shot-row li { flex: 0 0 calc((100% - 36px) / 3); text-align: center; scroll-snap-align: start; }
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 44px; }
.shot-open:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shot-row img { display: block; width: 100%; height: auto; border-radius: 44px; border: 7px solid var(--deep); background: var(--card); box-shadow: var(--shadow); transition: transform .2s ease; }
.shot-open:hover img { transform: translateY(-3px); }
.shot-row span { display: block; margin-top: 12px; color: var(--muted); font-size: 16px; font-weight: 600; }
.shot-nav { position: absolute; top: 42%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--card); color: var(--text); box-shadow: var(--shadow); font-size: 32px; line-height: 1; cursor: pointer; z-index: 2; }
.shot-nav.prev { left: -14px; } .shot-nav.next { right: -14px; }
.shot-nav[hidden] { display: none; }
.shot-hint { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 0; }
@media (max-width: 640px) {
  .shot-row { gap: 14px; margin: 0 -20px; padding: 4px 20px 12px; }
  .shot-row li { flex: 0 0 66%; max-width: 280px; scroll-snap-align: center; }
  .shot-nav { display: none; }
}
/* Full-size viewer */
.shot-view { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.shot-view::backdrop { background: rgba(6, 22, 19, .86); }
.shot-view img { display: block; height: min(88vh, 1760px); width: auto; max-width: 92vw; object-fit: contain; border-radius: 52px; border: 8px solid #0b2622; }
.shot-cap { text-align: center; color: #eaf6f3; margin: 10px 0 0; font-weight: 600; }
.shot-view button { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.shot-view button:hover { background: rgba(255,255,255,.26); }
.sv-close { top: 18px; right: 18px; }
.sv-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.sv-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .shot-view img { height: auto; width: 92vw; max-height: 80vh; } .sv-prev, .sv-next { top: auto; bottom: 18px; transform: none; } }

/* Free tools on the home page (Nov 3; tools.html has the same tile look) */
.home-tools { padding: 56px 0; }
.home-tools .tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 760px) { .home-tools .tool-grid { grid-template-columns: 1fr; } }
.home-tools .tool { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: inherit; background: var(--card);
  border-radius: 20px; padding: 20px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.home-tools a.tool:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow); }
.home-tools .tool .big { font-size: 30px; line-height: 1; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.home-tools .tool h3 { font-size: 18px; letter-spacing: -.01em; margin: 0; }
.home-tools .tool p { margin: 6px 0 0; color: var(--muted); }
.home-tools .tool .go { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--accent); }
.home-tools .bg-rose { background: color-mix(in srgb, var(--rose) 18%, var(--card)); }
.home-tools .bg-sun { background: color-mix(in srgb, var(--sun) 22%, var(--card)); }
.home-tools .bg-teal { background: var(--soft); }
.home-tools .bg-blue { background: color-mix(in srgb, #6c8cff 16%, var(--card)); }
.home-tools .tools-more { margin-top: 20px; }
.home-tools .tools-more a { font-weight: 700; color: var(--accent); }
.nav .nav-short { display: none; }
@media (max-width: 720px) { .nav .nav-long { display: none; } .nav .nav-short { display: inline; } }
/* Phones under 420px: Features, Tools and Get Hooley fit; Help is in the footer. */
.nav a.btn { white-space: nowrap; }
@media (max-width: 420px) { .nav a[href="/support"].nav-keep { display: none; } }
@media (max-width: 340px) { .nav a { padding: 8px 6px; } .nav a.btn { padding: 8px 10px; } }
/* (Website sweep, Nov 11: under ~375 px wide the brand was squeezed
   narrower than "Hooley" and ran into the menu ("HooleyFeatures" at 360,
   18 px overlap at 320). The brand keeps its width; the menu gets a bit
   smaller instead.) */
@media (max-width: 380px) {
  .site-head .brand { flex-shrink: 0; font-size: 17px; gap: 6px; }
  .nav a { font-size: 13px; padding: 8px 6px; }
  .nav a.btn { padding: 8px 10px; margin-left: 2px; }
}
@media (max-width: 340px) {
  .nav a { padding: 8px 4px; }
  .nav a.btn { padding: 8px 8px; margin-left: 0; }
  .site-head .brand img { width: 30px; height: 30px; }
}

/* (Nov 23) "Games" joined the top bar: on narrow phones Help, then Features, make room. */
@media (max-width: 480px) { .nav a[href="/support"].nav-keep { display: none; } }
@media (max-width: 400px) { .nav a[href="/features"].nav-keep { display: none; } }

/* (Nov 23) Ad spaces (free tools pages; /ads.js). Hidden, taking no room,
   until AdSense is switched on in launch.js. Never printed. */
.ad-row { padding: 0 20px; }
.ad { display: none; }
.ads-on .ad { display: flex; align-items: center; justify-content: center; }
.ad-wide { min-height: 100px; margin: 28px auto; max-width: 970px; }
@media print { .ad, .ad-row { display: none !important; } }
/* Nov 24: "Log in" (app.gethooley.com) joined the top bar. Links never wrap
   onto two lines; on the home page "How it works" makes room below 1000px. */
.nav a { white-space: nowrap; }
@media (max-width: 1000px) { .nav a[href="/#how"] { display: none; } }

/* (Nov 24) "Game tools" joined the top bar: it needs a little more room than the rest. */
@media (max-width: 820px) { .nav a[href="/game-tools"]:not(.nav-keep) { display: none; } }
