/* Public site. One family (Schibsted Grotesk), five bright colors on cool paper and deep indigo.
   Every animation is switched off for visitors who prefer reduced motion. */
:root {
    --paper: #f5f7fb;
    --ink: #161b33;
    --muted: #5a627a;
    --line: #dfe3ee;
    --white: #ffffff;
    --indigo: #14123a;
    --indigo-soft: #221f55;
    --blue: #1e7cf2;
    --blue-deep: #1560c9;
    --violet: #7a5cff;
    --coral: #ff6b57;
    --yellow: #ffc93c;
    --yellow-deep: #e5a100;
    --mint: #2fd29a;
    --mint-deep: #13a873;
    --bubble-in: #eceff6;
    --brand-gradient: linear-gradient(110deg, var(--blue) 0%, var(--violet) 50%, var(--coral) 100%);
    --radius-control: 12px;
    --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
}
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 900; margin-bottom: 40px; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0; }
.gradient-text {
    /* Starts and ends on the same blue so the slide loops without a seam. */
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--coral), var(--violet), var(--blue));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-slide 8s linear infinite;
}

/* Buttons */
.button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-gradient);
    background-size: 160% auto;
    color: var(--white);
    font: 700 16px/1 var(--font);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(122, 92, 255, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease;
}
.button:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 30px -12px rgba(255, 107, 87, 0.65); }
.button:active { transform: translateY(0); }
.button-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: shine 4s ease-in-out infinite;
}
.button-quiet { background: rgba(255, 255, 255, 0.75); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(6px); }
.button-quiet:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--violet); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 247, 251, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(223, 227, 238, 0.7); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 22px; height: 22px; border-radius: 7px 7px 7px 2px; background: var(--brand-gradient); display: inline-block; }
.top-nav { display: flex; align-items: center; gap: 26px; }
.top-nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.top-nav a:not(.button):hover { color: var(--violet); }
@media (max-width: 760px) { .top-nav a:not(.button) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.blob-blue { width: 520px; height: 520px; background: var(--blue); top: -160px; left: -120px; animation: drift-a 18s ease-in-out infinite; }
.blob-violet { width: 460px; height: 460px; background: var(--violet); top: 40px; right: -100px; animation: drift-b 22s ease-in-out infinite; }
.blob-coral { width: 380px; height: 380px; background: var(--coral); bottom: -200px; left: 35%; opacity: 0.4; animation: drift-a 26s ease-in-out infinite reverse; }
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
    padding: 84px 0 104px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px -8px rgba(22, 27, 51, 0.25);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 26px;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(47, 210, 154, 0.6); animation: pulse 2s ease-out infinite; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 900; letter-spacing: -0.04em; line-height: 0.96; max-width: 12ch; }
