/* Rephia — public site
   Visual system follows the app: Figtree 400/700, porcelain ground, hairlines, flat (no shadows).
   Indigo #3A34A3 only for the primary action and the current stretch of the loop.
   Mint #2FC79B only for done; #0F7A5A for mint words. */

:root {
  --bg: #F6F6FB;
  --surface: #FFFFFF;
  --ink: #16152B;
  --ink-2: #4B4A63;
  --ink-3: #6B6A80;
  --line: #E3E2EE;
  --line-2: #D3D2E2;
  --tint: #EEEDF8;
  --indigo: #3A34A3;
  --indigo-hover: #302B8C;
  --mint: #2FC79B;
  --mint-ink: #0F7A5A;
  --mint-tint: #E5F7F0;
  --warm: #C9822B;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F1A;
    --surface: #17172A;
    --ink: #F1F0FA;
    --ink-2: #B9B8CC;
    --ink-3: #9998AE;
    --line: #29283F;
    --line-2: #36354F;
    --tint: #1F1E36;
    --indigo: #6F69E0;
    --indigo-hover: #8580EA;
    --mint-ink: #5FDDB4;
    --mint-tint: #12302A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
strong, b { font-weight: 700; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 68px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.03em; }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
h4 { font-size: 17px; letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .3em 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 22px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--tint); }
.nav .btn { margin-left: 8px; }
.nav a.btn-ink, .nav a.btn-ink:hover { color: var(--bg); background: var(--ink); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 999px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; font-size: 17px; border-radius: 12px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-hover); color: #fff; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { color: var(--bg); opacity: .9; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow::after { content: "→"; font-weight: 400; }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
section + section.rule { border-top: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); line-height: 1.55; max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }
@media (max-width: 720px) { section { padding: 64px 0; } section.tight { padding: 48px 0; } }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 56px; } }

.page-hero { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* The loop visual */
.loop-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.loop-card .loop-svg { width: 100%; height: auto; }
.loop-svg .track { fill: none; stroke: var(--line-2); stroke-width: 10; stroke-linecap: round; }
.loop-svg .done { fill: none; stroke: var(--mint); stroke-width: 10; stroke-linecap: round; }
.loop-svg .now { fill: none; stroke: var(--indigo); stroke-width: 10; stroke-linecap: round; }
.loop-svg .node { fill: var(--surface); stroke: var(--line-2); stroke-width: 2; }
.loop-svg .node.on { fill: var(--mint); stroke: var(--mint); }
.loop-svg text { font-family: var(--font); fill: var(--ink); font-size: 17px; font-weight: 700; }
.loop-svg text.sub { fill: var(--ink-3); font-weight: 400; font-size: 15px; }
.loop-svg .end-label { font-size: 15px; }
@media (max-width: 560px) { .loop-card { padding: 16px; } .loop-caption { flex-direction: column; gap: 2px; } }
.loop-svg .draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: loopdraw 5.2s linear .4s forwards; }
.loop-svg .n1 { animation: nodeon .3s ease forwards 1.22s; }
.loop-svg .n2 { animation: nodeon .3s ease forwards 1.70s; }
.loop-svg .n3 { animation: nodeon .3s ease forwards 2.18s; }
.loop-svg .n4 { animation: nodeon .3s ease forwards 3.82s; }
.loop-svg .n5 { animation: nodeon .3s ease forwards 4.78s; }
.loop-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.loop-caption b { color: var(--mint-ink); }
@keyframes loopdraw { to { stroke-dashoffset: 0; } }
@keyframes nodeon { to { fill: var(--mint); stroke: var(--mint); } }
@media (prefers-reduced-motion: reduce) {
  .loop-svg .draw { animation: none; stroke-dashoffset: 0; }
  .loop-svg .n1, .loop-svg .n2, .loop-svg .n3, .loop-svg .n4, .loop-svg .n5 { animation: none; fill: var(--mint); stroke: var(--mint); }
}

/* Phone / text mock */
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 18px 16px 20px; max-width: 360px; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 2px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.phone-top .av { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--ink); }
.phone-top b { display: block; font-size: 15px; line-height: 1.2; }
.phone-top span { font-size: 13px; color: var(--ink-3); }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; margin: 0 0 8px; }
.bubble.in { background: var(--tint); border-bottom-left-radius: 6px; }
.bubble.out { background: var(--ink); color: var(--bg); margin-left: auto; border-bottom-right-radius: 6px; width: fit-content; }
.bubble .opt { display: block; }
.bubble a { color: var(--indigo); }
.phone .meta { font-size: 12px; color: var(--ink-3); text-align: center; margin: 10px 0; }
.loop-card + .phone { margin-top: 24px !important; }
@media (max-width: 560px) { .loop-svg .end-label { display: none; } }
.mock-note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; margin-bottom: 18px; color: var(--ink); }
.card .ico svg { width: 22px; height: 22px; }
a.card { text-decoration: none; display: block; transition: border-color .15s; }
a.card:hover { border-color: var(--ink); color: var(--ink); }
a.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 15px; }
a.card .more::after { content: " →"; font-weight: 400; }
.flat { border: 0; background: transparent; padding: 0; }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience .card { padding: 36px; }
.audience .tag { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; display: block; }
.audience h2 { font-size: clamp(24px, 2.6vw, 32px); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } .audience .card { padding: 28px; } }

