/* Family Friendly — fan idea intake.
   White page, one orange, Nunito. The logo is an outline, so the whole interface is
   built from outlines too: thick borders, no shadows, no gradients. */

@font-face{font-family:Nunito;font-style:normal;font-weight:400;font-display:swap;
  src:url(/static/fan/f/nunito-400.woff2) format('woff2')}
@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;
  src:url(/static/fan/f/nunito-700.woff2) format('woff2')}
@font-face{font-family:Nunito;font-style:normal;font-weight:900;font-display:swap;
  src:url(/static/fan/f/nunito-900.woff2) format('woff2')}

:root{
  --o:#ff7e00;
  --o-dark:#e06d00;
  --o-tint:#fff4e8;
  --ink:#1b1b1b;
  --grey:#6b6b6b;
  --line:#e6e6e6;
  --bad:#c62828;
  --radius:16px;
  --wrap:640px;
}

*{box-sizing:border-box}
/* Must beat the display rules below. A .whoami-in{display:flex} silently defeated the
   hidden attribute and showed both identity rows at once. */
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:#fff;color:var(--ink);
  font:400 17px/1.55 Nunito,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  padding:0 20px env(safe-area-inset-bottom);
  -webkit-font-smoothing:antialiased;
}

.sr,.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;background:var(--o);color:#fff;padding:10px 14px;
  border-radius:10px;z-index:20}

/* ---------- header ---------- */
.top{max-width:var(--wrap);margin:0 auto;padding:26px 0 8px;
  display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:block;line-height:0}
.brand img{width:190px;height:auto;display:block}
.topnav{display:flex;gap:14px;align-items:center;flex-shrink:0}

/* ---------- type ---------- */
h1{font-weight:900;font-size:clamp(30px,7.5vw,44px);line-height:1.06;
  letter-spacing:-.02em;margin:24px 0 10px;color:var(--o)}
.lede{font-size:18px;color:var(--grey);margin:0 0 26px}
main{max-width:var(--wrap);margin:0 auto;padding-bottom:56px}

