/* site.css — the public website, on the Sleek v2 design system.
 *
 * Source: the Sleek v2 CTO handoff (Sep 7, 2026) — pruuf-sleek-v2.html and
 * pruuf-sleek-boards.html. That handoff superseded the August slate UI, which is
 * what /assets/pruuf.css still carries. The internal admin pages keep that file;
 * the five public pages (index, contact, privacy, auth, billing-return) use this
 * one, so the site and the extension read as the same product.
 *
 * The rules of the system, from the boards' DESIGN TOKENS note:
 *   low contrast, no solid slate blocks · rounded corners (card 12, section 10,
 *   mark 8, chip 6-7) · bands green/orange/pink for 70-100 / 35-69 / 0-34 ·
 *   one-shot motion that settles to a static steady state.
 *
 * No stock imagery and no icon fonts. The only pictures are the brand lockup and
 * badge, and the three band marks drawn as inline SVG in the prototype.
 */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;800&display=swap');

:root{
  /* Sleek v2 tokens — verbatim from the handoff */
  --slate:#476F95; --navy:#173E5A; --ink:#3A4756; --soft:#69788A;
  --surface:#E9EFF6; --surface2:#F4F7FB; --line:#D8E0EA;
  --ok:#5FA27D; --ok-bg:#D4EADE; --ok-ink:#2F6247;
  --warn:#A16840; --warn-bg:#F8C7A3; --warn-ink:#6E4322;
  --bad:#94364C; --bad-bg:#FFC2CD; --pink:#FADEF5;
  --wash-look:#F8EFE4; --wash-care:#F9E9EC;

  /* Site-only additions, derived from the tokens above */
  --paper:#ECEAE6;                               /* the prototype's page ground */
  --shadow:0 4px 18px rgba(23,62,90,.18);        /* .card in the prototype */
  --shadow-soft:0 1px 3px rgba(23,62,90,.08), 0 8px 28px rgba(23,62,90,.07);
  --wrap:1120px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:'Source Sans 3',-apple-system,'Segoe UI',Roboto,sans-serif;
  font-size:16px;line-height:1.6;color:var(--ink);background:#fff;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--slate)}
a:hover{color:var(--navy)}
:focus-visible{outline:2px solid var(--slate);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:24px}
@media (max-width:520px){.wrap{padding-inline:18px}}

/* ── Type ─────────────────────────────────────────────── */
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);margin:0 0 12px}
.h1,.h2,.h3{text-wrap:balance}
.h1{font-size:clamp(36px,5.2vw,58px);line-height:1.06;font-weight:800;letter-spacing:-.02em;color:var(--navy);margin:0 0 20px}
.h2{font-size:clamp(28px,3.6vw,40px);line-height:1.12;font-weight:800;letter-spacing:-.015em;color:var(--navy);margin:0 0 14px}
.h3{font-size:18px;line-height:1.3;font-weight:700;color:var(--navy);margin:0 0 6px}
.lead{font-size:clamp(17px,1.8vw,20px);line-height:1.55;color:var(--soft);margin:0;max-width:34em}
.muted{color:var(--soft)}
.serif{font-family:Georgia,'Times New Roman',serif}

/* ── Nav ──────────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid transparent;transition:border-color .2s}
.nav.scrolled{border-bottom-color:var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand img{height:28px;width:auto}
.brand .org{font-size:12px;color:var(--soft);padding-left:12px;border-left:1px solid var(--line);white-space:nowrap}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a{font-size:15px;font-weight:600;color:var(--ink);text-decoration:none}
.nav-links a:hover{color:var(--navy)}
.nav-links a.btn-primary,.nav-links a.btn-primary:hover{color:#fff}
@media (max-width:860px){.nav-links a:not(.btn){display:none}}
@media (max-width:520px){.brand .org{display:none}}

/* ── Buttons ──────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font:700 15px/1 'Source Sans 3',-apple-system,sans-serif;text-decoration:none;cursor:pointer;
  padding:13px 20px;border-radius:9px;border:1.5px solid transparent;
  transition:background .15s,border-color .15s,box-shadow .15s,color .15s;white-space:nowrap}
.btn .arw{font-size:18px;line-height:.6;transform:translateY(-1px)}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{background:#0F2F46;color:#fff;box-shadow:0 4px 14px rgba(23,62,90,.25)}
.btn-quiet{background:#fff;color:var(--navy);border-color:var(--line)}
.btn-quiet:hover{border-color:var(--slate);color:var(--navy)}
.btn-sm{padding:9px 14px;font-size:14px;border-radius:8px}
.btn-row{display:flex;flex-wrap:wrap;gap:10px}
.btn[disabled]{opacity:.55;cursor:default;box-shadow:none}

/* ── Sections ─────────────────────────────────────────── */
.section{padding-block:clamp(64px,9vw,112px)}
.section.tint{background:var(--surface2)}
.section-head{max-width:720px;margin-bottom:clamp(36px,5vw,56px)}
.section-head.center{margin-inline:auto;text-align:center}
.section-head.center .lead{margin-inline:auto}

