/*
 * MobilÇocuk website. The app's "okulca" world on a wide page: purple-leaning
 * neutrals, three role pastels (lilac parent, butter teacher, mint
 * institution) and peach, one purple accent, Manrope for headings and
 * DM Sans for text, flat surfaces with a 1px edge, the tilted stamp and the
 * highlighter swash as the two signatures. Shadows only on what floats above
 * the page: the phone and window frames, and the stamp's ink trace.
 *
 * Fonts: Manrope 700/800 and DM Sans 400/500, SIL OFL 1.1 (../fonts).
 * Nothing loads from another origin.
 */

@font-face { font-family: Manrope; src: url('../fonts/manrope-700.woff2') format('woff2'); font-style: normal; font-weight: 600 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('../fonts/manrope-800.woff2') format('woff2'); font-style: normal; font-weight: 750 900; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-500.woff2') format('woff2'); font-style: normal; font-weight: 500 700; font-display: swap; }

:root {
  --ink: #252033;
  --ink-2: #463e55;
  --muted: #6b6578;
  --accent: #7653b5;
  --accent-deep: #5f4396;
  --butter: #fff0b9;
  --butter-deep: #f4ce65;
  --lilac: #e9e0fa;
  --lilac-deep: #d9cbf3;
  --mint: #e0eee5;
  --mint-deep: #c5dccd;
  --peach: #f8e5da;
  --paper: #fbfafc;
  --canvas: #eeeaf4;
  --surface: #f0ecf5;
  --line: #e6e1eb;
  --edge: #eae3f0;
  --divider: #eee7f3;
  --band-lilac: #eee6f8;
  --band-butter: #fff6d8;
  --band-mint: #e9f1eb;
  --band-peach: #fbeee6;
  --lilac-ink: #5f4d73;
  --butter-ink: #6f5a1f;
  --mint-ink: #3f6650;
  --peach-ink: #7b4a33;
  --done: #deeee2;
  --done-ink: #3f6a4d;
  --wait: #fff1c7;
  --wait-ink: #7a6223;
  --danger: #a92e43;

  --display: Manrope, ui-sans-serif, system-ui, sans-serif;
  --body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --float: 0 30px 80px -24px #2520334d, 0 10px 30px -18px #25203340;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
}

/* -- Base -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-width: 300px; background: var(--paper); font-size: 17px; line-height: 1.7; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: #e2d6f5; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* -- Type -------------------------------------------------------------- */

.display, h1 { font: 800 clamp(38px, 5.4vw, 66px)/1.06 var(--display); letter-spacing: -.035em; text-wrap: balance; }
h2, .title { font: 800 clamp(30px, 3.6vw, 46px)/1.12 var(--display); letter-spacing: -.03em; text-wrap: balance; }
h3 { font: 800 21px/1.3 var(--display); letter-spacing: -.02em; text-wrap: balance; }
h4 { font: 700 17px/1.4 var(--display); letter-spacing: -.01em; }
.lead { max-width: 62ch; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.6; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(24px, 2.4vw, 30px); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--accent-deep); }

/* The highlighter swash: a butter strip tilted -3° behind one word */
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::before { content: ""; position: absolute; z-index: -1; inset: .52em -.14em .04em -.1em; border-radius: 7px; background: var(--butter-deep); opacity: .62; transform: rotate(-3deg); }

