/* trytokenova.com
   Colours, sizes and spacing come from tokens.css (copied from learn_git at build time).
   This file adds the main site's own tokens, layout and motion. Never hard-code a colour here.
   Motion rules: only transform and opacity move; every page is complete without JavaScript;
   tokens.css switches all animation off under prefers-reduced-motion. */
:root {
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: var(--font-display);
  --eyebrow: var(--signal);                 /* small labels and check marks */
  --headline-gradient: var(--brand-gradient);
  --glow-1: color-mix(in srgb, var(--accent) 34%, transparent);
  --glow-2: color-mix(in srgb, var(--l-main) 22%, transparent);
  --grid-line: color-mix(in srgb, var(--ink) 5%, transparent);
  --header-bg: color-mix(in srgb, var(--paper) 86%, transparent);
  --line-1: var(--l-main);                  /* the three "lines of work", as on Learn's transit map */
  --line-2: var(--l-feature);
  --line-3: var(--signal);
  --pipe-core: var(--panel);
  --field-bg: var(--panel-2);
  --r-lg: 14px;
  --r-xl: 20px;
}
/* Mint and the full brand gradient are too pale on the light ground, so light uses purple and deep teal. */
:root[data-theme="light"] {
  --eyebrow: var(--accent-text);
  --headline-gradient: linear-gradient(90deg, var(--accent-text), var(--l-main));
  --glow-1: color-mix(in srgb, var(--accent) 14%, transparent);
  --glow-2: color-mix(in srgb, var(--l-main) 12%, transparent);
  --grid-line: color-mix(in srgb, var(--ink) 7%, transparent);
  --line-3: color-mix(in srgb, var(--signal) 55%, var(--ink));
  --pipe-core: var(--signal-ink);
  --field-bg: var(--panel);
}

/* Type grows gently with the screen: 16 px on a phone, about 17 px on a laptop or a 1080p monitor,
   18 px at 2560 px, never above 19 px. Every size in rem follows; nothing is zoomed. */
html { font-size: clamp(100%, 0.9rem + 0.15vw, 118.75%); scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
/* One centred column of up to 80rem (about 1300 px on a laptop, 1500 px on the largest monitors).
   Backgrounds run edge to edge; text lines are kept short by their own max-width. */
.wrap { max-width: calc(80rem + 80px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.icon { flex: none; }

.skip { position: absolute; left: 8px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: var(--r-sm);
        background: var(--signal); color: var(--signal-ink); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------------------------------------------------------------- small parts */
.eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); }
.lead { color: var(--ink-2); font-size: var(--fs-lg); max-width: 58ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
       border: 1px solid transparent; border-radius: 12px; background: var(--accent); color: var(--accent-ink);
       font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: filter 0.15s, background-color 0.15s; }
.btn:hover { filter: brightness(1.1); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--panel-2); filter: none; }
.btn-small { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: var(--fs-sm); }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.well { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
        border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.well-big { width: 56px; height: 56px; border-radius: 16px; }
.well-big .icon { width: 28px; height: 28px; }

.checks { display: grid; gap: var(--sp-2); }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 6px; top: 0.32em; width: 6px; height: 11px;
                     border: solid var(--eyebrow); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chips li { padding: 4px 12px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill);
            color: var(--ink-2); font-size: var(--fs-sm); }

.social { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink-2); text-decoration: none; }
.social .icon { width: 18px; height: 18px; }
.social:hover { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--sp-5); color: var(--muted); font-size: var(--fs-sm); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 24px; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--rule);
               -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-row { position: relative; display: flex; align-items: center; gap: var(--sp-3); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
         font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; }
/* The logo is drawn for a dark ground: on light, it sits on a dark tile. */
[data-theme="light"] .brand img { padding: 4px; border-radius: 8px; background: var(--signal-ink); }
.site-nav { display: flex; align-items: center; gap: var(--sp-4); margin-left: auto; }
.site-nav ul { display: flex; gap: var(--sp-1); }
.site-nav ul a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill);
                 color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--ink); background: var(--panel-2); }
.icon-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
            border: 1px solid var(--rule-strong); border-radius: var(--r-pill); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--panel-2); }
