/* ============================================================================
   Job Space home page styles.
   Brand values from the application:
     primary #22618f · text #334155 · muted #64748b · border #e2e8f0
     surfaces #f8fafc / #f1f5f9 · calendar fills #b0d6f2 / #ffff00 / #b9ddce
   No inline styles: the CSP is style-src 'self'.
   ========================================================================= */

@font-face{font-family:'Outfit';src:url('/assets/brand/fonts/outfit-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Outfit';src:url('/assets/brand/fonts/outfit-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Outfit';src:url('/assets/brand/fonts/outfit-600.woff2') format('woff2');font-weight:600;font-display:swap}

:root{
  color-scheme:light;
  --f:'Outfit',BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --app:BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --fm:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;

  --primary:#22618f; --primary-600:#1b4e73; --primary-700:#14374f; --brand:#51a9dd;
  --ink:#334155; --strong:#16222f; --muted:#64748b; --faint:#94a3b8;
  --bg:#fff; --s50:#f8fafc; --s100:#f1f5f9; --line:#e2e8f0; --line-2:#cbd5e1;
  --ink-dark:#0c1a26;

  --k-job:#b0d6f2; --k-evt:#ffff00; --k-rec:#b9ddce;

  --r:6px; --r-lg:10px;
  --e1:0 1px 2px rgba(16,40,64,.06);
  --e2:0 2px 4px rgba(16,40,64,.06),0 8px 20px -10px rgba(16,40,64,.22);
  --e3:0 4px 8px rgba(16,40,64,.06),0 24px 48px -20px rgba(16,40,64,.36);
  --btn-sh:0 1px 2px rgba(16,40,64,.28);
  --btn-sh-h:0 4px 12px -2px rgba(16,40,64,.4);

  --wrap:1160px;
  --sp:clamp(52px,6.5vw,86px);
  --row:46px; --ui-lg:13.5px; --ui-md:12.5px; --ui-sm:12px;
  --ease:cubic-bezier(.22,.61,.36,1);
}
html[data-theme='dark']{
  color-scheme:dark;
  --ink:#c8d4e0; --strong:#f1f5f9; --muted:#93a3b6; --faint:#7c8ca1;
  --bg:#0b131d; --s50:#101b27; --s100:#172433; --line:#233448; --line-2:#33475f;
  --primary:#7fb2dd; --primary-600:#9cc6e8; --primary-700:#b6d7ef;
  --e2:0 2px 4px rgba(0,0,0,.4),0 8px 20px -10px rgba(0,0,0,.6);
  --e3:0 4px 8px rgba(0,0,0,.4),0 24px 48px -20px rgba(0,0,0,.7);
  --btn-sh:0 1px 2px rgba(0,0,0,.5); --btn-sh-h:0 4px 12px -2px rgba(0,0,0,.6);
}
@media (prefers-color-scheme:dark){html:not([data-theme='light']){
  color-scheme:dark;
  --ink:#c8d4e0; --strong:#f1f5f9; --muted:#93a3b6; --faint:#7c8ca1;
  --bg:#0b131d; --s50:#101b27; --s100:#172433; --line:#233448; --line-2:#33475f;
  --primary:#7fb2dd; --primary-600:#9cc6e8; --primary-700:#b6d7ef;
  --e2:0 2px 4px rgba(0,0,0,.4),0 8px 20px -10px rgba(0,0,0,.6);
  --e3:0 4px 8px rgba(0,0,0,.4),0 24px 48px -20px rgba(0,0,0,.7);
  --btn-sh:0 1px 2px rgba(0,0,0,.5); --btn-sh-h:0 4px 12px -2px rgba(0,0,0,.6);
}}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--f);font-size:15.5px;line-height:1.62;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3{margin:0;font-weight:600;color:var(--strong);line-height:1.2;letter-spacing:-.021em}
p{margin:0} ul,ol,dl{margin:0;padding:0;list-style:none}
a{color:var(--primary)}
:focus-visible{outline:2.5px solid var(--primary);outline-offset:3px;border-radius:4px}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;background:#14374f;color:#fff;padding:12px 18px;z-index:99;border-radius:6px}
.skip-link:focus{left:12px;top:12px}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:24px}
.kicker{font-size:12px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--primary);margin-bottom:10px}

/* ---- buttons ------------------------------------------------------------
   The flat fill was the problem, not the radius. A solid block of #22618f
   with a 1px shadow reads as a default form control. This gives it a light
   source: a slight top-to-bottom gradient, a 1px inner highlight along the
   top edge, and a brand-tinted drop shadow it can actually cast.          */
.btn{display:inline-flex;align-items:center;justify-content:center;font-family:var(--f);
  font-size:15px;font-weight:500;letter-spacing:-.004em;padding:11px 22px;border-radius:8px;
  border:0;text-decoration:none;cursor:pointer;white-space:nowrap;position:relative;
  transition:background .16s var(--ease),box-shadow .18s var(--ease),transform .16s var(--ease)}

