/* ============================================================
   /go/cake/ : campaign landing page
   Self-contained. Loads nothing from /assets/css/.

   Look: street. Heavy Montserrat (800/900) instead of the site's
   light 300, hard offset shadows with no blur, thick black rules,
   slight rotations, a scrolling ticker. One accent only: a light
   lime, used as paint-brush underlines, highlights and fills.

   Lime rule: it is a background colour, never a text colour on
   paper. Lime type on white is unreadable. Black on lime is not.
   ============================================================ */

:root {
    --ink: #0b0b0c;
    --paper: #f4f3ef;
    --white: #ffffff;
    --body: #4a4945;
    --dim: #9a9ca4;
    --lime: #c7f94a;
    --lime-d: #a9dd23;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    /* Rough marker strokes, drawn as SVG so the edges stay uneven at any width */
    --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M2 15c22-7 46 4 70-2 25-6 50 6 76 0 24-6 48 5 72-1 18-4 32 2 42-3l-4 12c-12 6-26 0-42 4-26 7-52-4-76 2-24 6-50-5-74 1-22 6-42-3-62 3z' fill='%23c7f94a'/%3E%3C/svg%3E");
    --marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 44' preserveAspectRatio='none'%3E%3Cpath d='M2 7c40-5 90 3 130-1 25-2.5 45 2 66-2l0 36c-21 4-43-1-67 1.5-40 4-89-3-129 1z' fill='%23c7f94a'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }

body {
    background: var(--ink);
    color: var(--white);
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 500;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; }

/* ---- Marker treatments ---- */
.brush { position: relative; display: inline-block; }
.brush::after {
    /* a pseudo-element rather than a background, so the stroke can sit slightly
       off-axis. A perfectly level stroke reads as a rule, not as a brush. */
    content: ''; position: absolute; left: -3%; right: -3%; bottom: -0.02em;
    height: 0.3em;
    background: var(--brush) no-repeat center / 100% 100%;
    transform: rotate(-0.8deg);
    pointer-events: none;
}
.hl {
    background-image: var(--marker);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 104% 108%;
    color: var(--ink);
    padding: 0.04em 0.24em 0.1em;
    margin: 0 -0.06em;
}

/* ---- Bar ---- */
.bar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px clamp(18px, 5vw, 52px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 21px; width: auto; }
.brand b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.03em; }
.bar-cta {
    font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 10px 18px; border-radius: 999px;
    background: var(--lime); color: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--white);
    transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.bar-cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--white); }

/* ---- 1. Hero ---- */
.hero {
    padding: clamp(120px, 20vh, 190px) clamp(18px, 5vw, 52px) clamp(64px, 10vh, 104px);
    text-align: center;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -18%; left: 50%; transform: translateX(-50%);
    width: min(900px, 130%); aspect-ratio: 1;
    background: radial-gradient(circle closest-side, rgba(199, 249, 74, 0.13), transparent 72%);
    pointer-events: none;
}
.hero .wrap { position: relative; }

.sticker {
    display: inline-block; transform: rotate(-2deg);
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink); background: var(--lime);
    padding: 8px 16px; border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(26px, 4vh, 40px);
}

h1 {
    font-weight: 900;
    font-size: clamp(calc(2.6rem + 2px), 9vw, 6.2rem);
    line-height: 0.94; letter-spacing: -0.045em;
    text-transform: none;
}
h1 .brush::after { height: 0.24em; bottom: 0.01em; transform: rotate(-0.5deg); }

.deck {
    margin: clamp(24px, 4vh, 36px) auto 0; max-width: 30ch;
    font-size: clamp(1.15rem, 2.6vw, 1.75rem); font-weight: 700;
    line-height: 1.22; letter-spacing: -0.025em; color: var(--white);
}
.lede {
    margin: clamp(18px, 3vh, 26px) auto 0; max-width: 54ch;
    font-size: clamp(0.98rem, 1.25vw, 1.08rem); font-weight: 500;
    line-height: 1.68; color: #b7b9c0;
}

/* ---- Button ---- */
.btn {
    display: inline-block; margin-top: clamp(30px, 5vh, 44px);
    padding: 19px 34px;
    background: var(--lime); color: var(--ink);
    border: 3px solid var(--ink);
    font-size: clamp(0.95rem, 1.3vw, 1.05rem); font-weight: 800; letter-spacing: -0.01em;
    box-shadow: 7px 7px 0 var(--white);
    transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.2s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--white); background: var(--lime-d); }
.btn:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--white); }
.btn--sm { padding: 13px 22px; font-size: 0.88rem; box-shadow: 5px 5px 0 var(--ink); }
.btn--sm:hover { box-shadow: 7px 7px 0 var(--ink); }

/* ---- Ticker ---- */
.ticker {
    background: var(--lime); color: var(--ink);
    border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
    overflow: hidden; padding: 12px 0;
}
.ticker-run { display: flex; width: max-content; animation: run 34s linear infinite; }
.ticker-run span {
    display: block; padding-right: 1.5rem; white-space: nowrap;
    font-size: 0.9rem; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase;
}
@keyframes run { to { transform: translateX(-50%); } }

/* ---- 2. Problem ---- */
.problem {
    background: var(--paper); color: var(--ink);
    padding: clamp(64px, 11vh, 120px) clamp(18px, 5vw, 52px);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.card {
    background: var(--white); border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 var(--lime);
    padding: clamp(24px, 3vw, 34px);
}
.card:nth-child(1) { transform: rotate(-1deg); }
.card:nth-child(2) { transform: rotate(0.6deg); }
.card:nth-child(3) { transform: rotate(-0.5deg); }
.card-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
    color: var(--ink); background: var(--lime); padding: 4px 9px; border: 2px solid var(--ink);
    margin-bottom: 18px;
}
.card h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.card p { font-size: 0.97rem; font-weight: 500; line-height: 1.62; color: var(--body); }