.icon-btn .icon { width: 20px; height: 20px; }
/* The buttons need site.js, so they only show when scripts run (the "js" class is set in the page head). */
.js .theme-btn { display: inline-flex; }
.theme-btn .icon + .icon { display: none; }
[data-theme="light"] .theme-btn .icon:first-child { display: none; }
[data-theme="light"] .theme-btn .icon + .icon { display: block; }

@media (max-width: 940px) {
  .header-row { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; margin-left: 0; padding-bottom: var(--sp-3); }
  .site-nav ul { flex-wrap: wrap; }
  .theme-btn { order: 1; margin-left: auto; }
  .js .menu-btn { display: inline-flex; order: 2; }
  .js .site-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column;
                  align-items: stretch; padding: var(--sp-3) max(16px, 4vw) var(--sp-5); background: var(--paper);
                  border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-1); }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { min-height: 44px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; padding-block: clamp(48px, 8vw, 104px) clamp(48px, 7vw, 96px); }
/* The brand's grid, fading out downwards, with two soft glows. */
.hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
                /* The glows are placed from the centre, so they stay beside the content on any screen width. */
                background: radial-gradient(40rem 28rem at calc(50% + 26rem) 36%, var(--glow-1), transparent 70%),
                            radial-gradient(34rem 24rem at calc(50% - 34rem) 4%, var(--glow-2), transparent 70%),
                            linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
                            linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
                -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
                mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--sp-8); align-items: center; }
.hero h1 { margin-block: var(--sp-4) var(--sp-5); font-size: clamp(2.1rem, 3.3vw, 2.75rem); font-weight: 800;
           line-height: 1.06; letter-spacing: -0.035em; }
.hero h1 em { display: block; font-style: normal; background: var(--headline-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .actions { margin-top: var(--sp-6); }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6); font-size: var(--fs-sm); }
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
.page-head .well-big { margin-bottom: var(--sp-2); }

.hero-art { display: grid; gap: var(--sp-4); justify-items: center; }
/* A question being typed. Example questions only; no made-up answers. */
.ask { display: grid; gap: 6px; width: 100%; max-width: 28rem; }
.ask-label { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ask-box { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; overflow: hidden;
           border: 1px solid var(--rule-strong); border-radius: var(--r-pill); background: var(--panel);
           box-shadow: var(--shadow-1); color: var(--ink); font-size: var(--fs-sm); white-space: nowrap; }
.ask-box .icon { width: 18px; height: 18px; color: var(--accent-text); }
.ask-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ask-caret { flex: none; width: 2px; height: 1.15em; margin-left: -6px; background: var(--eyebrow); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* "AI in Action": three lines of work run through Tokenova. */
.pipeline { width: 100%; max-width: 28rem; height: auto; overflow: visible; }
.pipe-line { fill: none; stroke-width: 2; stroke-linecap: round; opacity: 0.6; }
.pipe-a { stroke: var(--line-1); color: var(--line-1); }
.pipe-b { stroke: var(--line-2); color: var(--line-2); }
.pipe-c { stroke: var(--line-3); color: var(--line-3); }
.pipe-dot { stroke: none; fill: currentColor; filter: drop-shadow(0 0 5px currentColor); }
.pipe-pill { fill: var(--panel); stroke: var(--rule-strong); }
.pipe-text { fill: var(--ink); font: 600 14px var(--font-body); text-anchor: middle; dominant-baseline: central; }
.pipe-cap { fill: var(--muted); font: 700 10.5px var(--font-body); letter-spacing: 0.14em; text-anchor: middle; }
.pipe-core { fill: var(--pipe-core); stroke: url(#pipe-ring); stroke-width: 2.5; }
.pipe-pulse { fill: none; stroke: var(--line-2); stroke-width: 2; transform-box: fill-box; transform-origin: center;
              animation: pulse 2.6s ease-out infinite; }
.pipe-stop-1 { stop-color: var(--l-feature); }
.pipe-stop-2 { stop-color: var(--l-main); }
.pipe-stop-3 { stop-color: var(--signal); }
@keyframes pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.45); opacity: 0; } }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-top: var(--sp-6); }
.section-alt { background: var(--panel-2); border-block: 1px solid var(--rule); }
/* The horizon glow from the brand banners. */
.section-glow { position: relative; isolation: isolate; overflow: hidden; }
.section-glow::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 70%; pointer-events: none;
                       background: radial-gradient(ellipse 60% 100% at 50% 100%, var(--glow-1), transparent 72%);
                       animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: 0.55; } to { opacity: 1; } }
