/* FoxyPartners — approved design system.
   Layout: single centred column, max 1100px, generous gutter; full-width bands
   on --background with cards on --surface. Dark-only by design. */

:root{
  --text:#f1eee9;
  --muted:#b5b3af;
  --background:#111214;
  --surface:#191b1e;
  --surface-hover:#22252a;
  --surface-subtle:#15171a;
  --footer:#0c0d0f;
  --line:#34363b;
  --field-border:#757982;
  --orange:#ff6218;
  --accent:#ff793b;
  --accent-hover:#ff8b53;
  --accent-muted:#2c1d17;
  --on-accent:#111214;
  --focus:#ffae80;
  --gutter:clamp(1.25rem,4vw,4rem);
  --font:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --measure:62ch;
  color-scheme:dark;
}

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

body{
  margin:0;
  font-family:var(--font);
  font-size:1rem;
  line-height:1.6;
  color:var(--text);
  background:var(--background);
  -webkit-font-smoothing:antialiased;
}

.wrap{
  width:100%;
  max-width:1100px;
  margin-inline:auto;
  padding-left:max(16px,env(safe-area-inset-left,0px));
  padding-right:max(16px,env(safe-area-inset-right,0px));
}

/* ---------- type ---------- */
h1,h2,h3,h4{margin:0;text-wrap:balance;font-weight:600}
h1{font-size:clamp(2.3rem,1.3rem + 3.4vw,4.1rem);line-height:1.08;letter-spacing:-.05em}
h2{font-size:clamp(1.7rem,1.1rem + 2vw,2.7rem);line-height:1.15;letter-spacing:-.035em}
h3{font-size:clamp(1.15rem,1rem + .5vw,1.4rem);line-height:1.25;letter-spacing:-.02em}
h4{font-size:1.05rem;line-height:1.3;letter-spacing:-.015em}
p{margin:0;max-width:var(--measure)}
a{color:inherit}

.eyebrow{
  font-size:.75rem;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--accent);margin:0;
}
.lede{font-size:clamp(1.05rem,1rem + .4vw,1.25rem);color:var(--muted)}
.muted{color:var(--muted)}
.tagline{font-size:clamp(1.1rem,1rem + .6vw,1.5rem);color:var(--accent);letter-spacing:-.02em;margin:0}

/* ---------- header ---------- */
.site-header{border-bottom:1px solid var(--line);background:var(--background)}
.site-header .wrap{display:flex;align-items:center;gap:1.5rem;padding-block:1.1rem;flex-wrap:wrap}
.logo{
  display:inline-flex;align-items:center;gap:.55rem;
  font-weight:700;letter-spacing:-.03em;font-size:1.12rem;text-decoration:none;
}

.site-nav{margin-left:auto;display:flex;gap:clamp(.9rem,2.5vw,1.9rem);flex-wrap:wrap}
.site-nav a{
  text-decoration:none;color:var(--muted);font-size:.95rem;font-weight:500;
  padding-block:.2rem;border-bottom:1px solid transparent;transition:color .15s,border-color .15s;
}
.site-nav a:hover{color:var(--text)}
.site-nav a[aria-current="page"]{color:var(--text);border-bottom-color:var(--accent)}

.skip{
  position:absolute;left:-9999px;top:0;background:var(--accent);color:var(--on-accent);
  padding:.6rem 1rem;border-radius:0 0 .4rem 0;font-weight:600;z-index:20;
}
.skip:focus{left:0}

/* ---------- sections ---------- */
section{border-top:1px solid var(--line)}
section:first-of-type{border-top:0}
section > .wrap{padding-block:clamp(3rem,7vw,6rem)}
.stack{display:flex;flex-direction:column;gap:1.25rem;align-items:flex-start}
.stack-tight{gap:.75rem}
.subtle{background:var(--surface-subtle)}

.hero > .wrap{padding-block:clamp(3.5rem,9vw,7.5rem)}
.hero h1{max-width:16ch}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:inherit;font-size:.95rem;font-weight:600;letter-spacing:-.01em;
  text-decoration:none;padding:.8rem 1.4rem;border-radius:.4rem;
  border:1px solid transparent;cursor:pointer;
  transition:background-color .15s,border-color .15s,color .15s;
}
.btn-primary{background:var(--accent);color:var(--on-accent)}
.btn-primary:hover{background:var(--accent-hover)}
.btn-ghost{border-color:var(--line);color:var(--text)}
.btn-ghost:hover{border-color:var(--field-border);background:var(--surface)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}
.arrow{transition:transform .15s}
.btn:hover .arrow{transform:translateX(3px)}

a:focus-visible,.btn:focus-visible,button:focus-visible{
  outline:2px solid var(--focus);outline-offset:3px;border-radius:.25rem;
}

/* ---------- cards ---------- */
.grid{display:grid;gap:1rem;width:100%}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))}