.lede { margin-top: 28px; font-size: 20px; color: #454c63; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.phone-stage { position: relative; justify-self: end; width: min(400px, 100%); }
.phone {
    position: relative;
    background: var(--white);
    border-radius: 40px;
    padding: 18px 16px 26px;
    box-shadow: 0 2px 0 var(--line), 0 40px 80px -30px rgba(20, 18, 58, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.45);
    transform: rotate(2deg);
    animation: float 7s ease-in-out infinite;
}
.phone-head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.phone-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-gradient); font-weight: 800; color: var(--white); }
.phone-name { font-size: 13px; font-weight: 700; color: var(--muted); }
.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 380px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.bubble.out { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 6px; }
.bubble.in { align-self: flex-end; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); border-bottom-right-radius: 6px; }
.order {
    align-self: center;
    margin-top: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mint), #1fbf88);
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 22px -10px rgba(19, 168, 115, 0.8);
}
.typing { display: none; align-self: flex-start; gap: 5px; padding: 13px 16px; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--bubble-in); }
.typing.is-on { display: inline-flex; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa1b8; animation: typing 1.1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
.thread.is-playing > .bubble, .thread.is-playing > .order { opacity: 0; transform: translateY(10px) scale(0.92); }
.thread.is-playing > .is-shown { animation: pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.confetti { position: absolute; left: 50%; bottom: 60px; width: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; width: 8px; height: 12px; border-radius: 2px; animation: confetti 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }

.float-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 14px 30px -14px rgba(20, 18, 58, 0.45);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-mint { background: var(--mint); }
.dot-yellow { background: var(--yellow); }
.dot-coral { background: var(--coral); }
.chip-1 { top: 70px; left: -70px; animation: bob 5s ease-in-out infinite; }
.chip-2 { top: 300px; right: -46px; animation: bob 6s ease-in-out infinite 0.8s; }
.chip-3 { bottom: 70px; left: -56px; animation: bob 5.5s ease-in-out infinite 1.6s; }

@media (max-width: 940px) {
    .blob { opacity: 0.28; }
    .hero-inner { grid-template-columns: 1fr; padding: 56px 0 80px; gap: 56px; }
    .phone-stage { justify-self: center; }
    .chip-1 { left: -10px; } .chip-2 { right: -10px; } .chip-3 { left: -10px; }
}

/* Ticker of answered questions */
.ticker { background: var(--indigo); color: var(--white); overflow: hidden; padding: 18px 0; border-block: 1px solid var(--indigo-soft); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-row { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.ticker-row li { padding: 10px 18px; border-radius: 999px; background: var(--indigo-soft); font-size: 15px; white-space: nowrap; color: #d6d8f0; }
.ticker-row li b { color: var(--yellow); font-weight: 700; margin-right: 6px; }

/* Real results (only rendered once there is enough real data) */
.results { padding: 96px 0 0; }
.results-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.result-card { position: relative; overflow: hidden; padding: 28px 26px; border-radius: 24px; background: var(--white); box-shadow: 0 20px 40px -28px rgba(20, 18, 58, 0.35); }
.result-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--tone); }
.result-card dt { color: var(--muted); font-weight: 600; font-size: 15px; }
.result-card dd { margin: 10px 0 0; font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; color: var(--tone); }
.results-note { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 52em; }
@media (max-width: 900px) { .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* How it works */
.how { padding: 96px 0 80px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-gradient);
    transform-origin: left;
    transform: scaleX(var(--line-progress, 1));
    transition: transform 1.2s ease 0.3s;
}
.motion .steps:not(:has(.is-in))::before { --line-progress: 0; }
.step { position: relative; padding: 28px; border-radius: 24px; background: var(--white); box-shadow: 0 20px 40px -28px rgba(20, 18, 58, 0.35); }
.step::after { position: absolute; top: 22px; right: 24px; font-size: 56px; font-weight: 900; line-height: 1; opacity: 0.12; }
.step-blue::after { content: "1"; color: var(--blue); }
.step-violet::after { content: "2"; color: var(--violet); }
.step-coral::after { content: "3"; color: var(--coral); }
.step-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px; color: var(--white); }
.step-blue .step-icon { background: var(--blue); }
.step-violet .step-icon { background: var(--violet); }
.step-coral .step-icon { background: var(--coral); }
.step-icon svg, .feature-icon svg, .done-check svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step p { margin-top: 10px; color: var(--muted); }
.motion .step:nth-child(2) { transition-delay: 0.12s; }
.motion .step:nth-child(3) { transition-delay: 0.24s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* Features */
.features { padding: 40px 0 104px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; margin: 0; }
.feature { padding: 24px; border-radius: 20px; transition: background 0.25s ease, transform 0.25s ease; }
.feature:hover { background: var(--white); transform: translateY(-3px); }
.feature dt { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 20px; }
.feature-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--tone) 14%, white); color: var(--tone); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature dd { margin: 12px 0 0 60px; color: var(--muted); max-width: 34em; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } .feature dd { margin-left: 0; } }