/* Title on the left, its introduction on the right, so a section's opening spans the page. */
.section-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-8); margin-bottom: var(--sp-7); }
.section-head > * { grid-column: 1; }
.section-head p:not(.eyebrow) { grid-column: 2; grid-row: 1 / span 2; align-self: end; max-width: 56ch; padding-bottom: var(--sp-3); }
.faq-grid .section-head { display: block; }
.section-head h2, .cta h2, .learn h2 { margin-block: var(--sp-3); font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: var(--fs-lg); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }  /* six cards: 3 + 3 */
.card { position: relative; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5);
        border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--panel);
        transition: border-color 0.2s, transform 0.2s; }
.card:hover, .card:focus-within { border-color: var(--accent-text); transform: translateY(-3px); }
/* A soft light that follows the pointer (site.js sets --mx and --my). */
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
                transition: opacity 0.25s;
                background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent-text) 16%, transparent), transparent 70%); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: var(--fs-xl); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* the whole card is the link */
.card p { color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--sp-2);
        color: var(--accent-text); font-size: var(--fs-sm); font-weight: 600; }
.more .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.card:hover .more .icon { transform: translateX(3px); }

/* Tokenova Learn: the course's own commit graph. */
.learn { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--sp-8); align-items: center; }
.learn .chips { margin-block: var(--sp-5); }
.learn-card { padding: var(--sp-5); border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-1); }
.graph { display: block; width: 100%; height: auto; margin-bottom: var(--sp-4); }
.graph-line { fill: none; stroke-width: 6; stroke-linecap: round; }
.graph-main { stroke: var(--line-1); }
.graph-feature { stroke: var(--line-2); }
.graph-stop { fill: var(--panel); stroke-width: 4; }
.graph-head { fill: var(--signal); stroke: var(--signal-ink); stroke-width: 2; }
.graph-label { fill: var(--muted); font: 700 11px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.tool-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.tool-links a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule-strong);
                border-radius: 10px; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.tool-links a:hover { border-color: var(--accent-text); background: var(--panel-2); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
.values h3 { margin-block: var(--sp-3) var(--sp-1); font-size: var(--fs-lg); }
.values p { color: var(--ink-2); }

/* The process: one line, four stations. */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
.steps::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--brand-gradient);
                 transform-origin: left; transition: transform 1.4s ease; }
.steps li { padding-top: var(--sp-4); border-top: 2px solid var(--rule-strong); }
.step-n { color: var(--eyebrow); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.1em; }
.steps h3 { margin-block: var(--sp-2); font-size: var(--fs-xl); }
.steps p { color: var(--ink-2); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-7); }
.faq-grid .section-head { margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq details:first-child { border-top: 1px solid var(--rule-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: 18px;
               font-size: var(--fs-lg); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--eyebrow); font-size: 1.6rem; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--sp-5); color: var(--ink-2); max-width: 62ch; }

.cta { padding: clamp(24px, 5vw, 56px); border: 1.5px solid transparent; border-radius: var(--r-xl);
       background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, var(--brand-gradient) border-box; }
.cta .actions { margin-top: var(--sp-5); }

/* ---------------------------------------------------------------- service pages */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--sp-7); align-items: start; }
.split h2 { margin-bottom: var(--sp-4); font-size: var(--fs-xl); }
.panel { padding: var(--sp-5) var(--sp-6); border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--panel); }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--sp-3); }
.link-cards a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rule);
                border-radius: var(--r-lg); background: var(--panel); color: var(--ink); font-weight: 600; text-decoration: none;
                transition: border-color 0.2s; }
.link-cards a:hover { border-color: var(--accent-text); }
.link-cards a > .icon { width: 18px; height: 18px; margin-left: auto; color: var(--accent-text); transition: transform 0.2s; }
.link-cards a:hover > .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); align-items: start; }
.contact-title { margin-block: var(--sp-3) var(--sp-4); font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800;
                 line-height: 1.1; letter-spacing: -0.03em; }
.mini-title { margin-block: var(--sp-6) var(--sp-3); color: var(--muted); font-size: var(--fs-xs); font-weight: 700;
              letter-spacing: 0.12em; text-transform: uppercase; }
