/* =========================================================================
   NotHungry: shared styles for the legal / policy pages.
   Tokens, wordmark, nav and footer are lifted verbatim from the landing page
   (index.html) so the policy pages read as the same product.
   Red / Gold / Black NOT-ecosystem system (notfit.io). Space Grotesk.
   ========================================================================= */
:root{
  /* Surfaces: the NotFit ink stack (ink #060606 / card #131515 / card-2 #1B1D1D). */
  --bg:#060606; --surface:#131515; --surface2:#1B1D1D; --surface3:#232626;
  --sunken:#0D0D0D; --hairline:#1D1D1D;
  /* Red / Gold / Black identity, per notfit.io's rgb.css. RED is the primary
     action colour: the convert CTA is a big red button. Commit, don't sprinkle.
     GOLD is secondary: kickers, accents, the outline twin. Black is the surface. */
  --red:#CE201A; --red-deep:#A31410; --red-soft:rgba(206,32,26,.16);
  --red-grad:linear-gradient(180deg,#E02C1F 0%,#CE201A 55%,#A31410 100%);
  --gold:#E9C78D; --gold-dark:#DDB578; --gold-light:#F2D9A6; --on-accent:#231A09;
  --brand-gold:#F6CB4A;  /* the wordmark's own gold, warmer than the UI gold */
  --text:#F6F4F0; --muted:#9B958C; --hint:#8A857C; --ring-track:#2A2724;
  --over:#FF8C42;
  --card-grad:linear-gradient(135deg,#1F2222 0%,#181A1A 45%,#131515 100%);
  --gold-grad:linear-gradient(180deg,#F2D9A6 0%,#E9C78D 100%);
  --ease:cubic-bezier(.16,1,.3,1); --blur:saturate(140%) blur(14px);
  --font:"Space Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --gutter:64px; --maxw:1200px; --readw:760px;
}
*{margin:0;padding:0;box-sizing:border-box;}
/* scroll-padding keeps anchor targets clear of the sticky nav. */
html{scroll-behavior:smooth;scroll-padding-top:88px;-webkit-text-size-adjust:100%;}
body{background:var(--bg);color:var(--text);font-family:var(--font);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;line-height:1.6;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
button{font-family:inherit;cursor:pointer;}
::selection{background:rgba(233,199,141,.28);color:#fff;}
.ic{width:1em;height:1em;display:inline-block;vertical-align:middle;fill:currentColor;flex:none;}
.wrap{max-width:var(--maxw);margin:0 auto;}
.sr-sprite{position:absolute;width:0;height:0;overflow:hidden;}

/* NOT-ecosystem wordmark, revised mark (matches the notfit.io logo): the whole
   word in one warm brand gold, the "o" slashed into a "ø" by a diagonal bar of
   the same gold laid across the counter. Geometry measured off the real logo:
   bar sits at 45deg rising to the right, length ~= the o's outer diameter,
   thickness ~= the ring stroke.
   The .5925em offset is Space Grotesk's x-height centre in a line-height:1 box. */
.wordmark{position:relative;display:inline-block;font-weight:800;letter-spacing:-.02em;line-height:1;
  color:var(--brand-gold);}
a.wordmark{cursor:pointer;transition:opacity .15s;}
a.wordmark:hover{opacity:.82;}
.wordmark .n,.wordmark .h{color:var(--brand-gold);}
.wordmark .o{position:relative;display:inline-block;line-height:1;}
.wordmark .o::after{content:"";position:absolute;left:50%;top:.5925em;width:.56em;height:.111em;
  background:currentColor;transform:translate(-50%,-50%) rotate(-45deg);}

/* Primary = the big red convert button (gold is the secondary/outline role). */
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:44px;
  padding:0 22px;border:none;border-radius:999px;background:var(--red-grad);color:#fff;
  font-size:14px;font-weight:700;letter-spacing:.3px;white-space:nowrap;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
  box-shadow:0 14px 32px -16px rgba(206,32,26,.6),inset 0 1px 0 rgba(255,255,255,.22);
  transition:transform .16s,box-shadow .16s,filter .16s;}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(1.08);
  box-shadow:0 22px 46px -18px rgba(206,32,26,.7),inset 0 1px 0 rgba(255,255,255,.28);}
.eyebrow{color:var(--gold);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;}

/* NAV -------------------------------------------------------------------- */
.nav{position:sticky;top:0;z-index:80;display:flex;align-items:center;justify-content:space-between;
  padding:16px var(--gutter);background:rgba(6,6,6,.72);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);border-bottom:1px solid var(--hairline);}
.nav .wordmark{font-size:22px;}
.nav a.wordmark{display:inline-flex;align-items:center;min-height:44px;}
.nav-links{display:flex;align-items:center;gap:28px;}
.nav-links a.link{color:var(--muted);font-size:14px;transition:color .15s;display:inline-flex;align-items:center;gap:7px;}
.nav-links a.link:hover{color:#fff;}
.nav-links a.link .ic{font-size:15px;color:var(--gold);}

/* LEGAL HERO ------------------------------------------------------------- */
.legal-hero{position:relative;overflow:hidden;padding:64px var(--gutter) 40px;border-bottom:1px solid var(--hairline);}
.legal-hero .glow{position:absolute;top:-320px;left:50%;transform:translateX(-50%);
  width:1100px;height:720px;pointer-events:none;
  background:radial-gradient(closest-side,rgba(233,199,141,.13),rgba(233,199,141,0) 70%);}
.legal-hero .inner{position:relative;max-width:var(--maxw);margin:0 auto;}
.legal-hero h1{margin:14px 0 0;font-size:46px;font-weight:700;letter-spacing:-1.2px;line-height:1.08;color:#fff;}
.legal-hero .meta{margin-top:16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  color:var(--hint);font-size:13.5px;}
.legal-hero .meta .pill{display:inline-flex;align-items:center;gap:7px;padding:5px 13px;border-radius:999px;
  border:1px solid var(--hairline);background:#0F1111;color:var(--muted);font-size:12px;font-weight:600;}
.legal-hero .meta .pill .dot{width:6px;height:6px;border-radius:50%;background:var(--gold);box-shadow:0 0 9px var(--gold);}

/* LAYOUT: sticky policy switcher + reading column ------------------------- */
.legal-wrap{max-width:var(--maxw);margin:0 auto;padding:44px var(--gutter) 30px;
  display:grid;grid-template-columns:260px 1fr;gap:52px;align-items:start;}
.legal-nav{position:sticky;top:96px;}
.legal-nav h4{font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--hint);
  padding:0 14px 4px;}
.legal-nav ul{list-style:none;margin-top:10px;display:flex;flex-direction:column;gap:4px;}
.legal-nav a{display:flex;align-items:center;gap:11px;padding:11px 14px;border-radius:12px;
  color:var(--muted);font-size:14px;font-weight:500;border:1px solid transparent;transition:.16s;}
.legal-nav a .ic{font-size:16px;color:var(--hint);transition:.16s;}
.legal-nav a:hover{background:#141616;color:#fff;}
.legal-nav a:hover .ic{color:var(--gold);}
.legal-nav a[aria-current="page"]{background:linear-gradient(135deg,rgba(233,199,141,.14),rgba(233,199,141,.05));
  border-color:rgba(233,199,141,.28);color:#fff;}
.legal-nav a[aria-current="page"] .ic{color:var(--gold);}
.legal-nav .helpbox{margin-top:22px;padding:16px;border-radius:14px;border:1px solid var(--hairline);
  background:var(--card-grad);}
.legal-nav .helpbox p{color:var(--muted);font-size:12.5px;line-height:1.55;}
.legal-nav .helpbox a{display:inline;padding:0;color:var(--gold);font-weight:600;border:none;}
.legal-nav .helpbox a:hover{background:none;text-decoration:underline;}

/* READING COLUMN --------------------------------------------------------- */
.legal-body{max-width:var(--readw);min-width:0;}
.legal-body .lede{color:var(--muted);font-size:17px;line-height:1.7;padding-bottom:8px;}
.legal-body h2{color:#fff;font-size:22px;font-weight:700;letter-spacing:-.3px;line-height:1.25;
  margin:38px 0 0;padding-top:26px;border-top:1px solid var(--hairline);
  display:flex;align-items:baseline;gap:12px;}
.legal-body h2:first-of-type{border-top:none;padding-top:6px;margin-top:20px;}
.legal-body h2 .num{color:var(--gold);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;
  flex:none;min-width:24px;}
.legal-body h3{color:var(--gold-light);font-size:16px;font-weight:600;margin:22px 0 0;}
.legal-body p{color:var(--muted);font-size:15.5px;line-height:1.72;margin-top:14px;}
.legal-body ul{list-style:none;margin:14px 0 0;display:flex;flex-direction:column;gap:11px;}
.legal-body ul li{position:relative;padding-left:26px;color:var(--muted);font-size:15.5px;line-height:1.65;}
.legal-body ul li::before{content:"";position:absolute;left:6px;top:9px;width:7px;height:7px;border-radius:2px;
  background:var(--gold-grad);transform:rotate(45deg);}
.legal-body li b,.legal-body p b{color:var(--text);font-weight:600;}
.legal-body a.inline{color:var(--gold);font-weight:600;border-bottom:1px solid rgba(233,199,141,.35);}
.legal-body a.inline:hover{border-color:var(--gold);}
.legal-body strong{color:var(--text);}

/* callout / steps card --------------------------------------------------- */
.callout{margin-top:24px;padding:20px 22px;border-radius:16px;border:1px solid rgba(233,199,141,.24);
  background:linear-gradient(135deg,rgba(233,199,141,.10),rgba(233,199,141,.02));}
.callout p{margin-top:0;color:var(--text);}
.callout p + p{margin-top:10px;}
.callout.warn{border-color:rgba(255,140,66,.30);background:linear-gradient(135deg,rgba(255,140,66,.10),rgba(255,140,66,.02));}

.steps{counter-reset:step;margin-top:22px;display:flex;flex-direction:column;gap:12px;}
.steps li{position:relative;list-style:none;padding:16px 18px 16px 58px;border-radius:14px;
  border:1px solid var(--hairline);background:var(--card-grad);color:var(--text);font-size:15.5px;line-height:1.5;}
.steps li::before{counter-increment:step;content:counter(step);position:absolute;left:16px;top:14px;
  width:28px;height:28px;border-radius:50%;background:var(--gold);color:var(--on-accent);
  font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;}
.steps li b{color:#fff;font-weight:700;}

.contact-card{margin-top:34px;padding:22px 24px;border-radius:16px;border:1px solid var(--hairline);
  background:var(--card-grad);display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.contact-card .ci{width:44px;height:44px;border-radius:12px;flex:none;display:flex;align-items:center;justify-content:center;
  background:rgba(233,199,141,.12);color:var(--gold);font-size:20px;}
.contact-card .ct b{display:block;color:#fff;font-size:15px;font-weight:600;}
.contact-card .ct a{color:var(--gold);font-size:15px;font-weight:600;}
.contact-card .ct a:hover{text-decoration:underline;}

.updated-foot{margin-top:40px;padding-top:22px;border-top:1px solid var(--hairline);
  color:var(--hint);font-size:13px;line-height:1.6;}

/* FOOTER ----------------------------------------------------------------- */
.footer{border-top:1px solid var(--hairline);background:#050505;padding:60px var(--gutter) 36px;margin-top:30px;}
.footer-top{max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:1.7fr 1fr 1fr 1.2fr;gap:40px;}
.footer-brand .wordmark{font-size:22px;}
.footer-brand a.wordmark{display:inline-flex;align-items:center;min-height:44px;margin:-11px 0;}
.footer-brand p{margin-top:16px;color:var(--muted);font-size:14px;line-height:1.6;max-width:320px;}
.footer-badges{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap;}
.storebadge{display:inline-flex;align-items:center;gap:9px;padding:9px 15px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);background:#0F1111;}
/* Now a real link to the store, so it needs a hover state. */
a.storebadge{transition:border-color .16s,background .16s,transform .16s;}
a.storebadge:hover{border-color:rgba(233,199,141,.6);background:#151818;transform:translateY(-1px);}
.storebadge .ic{font-size:20px;color:var(--text);}
.storebadge .t{line-height:1.15;}
.storebadge .t small{display:block;font-size:8.5px;letter-spacing:.6px;color:var(--muted);text-transform:uppercase;}
.storebadge .t b{font-size:13px;font-weight:700;color:var(--text);}
.footer-col h4{font-size:12px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);}
.footer-col ul{list-style:none;margin-top:16px;display:flex;flex-direction:column;gap:11px;}
.footer-col a{color:rgba(246,244,240,.62);font-size:14px;transition:color .15s;}
.footer-col a:hover{color:var(--gold);}
.footer-col a[aria-current="page"]{color:var(--gold);font-weight:600;}
.footer-bottom{max-width:var(--maxw);margin:40px auto 0;padding-top:24px;border-top:1px solid var(--hairline);
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.footer-bottom .cp{color:var(--hint);font-size:13px;}
.footer-bottom .cp b{color:var(--muted);font-weight:600;}
.footer-social{display:flex;gap:10px;}
.footer-social a{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;color:var(--muted);transition:border-color .15s,color .15s;}
.footer-social a:hover{border-color:var(--gold);color:var(--gold);}
.footer-social .ic{font-size:17px;}

/* RESPONSIVE ------------------------------------------------------------- */
@media (max-width:1024px){
  :root{--gutter:40px;}
  .legal-wrap{grid-template-columns:1fr;gap:30px;}
  .legal-nav{position:static;}
  .legal-nav ul{flex-direction:row;flex-wrap:wrap;gap:8px;}
  .legal-nav a{border:1px solid var(--hairline);}
  .legal-nav .helpbox{display:none;}
  .legal-body{max-width:none;}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px;}
  .footer-brand{grid-column:1 / -1;}
}
@media (max-width:760px){
  :root{--gutter:20px;}
  .nav{padding:14px 20px;background:rgba(6,6,6,.86);}
  /* The label collapses on phones, leaving just the icon. Keep a 44px hit area
     so it stays tappable (the icon itself is only 15px). The anchor carries an
     explicit aria-label, because display:none also drops the text from the
     accessibility tree, and without it the link would have no accessible name. */
  .nav-links a.link span{display:none;}
  .nav-links a.link{min-width:44px;min-height:44px;justify-content:center;}
  .legal-hero{padding:40px 20px 30px;}
  .legal-hero h1{font-size:33px;letter-spacing:-.8px;}
  .legal-hero .glow{animation:none;}
  .legal-body .lede{font-size:16px;}
  .legal-body h2{font-size:20px;}
  .footer{padding:44px 20px 32px;}
  .footer-top{grid-template-columns:1fr 1fr;gap:26px 20px;}
  .footer-bottom{flex-direction:column;text-align:center;gap:16px;}
}
@media (prefers-reduced-motion:reduce){*{animation:none !important;}}
