/* Linktrika landing v2: How it works, About, Blog and article pages.
   Loaded after styles.css, which holds the tokens, nav, buttons, final CTA and footer. */

[hidden] { display: none !important; }

/* ---------- Page hero: slow, warm colour wash behind a big title ---------- */
.page-hero { position: relative; margin-top: -74px; padding: 184px 0 112px; overflow: hidden; isolation: isolate; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 98%); mask-image: linear-gradient(180deg, #000 50%, transparent 98%);
}
.aura { position: absolute; border-radius: 50%; will-change: transform; }
.aura-1 {
  width: min(62vw, 820px); aspect-ratio: 1.15; right: -14vw; top: -30%;
  background: radial-gradient(closest-side, rgba(255, 138, 61, .5), rgba(255, 138, 61, .16) 55%, transparent);
  animation: aura-1 17s ease-in-out infinite alternate;
}
.aura-2 {
  width: min(52vw, 700px); aspect-ratio: 1.3; right: 16vw; top: -18%;
  background: radial-gradient(closest-side, rgba(251, 113, 133, .26), rgba(251, 113, 133, .08) 55%, transparent);
  animation: aura-2 23s ease-in-out infinite alternate;
}
.aura-3 {
  width: min(46vw, 620px); aspect-ratio: 1; right: -4vw; top: 22%;
  background: radial-gradient(closest-side, rgba(253, 186, 116, .55), rgba(253, 186, 116, .14) 55%, transparent);
  animation: aura-3 29s ease-in-out infinite alternate;
}
@keyframes aura-1 { 0% { translate: 0 0; scale: 1; } 100% { translate: -16vw 10%; scale: 1.18; } }
@keyframes aura-2 { 0% { translate: 0 0; scale: 1.1; } 100% { translate: 12vw 18%; scale: .9; } }
@keyframes aura-3 { 0% { translate: 0 0; scale: .9; } 100% { translate: -26vw -12%; scale: 1.2; } }

.page-title {
  font-size: clamp(44px, 7.4vw, 108px); font-weight: 700; letter-spacing: -.058em; line-height: .98;
  max-width: 13ch; text-wrap: balance;
}
.page-lead { margin-top: 30px; max-width: 580px; font-size: 19.5px; line-height: 1.6; color: var(--ink-2); }
.page-hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 56px; margin-top: 8px; }
.page-hero-foot .hero-ctas { margin-top: 0; flex-shrink: 0; }
.page-hero .hero-note { margin-top: 14px; }

/* shared bits */
.sec { padding: 140px 0; }
.sec-white { background: var(--surface); border-top: 1px solid var(--line); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: 64px; }
.head-row h2 { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -.045em; max-width: 14ch; }
.section-head h2, .head-row h2 { text-wrap: balance; }
.head-row p { max-width: 420px; font-size: 18px; color: var(--muted); }
.tick-list { display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-2); }
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.how-hero { padding-bottom: 64px; }
.steps { padding: 0 0 40px; }
.steps-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 80px; }
.steps-list { position: relative; padding-left: 64px; }
.rail { position: absolute; left: 15px; top: 16vh; bottom: 16vh; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.rail i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--brand-2), var(--brand)); transform-origin: 50% 0; }
.step { position: relative; min-height: 84vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.step:first-child { min-height: 72vh; justify-content: flex-start; padding-top: 96px; }
.step:last-child { min-height: 76vh; }
.step-body { position: relative; transition: opacity .6s var(--ease); }
.step-idx {
  position: absolute; left: -64px; top: 2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--muted); background: var(--bg); border: 1.5px solid var(--line-2);
  transition: color .4s, background .4s, border-color .4s, box-shadow .4s;
}
.step h2 { font-size: clamp(32px, 3.5vw, 48px); letter-spacing: -.048em; line-height: 1.04; margin-bottom: 20px; }
.step-body > p { font-size: 18px; color: var(--ink-2); max-width: 470px; }
.step .tick-list { margin-top: 26px; }
.step-visual { display: none; }
.js-ready .step:not(.is-active) .step-body { opacity: .28; }
.step.is-active .step-idx { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 6px rgba(237, 91, 45, .14); }