.btn-primary{
  color:#fff;
  background:linear-gradient(180deg,#2d719f 0%,var(--primary) 52%,#1f5883 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),
             0 1px 1px rgba(12,36,58,.18),
             0 6px 14px -6px rgba(34,97,143,.55);
}
.btn-primary:hover{
  background:linear-gradient(180deg,#3a80af 0%,#25698f 52%,var(--primary) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26),
             0 2px 3px rgba(12,36,58,.18),
             0 12px 22px -8px rgba(34,97,143,.6);
  transform:translateY(-1px);
}
.btn-primary:active{
  transform:translateY(0);
  background:linear-gradient(180deg,#1f5883 0%,#1b4e73 100%);
  box-shadow:inset 0 1px 2px rgba(8,26,44,.4),0 1px 1px rgba(12,36,58,.2);
}
html[data-theme='dark'] .btn-primary{color:#0b131d;background:linear-gradient(180deg,#9ac8ea 0%,var(--primary) 60%,#6ba3d2 100%)}
@media (prefers-color-scheme:dark){
  html:not([data-theme='light']) .btn-primary{color:#0b131d;background:linear-gradient(180deg,#9ac8ea 0%,var(--primary) 60%,#6ba3d2 100%)}
}

/* secondary: a real surface, not naked text */
.btn-quiet{background:var(--bg);color:var(--primary);padding:11px 18px;
  box-shadow:inset 0 0 0 1px var(--line-2),0 1px 1px rgba(12,36,58,.05)}
.btn-quiet:hover{background:var(--s50);box-shadow:inset 0 0 0 1px var(--muted),0 2px 6px -2px rgba(12,36,58,.14);transform:translateY(-1px)}
.btn-quiet:active{transform:translateY(0);background:var(--s100)}

.btn-lg{font-size:15.5px;padding:12px 26px}
.hdr .btn{font-size:14px;padding:8px 16px;border-radius:7px}

/* ---- header ---- */
.hdr{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--bg) 86%,transparent);backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid var(--line)}
.hdr-in{display:flex;align-items:center;gap:26px;min-height:64px}
.brand{display:flex;align-items:center;min-height:44px;color:var(--brand);text-decoration:none}
.brand-lockup{height:25px;width:auto} .brand-bug{display:none}
.hdr-nav{display:flex;gap:22px;margin-left:8px}
.hdr-nav a{color:var(--muted);text-decoration:none;font-size:14.5px}
.hdr-nav a:hover{color:var(--strong)}
.hdr-act{margin-left:auto;display:flex;align-items:center;gap:12px}
.lnk{color:var(--ink);text-decoration:none;font-size:14.5px} .lnk:hover{color:var(--strong)}
.theme-switch{display:flex;gap:2px;padding:3px;background:var(--s100);border-radius:var(--r)}
.theme-switch__opt{display:grid;place-items:center;width:29px;height:25px;border:0;border-radius:4px;background:transparent;color:var(--muted);cursor:pointer;transition:background .14s,color .14s}
.theme-switch__opt svg{width:15px;height:15px}
.theme-switch__opt[aria-checked='true']{background:var(--bg);color:var(--strong);box-shadow:var(--e1)}
html:not([data-js='on']) .theme-switch{display:none}

/* ---- hero ---- */
.hero{position:relative;padding:clamp(40px,5.5vw,72px) 0 var(--sp);overflow:hidden}
.hero::before{content:'';position:absolute;inset:-30% -10% auto -10%;height:120%;pointer-events:none;
  background:radial-gradient(48% 40% at 74% 18%,color-mix(in srgb,var(--brand) 20%,transparent) 0%,transparent 68%),
             radial-gradient(40% 34% at 8% 6%,color-mix(in srgb,var(--primary) 11%,transparent) 0%,transparent 66%)}
.hero-in{position:relative;display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(30px,4.4vw,60px);align-items:center}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--primary);margin-bottom:12px}
.hero h1{font-size:clamp(1.75rem,3.2vw,2.4rem);max-width:17ch;letter-spacing:-.028em}
.sub{margin-top:15px;font-size:1.03rem;color:var(--muted);max-width:50ch}
.ticks{margin-top:20px;display:grid;gap:9px}
.ticks li{position:relative;padding-left:27px;font-size:.98rem}
.ticks li::before{content:'';position:absolute;left:1px;top:.44em;width:14px;height:8px;border-left:2.4px solid var(--primary);border-bottom:2.4px solid var(--primary);transform:rotate(-45deg)}
.hero-act{margin-top:26px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.note{margin-top:12px;font-size:.9rem;color:var(--muted)}
.claim{margin-top:14px;font-size:.95rem;font-weight:500;color:var(--strong)}
.end-act .claim{margin-top:0}

.trust{margin-top:var(--sp);display:flex;flex-wrap:wrap;gap:10px 34px;padding-top:22px;border-top:1px solid var(--line)}
.trust li{display:flex;align-items:center;gap:9px;font-size:.92rem;color:var(--muted)}
.trust svg{width:17px;height:17px;color:var(--primary);flex:0 0 auto}

/* ---- product panels ---- */
.shot{margin:0}
.shot figcaption{margin-top:12px;font-size:.86rem;color:var(--faint);max-width:52ch}
.panel{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--e2);overflow:hidden;font-family:var(--app)}
.shot-lift .panel{box-shadow:var(--e3)}
.panel-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:var(--s50);border-bottom:1px solid var(--line)}
.panel-title{font-family:var(--fm);font-size:var(--ui-md);color:var(--muted)}
.panel-ctl{display:flex;gap:5px} .panel-ctl i{width:8px;height:8px;border-radius:50%;background:var(--line-2)}

