/* ToSure — marketing site
   Brand: ToSure teal (#0d9488) + navy ink, from the app.
   Visual language: firm side = ruled ledger sheet, client side = phone.
   Motion: one self-playing moment (hero month), everything else responds to the visitor. */

@font-face {
  font-family: "Schibsted";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #113e52;
  --ink-2: #3f5f6e;
  --ink-3: #536e7a;
  --paper: #f4f8f8;
  --sheet: #ffffff;
  --line: #dbe6e8;
  --rule: #d6e4ee;
  --margin: #e0574a;
  --brand: #0d9488;
  --brand-dk: #0f766e;
  --brand-ink: #115e59;
  --mint: #99f6e4;
  --mint-bg: #e3f6f2;
  --stamp: #4338a8;
  --ok: #157a50;
  --ok-bg: #e3f3ea;
  --wait: #835209;
  --wait-bg: #fbf0dc;
  --bad: #b4372c;
  --bad-bg: #fbe6e3;
  --wa: #dcf5cf;
  --deep: #0c2f3d;
  --on-deep: #e6f0f2;
  --on-deep-2: #a8c0c8;

  --font: "Schibsted", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(17, 62, 82, .04), 0 24px 48px -32px rgba(17, 62, 82, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  color: var(--ink); background: var(--paper);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); z-index: 100; text-decoration: none; }
