/* GuideHour — shared styles for every page.
   Square corners throughout, 1px hairlines (2px for heading rules), Outfit headings on Figtree body.
   Home is light with dark bands; Support, Privacy and Delete account are dark. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --white: #ffffff;
  --tint: #eef3f4;
  --dark: #0b1a1d;
  --dark-2: #0e2126;
  --darkest: #06181d;
  --raised: #132a30;
  --card: #123c47;
  --paper: #edebe2;

  --ink: #0b1a1d;
  --ink-2: #3d5c64;
  --ink-3: #29464e;
  --on-dark: #f2fafb;
  --on-dark-2: #d4e5e9;
  --on-dark-3: #a8c4ca;
  --muted: #7e9aa1;
  --faint: #5a747b;

  --accent: #0e6f92;              /* on light backgrounds */
  --accent-bright: #63c7f0;       /* on dark backgrounds, and solid buttons */
  --accent-bright-hover: #8fd8ec;
  --warn: #f0b849;

  --line: #dbe4e6;
  --line-2: #c9d8dc;
  --line-dark: #17323a;
  --line-dark-2: #24424a;
}

html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Figtree', sans-serif; line-height: 1.6; }
h1, h2, h3, p, ul, ol { margin: 0; }
img { max-width: 100%; }

.theme-light { background: var(--white); color: var(--ink); }
.theme-dark { background: var(--dark); color: var(--on-dark); }
/* zero-specificity defaults, so any component class overrides them */
:where(.theme-light) a { color: var(--accent); }
:where(.theme-light) a:hover { color: var(--ink); }
:where(.theme-dark) a { color: var(--accent-bright); }
:where(.theme-dark) a:hover { color: var(--accent-bright-hover); }
::selection { background: rgba(99,199,240,0.3); }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

/* Horizontal padding lives on the outer band; .wrap caps the content width inside it. */
.wrap { max-width: 1240px; margin: 0 auto; }
.wrap-narrow { max-width: 860px; margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.8rem 5%;
  background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.theme-dark .nav { padding: 0.85rem 5%; background: rgba(11,26,29,0.92); border-bottom-color: var(--line-dark); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; text-decoration: none; }
.brand svg { display: block; width: 30px; height: 30px; }
.brand-name { display: flex; align-items: baseline; gap: 0.5rem; }
.brand-word { font-family: 'Outfit', sans-serif; font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.brand-kicker { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.32em; color: var(--accent); }
.theme-dark .brand-word { color: var(--on-dark); }
.theme-dark .brand-kicker { color: var(--accent-bright); }

.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.8rem; }
.theme-dark .nav-links { gap: 1.9rem; }
.nav-link { font-size: 0.92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-link:hover { color: var(--ink); }
.theme-dark .nav-link { color: var(--on-dark-3); }
.theme-dark .nav-link:hover,
.theme-dark .nav-link[aria-current="page"] { color: var(--on-dark); }
.nav-link[aria-current="page"] { padding-bottom: 2px; border-bottom: 2px solid var(--accent-bright); }
.nav-cta {
  display: inline-flex; align-items: center; padding: 0.62rem 1.25rem;
  background: var(--accent-bright); color: var(--darkest);
  font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none;
}
.nav-cta:hover { background: var(--accent-bright-hover); color: var(--darkest); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.6rem;
  font-size: 1rem; font-weight: 700; text-decoration: none;
}
.btn svg { flex-shrink: 0; }
.btn-solid { background: var(--accent-bright); color: var(--darkest); }
.btn-solid:hover { background: var(--accent-bright-hover); color: var(--darkest); }
.btn-outline { background: rgba(11,26,29,0.3); border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--darkest); }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(78vh, 660px); background: var(--dark);
}
.hero-img, .hero-shade, .download-img, .download-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 62% 55%; filter: saturate(0.75) contrast(1.05); }
.hero-shade { background: linear-gradient(96deg, rgba(6,24,29,0.92) 0%, rgba(6,24,29,0.78) 40%, rgba(6,24,29,0.34) 72%, rgba(6,24,29,0.2) 100%); }
.hero-inner { position: relative; width: 100%; padding: 6rem 5% 4rem; }
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.3rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-bright);
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 10px rgba(99,199,240,0.9);
}
.hero h1 {
  margin-bottom: 1.1rem;
  font-family: 'Outfit', sans-serif; font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 600;
  line-height: 1.02; letter-spacing: -0.035em; color: var(--white);
}
.hero-sub { max-width: 540px; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: #e2eef1; }

/* ---------- Home: stat band ---------- */
.stats { padding: 0 5%; background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); column-gap: 3rem; }
.stat { padding: 2rem 0; border-top: 1px solid var(--line); }
.stat-num {
  font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600;
  line-height: 1; letter-spacing: -0.03em; color: var(--ink);
}
.stat-label { margin-top: 0.45rem; font-size: 0.86rem; color: var(--ink-2); }