.sched{font-size:var(--ui-md)}
.sched-head{display:grid;grid-template-columns:40px repeat(3,1fr);border-bottom:1px solid var(--line)}
.sched-corner{padding:7px;font-family:var(--fm);font-size:var(--ui-sm);color:var(--muted);border-right:1px solid var(--line)}
.tech{padding:7px 10px;border-right:1px solid var(--line);min-width:0}
.tech:last-child{border-right:0}
.tech .t{display:block;font-size:var(--ui-lg);font-weight:600;color:var(--strong);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tech span{display:block;font-size:var(--ui-sm);color:var(--muted)}
.sched-body{display:grid;grid-template-columns:40px 1fr}
.hours{display:grid;grid-auto-rows:var(--row);border-right:1px solid var(--line)}
.hours span{font-family:var(--fm);font-size:var(--ui-sm);color:var(--muted);padding:2px 0 0 8px;border-bottom:1px solid var(--line)}
.lanes{display:grid;grid-template-columns:repeat(3,1fr)}
.lane{position:relative;border-right:1px solid var(--line);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--row) - 1px),var(--line) calc(var(--row) - 1px),var(--line) var(--row))}
.lane:last-child{border-right:0}
.blk{position:absolute;left:3px;right:3px;border-radius:5px;padding:5px 7px;overflow:hidden;border-left:3px solid currentColor;box-shadow:var(--e1)}
.blk .t{display:block;font-size:var(--ui-lg);font-weight:600;line-height:1.22;color:#0f172a;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.blk span{display:block;font-size:var(--ui-md);color:#0f172a;opacity:.78;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (min-width:1001px) and (max-width:1180px){.hero-in{grid-template-columns:1fr}}
.k-job{background:var(--k-job);color:#3b82c4}
.k-evt{background:var(--k-evt);color:#caa900}
.k-rec{background:var(--k-rec);color:#4f9e7d}
.r0{top:2px}.r1{top:calc(var(--row) + 2px)}.r3{top:calc(3*var(--row) + 2px)}
.s1{height:calc(var(--row) - 5px)}.s2{height:calc(2*var(--row) - 5px)}.s3{height:calc(3*var(--row) - 5px)}


/* ---- what it does ---- */
.does{padding:var(--sp) 0;background:var(--s50);border-block:1px solid var(--line)}
.does h2,.faq h2,.end h2{font-size:clamp(1.28rem,2.1vw,1.62rem)}
.spine{margin-top:30px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.spine li{padding-top:16px;border-top:2px solid var(--primary)}
.spine h3{font-size:1.06rem;margin-bottom:5px}
.spine p{color:var(--muted);font-size:.95rem}
.around{margin-top:30px}
.around h3{font-size:.84rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:16px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips li{font-size:.92rem;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--r);padding:6px 12px}

.faq{padding:var(--sp) 0;background:var(--s50);border-block:1px solid var(--line)}

/* ---- end ---- */
.end{padding:var(--sp) 0}
.end-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.end p{margin-top:7px;color:var(--muted)}
.end-act{display:flex;flex-direction:column;align-items:flex-start;gap:6px}

/* ---- footer ---- */
.ftr{background:var(--s50);border-top:1px solid var(--line);padding:44px 0 22px}
.ftr-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:36px}
.ftr-brand p{margin-top:12px;color:var(--muted);font-size:.93rem;max-width:34ch}
.ftr-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.ftr-cols h3{font-size:.83rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-bottom:11px}
.ftr-cols li{margin-bottom:2px}
.ftr-cols a{display:inline-block;padding:6px 0}
.ftr-cols a{color:var(--ink);text-decoration:none;font-size:.94rem}
.ftr-cols a:hover{color:var(--primary)}
.ftr-base{margin-top:34px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.86rem}

/* ---- dialog ---- */
.signup-dialog{width:min(560px,calc(100vw - 24px));max-height:min(88vh,780px);padding:0;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg);color:var(--ink);box-shadow:0 30px 76px -26px rgba(8,20,34,.6)}
.signup-dialog::backdrop{background:rgba(9,20,33,.52);backdrop-filter:blur(2px)}
.signup-form{display:flex;flex-direction:column;max-height:inherit}
.signup-dialog__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 0}
.signup-dialog__head h2{font-size:1.2rem} .signup-dialog__head h2:focus-visible{outline:2.5px solid var(--primary);outline-offset:4px}
.signup-dialog__close{display:grid;place-items:center;width:33px;height:33px;flex:0 0 auto;border:0;border-radius:var(--r);background:transparent;color:var(--muted);cursor:pointer}
.signup-dialog__close:hover{background:var(--s100);color:var(--strong)}
.signup-dialog__close svg{width:17px;height:17px}
.signup-dialog__hint{padding:9px 22px 0;color:var(--muted);font-size:.95rem}
.stepper{display:flex;gap:8px;padding:18px 22px 0}
.stepper-item{display:flex;align-items:center;gap:8px;flex:1;color:var(--muted)}
.stepper-dot{display:grid;place-items:center;width:25px;height:25px;flex:0 0 auto;border-radius:50%;font-size:.82rem;border:1px solid var(--line)}
.stepper-name{font-size:.83rem}
.stepper-item.is-current{color:var(--strong)}
.stepper-item.is-current .stepper-dot{background:var(--primary);border-color:var(--primary);color:#fff}
.stepper-item.is-done .stepper-dot{background:var(--k-rec);border-color:var(--k-rec);color:#1f513e}
.signup-body{padding:18px 22px 4px;overflow-y:auto}
.step{border:0;margin:0;padding:0;min-inline-size:0}
.step legend:focus-visible{outline:2.5px solid var(--primary);outline-offset:3px}
.step legend{font-weight:600;font-size:1.04rem;color:var(--strong);padding:0;margin-bottom:14px}
.field{margin-bottom:15px}
.field label{display:block;font-size:.95rem;font-weight:500;color:var(--strong);margin-bottom:6px}
.field input,.field select{width:100%;font-family:var(--f);font-size:1rem;color:var(--ink);background:var(--bg);padding:10px 12px;border:1px solid var(--line-2);border-radius:var(--r);box-shadow:var(--e1);transition:border-color .14s,box-shadow .14s}
.field input:focus,.field select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 20%,transparent)}
.field-help{margin-top:6px;font-size:.88rem;color:var(--muted)}
.slug-input{display:flex;border:1px solid var(--line-2);border-radius:var(--r);overflow:hidden;box-shadow:var(--e1)}
.slug-input:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 20%,transparent)}
.slug-prefix{display:grid;place-items:center;padding:0 11px;background:var(--s100);color:var(--muted);font-size:.9rem;border-right:1px solid var(--line-2)}
.slug-input input{border:0;border-radius:0;box-shadow:none} .slug-input input:focus{box-shadow:none}
.review{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin-bottom:15px;padding:15px;border-radius:var(--r);background:var(--s50);border:1px solid var(--line);font-size:.95rem}
.review dt{font-size:.83rem;color:var(--muted);padding-top:.12em}
.review dd{margin:0;color:var(--strong)}
.check{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start;margin-bottom:12px;font-size:.95rem}
.check input{width:20px;height:20px;margin-top:2px;accent-color:var(--primary)}
.signup-foot{display:flex;align-items:center;gap:10px;padding:15px 22px 19px;border-top:1px solid var(--line);margin-top:8px}
.foot-spacer{flex:1}