/* sticky app window that changes with the step */
@property --ga { syntax: '<color>'; inherits: true; initial-value: #ff8a3d; }
@property --gb { syntax: '<color>'; inherits: true; initial-value: #ffc9a3; }
.stage { position: relative; --ga: #ff8a3d; --gb: #ffc9a3; transition: --ga 1.2s var(--ease), --gb 1.2s var(--ease); }
.stage[data-active="1"] { --ga: #f59e0b; --gb: #fde68a; }
.stage[data-active="2"] { --ga: #fb7185; --gb: #fecdd3; }
.stage[data-active="3"] { --ga: #10b981; --gb: #a7f3d0; }
.stage-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 40px; }
.stage-glow {
  position: absolute; inset: 6% -10% 0; z-index: -1; pointer-events: none; opacity: .55; filter: blur(24px);
  background:
    radial-gradient(closest-side circle at 30% 38%, var(--ga), transparent),
    radial-gradient(closest-side circle at 72% 66%, var(--gb), transparent);
}
.stage-steps { display: flex; gap: 6px; margin-top: 18px; justify-content: center; }
.stage-steps span {
  font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 999px;
  border: 1px solid transparent; transition: color .3s, background .3s, border-color .3s;
}
.stage-steps span.is-done { color: var(--ink-2); }
.stage-steps span.is-active { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }

.win {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 0 0 1px rgba(12, 10, 9, .02), 0 40px 80px -28px rgba(12, 10, 9, .25);
}
.win-bar { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.win-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex-shrink: 0; }
.win-url {
  margin: 0 auto; transform: translateX(-17px); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; color: var(--muted); padding: 4px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
}
.win-body { position: relative; height: 452px; }
.step-visual .win-body { height: auto; }
.stage .screen {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985);
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s linear .45s;
}
.stage .screen.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .12s, transform .8s var(--ease) .12s, visibility 0s; }

/* screen contents (shared by the sticky window and the inline copies on phones) */
.screen { padding: 28px; font-size: 14px; }
.scr-title { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.scr-sub { color: var(--muted); margin-top: 4px; }
.scr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.scr-head b { font-size: 17px; letter-spacing: -.02em; }
.scr-head span { font-size: 12.5px; color: var(--muted); }

.fld { margin-top: 24px; }
.fld-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.fld-box {
  display: flex; align-items: center; height: 50px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: var(--surface); font-size: 15.5px; font-weight: 500;
  transition: border-color .4s, box-shadow .4s;
}
.fld-proto { color: var(--muted); }
.fld-type { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: bottom; }
.fld-caret { width: 1.5px; height: 20px; margin-left: 2px; background: var(--brand); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.screen.is-active .fld-box { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237, 91, 45, .12); }
.screen.is-active .fld-type { animation: typing 1.1s steps(13, end) .35s both; }
@keyframes typing { from { max-width: 0; } to { max-width: 8em; } }
.conn { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.conn-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.conn-ico img { width: 20px; height: 20px; }
.conn-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.conn-text b { font-size: 14px; }
.conn-text em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); flex-shrink: 0; transition: background .35s; }
.switch i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(12, 10, 9, .25); transition: translate .45s var(--ease); }
.screen.is-active .switch { background: var(--green); transition-delay: 1.6s; }
.screen.is-active .switch i { translate: 16px 0; transition-delay: 1.6s; }
.scr-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin-top: 18px; border-radius: 14px;
  color: #fff; font-weight: 600; background: linear-gradient(180deg, #f26a3c, var(--brand));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -10px rgba(237, 91, 45, .8);
}
.scr-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.screen.is-active .scr-cta { animation: nudge .9s var(--ease) 2.2s both; }
@keyframes nudge { 40% { scale: .97; } 100% { scale: 1; } }
.scr-notes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.scr-notes li { display: flex; align-items: center; gap: 6px; }
.scr-notes li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* audit */
.aud-top { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; }
.ring-bg { stroke: var(--line); }
.ring-val { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.aud-sum { display: flex; flex-direction: column; }
.aud-sum b { font-size: 17px; letter-spacing: -.02em; }
.aud-sum span { color: var(--muted); font-size: 13px; }
.checks { display: grid; gap: 2px; margin-top: 16px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.checks li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: center / 10px no-repeat; }
.checks .is-ok::before { background-color: #ecfdf5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks .is-warn::before { background-color: #fffbeb; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E"); }
.checks .is-bad::before { background-color: #fef2f2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.aud-label { margin: 18px 0 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.engines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.engines li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 13px; font-weight: 600; }
.engines img { width: 16px; height: 16px; flex-shrink: 0; }
.engines span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.engines em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.engines .is-yes { background: #ecfdf5; color: #047857; }
.engines .is-no { background: var(--bg-2); color: var(--muted); }

/* plan */
.todo { display: grid; gap: 8px; }
.todo li {
  position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start;
  padding: 12px 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.todo-n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--bg-2); color: var(--ink-2); }
.todo li:first-child .todo-n { background: var(--brand); color: #fff; }
.todo-text { display: flex; flex-direction: column; min-width: 0; }
.todo-text b { font-size: 13.5px; letter-spacing: -.01em; line-height: 1.35; }
.todo-text em { font-style: normal; font-size: 12px; color: var(--muted); }
.todo-who { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.todo-who.is-agent { background: var(--brand-soft); color: var(--brand-ink); }
.todo-who.is-team { background: #eff6ff; color: #1d4ed8; }
.todo-bar { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 3px; border-radius: 3px; background: var(--bg-2); }
.todo-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transform-origin: 0 50%; transform: scaleX(var(--w)); transition: transform 1.2s var(--ease); transition-delay: calc(.35s + var(--i) * .12s); }
.todo-foot { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* track */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi b { font-size: 28px; letter-spacing: -.04em; line-height: 1.15; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--green); }
.trk-chart { position: relative; margin-top: 14px; padding: 14px 14px 8px; border-radius: 14px; border: 1px solid var(--line); }
.trk-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.trk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.trk-legend i { width: 10px; height: 3px; border-radius: 3px; }
.trk-chart svg { width: 100%; height: auto; overflow: visible; }
.trk-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.trk-dash { fill: none; stroke: #a8a29e; stroke-width: 1.6; stroke-dasharray: 4 4; }
.trk-area { fill: url(#trkFill); }
.alert-toast {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px 14px; border-radius: 14px;
  background: var(--night); color: #e7e5e4; font-size: 12.5px; line-height: 1.4; box-shadow: 0 14px 30px -14px rgba(12, 10, 9, .5);
}
.alert-toast b { color: #fff; }
.alert-toast .dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.report-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 13px; font-weight: 600; }
.report-row svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linejoin: round; flex-shrink: 0; }
.report-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-row b { font-size: 11.5px; color: var(--green); background: #ecfdf5; padding: 3px 9px; border-radius: 999px; }

/* before a screen is shown, its parts wait (only when scripts run, so nothing hides without JS) */
.js-ready .screen:not(.is-active) .checks li,
.js-ready .screen:not(.is-active) .engines li,
.js-ready .screen:not(.is-active) .todo li { opacity: 0; transform: translateY(10px); }
.checks li, .engines li, .todo li { transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.25s + var(--i, 0) * .1s); }
.engines li { transition-delay: calc(.7s + var(--i, 0) * .1s); }
.js-ready .screen:not(.is-active) .ring-val { stroke-dashoffset: 100; }
.js-ready .screen:not(.is-active) .todo-bar i { transform: scaleX(0); }
.js-ready .screen:not(.is-active) .trk-line { stroke-dashoffset: 1; }
.trk-line { transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.js-ready .screen:not(.is-active) .trk-area,
.js-ready .screen:not(.is-active) .trk-dash { opacity: 0; }
.trk-area, .trk-dash { transition: opacity 1s var(--ease) .6s; }
.js-ready .screen:not(.is-active) .alert-toast { opacity: 0; transform: translateY(-10px) scale(.97); }
.alert-toast { transition: opacity .5s var(--ease) 1.4s, transform .7s var(--ease) 1.4s; }
.js-ready .screen:not(.is-active) .report-row { opacity: 0; }
.report-row { transition: opacity .6s var(--ease) 1.9s; }

/* ---------- Half the picture ---------- */
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
.cmp { position: relative; overflow: hidden; padding: 36px; border-radius: var(--r-lg); }
.cmp-half { background: var(--bg); border: 1px solid var(--line); }
.cmp-full { background: var(--night); color: #fafaf9; }
.cmp-full::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 300px at 88% -10%, rgba(237, 91, 45, .38), transparent 70%); }
.cmp > * { position: relative; }
.cmp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.pie { width: 46px; height: 46px; flex-shrink: 0; transform: rotate(-90deg); }
.pie circle { fill: none; stroke-width: 7; }
.pie-bg { stroke: var(--line); }
.cmp-full .pie-bg { stroke: rgba(255, 255, 255, .12); }
.pie-val { stroke: #a8a29e; stroke-dasharray: 100; stroke-dashoffset: 50; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.cmp-full .pie-val { stroke: var(--brand); stroke-dashoffset: 0; }
.js-ready .cmp:not(.is-in) .pie-val { stroke-dashoffset: 100; }
.cmp-head b { display: block; font-size: 21px; letter-spacing: -.03em; }
.cmp-head span { font-size: 14px; color: var(--muted); }
.cmp-full .cmp-head span { color: #a8a29e; }
.cmp-list li { display: flex; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.cmp-full .cmp-list li { border-color: rgba(255, 255, 255, .09); }
.cmp-list li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: center / 11px no-repeat; }
.cmp-half .cmp-list li { color: var(--muted); }
.cmp-half .cmp-list li::before { background-color: var(--bg-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.cmp-full .cmp-list li::before { background-color: rgba(237, 91, 45, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a3d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- What you get ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
.benefit { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px 16px; padding: 34px 0 40px; }
.benefit-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
.benefit-n { font-size: 14px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; padding-top: 7px; }
.benefit h3 { font-size: 25px; letter-spacing: -.035em; line-height: 1.2; }
.benefit p { grid-column: 2; color: var(--muted); font-size: 16.5px; max-width: 440px; }

/* ---------- Who it's for (dark) ---------- */
.audience { background: var(--night); color: #fafaf9; overflow: hidden; }
.audience::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 420px at 12% 0%, rgba(237, 91, 45, .16), transparent 70%); }
.audience .container { position: relative; }
.audience .head-row p { color: #a8a29e; }
.aud-list { border-top: 1px solid rgba(255, 255, 255, .1); }
.aud-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 16px 48px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.aud-row::before {
  content: ''; position: absolute; inset: 0 calc(var(--gutter) * -1); pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(237, 91, 45, .16), rgba(237, 91, 45, 0) 65%); transition: opacity .5s var(--ease);
}
.aud-row > * { position: relative; }
.aud-row h3 { font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; letter-spacing: -.058em; line-height: 1; color: #d6d3d1; transition: color .4s, translate .6s var(--ease); }
.aud-row p { color: #a8a29e; font-size: 17px; max-width: 400px; }
.aud-plan {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; font-weight: 600; color: #fafaf9;
  padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); transition: background .3s, border-color .3s, color .3s;
}
.aud-plan svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.aud-plan:hover { background: #fff; color: var(--night); border-color: #fff; }
.aud-plan:hover svg { translate: 3px 0; }
@media (hover: hover) {
  .aud-row:hover::before { opacity: 1; }
  .aud-row:hover h3 { color: #fff; translate: 12px 0; }
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-hero .page-title { max-width: 15ch; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 32px 72px; align-items: start; }
.about-hero-grid .places { margin-top: 22px; }

.places {
  position: relative; padding: 26px 26px 22px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .5));
  border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(12, 10, 9, .05), 0 30px 70px -30px rgba(12, 10, 9, .25);
}
.places-arc { width: 100%; height: auto; overflow: visible; }
.arc-path { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-dasharray: 3 6; stroke-linecap: round; }
.arc-end { fill: #fff; stroke-width: 2; }
.places-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
.place > span { display: block; font-size: 12.5px; color: var(--muted); }
.place b { display: block; font-size: 17px; letter-spacing: -.02em; line-height: 1.3; margin-top: 2px; }
.place b span { white-space: nowrap; }
.place em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; color: var(--ink-2); margin-top: 8px; font-variant-numeric: tabular-nums; }
.place em::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.place:last-child { text-align: right; }
.place:last-child em { justify-content: flex-end; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; border-top: 1px solid var(--line-2); }
.fact { padding: 22px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.045em; line-height: 1.1; }
.fact span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* mission */
.scrub-text { font-size: clamp(30px, 4.2vw, 56px); font-weight: 600; letter-spacing: -.042em; line-height: 1.14; max-width: 1080px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 88px; }
.pillar { padding-top: 22px; border-top: 1px solid var(--line-2); }
.pillar-n { font-size: 13px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.pillar h3 { font-size: 23px; letter-spacing: -.035em; margin: 14px 0 10px; }
.pillar p { color: var(--muted); font-size: 16px; max-width: 340px; }

/* journey */
.journey { background: var(--night); color: #fafaf9; overflow: hidden; }
.journey::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(760px 460px at 90% 100%, rgba(237, 91, 45, .2), transparent 70%); }
.journey-pin { position: relative; padding: 140px 0; }
.journey .head-row p { color: #a8a29e; }
.journey-track { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.journey-line { position: absolute; left: calc(var(--gutter) + 7px); top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.journey-line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--brand-2), var(--brand)); transform-origin: 50% 0; }
.jlist { display: grid; gap: 56px; padding-left: 48px; }
.jstep { position: relative; max-width: 560px; transition: opacity .6s var(--ease); }
.jstep::before {
  content: ''; position: absolute; left: -48px; top: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--night); border: 2px solid rgba(255, 255, 255, .25); transition: background .4s, border-color .4s, box-shadow .4s;
}
.jyear {
  display: block; font-size: clamp(48px, 5.6vw, 80px); font-weight: 700; letter-spacing: -.06em; line-height: 1;
  background: linear-gradient(180deg, #fafaf9, #a8a29e); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.jstep h3 { font-size: 22px; letter-spacing: -.03em; margin: 16px 0 10px; }
.jstep p { color: #a8a29e; font-size: 16.5px; }
.js-ready .journey .jstep:not(.is-on) { opacity: .32; }
.jstep.is-on::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 6px rgba(237, 91, 45, .2); }
.jstep.is-on .jyear { background-image: linear-gradient(180deg, #ffb48a, var(--brand)); }

/* desktop: the timeline runs sideways while the section is pinned (class set by pages.js) */
.journey.is-horizontal .journey-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 90px; }
.journey.is-horizontal .journey-track { max-width: none; margin: 0; width: max-content; padding: 0 0 0 max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
.journey.is-horizontal .journey-line { left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); right: 25vw; top: 7px; bottom: auto; width: auto; height: 2px; }
.journey.is-horizontal .journey-line i { transform-origin: 0 50%; }
.journey.is-horizontal .jlist { display: flex; gap: 64px; padding: 44px 25vw 0 0; }
.journey.is-horizontal .jstep { width: 380px; flex-shrink: 0; }
.journey.is-horizontal .jstep::before { left: 0; top: -44px; }

/* values */
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value {
  position: relative; overflow: hidden; padding: 36px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.value::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 138, 61, .16), transparent 70%);
}
.value:hover::before { opacity: 1; }
.value > * { position: relative; }
.value-n { font-size: 13px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.value h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.04em; margin: 44px 0 12px; }
.value p { color: var(--muted); font-size: 16.5px; max-width: 440px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.contact-copy h2 { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -.045em; }
.contact-copy > p { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 440px; }
.contact-mail {
  display: inline-block; margin-top: 32px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.035em;
  background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 2px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.contact-mail:hover { background-size: 100% 2px, 100% 2px; }
.contact-copy .text-link { display: flex; width: fit-content; margin-top: 28px; }
.contact-form { padding: 32px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(237, 91, 45, .12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }

/* =====================================================================
   BLOG
   ===================================================================== */
.blog-hero { padding-bottom: 72px; }
.blog-hero .page-title { max-width: 11ch; }
.blog-search { position: relative; max-width: 480px; margin-top: 36px; }
.blog-search svg { position: absolute; z-index: 1; left: 20px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.blog-search input {
  width: 100%; height: 58px; padding: 0 60px 0 52px; border-radius: 999px; font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.blog-search input::-webkit-search-cancel-button { display: none; }
.blog-search input:focus { outline: none; background: #fff; border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(237, 91, 45, .12); }
.blog-search kbd {
  position: absolute; z-index: 1; right: 18px; top: 50%; translate: 0 -50%; font: 600 12px var(--font); color: var(--muted);
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 7px; padding: 2px 8px; background: var(--surface);
}
@media (pointer: coarse) { .blog-search kbd { display: none; } }

.posts { padding: 8px 0 120px; }
.posts-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip i { font-style: normal; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] i { color: #a8a29e; }
.post-count { font-size: 14px; color: var(--muted); white-space: nowrap; }

.post-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 88px; }
.pf-media, .pc-media { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 9; }
.pf-media { border-radius: 26px; }
.pc-media { border-radius: 18px; margin-bottom: 22px; }
.pf-media img, .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.post-feature:hover .pf-media img, .post-card:hover .pc-media img { scale: 1.045; }
.post-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.post-kicker b { font-weight: 600; color: var(--brand-ink); }
.post-kicker > * + *::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #a8a29e; vertical-align: middle; margin-right: 14px; translate: 0 -1px; }
.pf-title { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.048em; line-height: 1.06; }
.pf-excerpt { margin-top: 18px; font-size: 17.5px; color: var(--ink-2); }
.pf-body .text-link { margin-top: 26px; }
.link-line { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 2px; }
.post-feature:hover .link-line, .post-card:hover .link-line { background-size: 100% 1.5px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.post-card { display: flex; flex-direction: column; min-width: 0; }
.pc-title { font-size: 21px; letter-spacing: -.03em; line-height: 1.24; }
.pc-excerpt {
  margin-top: 10px; font-size: 15.5px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .post-kicker { margin: 0 0 12px; }
.posts-empty { text-align: center; padding: 64px 0 24px; }
.posts-empty p { font-size: 18px; color: var(--ink-2); }
.posts-empty .btn { margin-top: 20px; }

/* =====================================================================
   ARTICLE
   ===================================================================== */
.post-hero { padding-bottom: 0; }
.post-hero .aura-1 { top: -45%; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 40px; transition: color .2s; }
.back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.back-link:hover { color: var(--ink); }
.back-link:hover svg { translate: -3px 0; }
.post-title { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.052em; line-height: 1.02; max-width: 19ch; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 30px 0 0 -26px; font-size: 15px; color: var(--muted);
  clip-path: inset(0 0 0 26px);
}
.post-meta > span { position: relative; margin-left: 26px; }
.post-meta > span::before { content: ''; position: absolute; left: -15px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: #a8a29e; }
.post-meta b { font-weight: 600; color: var(--ink); }
.post-cover { margin: 64px 0 0; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

.post-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 88px; justify-content: center; padding-top: 88px; padding-bottom: 110px; }
.post-aside { min-width: 0; }
.toc { position: sticky; top: 110px; }
.toc-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.toc ol { border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 1.5px solid transparent; font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .25s, border-color .25s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--brand); }
.share { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, color .2s;
}
.share-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.share-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.share-btn.is-done { color: var(--green); border-color: rgba(5, 150, 105, .4); }
.toc-mobile { display: none; }

.prose { font-size: 18px; line-height: 1.78; color: #292524; min-width: 0; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child { font-size: 21px; line-height: 1.62; color: var(--ink); letter-spacing: -.01em; }
.prose h2 { font-size: clamp(27px, 2.6vw, 34px); letter-spacing: -.042em; line-height: 1.16; color: var(--ink); margin-top: 2.1em; }
.prose h3 { font-size: 22px; letter-spacing: -.03em; line-height: 1.25; color: var(--ink); margin-top: 1.8em; }
.prose h4 { font-size: 18.5px; letter-spacing: -.02em; color: var(--ink); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose strong { font-weight: 650; color: var(--ink); }
.prose a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(194, 65, 12, .35); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { display: grid; gap: .55em; }
.prose li { position: relative; padding-left: 30px; }
.prose ul > li::before { content: ''; position: absolute; left: 9px; top: .74em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prose ol { counter-reset: item; }
.prose ol > li { counter-increment: item; }
.prose ol > li::before { content: counter(item) '.'; position: absolute; left: 0; font-weight: 700; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brand); font-size: 20px; color: var(--ink); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-tags span { font-size: 13px; color: var(--ink-2); padding: 5px 12px; border-radius: 999px; background: var(--bg-2); }

.related { padding: 110px 0 60px; background: var(--surface); border-top: 1px solid var(--line); }
.related .head-row { margin-bottom: 48px; }
.related + .final { background: var(--surface); padding-top: 60px; }

/* =====================================================================
   HOME: plan assurances
   ===================================================================== */
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 36px; font-size: 14.5px; color: var(--ink-2); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  background: #ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
@media (max-width: 600px) {
  .assure { flex-direction: column; align-items: flex-start; max-width: 480px; margin: 28px auto 0; }
}

/* =====================================================================
   SHARED HELPERS
   ===================================================================== */
.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; }
.hero-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.hero-note a:hover { text-decoration-color: var(--brand); }
@keyframes spin { to { rotate: 360deg; } }

/* =====================================================================
   HOME HERO: scan bar + live scan panel
   ===================================================================== */
.scanbox {
  position: relative; display: flex; align-items: center; gap: 4px; max-width: 560px; margin-top: 34px;
  padding: 7px 7px 7px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 1px 2px rgba(12, 10, 9, .04), 0 18px 40px -24px rgba(237, 91, 45, .45);
  transition: border-color .25s, box-shadow .25s;
}
.scanbox:hover { border-color: #c9c5c2; }
.scanbox:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237, 91, 45, .12), 0 18px 40px -24px rgba(237, 91, 45, .5); }
.scanbox-ico { display: grid; place-items: center; width: 22px; height: 22px; color: var(--muted); flex-shrink: 0; }
.scanbox-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scanbox input { flex: 1; min-width: 0; height: 50px; padding: 0 10px; border: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); }
.scanbox input:focus { outline: none; }
.scanbox input::placeholder { color: #a8a29e; font-weight: 400; }
.scanbox .btn { flex-shrink: 0; height: 50px; padding: 0 22px; font-size: 15.5px; }
.scanbox.is-busy .btn { opacity: .7; pointer-events: none; }
.scan-meta { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.scan-meta a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.scan-meta a:hover { text-decoration-color: var(--brand); }
.live-dot { display: inline-block; vertical-align: middle; margin: -2px 8px 0 0; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.scan-error { margin-top: 12px; font-size: 14.5px; font-weight: 500; color: #b91c1c; }

.hero-visual.is-scan .answer-frame { display: none; }
.scan-panel {
  position: relative; overflow: hidden; border-radius: 30px; padding: 22px; color: #fafaf9;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(237, 91, 45, .28), transparent 70%),
    var(--night);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 40px 80px -30px rgba(12, 10, 9, .45), 0 0 90px -30px rgba(237, 91, 45, .45);
}
.sp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sp-domain { font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; color: #e7e5e4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-state { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #ffb48a; padding: 5px 11px; border-radius: 999px; background: rgba(237, 91, 45, .14); white-space: nowrap; }
.sp-state i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; }
.scan-panel.is-done .sp-state { color: #86efac; background: rgba(34, 197, 94, .14); }
.scan-panel.is-done .sp-state i { animation: none; border: 0; width: 7px; height: 7px; background: currentColor; }
.sp-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px 4px 6px; }
.sp-score { position: relative; width: 150px; height: 150px; }
.sp-score svg { width: 100%; height: 100%; rotate: -90deg; }
.sp-score circle { fill: none; stroke-width: 8; }
.sp-track { stroke: rgba(255, 255, 255, .08); }
.sp-val { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.sp-score b { position: absolute; left: 0; right: 0; top: 44px; text-align: center; font-size: 44px; letter-spacing: -.05em; line-height: 1; }
.sp-score span { position: absolute; left: 0; right: 0; top: 96px; text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #a8a29e; }
.sp-list { display: grid; gap: 7px; }
.sp-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #78716c; transition: color .35s; }
.sp-list li i { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; background: rgba(255, 255, 255, .06); color: transparent; transition: background .3s, color .3s; }
.sp-list li.is-wait i { border: 1.5px solid rgba(255, 255, 255, .18); border-top-color: #ff8a3d; background: none; animation: spin .9s linear infinite; }
.sp-list li.is-pass, .sp-list li.is-warn, .sp-list li.is-fail { color: #e7e5e4; }
.sp-list li.is-pass i { background: rgba(34, 197, 94, .2); color: #86efac; }
.sp-list li.is-warn i { background: rgba(245, 158, 11, .2); color: #fcd34d; }
.sp-list li.is-fail i { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.sp-foot { margin-top: 16px; padding: 16px 4px 2px; border-top: 1px solid rgba(255, 255, 255, .08); }
.sp-foot p { font-size: 15px; color: #d6d3d1; line-height: 1.5; margin-bottom: 14px; }
.sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.sp-again { border: 0; background: none; color: #a8a29e; font-size: 14px; font-weight: 600; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .2); }
.sp-again:hover { color: #fff; }
@media (max-width: 1080px) {
  .scanbox { margin-left: auto; margin-right: auto; }
  .scan-meta { text-align: center; }
}
@media (max-width: 600px) {
  .scanbox { flex-wrap: wrap; border-radius: 26px; padding: 6px; }
  .scanbox-ico { margin-left: 12px; }
  .scanbox input { height: 48px; }
  .scanbox .btn { width: 100%; justify-content: center; }
  .scan-panel { padding: 18px; border-radius: 24px; }
  .sp-body { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .sp-list { width: 100%; }
  .sp-actions { flex-direction: column; gap: 6px; }
  .sp-actions .btn { width: 100%; }
  .sp-body { gap: 16px; padding-top: 18px; }
  .sp-score { width: 124px; height: 124px; }
  .sp-score b { top: 34px; font-size: 38px; }
  .sp-score span { top: 78px; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .page-hero { padding: 160px 0 88px; }
  .page-hero-foot { flex-direction: column; align-items: flex-start; }

  .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage { display: none; }
  .steps-list { padding-left: 0; width: 100%; max-width: 680px; margin: 0 auto; }
  .rail { display: none; }
  .step, .step:first-child, .step:last-child { min-height: 0; padding: 0 0 88px; }
  .step:last-child { padding-bottom: 0; }
  .step-idx { position: static; margin-bottom: 20px; color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 6px rgba(237, 91, 45, .14); }
  .js-ready .step:not(.is-active) .step-body { opacity: 1; }
  .step-visual { display: block; margin-top: 36px; }
  .step-visual .win { box-shadow: 0 0 0 1px rgba(12, 10, 9, .02), 0 30px 60px -30px rgba(12, 10, 9, .25); }

  .about-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .places { max-width: 560px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { margin-top: 24px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .contact-form { max-width: 640px; }

  .post-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 720px); gap: 0; padding-top: 56px; }
  .post-aside { display: none; }
  .toc-mobile { display: block; margin-bottom: 40px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
  .toc-mobile summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; font-size: 15px; font-weight: 600;
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: rotate .3s var(--ease); }
  .toc-mobile[open] summary svg { rotate: 180deg; }
  .toc-mobile ol { padding: 0 20px 14px; }
  .toc-mobile a { display: block; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
  .post-share-mobile { display: flex; margin-top: 40px; }
}

@media (max-width: 860px) {
  .head-row { flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
  .compare-grid, .benefit-grid, .value-grid, .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillars { gap: 36px; margin-top: 64px; }
  .aud-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 36px 0; }
  .aud-row .aud-plan { justify-self: start; margin-top: 6px; }
}

@media (max-width: 600px) {
  .page-hero { margin-top: -66px; padding: 128px 0 64px; }
  .page-title { font-size: clamp(40px, 12.4vw, 60px); letter-spacing: -.055em; }
  .page-lead { font-size: 17.5px; margin-top: 22px; }
  .page-hero-foot .hero-ctas { width: 100%; }
  .page-hero-foot .hero-ctas .btn { width: 100%; }
  .aura-1 { width: 130vw; right: -60vw; top: -20%; }
  .aura-2 { width: 110vw; right: 10vw; top: -10%; }
  .aura-3 { width: 100vw; right: -40vw; top: 30%; }
  .sec { padding: 80px 0; }
  .head-row h2 { font-size: clamp(32px, 9vw, 42px); }
  .head-row p { font-size: 16.5px; }

  .steps { padding: 8px 0 80px; }
  .step, .step:first-child { padding-bottom: 72px; }
  .step h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .step-body > p { font-size: 16.5px; }
  .screen { padding: 18px 16px; font-size: 13px; }
  .win { border-radius: 18px; }
  .win-bar { height: 38px; padding: 0 12px; }
  .win-bar > i { width: 8px; height: 8px; }
  .win-url { font-size: 11px; transform: translateX(-12px); }
  .fld-box { height: 46px; font-size: 14.5px; }
  .conn { padding: 12px; gap: 10px; }
  .conn-text em { font-size: 12px; }
  .engines { grid-template-columns: minmax(0, 1fr); }
  .todo li { padding: 11px 12px 15px; gap: 4px 10px; grid-template-columns: 24px minmax(0, 1fr) auto; }
  .todo-n { width: 24px; height: 24px; }
  .todo-text b { font-size: 13px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 24px; }

  .cmp { padding: 26px 22px; }
  .cmp-list li { font-size: 15.5px; }
  .benefit { grid-template-columns: 40px minmax(0, 1fr); padding: 26px 0 30px; }
  .benefit h3 { font-size: 21px; }
  .benefit p { font-size: 15.5px; }
  .aud-row h3 { font-size: clamp(36px, 11vw, 48px); }
  .aud-row p { font-size: 16px; }

  .places { padding: 20px 18px 18px; border-radius: 24px; }
  .place b { font-size: 15.5px; }
  .place b span { display: block; }
  .facts { margin-top: 48px; }
  .fact { padding-right: 12px; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
  .scrub-text { font-size: clamp(26px, 7.4vw, 34px); }
  .journey-pin { padding: 80px 0; }
  .jlist { gap: 44px; padding-left: 40px; }
  .jstep::before { left: -40px; }
  .value { padding: 26px 22px; }
  .value h3 { margin-top: 28px; }
  .contact-form { padding: 22px 18px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-copy .text-link { margin-top: 22px; }

  .blog-hero { padding-bottom: 48px; }
  .blog-search { margin-top: 28px; }
  .blog-search input { height: 54px; }
  .posts { padding-bottom: 80px; }
  .posts-bar { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + var(--gutter) * 2);
    margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
  }
  .chips::-webkit-scrollbar { display: none; }
  .post-feature { margin-bottom: 56px; gap: 22px; }
  .pf-media { border-radius: 20px; }
  .pf-excerpt { font-size: 16.5px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .pc-title { font-size: 20px; }

  .back-link { margin-bottom: 28px; }
  .post-title { font-size: clamp(32px, 9.4vw, 44px); letter-spacing: -.048em; }
  .post-meta { margin-top: 22px; font-size: 14px; }
  .post-cover { margin-top: 40px; border-radius: 20px; }
  .post-layout { padding-top: 28px; padding-bottom: 72px; }
  .prose { font-size: 17px; line-height: 1.74; }
  .prose > p:first-child { font-size: 19px; }
  .prose h2 { font-size: 25px; }
  .prose h3 { font-size: 20px; }
  .prose figure { margin: 1.8em 0; }
  .prose figure img { border-radius: 14px; }
  .related { padding: 72px 0 40px; }
}

@media (max-width: 360px) {
  .places-row { grid-template-columns: minmax(0, 1fr); }
  .place:last-child { text-align: left; }
  .place:last-child em { justify-content: flex-start; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { padding-left: 0; border-left: 0; margin-top: 20px; }
  .todo-who { display: none; }
}

@media (min-width: 1081px) {
  .post-share-mobile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .aura { animation: none; }
}