/* ── Cards (the handoff's .card / .sect) ──────────────── */
.card{background:var(--surface);border-radius:12px;box-shadow:var(--shadow)}
.sect{background:var(--surface2);border-radius:10px;padding:14px 16px}
.tile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px 24px}
.section.tint .tile{border-color:transparent;box-shadow:var(--shadow-soft)}

/* ── Band marks (inline SVG from the prototype) ───────── */
.mk{width:44px;height:44px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.mk svg{width:24px;height:24px}
.cmk{width:22px;height:22px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.cmk svg{width:13px;height:13px}
.b-ok{background:var(--ok-bg)} .b-warn{background:var(--warn-bg)} .b-bad{background:var(--bad-bg)}

/* ── Footer ───────────────────────────────────────────── */
.foot{border-top:1px solid var(--line);background:#fff;padding-block:36px}
.foot .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 32px}
.foot .brand img{height:24px}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 22px}
.foot-links a{font-size:14px;color:var(--soft);text-decoration:none}
.foot-links a:hover{color:var(--navy)}
.foot-copy{font-size:13px;color:var(--soft);width:100%}

/* ── Simple pages (contact, privacy) ──────────────────── */
.page-head{background:var(--surface2);padding-block:clamp(48px,7vw,80px) clamp(36px,5vw,52px)}
.page-head .h1{font-size:clamp(34px,4.6vw,48px);margin-bottom:12px}
.prose{max-width:720px}
.prose h2{font-size:20px;font-weight:700;color:var(--navy);margin:44px 0 10px}
.prose p,.prose li{font-size:16.5px;line-height:1.7;color:var(--ink)}
.prose p{margin:0 0 14px}
.prose ul{margin:0 0 16px;padding:0;list-style:none}
.prose li{position:relative;padding-left:22px;margin-bottom:8px}
.prose li::before{content:"";position:absolute;left:4px;top:.72em;width:7px;height:7px;border-radius:2px;background:var(--slate)}
.prose strong{color:var(--navy);font-weight:700}
.prose code{font-size:.9em;background:var(--surface2);border:1px solid var(--line);border-radius:5px;padding:1px 6px}
.callout{background:var(--surface);border-radius:12px;padding:20px 22px;font-size:17px;line-height:1.6;color:var(--navy);font-weight:600;margin:0 0 8px}

/* ── Forms ────────────────────────────────────────────── */
.field{margin-bottom:18px}
.field-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:560px){.field-2{grid-template-columns:1fr;gap:0}}
.label{display:block;font-size:14px;font-weight:700;color:var(--navy);margin-bottom:6px}
.input{width:100%;font:16px/1.4 'Source Sans 3',-apple-system,sans-serif;color:var(--ink);
  background:#fff;border:1.5px solid var(--line);border-radius:9px;padding:11px 13px;outline:none;
  transition:border-color .15s,box-shadow .15s;appearance:none;-webkit-appearance:none}
.input:focus{border-color:var(--slate);box-shadow:0 0 0 4px rgba(71,111,149,.14)}
select.input{background-image:linear-gradient(45deg,transparent 50%,var(--soft) 50%),linear-gradient(135deg,var(--soft) 50%,transparent 50%);
  background-position:calc(100% - 18px) 55%,calc(100% - 13px) 55%;background-size:5px 5px;background-repeat:no-repeat;padding-right:36px}
textarea.input{min-height:140px;resize:vertical}
.note{border-radius:10px;padding:13px 16px;font-size:15px;margin-top:16px}
.note.ok{background:var(--ok-bg);color:var(--ok-ink)}
.note.err{background:var(--bad-bg);color:var(--bad)}
.note a{color:inherit;font-weight:700}

/* ── Centered single-card pages (auth, billing) ───────── */
.solo{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:var(--paper)}
.solo-card{background:#fff;border-radius:14px;box-shadow:var(--shadow-soft);width:100%;max-width:420px;overflow:hidden;text-align:center}
.solo-card .top{padding:30px 30px 0}
.solo-card .top img{height:30px;width:auto;margin:0 auto}
.solo-card .by{font-size:13px;color:var(--soft);margin-top:6px}
.solo-card .body{padding:24px 30px 30px}
.solo-card h1{font-size:22px;font-weight:800;color:var(--navy);margin:0 0 8px;line-height:1.25}
.solo-card p{font-size:15.5px;color:var(--ink);margin:0;line-height:1.6}
.solo-card .btn{width:100%;margin-top:22px}
.solo-foot{background:var(--surface2);padding:12px 20px;font-size:12.5px;color:var(--soft)}

/* The prototype's lens spinner — the product's own loading mark */
.spin{width:24px;height:14px;display:inline-block;position:relative;vertical-align:-2px}
.spin i{position:absolute;left:0;right:0;height:2.5px;background:#B9C7D6;border-radius:2px}
.spin i:nth-child(1){top:1.5px}.spin i:nth-child(2){top:6px}.spin i:nth-child(3){top:10.5px;right:5px}
.spin b{position:absolute;top:0;width:12px;height:12px;border-radius:50%;border:2.5px solid var(--navy);background:rgba(255,255,255,.3);animation:lens 1.6s ease-in-out infinite}
@keyframes lens{0%,100%{left:-2px}50%{left:14px}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