/* ---------- Home: sections ---------- */
.section { padding: 5.5rem 5%; }
.section-app { padding-top: 5rem; padding-bottom: 5rem; }
.section-tint { background: var(--tint); }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); }
.section-ruled { border-top: 1px solid var(--line); }

.h2 {
  margin-bottom: 1.6rem;
  font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 600;
  line-height: 1.05; letter-spacing: -0.035em; color: var(--ink);
}
.section-dark .h2 { color: var(--white); }
.h2-tight { margin-bottom: 0.7rem; }
.h2-loose { margin-bottom: 2.5rem; }
.h2-app { max-width: 24ch; line-height: 1.06; letter-spacing: -0.03em; }
.section-sub { max-width: 620px; margin-bottom: 3rem; font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }

.kicker {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section-dark .kicker, .page-head .kicker { color: var(--accent-bright); }

.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 2rem; }
.frame { border: 1px solid var(--line-2); background: var(--white); }
.frame img { display: block; width: 100%; height: auto; }
.screen-card .frame { margin-bottom: 1.1rem; }
.screen-card h3 { margin-bottom: 0.4rem; font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.screen-card p { font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 3rem 4rem; align-items: center; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; justify-self: center; width: 100%; max-width: 420px; }
.shot-pair .frame { border-color: var(--line-dark-2); background: var(--dark-2); }
.shot-pair .frame + .frame { margin-top: 2rem; }
.frame-single { justify-self: center; width: 100%; max-width: 320px; background: var(--tint); }
.frame-report { justify-self: center; width: 100%; max-width: 460px; background: var(--paper); }

.checks { display: flex; flex-direction: column; gap: 0.85rem; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 1rem; line-height: 1.5; color: var(--ink-3); }
.checks svg { flex-shrink: 0; margin-top: 0.3rem; color: var(--accent); }
.section-dark .checks li { color: var(--on-dark-2); }
.section-dark .checks svg { color: var(--accent-bright); }
.checks strong { font-weight: 600; color: var(--white); }

.sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 2.5rem 3rem; }
.source { padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.source-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 1rem; background: var(--tint); color: var(--accent); }
.source h3 { margin-bottom: 1rem; font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.bullets { display: flex; flex-direction: column; gap: 0.6rem; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 0.95rem; font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }
.bullets li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; background: var(--accent); }
.callout-light { margin-top: 3rem; padding: 1.3rem 1.5rem; background: var(--tint); border-left: 3px solid var(--accent); font-size: 1rem; line-height: 1.6; color: var(--ink-3); }
.callout-light strong { font-weight: 600; color: var(--ink); }