/* -- Layout ------------------------------------------------------------ */

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section + .section:not([class*=band]) { padding-top: 0; }
/* The hero keeps its own bottom space: the first section after it starts closer, so the gap matches the one between sections */
.hero + .section, .page-hero + .section { padding-top: clamp(24px, 3vw, 40px); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.band { padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); border-radius: var(--r-xl); }
.band-lilac { background: var(--band-lilac); }
.band-butter { background: var(--band-butter); }
.band-mint { background: var(--band-mint); }
.band-peach { background: var(--band-peach); }
.band-canvas { background: var(--canvas); }
.band-ink { background: var(--ink); color: #f3effa; }
.band-ink .lead, .band-ink .muted { color: #cfc6dd; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.split-media { display: flex; justify-content: center; }
.split.reverse > .split-media { order: -1; }
.split.is-top { align-items: start; }
.sticky-media { position: sticky; top: 104px; }
.split-copy { display: grid; gap: 18px; align-content: start; }
/* A desk window needs the wider column to stay readable */
.split:has(> .split-media .window) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split.reverse:has(> .split-media .window) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* -- Header ------------------------------------------------------------ */

.site-header { position: sticky; top: 0; z-index: 50; background: #fbfafcf2; border-bottom: 1px solid transparent; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 800 23px/1 var(--display); letter-spacing: -.045em; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-dot { color: var(--accent); }
.brand-light { color: #fff; }
.brand-light .brand-dot { color: var(--butter-deep); }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav ul a { display: block; padding: 9px 13px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.site-nav ul a:hover { background: var(--surface); color: var(--ink); }
.site-nav ul a[aria-current=page] { background: var(--lilac); color: var(--ink); }
.lang-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.lang-link .icon { width: 18px; height: 18px; color: var(--accent); }
.lang-link:hover { background: var(--surface); color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; margin-left: auto; padding: 8px 14px; border: 1px solid var(--edge); border-radius: 14px; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.nav-toggle-bars { position: relative; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded=true] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded=true] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded=true] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* -- Buttons and links ------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 8px 8px 8px 26px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background-color .2s; }
.btn:hover { background: #352d47; }
.btn:active { transform: scale(.98); }
.btn-disc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--butter); color: var(--ink); }
.btn-disc .icon { width: 20px; height: 20px; }
.btn-light { padding: 8px 24px; border: 1px solid var(--lilac-deep); background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.band-ink .btn { background: #fff; color: var(--ink); }
.band-ink .btn:hover { background: var(--lilac); }
.band-ink .btn-light { border-color: #ffffff40; background: transparent; color: #fff; }
.band-ink .btn-light:hover { background: #ffffff14; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-deep); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* -- Stamps, tiles, chips --------------------------------------------- */

/* The tilted stamp: a role or subject icon pressed at 9°, the icon set straight */
.stamp { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border: 2px solid #fffc; border-radius: 18px; background: var(--lilac); color: var(--lilac-ink); box-shadow: 3px 5px 0 #cbb9e22b; transform: rotate(9deg); }
.stamp .icon { width: 28px; height: 28px; transform: rotate(-9deg); }
.stamp-sm { width: 44px; height: 44px; border-radius: 15px; }
.stamp-sm .icon { width: 22px; height: 22px; }
.stamp-butter { background: var(--butter); color: var(--butter-ink); }
.stamp-mint { background: var(--mint); color: var(--mint-ink); }
.stamp-peach { background: var(--peach); color: var(--peach-ink); }
.stamp-ink { background: var(--ink); color: var(--butter); border-color: #ffffff30; }
.tile { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--surface); color: var(--accent-deep); }
.tile .icon { width: 22px; height: 22px; }
.tile-lilac { background: var(--lilac); color: var(--lilac-ink); }
.tile-butter { background: var(--butter); color: var(--butter-ink); }
.tile-mint { background: var(--mint); color: var(--mint-ink); }
.tile-peach { background: var(--peach); color: var(--peach-ink); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--edge); font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink-2); white-space: nowrap; }
.chip .icon { width: 16px; height: 16px; }
.chip-done { background: var(--done); border-color: transparent; color: var(--done-ink); }
.chip-wait { background: var(--wait); border-color: transparent; color: var(--wait-ink); }
.chip-lilac { background: var(--lilac); border-color: transparent; color: var(--lilac-ink); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6b9b70; flex-shrink: 0; }

/* -- Cards ------------------------------------------------------------- */

.card { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--edge); border-radius: var(--r-lg); background: #fff; }
.card p { color: var(--muted); }
.card .stamp, .card .tile { margin-bottom: 6px; }
.card-lilac { border-color: transparent; background: var(--band-lilac); }
.card-butter { border-color: transparent; background: var(--band-butter); }
.card-mint { border-color: transparent; background: var(--band-mint); }
.card-peach { border-color: transparent; background: var(--band-peach); }
.card-lilac p { color: var(--lilac-ink); }
.card-butter p { color: var(--butter-ink); }
.card-mint p { color: var(--mint-ink); }
.card-peach p { color: var(--peach-ink); }
/* A whole-card link: the card is the hit area, the arrow link alone carries the name and the focus ring */
.card-link { position: relative; text-decoration: none; transition: transform .2s var(--ease); }
.card-link:hover { transform: translateY(-3px); }
.card-link .link-arrow { margin-top: 6px; }
.card-link .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.card-link .link-arrow:focus-visible { outline: none; }
.card-link .link-arrow:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 4px; }

/* The three roles: a pastel card with its illustration */
.role-card { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 28px; border-radius: var(--r-lg); text-decoration: none; }
.role-card img { width: 120px; height: 120px; margin: -6px 0 6px -8px; }
.role-card h3 { font-size: 24px; }
.role-card ul { display: grid; gap: 8px; list-style: none; }
.role-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.role-card li .icon { width: 20px; height: 20px; margin-top: 3px; }

/* Feature list: an icon tile beside a title and a sentence */
.features { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.features.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.feature h3 { font-size: 18px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.features + .row { margin-top: clamp(28px, 3vw, 40px); }

.ticks { display: grid; gap: 12px; list-style: none; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 26px; height: 26px; margin-top: 1px; border-radius: 9px; background: var(--done) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6a4d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks.ticks-no li::before { background: #f7e6e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23945364' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E") center / 15px no-repeat; }

.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); color: var(--ink-2); font-size: 16px; }
.note .icon { color: var(--accent); margin-top: 2px; }

/* -- Screenshots ------------------------------------------------------- */

/* A phone: the app screen in a dark rounded frame, floating above the page */
.phone { position: relative; width: min(100%, 320px); padding: 9px; border-radius: 46px; background: var(--ink); box-shadow: var(--float); }
.phone img { width: 100%; border-radius: 37px; background: var(--paper); }
.phone-sm { width: min(100%, 260px); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 32px); }
.phones .phone:nth-child(2) { margin-bottom: 48px; }
.phone-caption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }

/* A browser window: the desk on a wide screen */
.window { overflow: hidden; width: 100%; border: 1px solid var(--edge); border-radius: 18px; background: #fff; box-shadow: var(--float); }
.window-bar { display: flex; gap: 7px; align-items: center; height: 36px; padding-inline: 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--lilac-deep); }
.window-bar i:nth-child(2) { background: var(--butter-deep); }
.window-bar i:nth-child(3) { background: var(--mint-deep); }
.window img { width: 100%; }

/* -- Home hero -------------------------------------------------------- */

.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero-copy .lead { font-size: clamp(18px, 1.7vw, 21px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; font-size: 15px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--accent); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-blob { position: absolute; inset: 6% 2% 4% 6%; border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%; background: var(--band-lilac); }
.hero-art { position: absolute; z-index: 1; right: -4%; bottom: 2%; width: min(62%, 360px); }
.hero-visual .phone { z-index: 2; width: min(78%, 300px); margin-right: 22%; }
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid var(--edge); border-radius: 18px; background: #fff; box-shadow: 0 14px 40px -18px #2520334d; font-size: 14px; line-height: 1.35; }
.float-chip strong { display: block; font: 700 14px/1.3 var(--display); }
.float-chip span { color: var(--muted); }
.float-chip .tile { width: 36px; height: 36px; border-radius: 12px; }
.float-chip .tile .icon { width: 18px; height: 18px; }
.float-chip-a { left: -2%; bottom: 18%; }
.float-chip-b { right: 0; top: 16%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .phone { animation: rise .9s var(--ease) both .1s; }
  .hero-art { animation: rise 1s var(--ease) both .25s; }
  .float-chip { animation: rise .9s var(--ease) both .45s; }
  .float-chip-b { animation-delay: .6s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* -- Inner page hero --------------------------------------------------- */

.page-hero { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.page-hero-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--band-lilac); overflow: hidden; }
.page-hero-band.is-butter { background: var(--band-butter); }
.page-hero-band.is-mint { background: var(--band-mint); }
.page-hero-band.is-peach { background: var(--band-peach); }
.page-hero-band.is-canvas { background: var(--canvas); }
.page-hero-copy { display: grid; gap: 20px; align-content: center; }
.page-hero-copy .stamp { margin-bottom: 4px; }
.page-hero-media { display: flex; justify-content: center; align-items: flex-end; margin-bottom: clamp(-64px, -5vw, -32px); }
.page-hero-media .phone { width: min(100%, 290px); }
.page-hero-simple { display: grid; gap: 18px; }
.page-hero-simple > :not(.toc) { max-width: 820px; }
.page-hero-band + .toc { margin-top: 8px; }

/* -- In-page navigation (module catalogue, long pages) ------------------ */

.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--edge); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.toc a:hover { background: var(--surface); color: var(--ink); }
.toc .icon { width: 18px; height: 18px; color: var(--accent); }

/* Module catalogue: groups of small cards */
.module-group { display: grid; gap: 22px; padding-top: clamp(40px, 5vw, 64px); }
.module-group-head { display: flex; align-items: center; gap: 16px; }
.module-group-head p { color: var(--muted); }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.module { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px; border: 1px solid var(--edge); border-radius: var(--r-md); background: #fff; }
.module h3 { font-size: 17px; margin-bottom: 4px; }
.module p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.module .for { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.module .for span { padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.for .is-parent { background: var(--lilac); color: var(--lilac-ink); }
.for .is-teacher { background: var(--butter); color: var(--butter-ink); }
.for .is-school { background: var(--mint); color: var(--mint-ink); }

/* -- A day in the app: a timeline ------------------------------------- */

.day { display: grid; gap: 0; list-style: none; counter-reset: none; }
.day-step { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); padding-block: 26px; border-top: 1px solid var(--line); }
.day-step:first-child { border-top: 0; }
.day-time { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.day-time small { display: block; margin-top: 6px; font: 500 13px/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.day-body { display: grid; gap: 8px; }
.day-body p { color: var(--muted); }
.day-who { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* -- Steps ------------------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 64px 24px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--edge); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 22px; left: 24px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--ink); color: var(--butter); font: 800 15px/1 var(--display); }
.steps p { color: var(--muted); font-size: 16px; }
.steps.is-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.steps.is-list li { gap: 4px; padding: 18px 20px 18px 66px; }
.steps.is-list li::before { top: 18px; left: 20px; }
.steps.is-list h3 { font-size: 18px; }

/* -- Pricing ----------------------------------------------------------- */

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--edge); background: #fff; }
.price.is-main { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.price-who { display: flex; align-items: center; gap: 14px; }
.price-tag { font: 800 34px/1.1 var(--display); letter-spacing: -.03em; }
.price-tag small { display: block; margin-top: 6px; font: 500 15px/1.4 var(--body); letter-spacing: 0; color: var(--muted); }
.price .ticks { align-content: start; font-size: 16px; }

/* -- FAQ --------------------------------------------------------------- */

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--edge); border-radius: var(--r-md); background: #fff; }
.faq details[open] { background: var(--paper); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 22px; font: 700 17px/1.4 var(--display); letter-spacing: -.01em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 9px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.faq .answer { padding: 0 22px 22px; color: var(--ink-2); }
.faq .answer > * + * { margin-top: .8em; }
.faq-group { display: grid; gap: 16px; }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 64px); }

/* -- Call to action band ----------------------------------------------- */

.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center; }
.cta h2 { font-size: clamp(28px, 3.2vw, 42px); }
.cta .lead { margin-top: 14px; }

/* -- Contact ----------------------------------------------------------- */

.contact-card { display: grid; gap: 16px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.contact-card .lead { color: #d8d0e6; }
.contact-mail { font: 800 clamp(22px, 2.6vw, 32px)/1.2 var(--display); letter-spacing: -.02em; color: #fff; }
.contact-card .btn { justify-self: start; background: var(--butter); color: var(--ink); }

/* -- Footer ------------------------------------------------------------ */

.site-footer { padding-block: clamp(48px, 6vw, 80px) 32px; background: var(--ink); color: #d8d0e6; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr); gap: 48px; }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 420px; font-size: 15px; }
.footer-promise { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.footer-promise .icon { color: var(--butter-deep); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-nav h2 { margin-bottom: 14px; font: 700 14px/1.4 var(--display); letter-spacing: .02em; color: #fff; }
.footer-nav ul { display: grid; gap: 10px; list-style: none; font-size: 15px; }
.footer-nav a { color: #d8d0e6; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--butter-deep); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #ffffff1f; font-size: 14px; color: #b9b0c9; }
.footer-lang { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.footer-lang .icon { width: 16px; height: 16px; color: var(--butter-deep); }
.footer-lang:hover { text-decoration: underline; }

/* -- Responsive ------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-nav ul a { padding-inline: 10px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px var(--gutter) 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; height: calc(100vh - 76px); height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 14px; font-size: 17px; }
  .site-nav-cta { align-self: flex-start; }
  .lang-link { align-self: flex-start; padding-inline: 14px; font-size: 16px; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .page-hero-band, .split:has(> .split-media .window), .split.reverse:has(> .split-media .window) { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > .split-media { order: 0; }
  .sticky-media { position: static; }
  .hero-visual { min-height: 0; padding-block: 24px 8px; }
  .hero-visual .phone { margin-right: 18%; }
  .grid-3, .steps, .prices { grid-template-columns: minmax(0, 1fr); }
  .features.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Stacked steps read as a list: the number beside the text, not above it */
  .steps { gap: 10px; }
  .steps li { gap: 4px; padding: 18px 20px 18px 66px; }
  .steps li::before { top: 18px; left: 20px; }
  /* A full-width role card lays its picture beside the text instead of above it */
  .role-card { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 28px; align-items: start; }
  .role-card img { grid-row: 1 / span 2; margin: 0; }
  .role-card > :not(img) { grid-column: 2; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta > .btn { justify-self: start; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .page-hero-media { margin-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-4, .modules, .grid-2, .features.cols-2, .features.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .role-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
  .role-card img { grid-row: auto; margin: -6px 0 6px -8px; }
  .role-card > :not(img) { grid-column: auto; }
  /* Phones sized for a phone: the whole screen stays in view without taking the page */
  .phone { width: min(100%, 264px); }
  .hero-visual .phone { width: min(70%, 250px); }
  .page-hero-media .phone { width: min(100%, 250px); }
  /* Tap targets: standalone links get a 44px row */
  .link-arrow { min-height: 44px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav ul { gap: 0; }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .day-step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .module-group-head { align-items: flex-start; }
  .float-chip-a { left: 0; bottom: 12%; }
  .float-chip-b { right: 0; top: 10%; }
  .phones .phone:nth-child(2) { display: none; }
  .btn { width: 100%; }
  .btn-row { align-items: stretch; flex-direction: column; }
  .btn-small { width: auto; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link { display: none; }
  .phone, .window { box-shadow: none; }
}