/* ---- responsive ---- */
@media (max-width:1000px){
  .hero-in,.ftr-top{grid-template-columns:1fr}

  .flow{grid-template-columns:1fr 1fr}
  .hdr-nav{display:none}
}
@media (max-width:560px){
  /* the action cluster could not fit; the theme control is the least critical
     piece and the OS preference still drives the page without it */
  .theme-switch{display:none}
  .hdr .btn-sm,.hdr .btn{font-size:13px;padding:7px 11px}
  .hdr-div{display:none}
}
@media (max-width:360px){
  .wrap,.legal-wrap,.legal-tabs__inner{padding-inline:16px}
}
@media (max-width:430px){
  /* Keep the account actions visible on narrow phones. */
  .hdr-in{flex-wrap:wrap;padding-block:8px;row-gap:6px;min-height:0}
  .brand{flex:1 1 auto}
  .hdr-act{flex:1 0 100%;flex-wrap:wrap;justify-content:flex-end;gap:8px 6px}
  .hdr-act .btn-quiet{padding:7px 10px}
}
@media (max-width:720px){
  body{font-size:15.5px}
  :root{--row:58px; --ui-lg:14px; --ui-md:13px; --ui-sm:12px; --sp:clamp(40px,9vw,56px)}
  .brand-lockup{display:none} .brand-bug{display:block;height:25px}
  .theme-switch{padding:2px}
  .theme-switch__opt{width:26px;height:28px}
  .hdr-in{gap:6px;min-height:58px}
  .hero h1{font-size:clamp(1.62rem,7vw,2rem);max-width:none}
  .flow{grid-template-columns:1fr;gap:20px}
  .spine{grid-template-columns:1fr;gap:20px}
  .sched-head{grid-template-columns:36px repeat(2,1fr)}
  .sched-head .tech:nth-child(4){display:none}
  .sched-body{grid-template-columns:36px 1fr}
  .lanes{grid-template-columns:repeat(2,1fr)}
  .lane:nth-child(3){display:none}
  .ftr-cols{grid-template-columns:1fr 1fr;gap:22px}
  .end-in{flex-direction:column;align-items:flex-start}
  .signup-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition-duration:.001ms !important;animation-duration:.001ms !important}
  }