.poison {
    margin-top: clamp(38px, 6vh, 60px); text-align: center;
    font-size: clamp(1.15rem, 2.5vw, 1.7rem); font-weight: 800;
    letter-spacing: -0.025em; line-height: 1.4; color: var(--ink);
}

/* ---- 3. How it works ---- */
.how { padding: clamp(70px, 12vh, 130px) clamp(18px, 5vw, 52px); }
.sec-title {
    font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 900;
    line-height: 0.98; letter-spacing: -0.04em; text-align: center;
}
.steps { list-style: none; margin-top: clamp(40px, 7vh, 66px); display: grid; gap: 0; }
.steps li {
    display: grid; grid-template-columns: clamp(74px, 9vw, 116px) 1fr;
    gap: clamp(16px, 3vw, 34px); align-items: start;
    padding: clamp(26px, 4vh, 40px) 0;
    border-top: 2px solid rgba(255, 255, 255, 0.14);
}
.steps li:last-child { border-bottom: 2px solid rgba(255, 255, 255, 0.14); }
.step-n {
    font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 900; line-height: 0.86;
    letter-spacing: -0.05em; color: transparent;
    -webkit-text-stroke: 2px var(--lime);
    font-variant-numeric: tabular-nums;
}
/* Firefox has no text-stroke: fall back to solid lime rather than invisible type */
@supports not (-webkit-text-stroke: 1px red) {
    .step-n { color: var(--lime); }
}
.steps h3 { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 10px; }
.steps p { font-size: clamp(0.97rem, 1.2vw, 1.05rem); font-weight: 500; line-height: 1.66; color: #b7b9c0; max-width: 48ch; }

/* ---- 4. Why this isn't another app ---- */
.why {
    background: var(--lime); color: var(--ink);
    border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
    padding: clamp(64px, 11vh, 118px) clamp(18px, 5vw, 52px);
}
.why h2 {
    font-size: clamp(1.7rem, 4.4vw, 2.9rem); font-weight: 900;
    line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch;
}
.why p {
    margin-top: clamp(20px, 3vh, 30px); max-width: 52ch;
    font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 600; line-height: 1.6;
}

/* ---- 5. Form ---- */
.fit {
    background: var(--paper); color: var(--ink);
    padding: clamp(66px, 11vh, 120px) clamp(18px, 5vw, 52px) clamp(74px, 12vh, 130px);
}
.fit .sec-title { color: var(--ink); }
.fit-sub {
    margin: 18px auto 0; text-align: center; max-width: 40ch;
    font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 600; color: var(--body);
}
.form-box {
    margin: clamp(34px, 5vh, 50px) auto 0; max-width: 580px;
    background: var(--white); border: 3px solid var(--ink);
    box-shadow: 10px 10px 0 var(--lime);
    padding: clamp(22px, 3.4vw, 38px);
}
/* The embed styles itself. Keep the shell neutral so nothing fights it. */
.form-box [data-omnio-form] { width: 100%; }
.form-fallback { text-align: center; }
.form-fallback p { font-size: 0.97rem; font-weight: 600; color: var(--body); margin-bottom: 16px; }

/* ---- Footer ---- */
.foot-bar {
    padding: 26px clamp(18px, 5vw, 52px);
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    font-size: 0.78rem; font-weight: 600; color: #75777f;
}
.foot-bar a:hover { color: var(--lime); }

/* ---- Reveal ---- */
.r { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.r.in { opacity: 1; transform: none; }
/* the cards keep their tilt while revealing, or they snap straight on landing */
.card.r { transform: translateY(22px) rotate(0deg); }
.card.r.in:nth-child(1) { transform: rotate(-1deg); }
.card.r.in:nth-child(2) { transform: rotate(0.6deg); }
.card.r.in:nth-child(3) { transform: rotate(-0.5deg); }
.cards .r:nth-child(2) { transition-delay: 0.08s; }
.cards .r:nth-child(3) { transition-delay: 0.16s; }
.steps .r:nth-child(2) { transition-delay: 0.07s; }
.steps .r:nth-child(3) { transition-delay: 0.14s; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
    .cards { grid-template-columns: 1fr; }
    .card, .card.r.in:nth-child(1), .card.r.in:nth-child(2), .card.r.in:nth-child(3) { transform: none; }
    .cards .r, .steps .r { transition-delay: 0s; }
}

@media (max-width: 560px) {
    .bar { padding: 16px 18px; }
    .bar-cta { font-size: 0.68rem; padding: 9px 14px; }
    h1 { letter-spacing: -0.035em; }
    .btn { display: block; box-shadow: 5px 5px 0 var(--white); }
    .btn:hover { box-shadow: 7px 7px 0 var(--white); }
    .steps li { grid-template-columns: 1fr; gap: 6px; }
    .step-n { -webkit-text-stroke-width: 1.5px; }
    .card { box-shadow: 6px 6px 0 var(--lime); }
    .form-box { box-shadow: 6px 6px 0 var(--lime); }
}

@media (prefers-reduced-motion: reduce) {
    .r { opacity: 1; transform: none; }
    .card.r, .card.r.in:nth-child(1) { transform: rotate(-1deg); }
    .card.r.in:nth-child(2) { transform: rotate(0.6deg); }
    .card.r.in:nth-child(3) { transform: rotate(-0.5deg); }
    .ticker-run { animation: none; }
    .btn:hover, .bar-cta:hover { transform: none; }
}