.cov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.5rem; }
.cov-card { padding: 1.6rem; background: var(--dark-2); border: 1px solid var(--line-dark); }
.cov-card-lead { background: var(--card); border-color: var(--line-dark-2); }
.cov-label { margin-bottom: 0.7rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-bright); }
.cov-card h3 { margin-bottom: 0.9rem; font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.025em; color: var(--white); }
.cov-card p { font-size: 0.94rem; line-height: 1.6; color: var(--on-dark-3); }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag { padding: 0.28rem 0.7rem; border: 1px solid var(--line-dark-2); font-size: 0.78rem; color: var(--on-dark-3); }
.tag-live { padding: 0.3rem 0.8rem; border: 0; background: var(--accent-bright); font-weight: 600; color: var(--darkest); }
.tag-soon { padding: 0.3rem 0.8rem; border: 1px dashed #4b6d76; font-weight: 500; }

.download { position: relative; overflow: hidden; background: var(--darkest); }
.download-img { object-fit: cover; object-position: 40% 70%; filter: saturate(0.4); opacity: 0.4; }
.download-shade { background: linear-gradient(180deg, rgba(6,24,29,0.88) 0%, rgba(6,24,29,0.76) 100%); }
.download-inner { position: relative; padding: 5.5rem 5%; }
.download h2 {
  max-width: 20ch; margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 600;
  line-height: 1.04; letter-spacing: -0.035em; color: var(--white);
}
.download p { max-width: 520px; margin-bottom: 2rem; font-size: 1.1rem; line-height: 1.55; color: var(--on-dark-2); }

/* ---------- Footers ---------- */
.footer { padding: 3.5rem 5% 2.5rem; background: var(--white); }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-brand svg { display: block; width: 26px; height: 26px; }
.footer-brand span { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.footer-entity { max-width: 30ch; font-size: 0.86rem; color: var(--ink-2); }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-head { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.footer-col a { font-size: 0.9rem; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-copy { margin-top: 1.5rem; font-size: 0.8rem; color: var(--ink-2); }

.footer-dark { padding: 3rem 5% 2.5rem; background: var(--dark-2); border-top: 1px solid var(--line-dark); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-dark .footer-brand { margin-bottom: 0.7rem; }
.footer-dark .footer-brand svg { width: 24px; height: 24px; }
.footer-dark .footer-brand span { font-size: 1.1rem; color: var(--on-dark); }
.footer-dark .footer-entity { max-width: none; font-size: 0.84rem; color: var(--muted); }
.footer-dark .footer-copy { margin-top: 0.5rem; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { font-size: 0.88rem; color: var(--on-dark-3); text-decoration: none; }
.footer-links a:hover { color: var(--accent-bright); }

/* ---------- Inner pages: header band + prose ---------- */
.page-head { padding: 4.5rem 5% 3.5rem; background: var(--dark-2); border-bottom: 1px solid var(--line-dark); }
.page-head .kicker { margin-bottom: 1.1rem; font-size: 0.72rem; }
.page-head h1 {
  margin-bottom: 0.7rem;
  font-family: 'Outfit', sans-serif; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600;
  line-height: 1.02; letter-spacing: -0.035em; color: var(--on-dark);
}
.page-head p { font-size: 1.05rem; color: var(--on-dark-3); }
.page-head strong { font-weight: 600; color: var(--on-dark); }

.page-body { padding: 4rem 5% 5rem; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 3rem 4rem; align-items: start; }
.support-grid .prose { max-width: 760px; }

.prose > :last-child { margin-bottom: 0; }
.prose .intro { margin-bottom: 3rem; font-size: 1.08rem; line-height: 1.75; color: var(--on-dark-2); }
.prose .intro strong { color: var(--white); }
.prose h2 {
  margin: 2.5rem 0 1.2rem; padding-bottom: 0.7rem; border-bottom: 2px solid var(--line-dark-2);
  font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.025em; color: var(--on-dark);
}
.prose h2.spaced { margin-top: 3rem; }
.prose h3 { margin: 2rem 0 0.6rem; font-family: 'Outfit', sans-serif; font-size: 1.12rem; font-weight: 600; color: var(--on-dark); }
.prose p { margin-bottom: 0.75rem; font-size: 0.97rem; line-height: 1.75; color: var(--on-dark-3); }
.prose p.lead-in { margin-bottom: 0.5rem; }
.prose ul { margin-bottom: 1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.35rem; font-size: 0.97rem; line-height: 1.75; color: var(--on-dark-3); }
.prose strong { font-weight: 600; color: var(--on-dark); }
.prose a { text-decoration: none; }

.table-scroll { margin-bottom: 1.4rem; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; border: 1px solid var(--line-dark-2); }
.prose th, .prose td { padding: 0.8rem 1rem; border: 1px solid var(--line-dark-2); text-align: left; vertical-align: top; }
.prose th {
  background: var(--raised); color: var(--on-dark);
  font-family: 'Outfit', sans-serif; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.prose td { background: var(--dark-2); font-size: 0.9rem; color: var(--on-dark-3); }
.prose td:first-child { font-weight: 600; color: var(--on-dark); }

.card-label { margin-bottom: 0.9rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-bright); }
.contact-card {
  position: sticky; top: 5.5rem;
  width: 100%; max-width: calc(380px + 3.8rem + 2px); padding: 1.9rem;
  background: var(--card); border: 1px solid var(--line-dark-2);
}
.contact-card-inline { position: static; max-width: none; margin-bottom: 1rem; }
.contact-email {
  display: inline-block; margin-bottom: 0.7rem; overflow-wrap: anywhere;
  font-family: 'Outfit', sans-serif; font-size: 1.22rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--on-dark); text-decoration: none;
}
.contact-email:hover { color: var(--accent-bright); }
.prose .contact-card p, .contact-card p { margin-bottom: 0; font-size: 0.94rem; line-height: 1.68; color: var(--on-dark-2); }
.contact-card .btn { gap: 0.55rem; margin-top: 1.4rem; padding: 0.8rem 1.4rem; font-size: 0.95rem; }

.steps-card { margin: 1.5rem 0 1rem; padding: 1.9rem; background: var(--dark-2); border: 1px solid var(--line-dark-2); }
.steps { padding: 0; list-style: none; counter-reset: step; }
.prose .steps > li { position: relative; margin-bottom: 1.15rem; padding-left: 3rem; counter-increment: step; }
.prose .steps > li:last-child { margin-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem;
  background: var(--card); border: 1px solid var(--line-dark-2);
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--accent-bright);
}
.callout-warn { margin: 1.5rem 0; padding: 1.1rem 1.35rem; background: var(--raised); border: 1px solid var(--line-dark-2); border-left: 3px solid var(--warn); }
.callout-title { margin-bottom: 0.4rem; font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--on-dark); }
.prose .callout-warn p { margin-bottom: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  /* keep the sticky bar to one row: logo + Get the app; the footer carries the other links */
  .nav-link { display: none; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .contact-card, .steps-card { padding: 1.4rem; }
  .prose .steps > li { padding-left: 2.6rem; }
}
