/* Kukula landing page.
   Type: Instrument Sans throughout (self-hosted); the serif appears only in the wordmark, as in the app.
   Corners: buttons 10px, cards and frames 20px, device 38px. One accent: Kukula purple. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@font-face { font-family: 'Instrument Sans'; src: url(/fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(/fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(/fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(/fonts/instrument-sans-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Young Serif'; src: url(/fonts/young-serif-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #FAFAFC; --surface: #FFFFFF; --surface-2: #F3F2F8; --ink: #16141F; --ink-2: #5B5970; --ink-3: #75738A; --line: #E7E5EF;
  --accent: #6B4FA0; --accent-ink: #FFFFFF; --accent-soft: #F1ECFA; --accent-strong: #573D88; --accent-text: #5E4392;
  --shadow-sm: 0 1px 2px rgba(22, 20, 31, .06);
  --shadow: 0 1px 2px rgba(40, 26, 80, .05), 0 16px 40px -12px rgba(40, 26, 80, .18);
  --shadow-lg: 0 2px 4px rgba(40, 26, 80, .06), 0 32px 64px -16px rgba(40, 26, 80, .28);
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0D14; --surface: #16151F; --surface-2: #1D1B29; --ink: #F1F0F7; --ink-2: #A8A6BA; --ink-3: #8E8CA2; --line: #2A2838;
    --accent: #A890E3; --accent-ink: #160F29; --accent-soft: #1F1A33; --accent-strong: #C0AEF0; --accent-text: #C0AEF0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 32px 64px -16px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
h1 { letter-spacing: -0.035em; }
h2 { letter-spacing: -0.028em; }
p { margin: 0; }
a { color: var(--accent-text); }
figure { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section { scroll-margin-top: 84px; }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.head { max-width: 720px; }
.head h2, .safe-intro h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.1; }
.head .eyebrow + h2 { margin-top: 14px; }
.head p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 600 1rem/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(40, 26, 80, .2), 0 8px 20px -6px rgba(107, 79, 160, .55); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.btn-ghost .ic { width: 18px; height: 18px; transition: transform .15s ease; }
.btn-ghost:hover .ic { transform: translateX(3px); }
.btn-light { background: #FFFFFF; color: #1E1633; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); }
.btn-light:hover { background: #F2EDFC; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 400 1.4rem/1 'Young Serif', Georgia, serif; }
.mark { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -260px; right: -200px; width: 1100px; height: 1000px; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%), radial-gradient(closest-side at 30% 75%, color-mix(in srgb, #3BA57A 11%, transparent), transparent 70%); z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 72px; align-items: center; padding-top: 80px; padding-bottom: 112px; }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.04; text-wrap: balance; }
.lead { margin-top: 22px; font-size: 1.2rem; color: var(--ink-2); max-width: 36ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-visual { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 50%; border-radius: 28px; box-shadow: var(--shadow-lg); }
.device { position: absolute; left: -12%; bottom: -8%; width: 36%; padding: 7px; border-radius: 38px; background: #0F0E15; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, var(--shadow-lg); }
.device img { border-radius: 31px; width: 100%; }
.device::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 20%; height: 12px; border-radius: 10px; background: #0F0E15; z-index: 1; }
.toast { position: absolute; right: 4%; top: 7%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .875rem; line-height: 1.35; }
.toast b { display: block; font-weight: 600; color: var(--ink); }
.toast small { color: var(--ink-2); font-size: .8125rem; }
.toast-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.toast-ic .ic { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .device { animation: rise .9s .2s cubic-bezier(.16, 1, .3, 1) both; }
  .toast { animation: rise .9s .45s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.trust-row li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9375rem; color: var(--ink-2); }
.trust-row .ic { color: var(--accent-text); }

/* School journey */
.journey { padding: 120px 0 112px; }
.journey-row { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.journey-row li:nth-child(even) { margin-top: 48px; }
.journey-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.journey-row h3 { margin-top: 18px; font-size: 1.0625rem; }
.journey-row p { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }

/* Product bento with browser frames */
.roles { padding: 112px 0 64px; background: linear-gradient(180deg, var(--bg), var(--surface-2) 100%); border-top: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 52px; }
.tile { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.tile-text { padding: 28px 30px 22px; }
.tile-text h3 { font-size: 1.125rem; }
.tile-text p { margin-top: 6px; color: var(--ink-2); font-size: .975rem; max-width: 46ch; }
.tile .browser { margin: auto 0 0 30px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.tile .browser img { height: 210px; object-fit: cover; object-position: left top; width: 100%; }
.tile-sponsor { grid-row: span 2; background: linear-gradient(160deg, var(--accent-soft), var(--surface) 70%); }
.tile-sponsor .tile-text h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.tile-sponsor .browser { flex: 1 1 auto; display: flex; flex-direction: column; }
.tile-sponsor .browser img { flex: 1 1 auto; height: auto; min-height: 360px; }
.browser { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); flex: none; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink-3) 45%, transparent); }
.bar span { margin-left: 14px; padding: 3px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-size: .75rem; color: var(--ink-2); }