.card{
  display:flex;flex-direction:column;gap:.6rem;min-width:0;
  background:var(--surface);border:1px solid var(--line);
  border-radius:.6rem;padding:clamp(1.25rem,2.5vw,1.9rem);
  text-decoration:none;transition:background-color .15s,border-color .15s;
}
a.card:hover{background:var(--surface-hover);border-color:var(--field-border)}
.card p{color:var(--muted);font-size:.95rem}
.card .card-link{margin-top:auto;padding-top:.5rem;color:var(--accent);font-weight:600;font-size:.9rem}

.label{
  font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted);margin:0;
}

/* numbered steps — the sequence is real, so the numbers carry it */
.steps{counter-reset:step;display:grid;gap:1rem;width:100%;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.step{
  min-width:0;background:var(--surface);border:1px solid var(--line);
  border-radius:.6rem;padding:clamp(1.25rem,2.5vw,1.75rem);
  display:flex;flex-direction:column;gap:.55rem;
}
.step::before{
  counter-increment:step;content:counter(step,decimal-leading-zero);
  font-size:.78rem;font-weight:700;letter-spacing:.1em;color:var(--accent);
  font-variant-numeric:tabular-nums;
}
.step p{color:var(--muted);font-size:.95rem}

/* terms list inside plan cards */
.terms{margin:.25rem 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.45rem}
.terms li{position:relative;padding-left:1.1rem;color:var(--muted);font-size:.93rem}
.terms li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:.4rem;height:1px;background:var(--accent);
}

.note{
  border-left:2px solid var(--accent);background:var(--accent-muted);
  padding:1rem 1.25rem;border-radius:0 .4rem .4rem 0;
}
.note p{color:var(--text);font-size:.95rem}

.contact-box{
  background:var(--surface);border:1px solid var(--line);border-radius:.6rem;
  padding:clamp(1.5rem,3vw,2.25rem);display:flex;flex-direction:column;gap:1rem;
  align-items:flex-start;width:100%;max-width:34rem;
}
.handle{
  font-weight:700;letter-spacing:-.01em;font-size:1.05rem;
  background:var(--background);border:1px solid var(--field-border);
  border-radius:.4rem;padding:.6rem .9rem;user-select:all;
}

/* ---------- footer ---------- */
.site-footer{background:var(--footer);border-top:1px solid var(--line)}
.site-footer .wrap{padding-block:clamp(2.5rem,5vw,3.5rem);display:flex;flex-direction:column;gap:1.75rem}
.footer-top{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center}
.footer-nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:clamp(.9rem,2.5vw,1.8rem)}
.footer-nav a{color:var(--muted);text-decoration:none;font-size:.95rem}
.footer-nav a:hover{color:var(--text)}
.legal{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:baseline;
  border-top:1px solid var(--line);padding-top:1.5rem}
.legal p{color:var(--muted);font-size:.85rem;max-width:none}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* ---------- brand mark ---------- */
.brand-mark{display:block;flex:none;height:auto}
.site-header .brand-mark{width:42px}
.site-footer .brand-mark{width:38px}

/* ---------- legal pages ---------- */
.prose{max-width:68ch;display:flex;flex-direction:column;gap:1rem}
.prose h2{font-size:clamp(1.2rem,1.05rem + .6vw,1.5rem);letter-spacing:-.02em;margin-top:1.25rem}
.prose p{color:var(--muted);max-width:none}
.prose strong{color:var(--text);font-weight:600}
.prose a{color:var(--accent);text-underline-offset:.2em}
.prose a:hover{color:var(--accent-hover)}
.prose .effective{font-size:.85rem;letter-spacing:.02em}
.legal-nav{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem}
.legal-nav a{color:var(--muted);text-decoration:none;font-size:.85rem}
.legal-nav a:hover{color:var(--text)}

/* ---------- guides ---------- */
.crumbs{font-size:.85rem;color:var(--muted);margin:0}
.crumbs a{color:var(--accent);text-decoration:none}
.crumbs a:hover{color:var(--accent-hover)}
.guide-hero h1{max-width:22ch;font-size:clamp(2rem,1.3rem + 2.4vw,3.2rem);letter-spacing:-.04em}
.guide-meta{font-size:.85rem;color:var(--muted);margin:0}
.prose h3{font-size:1.05rem;letter-spacing:-.015em;margin-top:.75rem;scroll-margin-top:1rem}
.prose h2{scroll-margin-top:1rem}
.prose ul,.prose ol{margin:0;padding-left:1.25rem;display:flex;flex-direction:column;gap:.5rem;color:var(--muted)}
.prose li::marker{color:var(--accent)}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:.6rem;background:var(--surface)}
.prose table{border-collapse:collapse;width:100%;min-width:30rem;font-size:.93rem;font-variant-numeric:tabular-nums}
.prose th,.prose td{text-align:left;vertical-align:top;padding:.7rem .9rem;border-bottom:1px solid var(--line);color:var(--muted)}
.prose th{color:var(--text);font-weight:600;background:var(--surface-hover)}
.prose tr:last-child td{border-bottom:0}
.prose td:first-child{color:var(--text)}
.card-hub{max-width:44rem}
.card-hub h2{font-size:clamp(1.35rem,1.1rem + 1vw,1.9rem)}
a.card-link{text-decoration:none}
a.card-link:hover{color:var(--accent-hover)}