/* ---- sign-in ---- */
.signin{padding:var(--sp) 0;background:var(--s50);border-block:1px solid var(--line)}
.signin-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);gap:clamp(30px,4.4vw,58px);align-items:center}
.signin h2{font-size:clamp(1.28rem,2.1vw,1.62rem);max-width:16ch}
.signin-sub{margin-top:14px;color:var(--muted);font-size:1.01rem;max-width:46ch}
.signin-card{max-width:380px}
.idp{padding:18px}
.idp-btn{display:flex;align-items:center;gap:11px;width:100%;margin-bottom:9px;padding:10px 14px;
  font-family:var(--f);font-size:.95rem;font-weight:500;color:var(--strong);
  line-height:normal;text-decoration:none;
  background:var(--bg);border:1px solid var(--line-2);border-radius:8px;cursor:pointer;
  transition:background .14s var(--ease),border-color .14s var(--ease),box-shadow .14s var(--ease)}
.idp-btn:hover{background:var(--s50);border-color:var(--muted);box-shadow:0 2px 6px -2px rgba(12,36,58,.14)}
.idp-btn svg{width:18px;height:18px;flex:0 0 auto}
.idp-or{display:flex;align-items:center;gap:12px;margin:16px 0 14px;color:var(--muted);font-size:.85rem}
.idp-or::before,.idp-or::after{content:'';flex:1;height:1px;background:var(--line)}
.idp-field{display:block;font-size:.9rem;font-weight:500;color:var(--strong);margin-bottom:6px}
.idp-input{width:100%;font-family:var(--f);font-size:.98rem;color:var(--muted);background:var(--bg);
  padding:10px 12px;border:1px solid var(--line-2);border-radius:var(--r);box-shadow:var(--e1);margin-bottom:11px}
.idp-primary{width:100%}
@media (max-width:1000px){.signin-in{grid-template-columns:1fr}.signin-card{max-width:none}}


/* ---- features ---- */
.feat{padding:var(--sp) 0;background:var(--s50);border-block:1px solid var(--line)}
.feat h2{font-size:clamp(1.34rem,2.2vw,1.72rem);margin-bottom:30px}
.cols{display:grid;grid-template-columns:repeat(6,1fr);gap:26px 22px}
.col h3{font-size:.78rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-bottom:11px}
.col li{font-size:.93rem;color:var(--ink);padding:3px 0;line-height:1.4}

/* ---- closing call to action ----
   No container. The page is light and restrained everywhere else, so a slab
   here read as a foreign object. Space and type carry it instead. */
.end{padding:clamp(60px,7.5vw,96px) 0;text-align:center;
  background:radial-gradient(60% 100% at 50% 0%,color-mix(in srgb,var(--brand) 9%,transparent) 0%,transparent 70%)}
.end-card{display:flex;flex-direction:column;align-items:center;gap:22px}
.end-card h2{font-size:clamp(1.5rem,2.7vw,2rem);color:var(--strong);margin:0}
.btn-xl{font-size:16px;padding:13px 30px}

@media (max-width:1100px){.cols{grid-template-columns:repeat(3,1fr)}}
@media (max-width:720px){
  .cols{grid-template-columns:1fr 1fr;gap:22px 18px}
}


/* ------------------------------------------------------------------
   The sign-up dialog markup is unchanged — it carries the server-issued
   control IDs, the data-echo review fields and the no-JS path — so its
   original rules are kept verbatim below. These aliases map the old token
   names onto the new palette so it inherits the redesign.
   ------------------------------------------------------------------ */
:root{
  --color-primary:var(--primary); --color-primary-dark:var(--primary-600);
  --color-primary-active:var(--primary-700);
  --color-primary-tint:var(--s100); --color-primary-tint-active:var(--s50);
  --color-focus-ring:var(--primary); --color-focus-ring-on-primary:var(--primary-700);
  --color-surface:var(--bg); --color-surface-alt:var(--s50);
  --color-text:var(--ink); --color-text-muted:var(--muted);
  --color-error:#c0392b; --color-required:#c0392b;
  --color-border:var(--line-2); --color-border-soft:var(--line);
  --color-caret:var(--primary); --color-accent-text:var(--primary);
  --color-btn-primary-bg:var(--primary); --color-btn-primary-bg-hover:var(--primary-600);
  --color-btn-primary-bg-active:var(--primary-700); --color-btn-primary-fg:#fff;
  --color-brand-logo:var(--brand);
  --color-status-ok-bg:#ecfdf5; --color-status-ok-border:#34d399; --color-status-ok-fg:#065f46;
  --color-status-err-bg:#fef2f2; --color-status-err-border:#f87171; --color-status-err-fg:#991b1b;

  /* Compatibility tokens used by the retained signup and legal routes. */
  --radius-control:var(--r); --radius-card:var(--r-lg);
  --font-family:var(--f);
  --text-xs:.8125rem; --text-sm:.9rem; --text-base:1rem;
  --container-pad:clamp(1.25rem,1rem + 2.5vw,3rem);
  --header-height:64px;
}