/* Estimator */
.estimate { position: relative; overflow: hidden; background: var(--indigo); color: var(--white); padding: 96px 0; }
.estimate-glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 92, 255, 0.55), transparent 65%); pointer-events: none; }
.estimate-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.estimate h2 { color: var(--white); }
.estimate-inputs label { display: block; margin-bottom: 22px; }
.estimate-inputs label span { display: block; font-size: 15px; color: #c6c8e6; margin-bottom: 8px; }
.estimate-inputs output { color: var(--yellow); font-weight: 800; }
.estimate-inputs input[type="number"] {
    width: 100%;
    max-width: 280px;
    height: 52px;
    padding: 0 16px;
    border: 1.5px solid #3b3778;
    border-radius: var(--radius-control);
    background: var(--indigo-soft);
    color: var(--white);
    font: 700 19px var(--font);
}
.estimate-inputs input[type="number"]:focus { border-color: var(--violet); }
.estimate-inputs input[type="range"] { width: 100%; max-width: 360px; accent-color: var(--coral); height: 28px; }
.estimate-inputs fieldset { margin: 32px 0 0; padding: 0; border: 0; min-width: 0; }
.estimate-inputs legend { float: left; width: 100%; padding: 22px 0 0; margin-bottom: 18px; border-top: 1px solid #3b3778; font-weight: 700; }
.estimate-inputs legend + label { clear: both; }
.estimate-result { padding: 36px; border-radius: 28px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.result-label { color: #c6c8e6; font-size: 15px; }
.result-number {
    margin-top: 10px;
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    background: linear-gradient(100deg, var(--mint), var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.result-detail { margin-top: 16px; font-size: 18px; }
.result-bars { display: grid; gap: 8px; margin-top: 24px; }
.bar { display: block; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--size, 0)); transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1); border-radius: inherit; }
.bar-texted::after { background: linear-gradient(90deg, var(--blue), var(--violet)); }
.bar-orders::after { background: linear-gradient(90deg, var(--mint), var(--yellow)); }
.result-payback { margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); font-size: 16px; line-height: 1.45; }
.result-note { margin-top: 24px; font-size: 14px; color: #c6c8e6; max-width: 30em; }
@media (max-width: 880px) { .estimate-inner { grid-template-columns: 1fr; gap: 40px; } }

/* FAQ */
.faq { padding: 104px 0 80px; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq details { margin-bottom: 12px; border-radius: 18px; background: var(--white); box-shadow: 0 10px 30px -24px rgba(20, 18, 58, 0.45); transition: box-shadow 0.25s ease; }
.faq details[open] { box-shadow: 0 0 0 2px var(--violet), 0 18px 40px -26px rgba(122, 92, 255, 0.6); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-gradient);
    color: var(--white);
    font-size: 20px;
    font-weight: 500;
    transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .faq-inner { grid-template-columns: 1fr; gap: 8px; } }

/* Contact */
.contact { padding: 0 0 104px; }
.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    padding: 56px;
    border-radius: 36px;
    background: var(--brand-gradient);
    color: var(--white);
    box-shadow: 0 40px 80px -40px rgba(122, 92, 255, 0.7);
}
.contact-copy h2 { color: var(--white); margin-bottom: 18px; }
.contact-copy p { margin-top: 14px; color: rgba(255, 255, 255, 0.88); max-width: 26em; }
.contact-copy a { color: var(--white); font-weight: 700; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 28px; border-radius: 24px; background: var(--white); color: var(--ink); }
.contact-form label span { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-control);
    background: var(--paper);
    color: var(--ink);
    font: 16px var(--font);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--violet); background: var(--white); }