/* Leaks list */
.leaks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.leaks li { margin: 0; padding: 24px 24px 0 0; }
.leaks b { display: block; font-size: 18px; margin-bottom: 6px; }
.leaks span { color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .leaks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .leaks { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); margin: 0; }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.steps > li.done::before { background: var(--mint); border-color: var(--mint); color: #08281E; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; }
.steps .status { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--mint-ink); margin-bottom: 6px; }
.steps .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip > :first-child { order: 2; }
.split.top { align-items: start; }
.split:has(> div > .steps) { align-items: start; }
@media (min-width: 901px) { .split:has(> div > .steps) > div:not(:has(.steps)) { position: sticky; top: 108px; } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } .split + .split { margin-top: 64px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-tint); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 11px; width: 6px; height: 9px; border: solid var(--mint-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Panels used as product illustrations */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.panel h4 { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; font-weight: 700; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.row:first-of-type { border-top: 0; }
.row .who b { display: block; font-size: 15px; }
.row .who span { font-size: 13px; color: var(--ink-3); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.chip.ok { color: var(--mint-ink); border-color: color-mix(in srgb, var(--mint) 45%, transparent); background: var(--mint-tint); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.chip.ok .dot { background: var(--mint); }
.chip.warm .dot { background: var(--warm); }
.rline { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.rline b { color: var(--ink); }
.summary-card .sum-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.summary-card .av { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-weight: 700; }
.summary-card .recall { background: var(--mint-tint); color: var(--mint-ink); font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.summary-card p { font-size: 15px; color: var(--ink-2); }
.summary-card dl { margin: 0; font-size: 15px; }
.summary-card dt { font-weight: 700; margin-top: 10px; }
.summary-card dd { margin: 2px 0 0; color: var(--ink-2); }

/* Binder sheet */
.binder { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.binder .qr { width: 132px; height: 132px; border-radius: 12px; border: 1px solid var(--line); padding: 10px; background: #fff; }
.binder .code { font-size: 28px; font-weight: 700; letter-spacing: .12em; }
.binder .small { margin: 4px 0 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.price.lead { border-color: var(--ink); }
.price .who { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.price .amount { font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 14px 0 6px; }
.price .amount small { font-size: 18px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.price .cap { font-size: 18px; margin-bottom: 18px; }
.price .cap b { color: var(--mint-ink); }
.price ul { margin-bottom: 24px; }
.price .btn { margin-top: auto; align-self: flex-start; }
.gp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.gp-plans > div { padding: 0 0 0 0; }
.gp-plans > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.gp-plans > div:first-child { padding-right: 24px; }
.gp-plans .amount { font-size: 36px; }
@media (max-width: 520px) { .gp-plans { grid-template-columns: 1fr; } .gp-plans > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; } .gp-plans > div:first-child { padding-right: 0; } }

table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 700; font-size: 17px; padding-bottom: 10px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--ink-2); font-size: 14px; }
td.num, th.num { text-align: right; }
tr.hl td { background: var(--mint-tint); }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px 20px 4px; overflow-x: auto; }
@media (max-width: 560px) {
  .stack thead { position: absolute; left: -9999px; }
  .stack tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 4px 0; text-align: right; }
  .stack td::before { content: attr(data-label); color: var(--ink-3); text-align: left; font-weight: 400; }
  .stack td:first-child { font-weight: 700; text-align: left; }
  .stack td:first-child::before { content: none; }
}

/* Key facts / answer box */
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.answer h2 { font-size: clamp(22px, 2.4vw, 28px); }
.answer p { font-size: 18px; color: var(--ink-2); }
.answer p:last-child { margin: 0; }
.kv { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.kv dt, .kv dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 700; padding-right: 20px; }
.kv dd { color: var(--ink-2); }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } .kv dt { border-bottom: 0; padding-bottom: 2px; } .kv dd { padding-top: 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: 18px; line-height: 1.4; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 760px; }
.faq .a p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 26px; margin-bottom: 16px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 64px 48px; text-align: center; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: color-mix(in srgb, var(--bg) 75%, transparent); max-width: 620px; margin: 0 auto 28px; font-size: 19px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-line { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta-band .btn-line:hover { border-color: var(--bg); }
@media (prefers-color-scheme: dark) { .cta-band { background: var(--surface); color: var(--ink); border: 1px solid var(--line); } .cta-band h2 { color: var(--ink); } .cta-band p { color: var(--ink-2); } .cta-band .btn-line { color: var(--ink); border-color: var(--line-2); } }
@media (max-width: 640px) { .cta-band { padding: 44px 24px; border-radius: 22px; } }

/* Forms */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--font);
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--indigo); outline-offset: 0; border-color: transparent; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; color: var(--ink-3); }
.form-done { display: none; background: var(--mint-tint); color: var(--mint-ink); border-radius: 14px; padding: 18px 20px; font-weight: 700; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; }
.radio-row input { width: auto; min-height: 0; accent-color: var(--indigo); }

/* Prose (guide, security) */
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); font-size: 18px; }
.prose p strong, .prose li strong { color: var(--ink); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; margin: 0 0 40px; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.callout { border-left: 3px solid var(--mint); padding: 4px 0 4px 18px; margin: 24px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-grid h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0; }
.foot-grid a { text-decoration: none; color: var(--ink-2); display: inline-block; padding: 6px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-about p { color: var(--ink-2); max-width: 300px; margin-top: 14px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

.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; }
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }

/* =========================================================================
   Vibrant + elegant layer (Nov 17)
   - Instrument Serif italic for accent words in headlines
   - Soft indigo/violet/mint glow behind heroes; deep midnight feature bands
   - Tinted icon tiles; product mockups keep the app's colour rules
   ========================================================================= */
:root {
  --violet: #7B61F5;
  --lilac: #EDEAFF;
  --lilac-2: #DCD6FF;
  --mint-soft: #DDF7EE;
  --peach: #FFEBDD;
  --sky: #E1EEFF;
  --rose: #FDE6EF;
  --midnight: #100F26;
  --midnight-2: #1A1838;
  --accent-grad: linear-gradient(100deg, #3A34A3 0%, #7B61F5 48%, #0E9C77 100%);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --lilac: #221F45; --lilac-2: #2E2A5C; --mint-soft: #12302A; --peach: #3A2A20; --sky: #1B2A44; --rose: #3A1F2C;
    --accent-grad: linear-gradient(100deg, #A9A4FF 0%, #C2B2FF 45%, #5FDDB4 100%);
  }
}

body { background: var(--bg); }

/* Serif accent words */
em.accent {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.1em; line-height: 1; letter-spacing: -0.01em;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .04em .06em 0;
}
h1 { letter-spacing: -0.04em; }

/* Eyebrow becomes a soft pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line); font-size: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); }

/* Glow behind heroes */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 78% 30%, color-mix(in srgb, #7B61F5 26%, transparent), transparent 70%),
    radial-gradient(36% 40% at 92% 70%, color-mix(in srgb, #2FC79B 24%, transparent), transparent 70%),
    radial-gradient(40% 44% at 12% 8%, color-mix(in srgb, #3A34A3 14%, transparent), transparent 70%),
    radial-gradient(30% 34% at 30% 95%, color-mix(in srgb, #FFB38A 16%, transparent), transparent 70%);
  filter: blur(8px);
}
.page-hero::before { height: 120%; opacity: .8; }

/* Hero loop: gradient frame, glass surface, runner */
.loop-card {
  position: relative; border: 1px solid transparent; border-radius: 28px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, color-mix(in srgb, #7B61F5 55%, transparent), color-mix(in srgb, var(--line) 80%, transparent) 45%, color-mix(in srgb, #2FC79B 60%, transparent)) border-box;
}
.loop-svg .runner { fill: var(--indigo); stroke: var(--surface); stroke-width: 4; }
@media (prefers-reduced-motion: reduce) { .loop-svg .runner { display: none; } }

/* Buttons: a touch of depth through colour, still flat */
.btn-primary { background: linear-gradient(135deg, #4A42C9 0%, #3A34A3 60%, #2F2A8E 100%); }
.btn-primary:hover { background: linear-gradient(135deg, #574FD8 0%, #403AB3 60%, #342E9C 100%); }
.btn { transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Cards: larger radius, hover tint */
.card { border-radius: 22px; }
a.card { transition: border-color .2s, transform .2s, background .2s; }
a.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, #7B61F5 50%, var(--line)); }
@media (prefers-reduced-motion: reduce) { a.card:hover { transform: none; } }

/* Tinted icon tiles, cycling through the palette */
.card .ico { width: 46px; height: 46px; border-radius: 14px; }
.grid > .card:nth-child(6n+1) .ico { background: var(--lilac); color: #3A34A3; }
.grid > .card:nth-child(6n+2) .ico { background: var(--mint-soft); color: #0F7A5A; }
.grid > .card:nth-child(6n+3) .ico { background: var(--peach); color: #A4521E; }
.grid > .card:nth-child(6n+4) .ico { background: var(--sky); color: #2459A8; }
.grid > .card:nth-child(6n+5) .ico { background: var(--rose); color: #A3305E; }
.grid > .card:nth-child(6n+6) .ico { background: var(--lilac-2); color: #4A3BB5; }
@media (prefers-color-scheme: dark) { .grid > .card .ico { color: var(--ink) !important; } }

/* Audience cards: one violet wash, one mint wash */
.audience .card { position: relative; overflow: hidden; border-radius: 28px; padding: 40px; }
.audience .card:first-child { background: linear-gradient(160deg, var(--lilac) 0%, var(--surface) 62%); }
.audience .card:last-child { background: linear-gradient(160deg, var(--mint-soft) 0%, var(--surface) 62%); }
.audience .card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 120px; border-radius: 60px;
  border: 10px solid color-mix(in srgb, #7B61F5 18%, transparent); transform: rotate(-12deg);
}
.audience .card:last-child::after { border-color: color-mix(in srgb, #2FC79B 26%, transparent); }

/* Leaks: serif numerals */
.leaks { counter-reset: lk; border-top: 0; gap: 20px; }
.leaks li { counter-increment: lk; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.leaks li::before { content: "0" counter(lk); display: block; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; margin-bottom: 14px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Steps: gradient rings */
.steps > li::before { border: 0; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--accent-grad) border-box; border: 2px solid transparent; }

/* Midnight feature band */
.band-dark {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--midnight); color: #F1F0FA; border-radius: 36px; margin: 24px 16px;
}
.band-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 60% at 85% 0%, rgba(123,97,245,.38), transparent 70%),
    radial-gradient(35% 55% at 5% 100%, rgba(47,199,155,.26), transparent 70%);
}
.band-dark h2, .band-dark h3 { color: #F6F5FF; }
.band-dark .lede, .band-dark .muted, .band-dark p { color: #B9B8D6; }
.band-dark em.accent { background: linear-gradient(100deg, #B7B1FF 0%, #D2C6FF 45%, #6BE3BC 100%); -webkit-background-clip: text; background-clip: text; }
.band-dark .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #D9D7F2; }
.band-dark .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.10); }
.band-dark .card .ico { background: rgba(255,255,255,.08) !important; color: #CFC8FF !important; }
.band-dark .grid > .card:nth-child(2n) .ico { color: #7DE8C6 !important; }
.band-dark .checks li::before { background: rgba(47,199,155,.2); }
.band-dark .checks li::after { border-color: #6BE3BC; }
@media (max-width: 720px) { .band-dark { border-radius: 24px; margin: 12px 8px; } }

/* Phone mock: soft gradient frame */
.phone { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, color-mix(in srgb, #7B61F5 45%, transparent), var(--line) 50%, color-mix(in srgb, #2FC79B 50%, transparent)) border-box; }
.bubble.out { background: linear-gradient(135deg, #4A42C9, #3A34A3); color: #fff; }

/* Pricing: the specialist card goes midnight */
.price.lead { position: relative; isolation: isolate; overflow: hidden; background: var(--midnight); color: #F1F0FA; border: 0; }
.price.lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(123,97,245,.45), transparent 70%), radial-gradient(50% 45% at 0% 100%, rgba(47,199,155,.25), transparent 70%); }
.price.lead .who, .price.lead .amount small { color: #B9B8D6; }
.price.lead .cap b { color: #6BE3BC; }
.price.lead .checks li::before { background: rgba(47,199,155,.2); }
.price.lead .checks li::after { border-color: #6BE3BC; }
.price.lead .btn-primary { background: #fff; color: var(--midnight); }
.price.lead .btn-primary:hover { background: #EDEAFF; color: var(--midnight); }
.price .amount { font-family: var(--font); }

/* CTA band: midnight with glow */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--midnight); color: #F1F0FA; border: 0; border-radius: 36px; padding: 88px 48px; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 50% 0%, rgba(123,97,245,.5), transparent 70%), radial-gradient(35% 60% at 100% 100%, rgba(47,199,155,.3), transparent 70%), radial-gradient(30% 50% at 0% 100%, rgba(255,179,138,.18), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); }
.cta-band em.accent { background: linear-gradient(100deg, #C9C4FF, #E2D9FF 45%, #7DE8C6); -webkit-background-clip: text; background-clip: text; }
.cta-band p { color: #C3C2DE; }
.cta-band .btn-primary { background: #fff; color: var(--midnight); }
.cta-band .btn-primary:hover { background: #EDEAFF; color: var(--midnight); }
.cta-band .btn-line { color: #fff; border-color: rgba(255,255,255,.3); }
@media (prefers-color-scheme: dark) { .cta-band { background: var(--midnight-2); color: #F1F0FA; } .cta-band h2 { color: #fff; } .cta-band p { color: #C3C2DE; } .cta-band .btn-line { color: #fff; border-color: rgba(255,255,255,.3); } }

/* Answer box and tables: lighter, warmer surfaces */
.answer { background: linear-gradient(135deg, var(--lilac) 0%, var(--surface) 55%, var(--mint-soft) 130%); border-radius: 28px; }
.table-wrap { border-radius: 22px; }
tr.hl td { background: var(--mint-soft); }

/* Header: brand mark picks up the gradient */
.site-header { background: color-mix(in srgb, var(--bg) 80%, transparent); }
.brand span { letter-spacing: -0.03em; }

/* Section rules soften into space */
section + section.rule { border-top: 0; }
section.rule { position: relative; }
section.rule::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(var(--wrap), calc(100% - 48px)); height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.band-dark + section.rule::before, section.rule:first-of-type::before { display: none; }
.hero::before, .page-hero::before { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%); mask-image: linear-gradient(to bottom, #000 55%, transparent 92%); }
.hero::before { inset: -10% -10% auto -10%; height: 125%; }
.foot-grid a.brand { display: inline-flex; color: var(--ink); padding: 0; font-size: 21px; }
@media (max-width: 560px) { .eyebrow { border-radius: 14px; } }

/* =========================================================================
   Headline type (Nov 17, Vasileios: the serif italic "looks amateur")
   Replaces the Instrument Serif italic accent with a modern sans.
   h1 headlines: Inter 700, -0.03em. Accent words keep the original colour
   treatment (the gradient) but are upright sans, same weight as the line.
   ========================================================================= */
:root { --display: "Inter", "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-optical-sizing: auto; }
em.accent {
  font-family: inherit; font-style: normal; font-weight: inherit;
  font-size: 1em; line-height: inherit; letter-spacing: inherit;
}
.leaks li::before { font-family: var(--display); font-style: normal; font-weight: 700; letter-spacing: -0.03em; font-size: 40px; }

/* =========================================================================
   Blend look (REPHIA_LOOK=blend): Claude layout + the live getrephia.com
   (v3, /workspace/rephia-site-v3-legal/assets/plush.css + site.css) visuals.
   Every colour/shadow below is copied from the live CSS. Light scheme pinned,
   as on the live site. Scoped to html[data-look="blend"].
   ========================================================================= */
html[data-look="blend"] {
  color-scheme: light;
  /* live tokens (plush.css :root) */
  --mist: #F3F4FB; --midnight: #1B1A3D; --midnight-2: #121130; --indigo-2: #4F48C9; --mint-ink-live: #176A52;
  --ease: cubic-bezier(.2,.7,.2,1);
  --hair: rgb(27 26 61/.07); --hair-2: rgb(27 26 61/.11);
  --shadow-soft: 0 1px 1px rgb(27 26 61/.03),0 2px 4px rgb(27 26 61/.04),0 8px 18px -6px rgb(27 26 61/.07),0 24px 48px -16px rgb(27 26 61/.10);
  --shadow-float: 0 1px 1px rgb(27 26 61/.05),0 4px 8px rgb(27 26 61/.05),0 18px 36px -10px rgb(27 26 61/.16),0 50px 100px -30px rgb(42 36 140/.34);
  --tile: linear-gradient(145deg,#5D56DA 0%,#3A34A3 70%);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* live headline accent gradient (plush.css .hero h1 em) */
  --accent-grad: linear-gradient(100deg,#3A34A3 15%,#1E7F63 95%);
  --bg: #F3F4FB;
}
/* Pin the light palette even in OS dark mode (live site is light-only) */
@media (prefers-color-scheme: dark) {
  html[data-look="blend"] {
    --bg: #F3F4FB; --surface: #FFFFFF; --ink: #16152B; --ink-2: #4B4A63; --ink-3: #6B6A80; --line: #E3E2EE; --line-2: #D3D2E2;
    --indigo: #3A34A3; --indigo-hover: #302B8C;
    --lilac: #EDEAFF; --lilac-2: #DCD6FF; --mint-soft: #DDF7EE; --peach: #FFEBDD; --sky: #E1EEFF; --rose: #FDE6EF;
  }
}
html[data-look="blend"] body { background: var(--mist); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html[data-look="blend"] ::selection { background: rgb(58 52 163/.18); }

/* Nav (live .site-header / .nav-links) */
html[data-look="blend"] .site-header { background: rgb(243 244 251/.55); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); border-bottom: 1px solid transparent; transition: background-color .3s, box-shadow .3s, border-color .3s; }
html[data-look="blend"] .site-header.is-scrolled { background: rgb(255 255 255/.72); border-bottom-color: var(--hair-2); box-shadow: 0 10px 30px -18px rgb(27 26 61/.25); }
html[data-look="blend"] .nav a:not(.btn) { color: #4B4A63; font-weight: 500; border-radius: 8px; transition: color .2s, background-color .2s; }
html[data-look="blend"] .nav a:not(.btn):hover, html[data-look="blend"] .nav a[aria-current="page"] { background: rgb(58 52 163/.06); color: var(--ink); }
html[data-look="blend"] .menu-toggle { border-color: var(--hair-2); background: rgb(255 255 255/.8); border-radius: 12px; }
@media (max-width: 1200px) { html[data-look="blend"] .nav { background: rgb(255 255 255/.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--hair-2); box-shadow: 0 30px 60px -30px rgb(27 26 61/.35); } }

/* Buttons (live .btn / .btn--primary / .btn--ghost, 12px radius, shine sweep) */
html[data-look="blend"] .btn { border-radius: 12px; font-weight: 600; letter-spacing: -.005em; position: relative; isolation: isolate; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
html[data-look="blend"] .btn-primary, html[data-look="blend"] .nav a.btn-ink, html[data-look="blend"] .btn-ink {
  background: linear-gradient(180deg,#4C45C6 0%,#3A34A3 100%); color: #fff; opacity: 1;
  box-shadow: inset 0 1px 0 rgb(255 255 255/.24), inset 0 -1px 0 rgb(0 0 0/.15), 0 1px 2px rgb(27 26 61/.22), 0 8px 20px -6px rgb(58 52 163/.55);
}
html[data-look="blend"] .btn-primary::after, html[data-look="blend"] .btn-ink::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg,transparent 35%,rgb(255 255 255/.26) 50%,transparent 65%); transform: translateX(-110%); transition: transform .8s var(--ease); }
html[data-look="blend"] .btn-primary:hover, html[data-look="blend"] .btn-ink:hover, html[data-look="blend"] .nav a.btn-ink:hover {
  background: linear-gradient(180deg,#4C45C6 0%,#332E95 100%); color: #fff; opacity: 1; transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgb(255 255 255/.24), inset 0 -1px 0 rgb(0 0 0/.15), 0 2px 4px rgb(27 26 61/.2), 0 14px 30px -8px rgb(58 52 163/.6);
}
html[data-look="blend"] .btn-primary:hover::after, html[data-look="blend"] .btn-ink:hover::after { transform: translateX(110%); }
html[data-look="blend"] .btn-line { background: rgb(255 255 255/.75); border-color: var(--hair-2); color: var(--ink); box-shadow: 0 1px 2px rgb(27 26 61/.06), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html[data-look="blend"] .btn-line:hover { border-color: rgb(58 52 163/.35); color: #3A34A3; transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgb(27 26 61/.25), inset 0 1px 0 #fff; }
html[data-look="blend"] .btn:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #3A34A3; }
@media (min-width: 721px) { html[data-look="blend"] .hero .btn-row .btn { min-height: 52px; padding: 14px 26px; font-size: 17px; } }

/* Hero background (live .hero-bg: three blobs, 64px grid lines, noise) */
html[data-look="blend"] .hero::before, html[data-look="blend"] .page-hero::before {
  inset: 0; height: auto; filter: none; opacity: 1;
  background:
    radial-gradient(450px 450px at calc(100% + 260px - 450px) 90px, rgb(110 102 230/.42), rgb(110 102 230/.12) 55%, transparent 100%),
    radial-gradient(310px 310px at calc(100% - 180px - 310px) 570px, rgb(47 199 155/.30), transparent 100%),
    radial-gradient(350px 350px at 30px 90px, rgb(58 52 163/.12), transparent 100%),
    var(--noise-5);
  /* keep the Claude layout's soft fade into the next section */
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
html[data-look="blend"] .hero::after, html[data-look="blend"] .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--hair) 1px,transparent 1px), linear-gradient(90deg,var(--hair) 1px,transparent 1px);
  background-size: 64px 64px, 64px 64px, 180px 180px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 35%,#000 10%,transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 72% 35%,#000 10%,transparent 70%);
}
html[data-look="blend"] .page-hero::before { opacity: .8; }
/* live .hero-bg::after: fractal noise at 5% (multiply) */
html[data-look="blend"] { --noise-5: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .0275 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Headline accent: the live site's own gradient (indigo to green), no violet */
html[data-look="blend"] em.accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }

/* Eyebrow pill (live .eyebrow, mint dot) */
html[data-look="blend"] .eyebrow { background: rgb(255 255 255/.72); border: 1px solid var(--hair-2); box-shadow: 0 1px 2px rgb(27 26 61/.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html[data-look="blend"] .eyebrow::before { width: 6px; height: 6px; background: #2FC79B; box-shadow: 0 0 0 3px rgb(47 199 155/.22); }

/* Cards (live .card, icon tiles, hover lift) */
html[data-look="blend"] .card { border-radius: 22px; border: 1px solid var(--hair-2); background: linear-gradient(180deg,#FFFFFF 0%,#FCFCFF 100%); box-shadow: var(--shadow-soft); transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
html[data-look="blend"] .card:hover { translate: 0 -4px; box-shadow: var(--shadow-float); border-color: rgb(58 52 163/.18); }
html[data-look="blend"] .card .ico, html[data-look="blend"] .grid > .card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tile); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255/.28), 0 8px 18px -8px rgb(58 52 163/.7); }
html[data-look="blend"] .grid > .card:nth-child(2n) .ico { background: linear-gradient(145deg,#F2FBF7 0%,#D3F3E7 100%); color: #176A52; box-shadow: inset 0 0 0 1px rgb(47 199 155/.30), 0 8px 18px -10px rgb(47 199 155/.6); }
html[data-look="blend"] .audience .card:first-child, html[data-look="blend"] .audience .card:last-child { background: linear-gradient(180deg,#FFFFFF 0%,#FCFCFF 100%); }
html[data-look="blend"] .audience .card::after { display: none; }
html[data-look="blend"] .leaks li { border: 1px solid var(--hair-2); background: linear-gradient(180deg,#FFFFFF 0%,#FCFCFF 100%); box-shadow: var(--shadow-soft); }
html[data-look="blend"] .leaks li::before { background: none; color: #3A34A3; -webkit-background-clip: border-box; background-clip: border-box; }
html[data-look="blend"] .steps > li::before { background: linear-gradient(var(--mist), var(--mist)) padding-box, linear-gradient(90deg,rgb(58 52 163/.25),#3A34A3 35%,#2FC79B) border-box; }
html[data-look="blend"] .answer, html[data-look="blend"] .table-wrap { background: #fff; border: 1px solid var(--hair-2); box-shadow: var(--shadow-soft); }
html[data-look="blend"] tr.hl td { background: #E3F7F0; }
html[data-look="blend"] .loop-card { border-radius: 24px; background: rgb(255 255 255/.9); border: 1px solid var(--hair-2); box-shadow: var(--shadow-float); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html[data-look="blend"] .phone { background: #fff; border: 1px solid var(--hair-2); box-shadow: var(--shadow-float); }
html[data-look="blend"] .bubble.out { background: linear-gradient(180deg,#4C45C6 0%,#3A34A3 100%); }

/* Midnight bands (live .section--dark: indigo + mint light on #1B1A3D, grid, noise) */
html[data-look="blend"] .band-dark {
  background: radial-gradient(900px 520px at 12% -10%,rgb(79 72 201/.55),transparent 62%), radial-gradient(760px 460px at 95% 110%,rgb(47 199 155/.26),transparent 60%), linear-gradient(180deg,#1B1A3D 0%,#14132F 100%);
  color: #fff;
}
html[data-look="blend"] .band-dark::before { background-image: linear-gradient(rgb(255 255 255/.045) 1px,transparent 1px), linear-gradient(90deg,rgb(255 255 255/.045) 1px,transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%,#000,transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 30%,#000,transparent 75%); }
html[data-look="blend"] .band-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
html[data-look="blend"] .band-dark h2, html[data-look="blend"] .band-dark h3 { color: #fff; }
html[data-look="blend"] .band-dark .lede, html[data-look="blend"] .band-dark .muted, html[data-look="blend"] .band-dark p { color: rgb(255 255 255/.74); }
html[data-look="blend"] .band-dark em.accent, html[data-look="blend"] .cta-band em.accent { background: none; color: #2FC79B; -webkit-background-clip: border-box; background-clip: border-box; }
html[data-look="blend"] .band-dark .eyebrow, html[data-look="blend"] .cta-band .eyebrow { background: rgb(255 255 255/.06); border-color: rgb(255 255 255/.14); color: #2FC79B; box-shadow: none; }
html[data-look="blend"] .band-dark .card { background: rgb(255 255 255/.045); border-color: rgb(255 255 255/.10); box-shadow: none; }
html[data-look="blend"] .band-dark .card .ico { background: var(--tile) !important; color: #fff !important; }
html[data-look="blend"] .band-dark .grid > .card:nth-child(2n) .ico { background: linear-gradient(180deg,#4AD8AF 0%,#2FC79B 100%) !important; color: #1B1A3D !important; }

/* Closing CTA (live .cta-band) */
html[data-look="blend"] .cta-band {
  border-radius: 32px; border: 1px solid rgb(255 255 255/.08); color: #fff;
  background: radial-gradient(700px 360px at 0% 0%,rgb(79 72 201/.6),transparent 65%), radial-gradient(600px 360px at 100% 100%,rgb(47 199 155/.3),transparent 60%), linear-gradient(135deg,#1B1A3D,#121130);
}
html[data-look="blend"] .cta-band::before { background: none; }
html[data-look="blend"] .cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
html[data-look="blend"] .cta-band h2 { color: #fff; letter-spacing: -.035em; }
html[data-look="blend"] .cta-band p { color: rgb(255 255 255/.74); }
html[data-look="blend"] .cta-band .btn-primary { background: linear-gradient(180deg,#4AD8AF 0%,#2FC79B 100%); color: #1B1A3D; box-shadow: inset 0 1px 0 rgb(255 255 255/.4), 0 1px 2px rgb(0 0 0/.25), 0 10px 30px -8px rgb(47 199 155/.55); }
html[data-look="blend"] .cta-band .btn-line { background: rgb(255 255 255/.06); color: #fff; border-color: rgb(255 255 255/.3); box-shadow: none; }

/* Pricing (live .price / .price--feature: white with gradient ring) */
html[data-look="blend"] .price { border-radius: 28px; border: 1px solid var(--hair-2); background: #fff; box-shadow: var(--shadow-soft); transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
html[data-look="blend"] .price:hover { translate: 0 -4px; box-shadow: var(--shadow-float); }
html[data-look="blend"] .price.lead { color: var(--ink); border: 1px solid transparent; background: linear-gradient(#fff,#fff) padding-box, linear-gradient(140deg,#3A34A3 0%,#8A84F0 45%,#2FC79B 100%) border-box; box-shadow: var(--shadow-float); }
html[data-look="blend"] .price.lead::before { display: none; }
html[data-look="blend"] .price.lead .who, html[data-look="blend"] .price.lead .amount small { color: var(--ink-2); }
html[data-look="blend"] .price.lead .cap b { color: #176A52; }
html[data-look="blend"] .price.lead .checks li::before { background: var(--mint-soft); }
html[data-look="blend"] .price.lead .checks li::after { border-color: #176A52; }
html[data-look="blend"] .price.lead .btn-primary { background: linear-gradient(180deg,#4C45C6 0%,#3A34A3 100%); color: #fff; }

/* Footer (live .site-footer) */
html[data-look="blend"] .site-footer { background: #fff; border-top: 1px solid var(--hair); }

@media (prefers-reduced-motion: reduce) {
  html[data-look="blend"] .card:hover, html[data-look="blend"] .price:hover, html[data-look="blend"] .btn:hover { translate: none; transform: none; }
}

/* Comparison table: Rephia column raised like the specialist pricing card */
.compare-wrap { padding: 24px 20px 16px; overflow: visible; }
table.compare { border-collapse: separate; border-spacing: 0; table-layout: fixed; }
table.compare th, table.compare td { color: var(--ink-3); font-size: 15px; padding: 16px 18px; vertical-align: middle; }
table.compare th:nth-child(1) { width: 18%; }
table.compare th:nth-child(2) { width: 30%; }
table.compare td:first-child { color: var(--ink); font-weight: 600; }
table.compare th { font-size: 14px; color: var(--ink-3); font-weight: 600; }
table.compare .us { background: #fff; color: var(--ink); border-left: 2px solid #4C45C6; border-right: 2px solid #4C45C6;
  box-shadow: 14px 0 28px -22px rgba(58,52,163,.55), -14px 0 28px -22px rgba(58,52,163,.55); }
table.compare th.us { border-top: 2px solid #4C45C6; border-radius: 28px 28px 0 0; padding-top: 20px; color: var(--ink); font-size: 18px; font-weight: 700; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody tr:last-child td.us { border-bottom: 2px solid #4C45C6; border-radius: 0 0 28px 28px; }
table.compare td.us b { font-weight: 700; color: var(--ink); }
table.compare .us > span { display: inline-flex; align-items: center; gap: 10px; }
table.compare .us-head { display: inline-flex; align-items: center; gap: 10px; }
table.compare .us-head svg { width: 30px; height: 20px; color: var(--ink); flex: none; }
table.compare .ck { width: 20px; height: 20px; flex: none; }
table.compare .ck circle { fill: var(--mint-tint); }
table.compare .ck path { fill: none; stroke: #176A52; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[data-look="blend"] table.compare tbody tr:not(:last-child) td.us { border-bottom-color: #E7E5FB; }
@media (max-width: 560px) {
  .compare-wrap { padding: 8px 16px 8px; }
  table.compare { table-layout: auto; }
  table.compare tr { padding: 16px 0; }
  table.compare td { font-size: 15px; padding: 5px 0; align-items: center; }
  table.compare td:first-child { font-size: 16px; padding-bottom: 8px; }
  table.compare td.us { border: 2px solid #4C45C6 !important; border-radius: 16px; padding: 10px 14px; margin: 2px 0 6px;
    box-shadow: 0 10px 24px -16px rgba(58,52,163,.55); }
  table.compare tbody tr:last-child td.us { border-radius: 16px; }
  table.compare td.us::before { color: #3A34A3; font-weight: 700; }
}

/* =========================================================================
   Scan hero and case thread (Nov 18)
   One visual moment: a phone over the binder QR, a scan, a result card.
   Reuses .phone, .panel, .bubble, .chip, .summary-card and existing tokens.
   A shared 4s timeline lets screenshots pause at html[data-scan-frame].
   ========================================================================= */

.scan-hero .section-head { margin-bottom: 36px; }
.scan-hero .mock-note { text-align: center; }

/* The scene scales as one picture */
.scan-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  aspect-ratio: 1000 / 580;
  margin: 0 auto;
  overflow: visible;
}

/* Binder + phone, with the phone held over the QR */
.scan-overlap {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 62%;
  height: 92%;
  z-index: 1;
}
.scan-binder {
  position: absolute;
  left: 4%;
  bottom: 4%;
  width: 88%;
  transform: rotate(-3deg);
  transform-origin: left bottom;
  z-index: 1;
}
.scan-sheet {
  background: #fff;
  color: #16152B;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: start;
  box-shadow: 0 18px 40px -20px rgba(27,26,61,.35);
}
.scan-sheet-id { min-width: 0; }
.scan-sheet b { display: block; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; margin: 2px 0 8px; }
.scan-sheet .small { display: block; color: #6B6A80; margin: 0; }
.scan-sheet-qr {
  width: 118px;
  height: 118px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  margin: 0;
}
.scan-sheet-qr .qr { width: 100%; height: 100%; }

/* A real handset: tall, with a notch and a home bar, hovering over the QR */
.scan-handset {
  position: absolute;
  right: 2%;
  top: 0;
  width: 42%;
  max-width: 214px;
  margin: 0;
  z-index: 3;
  padding: 8px 8px 10px;
  border-radius: 34px;
  transform: rotate(-8deg);
  transform-origin: center center;
  box-shadow: 0 28px 50px -18px rgba(27,26,61,.55), 0 8px 18px -8px rgba(27,26,61,.3);
}
.scan-cam {
  position: relative;
  border-radius: 26px;
  background: #1B1A3D;
  padding: 28px 16px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}
.scan-cam::before,
.scan-cam::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border-radius: 99px; }
.scan-cam::before { top: 8px; width: 38%; height: 7px; background: #0B0A1C; } /* notch */
.scan-cam::after { bottom: 8px; width: 26%; height: 3px; background: rgb(255 255 255/.28); } /* home bar */
.scan-live {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
}
.scan-live .qr { width: 100%; height: 100%; }
.scan-finder {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  overflow: visible;
  fill: none;
  stroke: #2FC79B;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
}
.scan-beam {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 2px;
  background: #2FC79B;
  box-shadow: 0 0 10px 2px rgba(47,199,155,.85), 0 0 22px 6px rgba(47,199,155,.35);
  pointer-events: none;
  opacity: 0;
  top: 86%;
}

/* Result card blooming out of the phone */
.scan-result {
  position: absolute;
  right: 2%;
  top: 7%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  min-width: 240px;
  box-shadow: 0 22px 44px -18px rgba(27,26,61,.4);
}
.scan-result b { font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.scan-check {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--mint-tint);
  color: var(--mint-ink);
  display: grid;
  place-items: center;
}
.scan-check svg { width: 22px; height: 22px; }

/* Loop line from the phone to the specialist's desk */
.scan-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.scan-arc-track { fill: none; stroke: none; }
.scan-arc-draw {
  fill: none;
  stroke: #2FC79B;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.scan-desk {
  position: absolute;
  right: 4%;
  bottom: 7%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 200px;
  box-shadow: 0 16px 32px -16px rgba(27,26,61,.28);
}
.scan-desk b { font-size: 15px; letter-spacing: -.01em; }

/* Shared 4s timeline (forwards, plays once, holds the end state) */
@keyframes scan-binder-in {
  0% { opacity: 0; transform: rotate(-3deg) translateY(12px); }
  8%, 100% { opacity: 1; transform: rotate(-3deg) translateY(0); }
}
@keyframes scan-phone-in {
  0% { opacity: 0; transform: rotate(-8deg) translateY(-18px); }
  10%, 100% { opacity: 1; transform: rotate(-8deg) translateY(0); }
}
@keyframes scan-beam {
  0%, 12% { opacity: 0; top: 12%; }
  16% { opacity: 1; top: 16%; }
  34% { opacity: 1; top: 82%; }
  40%, 100% { opacity: 0; top: 86%; }
}
@keyframes scan-glow {
  0%, 12%, 42%, 100% { box-shadow: 0 0 0 0 rgba(47,199,155,0); }
  20%, 32% { box-shadow: 0 0 22px 4px rgba(47,199,155,.45); }
}
@keyframes scan-finder {
  0%, 12% { opacity: .35; }
  16%, 34% { opacity: 1; }
  44%, 100% { opacity: .85; }
}
@keyframes scan-bloom {
  0%, 36% { opacity: 0; transform: translate(-28px, 16px) scale(.86); }
  48% { opacity: 1; transform: translate(0, -3px) scale(1.03); }
  56%, 100% { opacity: 1; transform: none; }
}
@keyframes scan-arc {
  0%, 48% { stroke-dashoffset: 100; }
  68%, 100% { stroke-dashoffset: 0; }
}
@keyframes scan-desk {
  0%, 58% { opacity: 0; transform: translateY(10px); }
  72%, 100% { opacity: 1; transform: none; }
}

/* Compact (home): the same moment, slightly smaller */
.scan-hero.compact .section-head { margin-bottom: 28px; }
.scan-hero.compact .scan-stage { max-width: 860px; }
.scan-hero.compact .scan-sheet { padding: 18px 16px 16px; }
.scan-hero.compact .scan-sheet b { font-size: 18px; }
.scan-hero.compact .scan-sheet-qr { width: 100px; height: 100px; }
.scan-hero.compact .scan-handset { max-width: 190px; }
.scan-hero.compact .scan-result { min-width: 220px; padding: 14px 16px; }
.scan-hero.compact .scan-result b { font-size: 16px; }
.scan-hero.compact .scan-desk { min-width: 180px; padding: 14px 16px; }

@media (max-width: 720px) {
  .scan-stage {
    aspect-ratio: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px 0 4px;
  }
  .scan-overlap {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 340px);
    height: 430px;
    order: 1;
  }
  .scan-binder {
    left: 0;
    bottom: 0;
    width: 100%;
    transform: rotate(-2deg);
  }
  .scan-handset {
    right: 4%;
    top: 0;
    width: 48%;
    max-width: 200px;
    transform: rotate(-6deg);
  }
  .scan-result, .scan-desk {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 300px);
    min-width: 0;
    transform: none;
  }
  .scan-result { order: 2; }
  .scan-desk { order: 3; }
  .scan-arc { display: none; }
  @keyframes scan-binder-in {
    0% { opacity: 0; transform: rotate(-2deg) translateY(12px); }
    8%, 100% { opacity: 1; transform: rotate(-2deg) translateY(0); }
  }
  @keyframes scan-phone-in {
    0% { opacity: 0; transform: rotate(-6deg) translateY(-16px); }
    10%, 100% { opacity: 1; transform: rotate(-6deg) translateY(0); }
  }
  @keyframes scan-bloom {
    0%, 36% { opacity: 0; transform: translateY(12px) scale(.94); }
    48% { opacity: 1; transform: translateY(-2px) scale(1.02); }
    56%, 100% { opacity: 1; transform: none; }
  }
  @keyframes scan-desk {
    0%, 58% { opacity: 0; transform: translateY(10px); }
    72%, 100% { opacity: 1; transform: none; }
  }
}

/* Motion: end state is the default. Animation runs only when motion is OK. */
@media (prefers-reduced-motion: no-preference) {
  .scan-binder { animation: scan-binder-in 4s cubic-bezier(.2,.7,.2,1) 1 both; }
  .scan-handset { animation: scan-phone-in 4s cubic-bezier(.2,.7,.2,1) 1 both; }
  .scan-live { animation: scan-glow 4s ease-in-out 1 both; }
  .scan-finder { animation: scan-finder 4s ease-in-out 1 both; }
  .scan-beam { animation: scan-beam 4s linear 1 both; }
  .scan-result { animation: scan-bloom 4s cubic-bezier(.2,.7,.2,1) 1 both; }
  .scan-arc-draw { animation: scan-arc 4s cubic-bezier(.2,.7,.2,1) 1 both; }
  .scan-desk { animation: scan-desk 4s cubic-bezier(.2,.7,.2,1) 1 both; }
}

/* Screenshot helpers: pause the 4s timeline at a chosen moment.
   Applied only on a temporary preview copy, never by site scripts. */
html[data-scan-frame] .scan-binder,
html[data-scan-frame] .scan-handset,
html[data-scan-frame] .scan-live,
html[data-scan-frame] .scan-finder,
html[data-scan-frame] .scan-beam,
html[data-scan-frame] .scan-result,
html[data-scan-frame] .scan-arc-draw,
html[data-scan-frame] .scan-desk {
  animation-play-state: paused !important;
  animation-delay: calc(-1 * var(--scan-t, 0s)) !important;
}
html[data-scan-frame="start"] { --scan-t: 0.2s; }
html[data-scan-frame="sweep"] { --scan-t: 1.05s; }
html[data-scan-frame="bloom"] { --scan-t: 1.85s; }
html[data-scan-frame="end"] { --scan-t: 3.6s; }

/* Blend treatments, matching .phone / .loop-card / .chip */
html[data-look="blend"] .scan-sheet,
html[data-look="blend"] .scan-result,
html[data-look="blend"] .scan-desk {
  border-color: var(--hair-2);
  box-shadow: var(--shadow-float);
  background: #fff;
}
html[data-look="blend"] .scan-handset {
  border-color: var(--hair-2);
  box-shadow: 0 28px 50px -18px rgba(27,26,61,.5), var(--shadow-float);
}

/* Case thread */
.thread-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.thread-pair { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.thread-pair b { display: block; font-size: 15px; letter-spacing: -.01em; }
.thread-pair .small { margin: 2px 0 0; }
.thread-spec { text-align: right; }
.thread-case { font-size: 13px; color: var(--ink-3); margin: 10px 0 0; }
.thread-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.thread-log { display: flex; flex-direction: column; gap: 12px; }
.thread-msg { display: flex; flex-direction: column; gap: 4px; max-width: 90%; }
.thread-msg.spec { align-self: flex-end; align-items: flex-end; }
.thread-msg .bubble { margin: 0; width: fit-content; max-width: 100%; }
.thread-who { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.thread-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--tint);
  border-radius: 999px;
  padding: 4px 10px;
}
.thread-file svg { width: 14px; height: 14px; flex: none; }
.thread-flag {
  align-self: center;
  margin: 2px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-ink);
  background: var(--mint-tint);
  border-radius: 999px;
  padding: 4px 12px;
}
.thread .thread-sum { margin: 4px 0 0; padding: 16px; border-radius: 16px; }
@media (max-width: 560px) {
  .thread-msg { max-width: 100%; }
}

html[data-look="blend"] .thread {
  border: 1px solid var(--hair-2);
  box-shadow: var(--shadow-float);
  background: rgb(255 255 255/.95);
}
html[data-look="blend"] .thread .thread-sum { background: #fff; border-color: var(--hair-2); }