/* ---- sign-up dialog (original rules, retokenised) ---- */
   behind a top-layer dialog regardless of overflow. The offset is written by landing.js so the
   /signup still gets a working native modal and Esc still closes it — and the page underneath is
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  a,
  .theme-switch__opt {
    transition:
      background-color 0.15s ease,
      border-color 0.15s ease,
      color 0.15s ease;
  }
  .feature-card {
    transition:
      box-shadow 0.15s ease,
      transform 0.15s ease;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.2;
  /* Kept from the previous design and deliberately not dropped: the chosen prototype's padding
     lands just under the 44px minimum target size at the small size. */
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition:
      background-color 0.16s ease,
      box-shadow 0.16s ease,
      transform 0.12s ease;
  }
}
.btn-primary {
  background-color: var(--color-btn-primary-bg);
  border-color: var(--color-primary-dark);
  color: var(--color-btn-primary-fg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 2px rgba(15, 23, 42, 0.16),
    0 12px 24px -14px rgba(20, 55, 79, 0.85);
}
.btn-primary:hover {
  background-color: var(--color-btn-primary-bg-hover);
  border-color: var(--color-btn-primary-bg-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(15, 23, 42, 0.18),
    0 16px 30px -14px rgba(20, 55, 79, 0.9);
}
.btn-primary:active {
  background-color: var(--color-btn-primary-bg-active);
  border-color: var(--color-btn-primary-bg-active);
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.28);
}
.btn-primary:focus-visible {
  outline-color: var(--color-focus-ring-on-primary);
}
.btn .arrow {
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .btn .arrow {
    transition: transform 0.18s ease;
  }
  .btn-primary:hover .arrow {
    transform: translateX(3px);
  }
}
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-text);
}
.btn-ghost:hover {
  background-color: var(--color-primary-tint);
  color: var(--color-primary-dark);
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.6;
  cursor: not-allowed;
}
.hero .cta-row .btn {
  flex: 1 1 auto;
}
@media (min-width: 480px) {
  .hero .cta-row .btn {
    flex: 0 0 auto;
  }
}
/* ---------- Sign-up dialog ----------
 *   1. closed              — the UA's `dialog:not([open]) { display: none }`, untouched.
 *   2. [open], no modal    — /signup with script off (or without dialog.showModal): the server
 *                            ships `open`, so the dialog is an ordinary in-flow panel and the
 *                            [data-route='signup'] rule hides the marketing sections around it,
/* State 1 — closed. The UA stylesheet already does this for a real <dialog>; spelled out because
   in an engine without dialog support the element is simply unknown, gets no UA rule, and the
.signup-dialog:not([open]) {
  display: none;
}
.signup-dialog[open] {
  position: static;
  display: block;
  width: calc(100% - 2 * var(--container-pad));
  max-width: 46rem;
  height: auto;
  max-height: none;
  margin: var(--space-section) auto;
  padding: 0;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background-color: var(--color-surface);
  color: var(--color-text);
  overflow: visible;
}
/* /signup without a working modal: the page around the panel would be noise, and scrolling past a
:root[data-route='signup']:not([data-modal='on']) .hero,
:root[data-route='signup']:not([data-modal='on']) .features,
:root[data-route='signup']:not([data-modal='on']) .integrations,
:root[data-route='signup']:not([data-modal='on']) .cta-band {
  display: none;
}
:root[data-modal='on'] .signup-dialog[open] {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
@media (min-width: 52rem) and (min-height: 40rem) {
  :root[data-modal='on'] .signup-dialog[open] {
    width: min(44rem, calc(100vw - 4rem));
    height: auto;
    max-height: min(46rem, calc(100vh - 5rem));
    margin: auto;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.45);
  }
}
.signup-dialog::backdrop {
  background-color: rgba(11, 18, 32, 0.55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .signup-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme='dark'] .signup-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}
.signup-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-soft);
  background-color: var(--color-surface);
}
:root[data-modal='on'] .signup-dialog__head {
  flex: 0 0 auto;
  /* The sheet starts under the notch/status bar on a phone. */
  padding-top: max(var(--space-md), env(safe-area-inset-top));
}
.signup-dialog__head h2 {
  margin: 0;
  font-size: var(--text-xl);
}
.signup-dialog__head h2:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 4px;
}
.signup-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: -6px -10px -6px 0;
  border-radius: var(--radius-control);
  color: var(--color-text-muted);
  text-decoration: none;
}
.signup-dialog__close:hover {
  background-color: var(--color-primary-tint);
  color: var(--color-accent-text);
}
.signup-dialog__close svg {
  width: 22px;
  height: 22px;
}
.signup-dialog__hint {
  flex: 0 0 auto;
  margin: 0;
  max-width: none;
  padding: 10px var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-primary-tint);
  border-bottom: 1px solid var(--color-border-soft);
}
.signup-dialog__hint:empty {
  display: none;
}
.signup-dialog__body {
  padding: var(--space-lg);
}
/* The dialog's own scroll context: a long form scrolls inside the panel, the page behind does not
:root[data-modal='on'] .signup-dialog__form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
:root[data-modal='on'] .signup-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scroll-padding-block: 1rem;
  padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom));
}
.signup-dialog__lede {
  margin-top: 0;
  color: var(--color-text-muted);
}
.signup-progress {
  display: none;
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
}
:root[data-signup-enhanced='on'] .signup-progress {
  display: grid;
  gap: 0.45rem;
}
.signup-progress__track {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background-color: var(--color-border-soft);
}
.signup-progress__bar {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background-color: var(--color-primary);
}
.signup-progress__bar[data-step='2'] {
  width: 66.667%;
}
.signup-progress__bar[data-step='3'] {
  width: 100%;
}
.signup-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.signup-step > legend {
  width: 100%;
  margin: 0 0 var(--space-md);
  padding: 0;
  color: var(--color-text);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
}
.signup-dialog__actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: var(--space-md) var(--space-lg);
  padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border-soft);
  background-color: var(--color-surface);
}
.signup-dialog__actions .btn {
  min-width: 7rem;
}
.signup-dialog__done {
  margin: var(--space-lg) 0;
  font-size: var(--text-2xl);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}
.notice {
  background-color: var(--color-primary-tint);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-control);
  padding: 14px 16px;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 6px;
}
.field .req {
  color: var(--color-required);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-base);
  color: var(--color-text);
  caret-color: var(--color-caret);
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-control);
  padding: 11px 14px;
  min-height: 46px;
}
.field input,
.field textarea {
  /* Keep the full arrow visible instead of switching to a hairline I-beam over the form. */
  cursor: default;
}
.field select {
  /* Native control: let the UA paint the arrow, but keep the palette in step with color-scheme. */
  appearance: auto;
  cursor: pointer;
}
.field textarea {
  resize: vertical;
  min-height: 92px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-focus-ring);
}
.field .hint-text {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 5px;
}
.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--color-error);
}
.field-error {
  display: none;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-error);
  margin-top: 5px;
}
.field-error.is-visible {
  display: block;
}
.slug-status {
  font-size: var(--text-xs);
  margin-top: 5px;
  min-height: 1.2em;
  color: var(--color-text-muted);
}
.slug-status:empty {
  min-height: 0;
  margin-top: 0;
}
.slug-status.is-free {
  color: var(--color-status-ok-fg);
  font-weight: 600;
}
.slug-status.is-taken {
  color: var(--color-error);
  font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .slug-status.is-free {
    color: var(--dk-status-ok-border);
  }
}
:root[data-theme='dark'] .slug-status.is-free {
  color: var(--dk-status-ok-border);
}
.form-status {
  margin: 0 0 var(--space-md);
  padding: 14px 16px;
  border-radius: var(--radius-control);
  font-size: var(--text-sm);
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status.status-ok {
  background-color: var(--color-status-ok-bg);
  border: 1px solid var(--color-status-ok-border);
  color: var(--color-status-ok-fg);
}
.form-status.status-error {
  background-color: var(--color-status-err-bg);
  border: 1px solid var(--color-status-err-border);
  color: var(--color-status-err-fg);
}
noscript .notice {
  margin-top: var(--space-md);
}
.signup-collection-notice {
  margin: 0.25rem 0 0.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  background: var(--color-primary-tint);
  padding: 0.85rem 1rem;
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.signup-collection-notice h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}
.signup-collection-notice p {
  margin: 0;
}
.signup-collection-notice p + p {
  margin-top: 0.45rem;
}
.terms-acceptance {
  margin: 1rem 0;
}
.terms-acceptance__control {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}
.terms-acceptance__control input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.12rem 0 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.terms-acceptance__control input[aria-invalid='true'] {
  outline: 2px solid var(--color-error);
  outline-offset: 2px;
}
.terms-acceptance .hint-text {
  display: block;
  margin: 0.4rem 0 0 1.9rem;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}
.sms-consent {
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-soft);
}
.sms-consent h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}
.sms-consent .terms-acceptance__control + .terms-acceptance__control {
  margin-top: 0.5rem;
}
.sms-consent__disclosure {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}
@media (max-width: 599px) {
  .header-inner {
    gap: 4px;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .btn-sm {
    padding-inline: 10px;
  }

  .hero {
    padding-top: 36px;
  }
  .hero-inner {
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }
  .hero .lede {
    margin-bottom: 22px;
  }
  .hero-figure {
    margin-right: 0;
  }
  .hero-shot-frame {
    border-right: 1px solid var(--color-border-soft);
    border-radius: 12px;
    padding-right: 8px;
  }
  .hero-shot {
    width: 100%;
    max-width: 100%;
    border-radius: 7px;
  }
  .hero-figcaption {
    margin-right: 0;
  }
  .feature-card {
    padding: 1.15rem;
  }

  .signup-dialog__head {
    align-items: center;
    padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  }
  .signup-dialog__head h2 {
    font-size: 1.2rem;
  }
  .signup-dialog__body {
    padding: 1rem max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));
  }
  :root[data-modal='on'] .signup-dialog__body {
    padding-bottom: 1rem;
  }
  .signup-dialog__lede,
  .signup-progress,
  .signup-step > legend {
    margin-bottom: 0.85rem;
  }
  .signup-step > legend {
    font-size: 1.12rem;
  }
  .field {
    margin-bottom: 0.85rem;
  }
  .field input,
  .field select,
  .field textarea {
    min-height: 48px;
  }
  .signup-collection-notice {
    padding: 0.75rem 0.85rem;
    line-height: 1.45;
  }
  .terms-acceptance {
    margin-bottom: 0;
  }
  .terms-acceptance__control {
    grid-template-columns: 1.5rem 1fr;
    min-height: 44px;
  }
  .terms-acceptance__control input {
    width: 1.35rem;
    height: 1.35rem;
  }
  .terms-acceptance .hint-text {
    margin-left: 2.15rem;
  }
  .signup-dialog__actions {
    padding: 0.75rem max(1rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  }
  .signup-dialog__actions .btn {
    min-width: 0;
    flex: 1 1 0;
  }

  .footer-inner {
    align-items: flex-start;
  }
  .site-footer nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.75rem;
  }
  .site-footer nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