.contact-form input[aria-invalid="true"] { border-color: #d6382c; }
.contact-form .full { grid-column: 1 / -1; }
.field-error { display: block; margin-top: 6px; color: #d6382c; font-style: normal; font-size: 14px; }
.contact-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { padding: 36px; border-radius: 24px; background: var(--white); color: var(--ink); animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.done-check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px; background: var(--mint); color: var(--white); }
.contact-done p { margin-top: 8px; color: var(--muted); }
@media (max-width: 880px) {
    .contact-card { grid-template-columns: 1fr; padding: 32px 22px; gap: 32px; border-radius: 28px; }
    .contact-form { grid-template-columns: 1fr; padding: 20px; }
}

/* Footer */
.foot-old { background: var(--indigo); color: #c6c8e6; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 30px 0; font-size: 14px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--white); }
.foot a { color: var(--white); }

/* Scroll reveal (only when motion is allowed) */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.motion .reveal.is-in { opacity: 1; transform: none; }

@keyframes gradient-slide { to { background-position: 200% center; } }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 60px) scale(1.12); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-90px, 70px) scale(0.92); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 210, 154, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(47, 210, 154, 0); } }
@keyframes float { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes confetti {
    0% { transform: translate(0, 0) rotate(0); opacity: 1; }
    45% { transform: translate(calc(var(--x) * 0.7), var(--y)) rotate(calc(var(--r) * 0.5)); opacity: 1; }
    100% { transform: translate(var(--x), calc(var(--y) + 260px)) rotate(var(--r)); opacity: 0; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* AFA North additions on top of the shared look. */
.log-card {
    position: relative;
    background: var(--white);
    border-radius: 32px;
    padding: 26px 26px 22px;
    box-shadow: 0 2px 0 var(--line), 0 40px 80px -30px rgba(20, 18, 58, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.45);
    transform: rotate(1.5deg);
    animation: float-log 7s ease-in-out infinite;
}
.log-card h2 { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin: 0 0 14px; }
.log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.log-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 14px; border-radius: 16px; background: var(--paper); }
.log-what { font-weight: 700; font-size: 15px; }
.log-delta { grid-row: span 2; align-self: center; font-weight: 900; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; color: var(--tone); }
.log-where { font-size: 13px; color: var(--muted); line-height: 1.4; }
.log-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.log-stage { position: relative; justify-self: end; width: min(440px, 100%); }
.log-stage .chip-1 { top: -18px; left: -40px; }
.log-stage .chip-2 { top: 46%; right: -40px; }
.log-stage .chip-3 { bottom: -18px; left: -30px; }
@media (max-width: 940px) {
    .log-stage { justify-self: center; }
    .log-stage .chip-1, .log-stage .chip-3 { left: -6px; }
    .log-stage .chip-2 { right: -6px; }
}

.section-lede { margin: -22px 0 36px; font-size: 19px; color: #454c63; max-width: 40em; }
.feature dd ul { margin: 10px 0 0; padding-left: 18px; }
.feature dd li { margin-top: 4px; }

.product { position: relative; overflow: hidden; background: var(--indigo); color: var(--white); padding: 96px 0; }
.product .estimate-glow { left: -250px; right: auto; }
.product-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.product h2 { color: var(--white); margin-bottom: 20px; }
.product-copy > p { color: #d6d8f0; font-size: 18px; max-width: 34em; }
.product-label { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--indigo-soft); color: #d6d8f0; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.product-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.product-facts li { display: flex; gap: 12px; align-items: flex-start; color: #e7e8f7; }
.product-facts li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--mint); }
.product .phone-stage { justify-self: center; }
@media (max-width: 940px) { .product-inner { grid-template-columns: 1fr; gap: 56px; } }

.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-mint::after { content: "4"; color: var(--mint-deep); }
.step-mint .step-icon { background: var(--mint-deep); }
@media (max-width: 1040px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } .steps-4::before { display: none; } }
@media (max-width: 620px) { .steps-4 { grid-template-columns: 1fr; } }

.contact-form .status { grid-column: 1 / -1; font-size: 15px; color: #d6382c; }
.contact-done[hidden], .contact-form[hidden] { display: none; }

@keyframes float-log { 0%, 100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(0.5deg) translateY(-10px); } }

/* Service cards (home and services index) */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 20px 40px -28px rgba(20, 18, 58, 0.35); transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tone); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(20, 18, 58, 0.5); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h2, .service-card h3 { font-size: 20px; font-weight: 800; margin: 6px 0 0; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .feature-icon { margin-bottom: 4px; }
.service-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.card-more { font-weight: 700; font-size: 15px; color: var(--tone); }
.card-more::after { content: " \2192"; }
.all-services { margin-top: 32px; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; }
.page-hero .blob { opacity: 0.35; }
.page-hero-inner { position: relative; padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; max-width: 16ch; }
.page-hero .lede { max-width: 38em; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.page-icon { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 22px; }
.page-icon svg { width: 30px; height: 30px; }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.detail-group { padding: 28px; border-radius: 24px; background: var(--white); box-shadow: 0 20px 40px -28px rgba(20, 18, 58, 0.35); }
.detail-group h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.detail-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.detail-group li { display: flex; gap: 12px; color: #454c63; }
.detail-group li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--tone); }
.proof { padding: 0 0 24px; }
.proof .result-card dt { color: var(--ink); font-weight: 500; font-size: 16px; }
.proof .result-card dd { margin: 0 0 12px; }
.proof .result-card { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.results-1 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.results-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.results-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .results-2, .results-3 { grid-template-columns: 1fr; } }
.related { padding: 0 0 96px; }
.related h2 { font-size: 28px; margin-bottom: 18px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--line); }
.related-links a:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--violet); }