/* Term cycle */
.cycle { padding: 64px 0 112px; background: var(--surface-2); }
.cycle-row { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.cycle-row::before { content: ""; position: absolute; top: 24px; left: 24px; right: 18%; height: 1px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.node { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--accent-text); }
.cycle-row h3 { margin-top: 20px; font-size: 1.0625rem; }
.cycle-row p { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; max-width: 28ch; }

/* Safeguarding */
.safe { padding: 120px 0; }
.safe-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 72px; align-items: start; }
.safe-intro { position: sticky; top: 108px; }
.safe-intro .eyebrow + h2 { margin-top: 14px; }
.safe-intro p { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }
.safe-intro .fine { margin-top: 22px; font-size: .9rem; color: var(--ink-2); }
.safe-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.safe-list li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.safe-list .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-text); }
.safe-list h3 { font-size: 1rem; }
.safe-list p { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }

/* Features */
.features { padding: 40px 0 120px; display: grid; gap: 112px; }
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.feature-flip .feature-text { order: 2; }
.feature h2 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); line-height: 1.12; }
.feature-text p { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; max-width: 42ch; }
.card-shot { padding: 28px; border-radius: 20px; background: linear-gradient(140deg, var(--accent-soft), var(--surface-2)); border: 1px solid var(--line); }
.card-shot img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.doc-shot { justify-self: center; width: 100%; max-width: 480px; padding: 40px 56px 0; border-radius: 20px; background: linear-gradient(160deg, var(--accent-soft), var(--surface-2)); border: 1px solid var(--line); overflow: hidden; }
.doc-shot img { width: 100%; border-radius: 8px 8px 0 0; box-shadow: var(--shadow-lg); height: 400px; object-fit: cover; object-position: top; }