/* ---------- form ---------- */
textarea,input{
  width:100%;font:inherit;color:var(--ink);background:#fff;
  border:2px solid var(--line);border-radius:var(--radius);
  padding:15px 16px;transition:border-color .15s;
}
textarea{resize:vertical;min-height:150px;line-height:1.5}
textarea:focus,input:focus{outline:none;border-color:var(--o)}
textarea::placeholder,input::placeholder{color:#a8a8a8}

label{display:block;font-weight:700;font-size:15px;margin:16px 0 6px}

/* three required fields, spaced so the form reads as three separate asks */
.field{margin-bottom:26px}
.field > label{font-size:17px;margin:0 0 2px}
.req{color:var(--o);margin-left:3px}
.hint{margin:0 0 10px;font-size:14px;color:#9a9a9a}
/* A field with no hint under its label still needs the same gap before the box. */
.field > label + input, .field > label + textarea{margin-top:10px}
textarea.bad,input.bad{border-color:var(--bad)}

.row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.under{margin:8px 2px 0;min-height:20px}
.count{font-size:13px;color:#a8a8a8;font-variant-numeric:tabular-nums}
.err{font-size:14px;font-weight:700;color:var(--bad)}

/* ---------- buttons ---------- */
button{font:inherit;cursor:pointer}
.primary{
  background:var(--o);color:#fff;border:2px solid var(--o);
  font-weight:900;font-size:18px;letter-spacing:-.01em;
  border-radius:999px;padding:14px 30px;transition:background .15s,border-color .15s;
}
.primary:hover{background:var(--o-dark);border-color:var(--o-dark)}
.primary.big{width:100%;margin-top:22px;padding:17px 30px;font-size:19px}
.primary[disabled]{opacity:.55;cursor:default}
.ghost{
  background:#fff;color:var(--o);border:2px solid var(--o);
  font-weight:700;border-radius:999px;padding:12px 24px;transition:background .15s;
}
.ghost:hover{background:var(--o-tint)}
.ghost.wide{width:100%;margin-top:14px}
.linkish{
  background:none;border:0;padding:0;color:var(--o);
  font-weight:700;font-size:15px;text-decoration:underline;text-underline-offset:3px;
}
.linkish:hover{color:var(--o-dark)}
:focus-visible{outline:3px solid var(--o);outline-offset:2px;border-radius:6px}

.stack{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.stack .primary,.stack .ghost{flex:1 1 200px}

/* ---------- the confirmation tick ----------
   Sits directly above the button because it has to be read, not scrolled past. */
.confirm{margin-top:24px;padding:14px 16px;border:2px solid var(--line);
  border-radius:var(--radius);transition:border-color .15s}
.confirm.bad{border-color:var(--bad)}
.confirm-row{display:flex;gap:12px;align-items:flex-start;margin:0;
  font-weight:400;font-size:15px;line-height:1.45;cursor:pointer;color:var(--ink)}
.confirm-row strong{display:block;font-weight:700}
.confirm-sub{display:block;margin-top:5px;font-size:14px;line-height:1.45;color:var(--grey)}
.confirm-row input{width:22px;height:22px;flex:0 0 22px;margin:1px 0 0;
  accent-color:var(--o);cursor:pointer}
.confirm .err{margin:8px 0 0 34px}
/* Without this the Terms link renders in browser blue, which looks like a mistake on a
   page with exactly one accent colour. */
.confirm-row a,.hint a,.lede a{color:var(--o);font-weight:700;text-underline-offset:3px}
.confirm-row a:hover,.hint a:hover,.lede a:hover{color:var(--o-dark)}

/* ---------- who is sending ---------- */
.whoami{margin-top:20px;padding:14px 16px;border:2px dashed var(--line);
  border-radius:var(--radius);background:#fff}
.whoami-in{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.who-label{font-size:15px;color:var(--grey)}
.who-opt{font-size:13px;color:#a8a8a8}

/* ---------- tips ---------- */
.tips,.more{margin-top:28px;border-top:2px solid var(--line);padding-top:6px}
summary{cursor:pointer;font-weight:700;color:var(--o);padding:12px 0;list-style:none}
summary::-webkit-details-marker{display:none}
summary::before{content:"+ ";font-weight:900}
details[open] summary::before{content:"– "}
.tips ul{margin:4px 0 0;padding-left:20px}
.tips li{margin-bottom:10px;color:var(--grey)}
.tips li strong{color:var(--ink)}
.tips-foot{color:#a8a8a8;font-size:15px;margin:14px 0 0}
.more{border-top:0;margin-top:8px}

/* ---------- thanks ----------
   The sign-up ask is the point of this screen, so it sits straight under the sentence
   they are already reading rather than beside the button they were going to press. */
.cta{margin:-8px 0 26px;padding:16px 18px;background:var(--o-tint);border-radius:var(--radius)}
.cta-link{
  background:none;border:0;padding:0;color:var(--o);
  font-weight:900;font-size:20px;letter-spacing:-.01em;line-height:1.2;
  text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px;
}
.cta-link::after{content:" →";text-decoration:none;display:inline-block}
.cta-link:hover{color:var(--o-dark)}
.cta-sub{margin:8px 0 0;font-size:14px;line-height:1.45;color:var(--grey)}

/* ---------- thanks ---------- */
.tick{margin:34px 0 6px}
.tick-c{stroke:var(--o);stroke-width:3;stroke-dasharray:145;stroke-dashoffset:145;
  animation:draw .5s .05s ease-out forwards}
.tick-p{stroke:var(--o);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:40;stroke-dashoffset:40;animation:draw .35s .4s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.fine{color:#a8a8a8;font-size:15px;margin-top:20px}

/* ---------- tabs ---------- */
.tabs{display:flex;gap:8px;margin-bottom:6px}
.tab{background:#fff;border:2px solid var(--line);color:var(--grey);
  font-weight:700;border-radius:999px;padding:9px 20px}
.tab.on{border-color:var(--o);color:var(--o);background:var(--o-tint)}

/* ---------- how we reach you ---------- */
.contacts-open .saved{color:var(--o);font-weight:700;font-size:14px;margin-left:10px}
.contacts-open button{margin-top:16px}

/* ---------- toast ---------- */
.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);
  background:var(--ink);color:#fff;font-weight:700;font-size:15px;
  padding:12px 20px;border-radius:999px;z-index:30;max-width:calc(100vw - 40px)}

/* ---------- footer ---------- */
.foot{max-width:var(--wrap);margin:0 auto;border-top:2px solid var(--line);
  padding:20px 0 34px;color:#c4c4c4;font-size:14px;font-weight:700}
.foot p{margin:0}

@media (min-width:700px){
  .brand img{width:230px}
  .primary.big{width:auto;min-width:260px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}

/* ---------- footer links ---------- */
.footnav{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:12px}
.footnav a{color:var(--o);font-weight:700;font-size:14px;text-underline-offset:3px}
.footnav a:hover{color:var(--o-dark)}

/* ---------- date of birth ----------
   Asked plainly, with no hint of which answer gets you in. The FTC treats
   "you must be 13 to enter" as coaching the answer rather than screening for it. */
.dob{border:2px solid var(--line);border-radius:var(--radius);padding:14px 16px 16px;
  margin:22px 0 0;min-width:0}
.dob legend{font-weight:700;font-size:15px;padding:0 6px}
.dob .hint{margin:0 0 10px}
.dob-row{display:flex;gap:10px}
.dob-row input{width:100%;text-align:center;font-variant-numeric:tabular-nums}
.dob-row input:nth-child(6){flex:1.4}

/* ---------- deleting everything ---------- */
.danger-zone{margin-top:34px;padding-top:20px;border-top:2px solid var(--line)}
.linkish.danger{color:var(--bad)}
.linkish.danger:hover{color:#8e1f1f}
.danger-zone .hint{margin:8px 0 0}

/* ---------- cookie choice ----------
   Both answers are the same size and equally reachable. A reject button that is quieter
   than accept is the thing regulators actually fine people for. */
/* The banner is fixed to the bottom, so the page needs room underneath it or it covers
   the send button on a short screen. */
body:has(#consent:not([hidden])) main{padding-bottom:230px}
@media (min-width:700px){body:has(#consent:not([hidden])) main{padding-bottom:180px}}

.consent{
  position:fixed;left:0;right:0;bottom:0;z-index:40;
  background:#fff;border-top:2px solid var(--o);
  padding:18px 20px calc(18px + env(safe-area-inset-bottom));
}
.consent-in{max-width:var(--wrap);margin:0 auto}
.consent-t{margin:0 0 6px;font-weight:900;font-size:17px;color:var(--ink)}
.consent-b{margin:0 0 14px;font-size:14.5px;line-height:1.5;color:var(--grey);max-width:62ch}
.consent-b a{color:var(--o);font-weight:700;text-underline-offset:3px;white-space:nowrap}
.consent-acts{display:flex;flex-wrap:wrap;gap:10px}
.consent-acts button{flex:1 1 210px;font-size:15px;padding:12px 20px}
@media (min-width:700px){
  .consent-acts button{flex:0 0 auto;min-width:210px}
}