/* Footer with links */
.foot { background: var(--indigo); color: #c6c8e6; font-size: 15px; }
.foot a { color: #e3e4f6; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
.foot-grid nav { display: grid; gap: 8px; align-content: start; }
.foot-grid p { margin-top: 12px; max-width: 26em; }
.foot-head { margin: 0 0 6px !important; color: var(--white); font-weight: 800; }
.foot-base { padding: 20px 0 30px; border-top: 1px solid var(--indigo-soft); font-size: 14px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.product .phone { color: var(--ink); text-align: left; }

/* Plugins */
.plugins-band { position: relative; padding: 96px 0; background: var(--indigo); color: var(--white); overflow: hidden; }
.plugins-band h2 { color: var(--white); margin-bottom: 18px; }
.plugins-band .section-lede { margin: 0 0 36px; color: #d6d8f0; }
.plugin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plugin-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 20px 40px -28px rgba(20, 18, 58, 0.35); transition: transform 0.25s ease; scroll-margin-top: 96px; }
.plugins-band .plugin-card { background: var(--indigo-soft); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.plugins-band .plugin-card p { color: #c6c8e6; }
.plugins-band .plugin-card .feature-icon { background: color-mix(in srgb, var(--tone) 22%, var(--indigo-soft)); color: color-mix(in srgb, var(--tone) 60%, white); }
a.plugin-card:hover { transform: translateY(-4px); }
.plugin-card h2, .plugin-card h3 { font-size: 20px; font-weight: 800; margin: 6px 0 0; }
.plugin-card p { color: var(--muted); }
.plugin-card ul { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.plugin-card li { display: flex; gap: 10px; font-size: 15px; color: #454c63; }
.plugin-card li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--tone); }
.plugin-card:target { box-shadow: 0 0 0 2px var(--violet), 0 20px 40px -28px rgba(20, 18, 58, 0.35); }
@media (max-width: 980px) { .plugin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plugin-grid { grid-template-columns: 1fr; } }
.hero-copy .crumbs { margin-bottom: 18px; }

/* Technologies */
.tech { margin-top: 64px; padding: 36px; border-radius: 28px; background: var(--white); box-shadow: 0 20px 40px -28px rgba(20, 18, 58, 0.35); }
.tech-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.tech-note { color: var(--muted); margin-bottom: 28px; max-width: 44em; }
.tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.tech-group h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.tech-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-group li { padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: #3a4158; }
.tech-group:nth-child(4n+1) h3 { color: var(--blue-deep); }
.tech-group:nth-child(4n+2) h3 { color: var(--violet); }
.tech-group:nth-child(4n+3) h3 { color: var(--coral); }
.tech-group:nth-child(4n+4) h3 { color: var(--mint-deep); }
@media (max-width: 1040px) { .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tech { padding: 24px 20px; } .tech-grid { grid-template-columns: 1fr; } }

/* AFA North compass mark replaces the plain gradient square. */
.logo-mark { background: url(/afa-mark.svg) center / contain no-repeat; border-radius: 0; width: 26px; height: 26px; }
.foot-brand .logo-mark { width: 24px; height: 24px; }

/* Log in link and portal chooser */
.top-login { font-weight: 700 !important; color: var(--ink) !important; }
.login-hero .page-hero-inner { padding-bottom: 96px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.portal-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 20px 40px -28px rgba(20, 18, 58, 0.35); transition: transform 0.25s ease, box-shadow 0.25s ease; --tone: var(--violet); }
.portal-card:nth-child(1) { --tone: var(--blue); }
.portal-card:nth-child(3) { --tone: var(--coral); }
.portal-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--tone), 0 26px 50px -28px rgba(20, 18, 58, 0.5); }
.portal-card h2 { font-size: 22px; font-weight: 800; margin: 6px 0 0; }
.portal-card p { color: var(--muted); flex: 1; }
.login-help { margin-top: 28px; color: var(--muted); }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .top-nav .top-login { display: inline !important; } }

/* Plugin scenes (hero animations). Elements with data-at stay hidden until .is-on; data-keep ones are always
   visible and use .is-on for a state change instead. */
.scene { position: relative; width: min(460px, 100%); justify-self: end; background: var(--white); border-radius: 26px; box-shadow: 0 2px 0 var(--line), 0 40px 80px -30px rgba(20, 18, 58, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.45); overflow: hidden; color: var(--ink); font-size: 15px; }
.scene-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.scene-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe7; }
.scene-bar i:first-child { background: var(--coral); } .scene-bar i:nth-child(2) { background: var(--yellow); } .scene-bar i:nth-child(3) { background: var(--mint); }
.scene-bar span { margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.scene-body { position: relative; display: grid; gap: 12px; padding: 20px; min-height: 330px; align-content: start; }
.scene [data-at]:not([data-keep]) { opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1); }
.scene [data-at]:not([data-keep]).is-on, .scene:not(.is-playing) [data-at]:not([data-keep]):not([data-off]) { opacity: 1; transform: none; }
.scene [data-off]:not([data-keep]):not(.is-on) { position: absolute; visibility: hidden; }
.s-note { font-size: 13px; color: var(--muted); }
.s-note b { color: var(--ink); }
.s-toast { padding: 10px 14px; border-radius: 12px; background: var(--indigo); color: var(--white); font-size: 14px; font-weight: 600; box-shadow: 0 12px 24px -14px rgba(20, 18, 58, 0.7); }
.s-good { background: linear-gradient(135deg, var(--mint), #1fbf88); }
.s-warn { background: var(--yellow); color: var(--ink); }
.s-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 12px; background: linear-gradient(110deg, var(--blue), var(--violet)); color: var(--white); font-weight: 700; }
.s-busy { background: #8a90a6; }
.s-done { background: linear-gradient(135deg, var(--mint), #1fbf88); }
.s-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: s-spin 0.8s linear infinite; }
.s-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.s-big { padding: 14px; font-size: 16px; }
.s-total { background: none; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 2px 0; font-size: 17px; }
.s-strike { transition: color 0.3s ease; }
.s-strike.is-on { text-decoration: line-through; color: var(--muted); }
.s-green { color: var(--mint-deep); }

.s-order { padding: 12px 14px; border-radius: 12px; background: var(--paper); font-weight: 600; }
.s-track { display: grid; grid-template-columns: 96px auto auto 1fr; align-items: center; gap: 8px; }
.s-plat { font-weight: 800; font-size: 14px; color: var(--c); }
.s-src { padding: 3px 9px; border-radius: 999px; background: var(--bubble-in); font-size: 12px; font-weight: 600; }
.s-ok { justify-self: end; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--mint) 18%, white); color: var(--mint-deep); font-size: 12px; font-weight: 700; }

.s-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; line-height: 1.4; min-height: 42px; }
.s-me { justify-self: end; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); border-bottom-right-radius: 6px; }
.s-ai { background: var(--bubble-in); border-bottom-left-radius: 6px; }
.s-dots { display: inline-flex; gap: 5px; padding: 13px 16px; border-radius: 18px; background: var(--bubble-in); justify-self: start; }
.s-dots i { width: 7px; height: 7px; border-radius: 50%; background: #9aa1b8; animation: typing 1.1s ease-in-out infinite; }
.s-dots i:nth-child(2) { animation-delay: 0.15s; } .s-dots i:nth-child(3) { animation-delay: 0.3s; }
.s-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; padding: 0 4px; }
.s-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--violet), var(--blue)); transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.s-bars.is-on i { transform: scaleY(1); }
.s-bars.is-on i:nth-child(2) { transition-delay: 0.06s; } .s-bars.is-on i:nth-child(3) { transition-delay: 0.12s; } .s-bars.is-on i:nth-child(4) { transition-delay: 0.18s; }
.s-bars.is-on i:nth-child(5) { transition-delay: 0.24s; } .s-bars.is-on i:nth-child(6) { transition-delay: 0.3s; } .s-bars.is-on i:nth-child(7) { transition-delay: 0.36s; }