/* FAQ */
.faq { padding: 112px 0; }
.faq-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { color: var(--ink-3); transition: transform .2s ease; }
.faq-list details[open] summary .ic { transform: rotate(45deg); color: var(--accent-text); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* Closing */
.closing { position: relative; overflow: hidden; isolation: isolate; color: #FFFFFF; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 13, 40, .92) 0%, rgba(20, 13, 40, .74) 45%, rgba(20, 13, 40, .1) 100%); }
.closing-inner { padding-top: 128px; padding-bottom: 128px; }
.closing h2 { color: #FFFFFF; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; max-width: 15ch; }
.closing p { margin-top: 16px; max-width: 40ch; font-size: 1.125rem; color: rgba(255, 255, 255, .86); }
.closing .btn { margin-top: 30px; }

/* Footer */
.foot { padding: 64px 0 32px; background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot h4 { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.foot nav a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .875rem; }
.foot-credits { margin-top: 12px; color: var(--ink-3); font-size: .75rem; line-height: 1.5; }
.foot-credits a { color: inherit; }

/* Legal pages */
.legal { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; }
.legal-date { margin-top: 10px; color: var(--ink-3); font-size: .9375rem; }
.legal h2 { margin-top: 40px; font-size: 1.35rem; letter-spacing: -0.02em; }
.legal p { margin-top: 12px; color: var(--ink-2); }

/* Tablet */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-top: 56px; }
  .hero-visual { max-width: 620px; margin: 0 auto 32px; width: 88%; }
  .trust-row { grid-template-columns: repeat(2, auto); justify-content: start; }
  .journey-row { grid-template-columns: repeat(2, 1fr); }
  .journey-row li:nth-child(even) { margin-top: 0; }
  .safe-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .safe-intro { position: static; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature-flip .feature-text { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
/* Phone */
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-row { justify-content: space-between; }
  .hero-grid { padding-top: 40px; padding-bottom: 72px; }
  .hero h1 { font-size: 2.4rem; }
  .lead { font-size: 1.08rem; }
  .ctas .btn { flex: 1 1 auto; }
  .hero-visual { width: 100%; }
  .hero-photo { aspect-ratio: 4 / 4.2; border-radius: 22px; }
  .device { left: auto; right: 5%; bottom: -10%; width: 38%; padding: 5px; border-radius: 26px; }
  .device img { border-radius: 21px; }
  .device::before { top: 9px; height: 9px; }
  .toast { right: auto; left: 4%; top: 5%; padding: 9px 12px 9px 9px; font-size: .8rem; }
  .toast-ic { width: 28px; height: 28px; }
  .trust-row { grid-template-columns: 1fr; }
  .journey, .safe, .faq { padding: 80px 0; }
  .roles { padding-top: 80px; }
  .journey-row { gap: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile-sponsor { grid-row: auto; }
  .tile-sponsor .browser img, .tile .browser img { min-height: 0; height: 210px; }
  .cycle-row { grid-template-columns: 1fr; gap: 26px; }
  .cycle-row::before { top: 24px; bottom: 24px; left: 24px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
  .cycle-row li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .node { grid-row: span 2; }
  .cycle-row h3 { margin-top: 2px; }
  .safe-list { grid-template-columns: 1fr; }
  .features { gap: 80px; padding-bottom: 80px; }
  .card-shot { padding: 16px; }
  .doc-shot { padding: 24px 28px 0; }
  .doc-shot img { height: 320px; }
  .closing-inner { padding-top: 96px; padding-bottom: 96px; }
  .closing::after { background: linear-gradient(180deg, rgba(20, 13, 40, .55), rgba(20, 13, 40, .9)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* See how it works: role tabs, a moving pointer and step list */
.tour { padding: 112px 0 120px; background: var(--surface); border-top: 1px solid var(--line); }
.tour-tabs { display: inline-flex; gap: 4px; margin-top: 36px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.tour-tab { border: 0; background: none; font: 600 .9375rem/1 var(--sans); color: var(--ink-2); padding: 11px 18px; border-radius: 9px; cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.tour-tab:hover { color: var(--ink); }
.tour-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.tour-panel { margin-top: 20px; }
.tour-panel[hidden] { display: none; }
.tour-frame { box-shadow: var(--shadow-lg); }
.tour-stage { position: relative; overflow: hidden; }
.tour-stage img { width: 100%; }
.tour-ring { position: absolute; border-radius: 10px; border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent); opacity: 0; transform: scale(.96); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.tour-ring.on { opacity: 1; transform: none; }
.tour-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -3px 0 0 -5px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); transition: transform .9s cubic-bezier(.65, 0, .25, 1); pointer-events: none; z-index: 2; }
.tour-cursor::after { content: none; }
.tour-cursor.click { animation: press .45s ease; }
@keyframes press { 40% { scale: .82; } 100% { scale: 1; } }
.tour-stage:has(.tour-cursor.click) .tour-ring.on { animation: pulse .7s ease-out; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.still .tour-cursor { display: none; }
.tour-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; counter-reset: step; }
.tour-step { position: relative; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; display: grid; gap: 2px; padding: 14px 16px 14px 52px; border-radius: 14px; border: 1px solid transparent; background: none; transition: background-color .2s ease, border-color .2s ease; counter-increment: step; }
.tour-step::before { content: counter(step); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); font-size: .8125rem; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
.tour-step b { font-weight: 600; font-size: 1rem; }
.tour-step span { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.tour-step:hover { background: var(--surface-2); }
.tour-step[aria-current="step"] { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.tour-step[aria-current="step"]::before { background: var(--accent); color: var(--accent-ink); }

/* Everything included */
.included { padding: 112px 0; border-top: 1px solid var(--line); }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 48px; }
.included-grid > div { padding-top: 24px; border-top: 2px solid var(--accent); }
.included-grid > div + div { border-top-color: var(--line); }
.included-grid h3 { font-size: 1.0625rem; }
.included-grid ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.included-grid li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.included-grid li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E62B5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 10px no-repeat; }

@media (max-width: 1080px) {
  .tour-steps { grid-template-columns: 1fr 1fr; }
  .included-grid { grid-template-columns: 1fr 1fr; gap: 40px 40px; }
}
@media (max-width: 720px) {
  .tour, .included { padding: 80px 0; }
  .tour-tabs { display: flex; width: 100%; }
  .tour-tab { flex: 1; padding: 11px 8px; font-size: .875rem; }
  .tour-steps { grid-template-columns: 1fr; }
  .tour-cursor { width: 20px; height: 20px; }
  .included-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* "Sign in" in the header, into the system */
.nav-signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.nav-signin:hover { color: var(--accent); }
@media (max-width: 720px) { .nav-signin { margin-left: auto; } }

/* The film in "See how it works": left of the role tabs on wide screens, above them on phones */
.tour-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; margin-top: 36px; }
.tour-layout .tour-tabs { margin-top: 0; }
.tour-film { margin: 0; position: sticky; top: 96px; }
.tour-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #16141F; box-shadow: var(--shadow-lg); }
.tour-film figcaption { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
div.tour-step { cursor: default; }
@media (max-width: 1080px) { .tour-layout { grid-template-columns: 1fr; gap: 28px; } .tour-film { position: static; } }

/* Where Kukula works: one line, small round flags (flag-icons, MIT: img/flags/LICENSE.txt) */
.countries { padding: 28px 0; border-bottom: 1px solid var(--line); }
.countries-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; }
.countries-row p { margin: 0; font-weight: 600; color: var(--ink-2); }
.flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.flags li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.flags img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