.next { display: grid; gap: var(--sp-3); counter-reset: next; }
.next li { position: relative; padding-left: 44px; counter-increment: next; }
.next li::before { content: counter(next); position: absolute; left: 0; top: 0; display: grid; place-items: center;
                   width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text);
                   font-size: var(--fs-sm); font-weight: 700; }
.next b { display: block; }
.next span { color: var(--ink-2); }
.contact-direct { margin-top: var(--sp-4); color: var(--ink-2); }
.contact-direct > a:not(.social) { color: var(--accent-text); font-weight: 600; }

.form { display: grid; gap: var(--sp-4); padding: clamp(20px, 3vw, 32px); border: 1.5px solid transparent; border-radius: var(--r-xl);
        background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--brand-gradient) border-box; box-shadow: var(--shadow-1); }
.form-title { font-size: var(--fs-xl); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-strong);
                                      border-radius: 10px; background: var(--field-bg); color: var(--ink); font: inherit; }
.field textarea { min-height: 132px; resize: vertical; }
.field :is(input, select, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
/* The spam trap: people never see or reach this field, so only a robot fills it in. */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--bad); }
.form-note { color: var(--muted); font-size: var(--fs-sm); }
.form-note a { color: var(--ink-2); }

/* Links inside a sentence get a taller tap area (24 px or more) without moving the text. */
.contact-direct > a:not(.social), .form-note a, .prose a { display: inline-block; padding-block: 4px; }

.prose { max-width: 760px; }
.prose h2 { margin-block: var(--sp-6) var(--sp-2); font-size: var(--fs-xl); }
.prose p { margin-bottom: var(--sp-3); color: var(--ink-2); }
.prose-note { color: var(--muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; background: var(--panel-2); color: var(--ink-2); font-size: var(--fs-sm); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--brand-gradient); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr) minmax(0, 1fr);
             gap: var(--sp-6) var(--sp-5); padding-block: var(--sp-7) var(--sp-6); }
.foot-grid-4 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr); }  /* with the Learn column */
.foot-brand { display: grid; gap: var(--sp-3); justify-items: start; align-content: start; }
.foot-brand p:not(.eyebrow) { max-width: 36ch; }
.foot-contact { display: grid; justify-items: start; }
.foot-label { margin-bottom: var(--sp-2); color: var(--muted); font-size: var(--fs-xs); font-weight: 700;
              letter-spacing: 0.12em; text-transform: uppercase; }
.foot-col ul { display: grid; gap: var(--sp-1); }
.foot-col a { display: inline-flex; align-items: center; min-height: 28px; color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; }
.foot-base { padding-bottom: var(--sp-5); color: var(--muted); }
.foot-base p { padding-top: var(--sp-4); border-top: 1px solid var(--rule); }

/* A "Start your project" bar on phones, once the hero has scrolled away (site.js adds "show"). */
.sticky-cta { display: none; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  /* site.js adds "anim" to <html>, and "in" to each part as it scrolls into view. */
  .anim .reveal { transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--i, 0) * 70ms); }
  .anim .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
  .anim .steps.reveal:not(.in) { opacity: 1; transform: none; }
  .anim .steps.reveal:not(.in)::before { transform: scaleX(0); }
  .anim .steps.reveal li { transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--i, 0) * 160ms + 200ms); }
  .anim .steps.reveal:not(.in) li { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  .pipe-dot, .pipe-pulse, .graph-head, .ask-caret { display: none; }
}

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 900px) {
  .hero-grid, .faq-grid, .learn, .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .section-head { display: block; max-width: 62ch; }
  .hero-grid, .learn, .contact { gap: var(--sp-7); }
  .faq-grid, .split { gap: var(--sp-6); }
  .values, .steps, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid, .foot-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .anim .sticky-cta { display: inline-flex; position: fixed; inset: auto 16px calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
                      box-shadow: var(--shadow-1); visibility: hidden; transform: translateY(160%);
                      transition: transform 0.3s ease, visibility 0s 0.3s; }
  .anim .sticky-cta.show { visibility: visible; transform: none; transition-delay: 0s; }
}
@media (max-width: 560px) {
  .values, .steps, .cards, .foot-grid, .foot-grid-4, .tool-links { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { gap: var(--sp-5); padding-block: var(--sp-6) var(--sp-5); }
  .hero .actions .btn { flex: 1 1 100%; }
}