.s-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-stats-3 { grid-template-columns: repeat(3, 1fr); }
.s-stat { padding: 12px; border-radius: 14px; background: var(--paper); }
.s-stat span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.s-stat b { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.s-spark { width: 100%; height: 70px; }
.s-spark path { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s ease; vector-effect: non-scaling-stroke; }
.s-spark.is-on path { stroke-dashoffset: 0; }

.s-product { display: flex; gap: 14px; align-items: center; }
.s-thumb { width: 74px; height: 74px; border-radius: 16px; background: linear-gradient(135deg, #e9e1d4, #c9a77c); flex: none; }
.s-name { font-weight: 800; font-size: 17px; }
.s-price { margin-top: 4px; font-size: 16px; }
.s-price b { color: var(--coral); }
.s-badge { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: var(--white); font-weight: 800; font-size: 13px; }
.s-count { padding: 10px 12px; border-radius: 12px; background: var(--indigo); color: #d6d8f0; font-size: 14px; }
.s-count b { color: var(--yellow); font-variant-numeric: tabular-nums; }
.s-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-tiers span { padding: 10px 6px; border-radius: 12px; text-align: center; font-size: 12px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }
.s-tiers-2 { grid-template-columns: 1fr 1fr; }
.s-tier-tag { transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.s-tier-tag.is-on { background: color-mix(in srgb, var(--violet) 14%, white); color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--violet) !important; }

.s-meter { position: relative; height: 12px; margin: 10px 4px 4px; border-radius: 12px; background: var(--bubble-in); }
.s-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--yellow)); transition: width 0.8s cubic-bezier(0.2, 0.7, 0.3, 1); }
.s-fill.is-on { width: var(--w); }
.s-tier { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--line); transition: box-shadow 0.3s ease, background 0.3s ease; }
.s-tier.is-on { background: var(--yellow); box-shadow: inset 0 0 0 3px var(--white), 0 0 0 2px var(--yellow); }