/* ---- controls the suite pins for touch and reflow ---- */
[hidden] { display: none !important; }
.brand { min-height: 44px; }
.theme-cycle { width: 44px; height: 44px; display: none; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  color: var(--muted); cursor: pointer; }
.theme-cycle svg { width: 18px; height: 18px; }
.theme-cycle:hover { color: var(--strong); }
html:not([data-js='on']) .theme-cycle { display: none; }
.field input, .field select, .field textarea { cursor: default; }
@media (max-width: 599px) {
  .hero-shot { width: 100%; }
}
@media (max-width: 560px) {
  /* the grouped radio switch does not fit; one cycling button replaces it */
  html[data-js='on'] .theme-cycle { display: grid; }
}
.ints { padding: clamp(30px,4vw,44px) 0; }
.ints-h { font-size: 1.06rem; }
.ints-note { margin-top: 6px; color: var(--muted); font-size: .93rem; }
.pills { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: .88rem; padding: 5px 11px; background: var(--s50);
  border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }

/* The dialog's fieldsets were falling back to the UA 2px groove. */
.signup-dialog fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.signup-dialog legend { padding: 0; font-size: 1rem; font-weight: 600; color: var(--strong); margin-bottom: 12px; }
.signup-dialog__body { padding: 4px 22px 8px; }
.signup-dialog__actions { padding: 14px 22px 18px; border-top: 1px solid var(--line); gap: 10px; }