.skip:focus { top: 1rem; }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.section.white { background: #fff; }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: .9rem; font-size: var(--step-1); color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.35rem; font: 600 var(--step-0)/1 var(--font);
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-dk); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { color: var(--ink); border-color: #b7cbd1; background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint-bg); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.01em; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-actions .signin { text-decoration: none; font-weight: 600; padding: .5rem .25rem; }
.nav-actions .btn { min-height: 2.6rem; padding: .55rem 1.1rem; }
.menu-btn { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem; border: 1.5px solid #b7cbd1; border-radius: 999px; background: transparent; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav-links, .nav-actions .signin { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-actions { order: 3; }
  .nav.is-open + .mobile-menu { display: block; }
}
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem; }
.mobile-menu a { display: block; padding: .8rem 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
@media (max-width: 420px) { .nav-actions .btn { padding-inline: .9rem; font-size: .9rem; } }

/* ---------- Shared illustration language ---------- */
.sheet {
  position: relative; background: var(--sheet); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow);
  background-image:
    linear-gradient(to right, transparent 2.6rem, var(--margin) 2.6rem, var(--margin) calc(2.6rem + 1px), transparent calc(2.6rem + 1px)),
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(3rem - 1px), var(--rule) calc(3rem - 1px), var(--rule) 3rem);
  background-position: 0 0, 0 4.5rem; background-repeat: no-repeat, repeat-x;
  background-size: 100% 100%, 100% calc(100% - 4.5rem);
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 1.1rem .9rem 3.4rem; height: 4.5rem; }
.sheet-head .t { font-size: 1rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sheet-head .s { font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
.sheet-rows { list-style: none; }
.sheet-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; height: 3rem; padding: 0 1rem 0 3.4rem; font-size: .9rem; }
.sheet-row .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sheet-row .idx { position: absolute; left: 0; width: 2.6rem; text-align: center; color: var(--ink-3); font-size: .72rem; font-variant-numeric: tabular-nums; }

.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.wait { background: var(--wait-bg); color: var(--wait); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.idle { background: #ebf1f3; color: var(--ink-3); }
.pill.auto { background: var(--mint-bg); color: var(--brand-ink); }

.stamp {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: .2rem .55rem .15rem; border: 2px solid var(--stamp); border-radius: 5px;
  color: var(--stamp); font-weight: 800; font-size: .7rem; letter-spacing: .08em; line-height: 1.1;
  transform: rotate(-7deg); mix-blend-mode: multiply; opacity: .9; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(67, 56, 168, .25);
}
.stamp small { font-weight: 600; font-size: .58rem; letter-spacing: .02em; }

.phone {
  position: relative; width: 236px; aspect-ratio: 236 / 470; background: #0f2530; border-radius: 34px; padding: 9px;
  box-shadow: 0 30px 60px -28px rgba(17, 62, 82, .5);
}
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(3.5rem, 2rem + 5vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.9vw, 3.6rem); letter-spacing: -0.035em; max-width: 14ch; }
.hero .lede { margin-top: 1.25rem; font-size: var(--step-1); color: var(--ink-2); max-width: 35rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin-top: 1.75rem; color: var(--ink-2); font-size: var(--step--1); font-weight: 500; }
.ticks li { display: inline-flex; align-items: center; gap: .4rem; }
.ticks svg { color: var(--brand); flex: none; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 18ch; } .month { max-width: 640px; } }

/* Hero month: a ledger of steps that ticks itself forward once */
.month .sheet-head { align-items: center; }
.month-prog { text-align: right; }
.month-prog b { font-size: .8rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.month-meter { height: 4px; border-radius: 4px; background: #e3ecef; margin-top: .4rem; overflow: hidden; width: 7.5rem; }
.month-meter i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .45s var(--ease); }
.step-row { gap: .6rem; }
.step-row .date { position: absolute; left: 0; width: 2.6rem; text-align: center; font-size: .66rem; line-height: 1.15; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step-row .what { flex: 1; min-width: 0; display: flex; align-items: center; gap: .55rem; }
.step-row .what span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; color: var(--ink-3); transition: color .3s var(--ease); }
.step-row .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c3d3d9; display: grid; place-items: center; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.step-row .dot svg { width: 10px; height: 10px; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.step-row .who { flex: none; font-size: .72rem; font-weight: 600; color: var(--brand-ink); display: inline-flex; align-items: center; gap: .3rem; opacity: 0; transition: opacity .3s var(--ease); }
.step-row .who img { width: 16px; height: 16px; }
.step-row .who.tool span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.step-row .who.person { color: var(--ink-2); }
.step-row.is-done .what span { color: var(--ink); }
.step-row.is-done .dot { background: var(--brand); border-color: var(--brand); }
.step-row.is-done .dot svg { opacity: 1; transform: none; }
.step-row.is-done .who { opacity: 1; }
.step-row.is-now { background: linear-gradient(to right, transparent 2.6rem, rgba(13, 148, 136, .07) 2.6rem); }
.step-row.is-now .dot { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13, 148, 136, .14); }
.step-row.is-now .what span { color: var(--ink); }
.step-row.human .stamp { opacity: 0; transform: rotate(-7deg) scale(1.9); }
.step-row.human.is-done .stamp { animation: stamp .42s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.step-row.human.is-done .who.person { display: none; }
.no-anim .step-row.human.is-done .stamp, .step-row.human.is-static .stamp { animation: none; opacity: .9; transform: rotate(-7deg); }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-12deg) scale(1.9); }
  60% { opacity: .95; transform: rotate(-7deg) scale(.94); }
  100% { opacity: .9; transform: rotate(-7deg) scale(1); }
}
.month-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem .85rem 3.4rem; border-top: 1px solid var(--line); background: #fafcfc; border-radius: 0 0 var(--r) var(--r); font-size: .8rem; color: var(--ink-3); }
.month-foot .key { display: inline-flex; gap: 1rem; flex-wrap: wrap; }
.month-foot .key span { display: inline-flex; align-items: center; gap: .3rem; }
.month-foot .key img { width: 13px; height: 13px; }
.month-foot .key i { width: 10px; height: 10px; border: 1.5px solid var(--stamp); border-radius: 2px; transform: rotate(-7deg); display: inline-block; }
.replay { font: 600 .8rem var(--font); color: var(--ink-2); background: none; border: 0; padding: .3rem .1rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .month-foot .key { display: none; }
  .month-meter { width: 5rem; }
  .step-row { padding-right: .7rem; font-size: .85rem; }
}