.s-link { padding: 10px 12px; border-radius: 12px; background: var(--paper); font-family: ui-monospace, monospace; font-size: 13px; }
.s-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.s-board li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: var(--paper); font-size: 14px; }
.s-board li:first-child { background: color-mix(in srgb, var(--yellow) 25%, white); font-weight: 700; }

.s-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.s-card { padding: 14px; border-radius: 16px; background: var(--paper); text-align: center; }
.s-card p { font-size: 13px; font-weight: 700; min-height: 36px; }
.s-card b { display: block; font-size: 34px; font-weight: 900; letter-spacing: -0.03em; }
.s-card span { font-size: 12px; color: var(--muted); }
.s-chain { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--muted); transition: background 0.3s ease, color 0.3s ease; }
.s-chain svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.s-chain.is-on { background: var(--violet); color: var(--white); animation: s-pulse 1.2s ease-out 2; }

.s-pay { display: flex; justify-content: space-between; padding: 13px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; transition: box-shadow 0.3s ease, background 0.3s ease; }
.s-pay.is-on { background: color-mix(in srgb, var(--blue) 8%, white); box-shadow: inset 0 0 0 2px var(--blue); }
.s-pay em { font-style: normal; font-size: 13px; color: var(--muted); }
.s-save { color: var(--mint-deep) !important; font-weight: 800; }