/* Coming-soon notice (public host, when the edge refuses Log in or Create account). */
.notice-dialog { width: min(360px, calc(100vw - 24px)); padding: 28px 22px 22px; text-align: center; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); box-shadow: 0 30px 76px -26px rgba(8, 20, 34, .6); }
.notice-dialog::backdrop { background: rgba(9, 20, 33, .52); backdrop-filter: blur(2px); }
.notice-dialog h2 { margin: 0; font-size: 1.2rem; color: var(--strong); }
.notice-dialog h2:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 4px; }
.notice-dialog__actions { display: flex; justify-content: center; margin-top: 20px; }

/* Subscribe for Updates (/updates): the sign-up dialog, sized for a four-field form. */
:root[data-route='updates']:not([data-modal='on']) .hero,
:root[data-route='updates']:not([data-modal='on']) .features,
:root[data-route='updates']:not([data-modal='on']) .integrations,
:root[data-route='updates']:not([data-modal='on']) .cta-band {
  display: none;
}
@media (min-width: 52rem) and (min-height: 40rem) {
  :root[data-modal='on'] .updates-dialog[open] { width: min(34rem, calc(100vw - 4rem)); }
}
.updates-dialog .signup-dialog__head h2:focus { outline: none; }
.updates-dialog .signup-dialog__body { padding-top: 14px; }
.updates-dialog .signup-dialog__actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.updates-dialog .signup-dialog__head { padding-left: 22px; padding-right: 22px; }
.updates-dialog__status { margin: 0 auto 0 0; font-size: .9rem; color: var(--muted); }
.updates-dialog__status:empty { display: none; }
.notice-dialog p { margin: 10px 0 0; color: var(--ink); line-height: 1.5; }
.notice-dialog h2:focus { outline: none; }
/* Header on phones: logo row, then every action on one row at full labels. */
@media (max-width:430px){
  .hdr .wrap{padding-inline:16px}
  .hdr-act{flex-wrap:nowrap;gap:4px}
  .hdr-act .btn,.hdr-act .btn-quiet,.hdr .btn-sm{font-size:12px;padding:6px 8px;white-space:nowrap}
  .theme-cycle{width:34px;height:34px}
}
@media (max-width:370px){
  .hdr-act .btn,.hdr-act .btn-quiet,.hdr .btn-sm{font-size:11.5px;padding:6px 7px}
}
/* Subscribe for Updates: a refused submission is stated in the error colour, beside the button. */
.updates-dialog__status.is-error { color: var(--color-error); font-weight: 600; }
html[data-theme='dark'] .updates-dialog__status.is-error { color: #f87171; }
@media (prefers-color-scheme: dark) { html:not([data-theme='light']) .updates-dialog__status.is-error { color: #f87171; } }
.theme-cycle { touch-action: manipulation; }
/* The consent error lines up with the consent text, like the notice under it. */
.terms-acceptance .field-error { margin-left: 1.9rem; }
@media (max-width: 599px) { .terms-acceptance .field-error { margin-left: 2.15rem; } }
.terms-acceptance .field-error + .terms-acceptance__control { margin-top: 0.75rem; }