/* ---------- Time sinks ---------- */
.sinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; border-top: 1px solid var(--line); }
.sinks li { padding: 1.5rem 1.5rem 0 0; display: grid; gap: .5rem; align-content: start; }
.sinks li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.sinks svg { color: var(--brand-dk); margin-bottom: .25rem; }
.sinks b { font-size: var(--step-1); }
.sinks span { color: var(--ink-2); }
.sinks .fix { color: var(--brand-ink); font-weight: 600; font-size: .925rem; }
@media (max-width: 900px) {
  .sinks { grid-template-columns: 1fr 1fr; }
  .sinks li { padding: 1.5rem 1.25rem 1.5rem 0; border-bottom: 1px solid var(--line); }
  .sinks li + li { padding-left: 0; border-left: 0; }
  .sinks li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) { .sinks { grid-template-columns: 1fr; } .sinks li:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Platform tabs ---------- */
.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .3rem; margin: 0 0 2rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; font: 600 .95rem var(--font); color: var(--ink-2); background: transparent; border: 0; padding: .6rem 1.05rem; border-radius: 999px; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.tab:hover { color: var(--ink); background: #eef4f5; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.panel[hidden] { display: none; }
.panel.is-entering { animation: panel-in .35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: var(--step-3); }
.panel > div > p { margin-top: .75rem; color: var(--ink-2); font-size: var(--step-1); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.75rem; }
.split h4, .split .h { font-weight: 700; line-height: 1.2; font-size: .9rem; display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; }
.split .h img, .split h4 img { width: 16px; height: 16px; }
.split .h .st, .split h4 .st { width: 14px; height: 14px; border: 2px solid var(--stamp); border-radius: 3px; transform: rotate(-7deg); }
.split ul { list-style: none; display: grid; gap: .5rem; font-size: .95rem; color: var(--ink-2); }
.split li { padding-left: 1rem; position: relative; }
.split li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.split .you li::before { background: var(--stamp); }
.panel .more { display: inline-block; margin-top: 1.5rem; font-weight: 600; color: var(--brand-ink); text-underline-offset: 3px; }
.art { min-height: 360px; border-radius: var(--r-lg); background: #e6eff1; display: grid; place-items: center; padding: clamp(1rem, .5rem + 2vw, 2.25rem); }
.art .card { width: 100%; max-width: 30rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; font-size: .85rem; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.card-top b { font-size: .95rem; }
.card-top span { font-size: .75rem; color: var(--ink-3); }
.card-foot { padding: .8rem 1rem; border-top: 1px solid var(--line); background: #fafcfc; display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.grid-lines { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.grid-lines th { text-align: left; font-size: .7rem; font-weight: 600; color: var(--ink-3); padding: .5rem 1rem; background: #f6f9fa; }
.grid-lines td { white-space: nowrap; padding: .6rem 1rem; border-top: 1px solid #edf2f4; vertical-align: middle; }
.grid-lines td.r, .grid-lines th.r { text-align: right; }
.grid-lines .nar { font-size: .78rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 11rem; }
.chip { white-space: nowrap; display: inline-flex; flex-direction: column; padding: .25rem .5rem; border-radius: 6px; background: var(--mint-bg); color: var(--brand-ink); font-weight: 600; font-size: .75rem; line-height: 1.2; }
.chip small { font-weight: 500; font-size: .65rem; opacity: .85; }
.chip.ask { background: var(--wait-bg); color: var(--wait); }
.buckets { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1rem; }
.bucket { border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; display: grid; gap: .15rem; }
.bucket b { font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bucket span { font-size: .78rem; color: var(--ink-2); line-height: 1.35; }
.bucket.ok { border-color: #b9dcca; background: #f3faf6; } .bucket.ok b { color: var(--ok); }
.bucket.wait { border-color: #ecd6ae; background: #fffaf1; } .bucket.wait b { color: var(--wait); }
.bucket.bad { border-color: #efc2bc; background: #fff6f5; } .bucket.bad b { color: var(--bad); }
.facts { padding: .5rem 1rem 1rem; display: grid; gap: .1rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid #edf2f4; }
.facts dt, .facts span:first-child { color: var(--ink-3); }
.facts .hl { background: #fff4c7; padding: 0 .25rem; border-radius: 3px; font-weight: 600; }
.tasks { padding: .25rem 1rem 1rem; list-style: none; display: grid; gap: .4rem; }
.tasks li { display: flex; gap: .5rem; align-items: center; }
.tasks .box { width: 14px; height: 14px; border: 1.5px solid #9fb4bc; border-radius: 3px; flex: none; }
.tasks .box.done { background: var(--brand); border-color: var(--brand); }
.list-rows { list-style: none; }
.list-rows li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem 1rem; border-top: 1px solid #edf2f4; }
.list-rows li:first-child { border-top: 0; }
.list-rows .n { font-weight: 600; }
.list-rows .n small { display: block; font-weight: 400; color: var(--ink-3); font-size: .74rem; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } .art { min-height: 0; } }
@media (max-width: 520px) { .split { grid-template-columns: 1fr; } .grid-lines .hide-sm { display: none; } .grid-lines td, .grid-lines th { padding-inline: .7rem; } }

/* ---------- Today board ---------- */
.today-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.board { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.board-top b { font-size: 1.05rem; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: .2rem; background: #f6f9fa; }
.seg button { font: 600 .8rem var(--font); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: .4rem .8rem; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17, 62, 82, .15); }
.blk { padding: .9rem 1.25rem .4rem; }
.blk h3 { font-size: .8rem; font-weight: 700; color: var(--ink-2); display: flex; gap: .5rem; align-items: center; margin-bottom: .3rem; letter-spacing: 0; }
.blk h3 .c { font-variant-numeric: tabular-nums; background: #ebf1f3; border-radius: 999px; padding: 0 .45rem; font-size: .72rem; }
.blk ul { list-style: none; }
.blk li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .55rem 0; border-top: 1px solid #edf2f4; font-size: .875rem; }
.blk li .n { font-weight: 600; min-width: 0; }
.blk li .n small { display: block; font-weight: 400; color: var(--ink-3); font-size: .74rem; }
.blk li .o { flex: none; font-size: .78rem; color: var(--ink-2); }
.blk li.is-out { display: none; }
.board .empty-note { padding: .5rem 1.25rem 1rem; font-size: .8rem; color: var(--ink-3); }
.notes { list-style: none; display: grid; gap: 1.5rem; }
.notes li { padding-left: 1rem; border-left: 2px solid var(--brand); }
.notes b { display: block; font-size: var(--step-1); }
.notes span { color: var(--ink-2); }
@media (max-width: 900px) { .today-wrap { grid-template-columns: 1fr; } }

/* ---------- Client side ---------- */
.client-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.client-art { display: flex; justify-content: center; gap: 1.5rem; align-items: flex-end; }
.client-art .phone { width: 230px; }
.client-art .phone + .phone { margin-bottom: 2.5rem; }
.wa-bar { display: flex; align-items: center; gap: .5rem; padding: 1.6rem .8rem .6rem; background: #1f5c56; color: #fff; font-size: .76rem; font-weight: 600; }
.wa-bar .av { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.wa-bar .av img { width: 18px; height: 18px; }
.wa-bar small { display: block; font-weight: 400; opacity: .75; font-size: .64rem; }
.chat { height: calc(100% - 4.2rem); padding: .8rem .6rem; display: flex; flex-direction: column; gap: .5rem; font-size: .72rem; line-height: 1.4; background: #eee8df; }
.bubble { align-self: flex-start; max-width: 90%; background: #fff; padding: .5rem .6rem .4rem; border-radius: 4px 10px 10px 10px; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bubble.me { align-self: flex-end; background: var(--wa); border-radius: 10px 4px 10px 10px; }
.bubble .btnlike { display: block; margin-top: .4rem; padding: .4rem; border-top: 1px solid #e6ece9; text-align: center; color: #1f6f8b; font-weight: 600; }
.bubble time { display: block; text-align: right; font-size: .58rem; color: #56646a; margin-top: .15rem; }
.day { align-self: center; background: #dfeaee; color: #3d5660; font-size: .62rem; padding: .15rem .5rem; border-radius: 6px; }
.up { height: 100%; background: #fff; padding: 1.6rem .8rem .8rem; display: flex; flex-direction: column; gap: .55rem; font-size: .72rem; }
.up-firm { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .76rem; }
.up-firm img { width: 18px; height: 18px; }
.up h4 { font-size: .95rem; letter-spacing: -0.01em; }
.up .muted { color: var(--ink-3); font-size: .66rem; }
.up-q { background: #fff8e8; border: 1px solid #f0dcb0; border-radius: 8px; padding: .55rem .6rem; }
.up-q b { display: block; font-size: .72rem; margin-bottom: .15rem; }
.up-item { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 600; }
.up-item.done { border-color: #b8dcc8; background: #f3faf6; }
.up-item .t { color: var(--ok); font-size: .66rem; }
.up-item .bad { color: var(--bad); font-size: .66rem; font-weight: 600; }
.up-two { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.up-two span { text-align: center; padding: .45rem .3rem; border-radius: 7px; font-weight: 600; background: #eef4f5; }
.up-two span:first-child { background: var(--ink); color: #fff; }
.client-list { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; }
.client-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .1rem .75rem; }
.client-list svg { grid-row: span 2; color: var(--brand-dk); margin-top: .2rem; }
.client-list b { font-weight: 600; }
.client-list span { color: var(--ink-2); }
@media (max-width: 900px) { .client-wrap { grid-template-columns: 1fr; } .client-art { order: 2; } }
@media (max-width: 560px) { .client-art .phone { width: 180px; } .client-art .phone + .phone { display: none; } }

/* ---------- Team grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--line); }
.feat-grid li { padding: 1.5rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .45rem; align-content: start; }
.feat-grid li:not(:nth-child(3n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.feat-grid svg { color: var(--brand-dk); }
.feat-grid b { font-size: var(--step-1); }
.feat-grid span { color: var(--ink-2); }
@media (max-width: 860px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .feat-grid li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } .feat-grid li:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Security (deep band) ---------- */
.deep { background: var(--deep); color: var(--on-deep); }
.deep .section-head p { color: var(--on-deep-2); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; list-style: none; }
.sec-grid li { display: grid; gap: .5rem; align-content: start; }
.sec-grid svg { color: var(--mint); }
.sec-grid b { font-size: var(--step-1); }
.sec-grid span { color: var(--on-deep-2); }
.sec-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: var(--on-deep-2); max-width: 48rem; }
.sec-note a { color: #fff; }
@media (max-width: 860px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.plan.main { border-color: var(--brand-dk); box-shadow: 0 0 0 1px var(--brand-dk); }
.plan h3 { font-size: var(--step-2); }
.price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price b { font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-2); }
.plan ul { list-style: none; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li svg { flex: none; margin-top: .3rem; color: var(--brand); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .fine { font-size: var(--step--1); color: var(--ink-3); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-weight: 600; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .ans { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 44rem; }
.faq .ans p + p { margin-top: .6rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Demo ---------- */
.cta { background: var(--deep); color: var(--on-deep); border-radius: clamp(16px, 2vw, 28px); padding: clamp(1.75rem, 1rem + 4vw, 4rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.cta h2 { font-size: var(--step-3); color: #fff; }
.cta > div > p { margin-top: 1rem; color: var(--on-deep-2); font-size: var(--step-1); }
.cta-list { list-style: none; margin-top: 1.5rem; display: grid; gap: .6rem; }
.cta-list li { display: flex; gap: .6rem; }
.cta-list svg { color: var(--mint); flex: none; margin-top: .3rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--on-deep); }
.field input, .field select, .field textarea { font: 400 1rem var(--font); color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: 10px; padding: .7rem .8rem; min-height: 3rem; width: 100%; }
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(153, 246, 228, .35); }
.field input[aria-invalid="true"] { border-color: #f2a59c; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-msg { grid-column: 1 / -1; font-size: .9rem; color: var(--on-deep-2); min-height: 1.4em; }
.form-msg.ok { color: var(--mint); }
.form-msg.err { color: #ffb4aa; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem 2.5rem; font-size: .925rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr 1fr; gap: 2rem; }
.foot-grid h2 { font-size: .9rem; color: var(--ink); margin-bottom: .75rem; letter-spacing: 0; }
.foot-grid ul { list-style: none; display: grid; gap: .5rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid .brand { margin-bottom: .75rem; }
.foot-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--ink-3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Article / feature pages ---------- */
.article { max-width: 46rem; margin-inline: auto; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 4rem; }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 1.5rem; }
.crumbs a { color: var(--ink-2); }
.article .crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.article .crumbs li { font-size: .85rem; line-height: 1.5; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #b3c4ca; }
.article h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
.article .lede { font-size: var(--step-1); color: var(--ink-2); margin-top: 1rem; }
.article .meta { font-size: .85rem; color: var(--ink-3); margin-top: 1rem; }
.article h2 { font-size: var(--step-3); margin-top: 3rem; margin-bottom: 1rem; }
.article h3 { font-size: var(--step-2); margin-top: 2rem; margin-bottom: .5rem; }
.article p, .article li { font-size: 1.0625rem; line-height: 1.7; }
.article p + p { margin-top: 1rem; }
.article ul, .article ol { padding-left: 1.3rem; margin: .75rem 0; display: grid; gap: .45rem; }
.article .callout { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; background: #fff; border: 1px solid var(--line); }
.article th, .article td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: #f2f7f8; font-weight: 600; }
.article .table-scroll { overflow-x: auto; }
.article .split { margin: 1.5rem 0; }
.article .split ul { padding-left: 0; }
.article .split li { font-size: 1rem; }
.article .end-cta { margin-top: 3.5rem; background: var(--deep); color: var(--on-deep); border-radius: var(--r-lg); padding: 2rem; }
.article .end-cta h2 { color: #fff; margin-top: 0; font-size: var(--step-2); }
.article .end-cta p { color: var(--on-deep-2); margin: .5rem 0 1.25rem; }
.card-links { list-style: none; padding: 0 !important; display: grid !important; gap: 1rem; margin-top: 2rem !important; }
.card-links li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.card-links a { font-weight: 700; color: var(--ink); text-decoration: none; }
.card-links a:hover { text-decoration: underline; }
.card-links span { display: block; color: var(--ink-2); font-size: .975rem; margin-top: .2rem; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print { .site-header, .cta, .menu-btn { display: none; } body { background: #fff; } }
@media (max-width: 640px) { .tabs { flex-wrap: wrap; border-radius: 16px; width: auto; overflow: visible; } .tab { padding: .5rem .85rem; font-size: .9rem; } }

/* =====================================================================================================================
   NEXT-2026-11.1 — additions for the parts Super Admin controls. Everything above this line is the live site's CSS
   (website release v2) unchanged; these rules only style elements the live pages did not have.
   ===================================================================================================================== */

/* Announcement bar (admin → Website → Announcement; filled by site.js from /api/v1/site/config) */
.announce { background: var(--deep); color: var(--on-deep); font-size: var(--step--1); text-align: center; padding: .55rem var(--gutter); line-height: 1.45; }
.announce a { color: var(--mint); font-weight: 600; margin-left: .35rem; }

/* Footer: a sixth column (Company) and the company lines */
.foot-grid.foot-grid-6 { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr 1fr 1fr; }
.foot-company { margin-top: .5rem; font-size: .85rem; color: var(--ink-3); }
.foot-company a { color: var(--ink-2); }
@media (max-width: 1080px) { .foot-grid.foot-grid-6 { grid-template-columns: 1fr 1fr 1fr; } .foot-grid.foot-grid-6 > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid.foot-grid-6 { grid-template-columns: 1fr 1fr; } }

/* Plans from admin → Plans: one, two (live) or three cards; offers; the usual price struck through */
.plans.plans-1 { grid-template-columns: minmax(0, 32rem); }
.plans.plans-3 { grid-template-columns: 1.1fr 1fr 1fr; }
@media (max-width: 960px) { .plans.plans-3 { grid-template-columns: 1fr; } }
.plan .offer { align-self: flex-start; display: inline-flex; gap: .4rem; align-items: center; font-size: .8rem; font-weight: 600; color: var(--stamp); background: #efedfb; border-radius: 999px; padding: .2rem .7rem; }
.plan .offer span { text-transform: uppercase; letter-spacing: .04em; }
.price .was { color: var(--ink-3); font-size: var(--step-1); font-weight: 600; text-decoration-thickness: 2px; margin-right: .15rem; }
.plan .fine.also { margin-top: -.5rem; }
.article s.was { color: var(--ink-3); }

/* Demo form: the consent line (required by the leads API) on the dark panel */
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--on-deep-2); font-weight: 400; }
.form .consent input { width: 1.1rem; height: 1.1rem; min-height: 0; margin-top: .15rem; flex: none; accent-color: var(--brand); padding: 0; }
.form .consent a { color: var(--mint); }
.form .full { grid-column: 1 / -1; }
.field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #f2a59c; }

/* Light forms on article pages (data rights request) */
.form.light { margin: 2rem 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.form.light .field label, .form.light .consent { color: var(--ink); }
.form.light .field input, .form.light .field select, .form.light .field textarea { border-color: #b7cbd1; }
.form.light .field input:focus, .form.light .field select:focus, .form.light .field textarea:focus { border-color: var(--brand-dk); box-shadow: 0 0 0 3px rgba(13, 148, 136, .18); }
.form.light .form-msg { color: var(--ink-2); }
.form.light .form-msg.ok { color: var(--ok); font-weight: 600; }
.form.light .form-msg.err { color: var(--bad); font-weight: 600; }
.form.light .consent a { color: var(--brand-dk); }
.form .error { color: var(--bad); font-size: .85rem; margin: 0; }
.form:not(.light) .error { color: #ffb4aa; }
.form .hint { font-size: .85rem; color: var(--ink-3); margin: -.4rem 0 0; }

/* Pages added in this design (pricing, how it works, legal, help) */
.page-head { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-head .section-head h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
.page-head .crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.article .steps-list { gap: .9rem; }
.card-links strong { color: var(--ink); }
.card-links .pill { margin-left: .4rem; vertical-align: middle; }
.article .prose h1 { font-size: var(--step-4); letter-spacing: -0.03em; margin-bottom: 1rem; }
.article .prose a { word-break: break-word; }
.article.legal .meta { margin-top: 0; margin-bottom: 1.5rem; }