.s-field { display: grid; gap: 4px; }
.s-field span { font-size: 12px; font-weight: 700; color: var(--muted); }
.s-field b { display: block; min-height: 42px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; }
.s-fields { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; gap: 10px; }
.s-suggest { list-style: none; margin: -6px 0 0; padding: 6px; border-radius: 12px; background: var(--white); box-shadow: 0 16px 30px -16px rgba(20, 18, 58, 0.5), 0 0 0 1px var(--line); }
.s-suggest li { padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.s-suggest li.is-on { background: color-mix(in srgb, var(--blue) 12%, white); color: var(--blue-deep); font-weight: 600; }

/* Plugin page hero */
.plugin-hero .hero-inner { padding: 64px 0 88px; }
.plugin-hero h1 { font-size: clamp(42px, 5.4vw, 72px); max-width: 14ch; }
.plugin-hero .feature-icon { margin-bottom: 18px; }
.plugin-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.plugin-points li { display: flex; gap: 12px; color: #3a4158; }
.plugin-points li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--tone); }
@media (max-width: 940px) { .scene { justify-self: center; } }

@keyframes s-spin { to { transform: rotate(360deg); } }
@keyframes s-pulse { 0% { box-shadow: 0 0 0 0 rgba(122, 92, 255, 0.5); } 100% { box-shadow: 0 0 0 14px rgba(122, 92, 255, 0); } }
.portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }
.s-field em { font-style: normal; }
.scene [data-off]:not([data-keep]):not(.is-on) { display: none; }
.logo, .top-login, .top-nav .button-small { white-space: nowrap; }
@media (max-width: 480px) {
    .top-inner { gap: 10px; }
    .top-nav { gap: 14px; }
    .logo { font-size: 18px; gap: 8px; }
    .top-nav .button-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
}
.plugin-hero + .related { padding-top: 96px; }
.cost-note { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--yellow) 18%, white); color: #5c4a10; font-size: 13px; font-weight: 600; line-height: 1.45; }
.plugins-band .cost-note { background: rgba(255, 201, 60, 0.14); color: #ffe4a0; }
.plugin-card .cost-note { margin-top: 2px; }
.plugins-band .plugin-card .cost-note { color: #ffe4a0; }

/* Contact thank-you, in the brand look */
.contact-done { position: relative; display: grid; justify-items: start; gap: 14px; padding: 36px; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(20, 18, 58, 0.6); animation: pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); overflow: hidden; }
.contact-done::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--brand-gradient); }
.contact-done .done-mark { width: 64px; height: 64px; animation: done-spin 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both; filter: drop-shadow(0 10px 18px rgba(122, 92, 255, 0.45)); }
.contact-done h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.contact-done > p { color: var(--muted); margin: 0; }
.done-steps { list-style: none; counter-reset: step; margin: 4px 0 6px; padding: 0; display: grid; gap: 10px; width: 100%; }
.done-steps li { counter-increment: step; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 15px; color: #3a4158; }
.done-steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-gradient); color: var(--white); font-weight: 800; font-size: 14px; }
.done-steps b { color: var(--ink); }
@keyframes done-spin { from { transform: rotate(-200deg) scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
