:root {
  --ground: #F2F5F4;
  --mint: #EEF3F1;
  --ink: #16211D;
  --muted: #4B5A54;
  --line: #D9E3DF;
  --green: #1E6B4A;
  --live: #2E8B63;
  --bus: #F6C343;
  --white: #FFFFFF;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-s: 10px;
  --radius-l: 22px;
  --shadow: 0 1px 2px rgba(22,33,29,.06), 0 12px 32px -12px rgba(22,33,29,.22);
  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.01em; margin-bottom: 2.5rem; max-width: 18ch; }
h3 { font: 600 1.05rem/1.35 var(--sans); }
p { margin: 0; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--bus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 46ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 1px solid var(--green);
  background: var(--green); color: #fff; font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(30,107,74,.55); background: #185B3E; }
.btn:active { transform: translateY(0); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; box-shadow: var(--shadow); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--light { background: var(--bus); color: var(--ink); border-color: var(--bus); }
.btn--light:hover { background: #F9D370; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(242,245,244,.82); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(217,227,223,.7); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font: 400 1.55rem/1 var(--serif); }
.brand__mark { width: 32px; height: 32px; }
.nav__links { display: flex; gap: clamp(.75rem, 1.25vw, 1.35rem); list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(860px, 92vh); display: flex; align-items: center; overflow: hidden; padding: 4rem 0 6rem; }
.hero__map {
  /* Full bleed: the map also runs under the headline, held back to a faint
     backdrop there so the text keeps its contrast, and at full strength on the right. */
  position: absolute; inset: 0;
  --hero-map-fade: linear-gradient(90deg, rgba(0,0,0,.18) 0, rgba(0,0,0,.24) 34%, #000 62%, #000 94%, transparent 100%);
  -webkit-mask-image: var(--hero-map-fade), linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-composite: source-in; mask-image: var(--hero-map-fade), linear-gradient(180deg, #000 80%, transparent); mask-composite: intersect;
}
.hero__map .maplibregl-canvas { outline: none; }
.hero__map.is-live .hero__fallback { opacity: 0; transition: opacity .8s ease; }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; transform: perspective(1200px) rotateX(18deg) rotateZ(-6deg) scale(1.15); transform-origin: 54% 50%; }
.fb-route { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.hero__in { position: relative; z-index: 2; pointer-events: none; }
.hero__copy { max-width: 560px; pointer-events: auto; }
.hero h1 { font: 400 clamp(2.6rem, 1.6rem + 4.2vw, 4.9rem)/1 var(--serif); letter-spacing: -.02em; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--green); }
.checks { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Keep the brand and hero copy closer to the viewport edge on wide desktops. */
@media (min-width: 1680px) {
  .nav__in,
  .hero__in { max-width: calc(100% - 400px); }
}

/* Floating cards */
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; background: rgba(255,255,255,.94); border-radius: 14px; box-shadow: var(--shadow); font-size: .9rem; backdrop-filter: blur(8px); }
.float strong { display: block; font-weight: 600; }
.float span:not(.dot) { color: var(--muted); font-size: .82rem; }
.float--a { top: 22%; right: 8%; animation: bob 6s ease-in-out infinite; }
.float--b { top: 52%; right: 30%; animation: bob 7s ease-in-out -2s infinite; }
.float--stats { display: block; right: 6%; bottom: 12%; padding: 1rem 1.2rem; min-width: 230px; }
.float__title { font-size: .78rem; color: var(--muted); font-weight: 500; margin-bottom: .5rem; }
.float dl { display: flex; gap: 1.4rem; margin: 0; }
.float dt { font-size: .75rem; color: var(--muted); }
.float dd { margin: 0; font: 400 1.9rem/1 var(--serif); }
.float dl > div { display: flex; flex-direction: column-reverse; }
.float__note { margin-top: .4rem; font-size: .7rem; color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot--live { background: var(--live); box-shadow: 0 0 0 5px rgba(46,139,99,.18); }
.dot--bus { background: var(--bus); box-shadow: 0 0 0 5px rgba(246,195,67,.25); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.map-attr { position: absolute; right: 8px; bottom: 6px; z-index: 4; margin: 0; font-size: .7rem; color: var(--muted); background: rgba(255,255,255,.8); padding: 2px 8px; border-radius: 6px; }
.map-attr a { color: var(--muted); }

/* Map markers (MapLibre DOM markers) */
.stop-pin { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font: 600 13px/28px var(--sans); text-align: center; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(22,33,29,.25); }
.bus-pin { width: 26px; height: 26px; border-radius: 8px; background: var(--bus); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(246,195,67,.3), 0 4px 12px rgba(22,33,29,.3); }

@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 2.5rem 0 0; }
  .hero__map { position: relative; inset: auto; order: 2; height: 380px; margin-top: 2rem; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); }
  .float--a { top: auto; bottom: 250px; right: 16px; }
  .float--b { top: auto; bottom: 170px; left: 16px; right: auto; }
  .float--stats { bottom: 16px; right: 16px; left: 16px; min-width: 0; }
}

@media (max-width: 900px) {
  .devices { grid-template-columns: 1fr; gap: 1rem; }
  .device-scene { min-height: 450px; }
}

@media (max-width: 560px) {
  .device-scene { min-height: 390px; justify-content: flex-start; padding-left: 4%; }
  .phone-mock { width: min(275px, 70%); min-height: 360px; padding: 45px 13px 15px; border-radius: 32px; transform: rotate(-3deg); }
  .phone-mock__time { font-size: 2.8rem; }
  .phone-mock__date { margin-bottom: .9rem; }
  .live-mock, .widget-mock { padding: 11px; border-radius: 15px; }
  .watch-mock { right: 0; bottom: 25px; width: 150px; height: 190px; padding: 27px 0; }
  .watch-mock__screen { padding: 19px 9px 9px; border-radius: 40px; }
  .watch-mock__status { margin-top: 12px; }
  .watch-mock__screen > strong { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fb-route, .float { animation: none !important; }
  .btn { transition: none; }
}

/* Sections */
.section { padding: var(--space-section) 0; }
.section--tint { background: var(--mint); }
.section--ink { background: var(--ink); color: #E8EFEC; }
.section--ink h2 { color: #fff; margin-bottom: 1rem; }
.section--ink .eyebrow { color: var(--bus); }

/* At-a-glance updates on the phone and watch */
.devices { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.devices__copy h2 { margin-bottom: 1rem; max-width: 15ch; }
.devices__copy > p:not(.eyebrow) { max-width: 48ch; color: #C5D3CD; }
.device-points { list-style: none; display: grid; gap: .9rem; padding: 0; margin: 1.7rem 0 0; }
.device-points li { padding-left: 1.4rem; position: relative; color: #DCE6E2; }
.device-points li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--bus); }
.device-points strong { color: #fff; }
.device-scene { position: relative; min-height: 500px; display: flex; justify-content: center; align-items: center; isolation: isolate; }
.device-scene::before { content: ""; position: absolute; z-index: -1; inset: 9% 4%; border-radius: 50%; background: radial-gradient(ellipse, rgba(46,139,99,.28), transparent 68%); }
.phone-mock { position: relative; width: min(280px, 62%); min-height: 440px; padding: 54px 17px 22px; border: 8px solid #080C0A; border-radius: 38px; color: var(--ink); background: linear-gradient(160deg, #DCE8E2 0%, #F2F5F4 65%); box-shadow: 0 28px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.42); transform: rotate(-4deg) translateX(-16px); }
.phone-mock__island { position: absolute; top: 11px; left: 50%; width: 78px; height: 19px; border-radius: 20px; background: #080C0A; transform: translateX(-50%); }
.phone-mock__time { text-align: center; font: 400 3.5rem/1 var(--serif); letter-spacing: -.04em; }
.phone-mock__date { text-align: center; margin: .25rem 0 1.25rem; color: #4B5A54; font-size: .76rem; }
.live-mock, .widget-mock { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 8px 22px rgba(22,33,29,.1); }
.live-mock__top { display: flex; align-items: center; gap: 6px; color: #53635D; font-size: .56rem; font-weight: 700; letter-spacing: .05em; }
.live-mock__top b { margin-left: auto; color: var(--green); font-size: .52rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(46,139,99,.14); }
.live-mock > strong { display: block; margin-top: 12px; font-size: .96rem; }
.live-route { display: flex; justify-content: space-between; align-items: center; position: relative; margin: 14px 0 9px; }
.live-route::before { content: ""; position: absolute; left: 5px; right: 5px; border-top: 2px dashed #8CB5A0; }
.live-route i { z-index: 1; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.live-route i:last-child { background: var(--bus); box-shadow: 0 0 0 1px #D3A32B; }
.live-mock__bottom { display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; }
.live-mock__bottom b { color: var(--green); font-size: .88rem; }
.widget-mock { display: grid; gap: 5px; margin-top: 10px; }
.widget-mock span, .widget-mock small { color: var(--muted); font-size: .58rem; }
.widget-mock strong { font-size: .76rem; line-height: 1.35; }
.watch-mock { position: absolute; right: 0; bottom: 42px; width: 188px; height: 230px; padding: 31px 0; border-radius: 74px; background: linear-gradient(90deg, #AEB9B4, #E5EBE8 22%, #8D9993 50%, #DDE3E0 78%, #89958F); box-shadow: 0 22px 48px rgba(0,0,0,.4); transform: rotate(8deg); }
.watch-mock::before, .watch-mock::after { content: ""; position: absolute; left: 28px; right: 28px; height: 48px; z-index: -1; background: repeating-linear-gradient(90deg, #26312C 0 7px, #34423B 7px 12px); border: 1px solid #506057; }
.watch-mock::before { top: -35px; border-radius: 24px 24px 8px 8px; }
.watch-mock::after { bottom: -35px; border-radius: 8px 8px 24px 24px; }
.watch-mock__crown { position: absolute; right: -8px; top: 60px; width: 11px; height: 30px; border-radius: 5px; background: repeating-linear-gradient(0deg, #87938D 0 2px, #B6C0BB 2px 4px); }
.watch-mock__screen { height: 100%; padding: 23px 13px 12px; display: flex; flex-direction: column; align-items: center; border: 7px solid #171E1B; border-radius: 48px; color: #EEF3F1; background: #090D0B; box-shadow: inset 0 0 0 1px #59665F; }
.watch-mock__brand { color: #9EB2A7; font-size: .48rem; font-weight: 700; letter-spacing: .1em; }
.watch-mock__status { display: flex; align-items: center; gap: 5px; margin-top: 17px; color: #B9D5C7; font-size: .46rem; font-weight: 700; letter-spacing: .04em; }
.watch-mock__status i { width: 6px; height: 6px; border-radius: 50%; background: #77D09E; }
.watch-mock__screen > strong { margin-top: 3px; font: 700 3rem/.95 var(--sans); letter-spacing: -.07em; }
.watch-mock__screen > strong small { margin-left: 3px; font-size: .8rem; letter-spacing: 0; }
.watch-mock__stop { margin-top: 5px; color: #A6B3AD; font-size: .55rem; }
.watch-mock__map { margin-top: auto; padding: 5px 8px; border-radius: 99px; color: #D9F1E4; background: #1D4332; font-size: .5rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; border-top: 2px dashed var(--live); opacity: .5; }
.steps li { position: relative; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font: 400 1.4rem/1 var(--serif); margin-bottom: 1.2rem; box-shadow: 0 0 0 6px var(--ground); }
.steps h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.steps p { color: var(--muted); max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

.audience { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.aud { background: #fff; border-radius: var(--radius-l); padding: 1.8rem; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.aud:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.aud h3 { font: 400 1.7rem/1.1 var(--serif); margin-bottom: .7rem; }
.aud p { color: var(--muted); }
.aud--big { grid-row: span 2; background: var(--green); color: #fff; border-color: var(--green); display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.aud--big p { color: #DCEBE3; }
.aud--wide { grid-column: span 2; border-left: 6px solid var(--bus); }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } .aud--big, .aud--wide { grid-row: auto; grid-column: auto; min-height: 0; } }

.kvkk { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.kvkk__lists { display: grid; gap: 1rem; }
.kv { border-radius: var(--radius-l); padding: 1.6rem 1.8rem; }
.kv ul { margin: .8rem 0 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.kv--yes { background: #fff; border: 1px solid var(--line); }
.kv--no { background: var(--ink); color: #E8EFEC; }
@media (max-width: 860px) { .kvkk { grid-template-columns: 1fr; gap: 2rem; } }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.features li { min-width: 0; padding: 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.76); }
.features h3 { margin-bottom: .4rem; }
.features h3::before { content: ""; display: block; width: 22px; height: 3px; background: var(--live); margin-bottom: .9rem; border-radius: 2px; }
.features p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.faq__list details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq__list summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font: 400 1.6rem/1 var(--serif); color: var(--green); }
.faq__list details[open] summary::after { content: "–"; }
.faq__list p { color: var(--muted); margin-top: .7rem; max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 1rem; } }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact > div p { color: #C5D3CD; max-width: 40ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 500; color: #DCE6E2; }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); background: #F7FAF9; border: 1px solid transparent; border-radius: var(--radius-s); padding: .75rem .85rem; min-height: 48px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--bus); outline-offset: 1px; }
.form__full, .form__note { grid-column: 1 / -1; }
.form__note { font-size: .8rem; color: #B5C5BE; }
@media (max-width: 760px) { .contact, .form { grid-template-columns: 1fr; } }

.footer { padding: 2.5rem 0; background: var(--ground); color: var(--muted); font-size: .9rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.form__opt { font-weight: 400; color: #9FB3AB; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.legal .form { margin-top: 1.5rem; }
.legal .form label { color: var(--ink); }
.legal .form input, .legal .form select, .legal .form textarea { border-color: var(--line); }
.legal .form button { justify-self: start; }
.form__check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; line-height: 1.45; }
.form__check input { min-height: 0 !important; width: 20px; height: 20px; margin: .1rem 0 0; flex: none; accent-color: var(--bus); }
.form__check a { color: var(--bus); }
.form [aria-invalid="true"] { border-color: #F08A7E; }
.form__err { font-size: .8rem; color: #FFB4A9; font-weight: 400; }
.form__check .form__err { display: block; }
.form__status { padding: .8rem 1rem; border-radius: var(--radius-s); font-size: .92rem; }
.form__status--ok { background: rgba(46,139,99,.25); color: #DFF3E8; }
.form__status--error { background: rgba(240,138,126,.18); color: #FFD3CC; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--ink); }

/* Legal pages */
.legal { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 var(--space-section); }
.legal__in { max-width: 760px; }
.legal h1 { font: 400 clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.01em; margin-bottom: 1rem; }
.legal h2 { font: 400 1.7rem/1.15 var(--serif); margin: 2.4rem 0 .8rem; max-width: none; }
.legal h3 { margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-top: .6rem; }
.legal th, .legal td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--ink); }
.legal__meta { font-size: .88rem; color: var(--muted); }
.draft-note { margin: 1.2rem 0 2rem; padding: .8rem 1rem; border-left: 4px solid var(--bus); background: #FFF8E4; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .9rem; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* Topic pages (/okul-servisi-takip-sistemi/, /personel-servisi-yonetimi/, /veli-servis-takip-uygulamasi/).
   Additive only: nothing here changes components used on the home page. */
.topic-hero { padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) 0 clamp(3rem, 2rem + 4vw, 6rem); }
.topic-hero h1 { font: 400 clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem)/1.02 var(--serif); letter-spacing: -.02em; margin-bottom: 1.4rem; max-width: 14ch; }
.topic-hero .lead { max-width: 58ch; margin-bottom: 2rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.topic-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.topic-prose { display: grid; gap: 1rem; align-content: start; }
.topic-prose p { color: var(--muted); max-width: 62ch; }
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section--tint .steps__n { box-shadow: 0 0 0 6px var(--mint); }
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.related a { display: block; height: 100%; padding: 1.6rem 1.8rem; border: 1px solid var(--line); border-left: 6px solid var(--bus); border-radius: var(--radius-l); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related strong { display: block; font: 400 1.7rem/1.1 var(--serif); margin-bottom: .6rem; }
.related span { color: var(--muted); }
.topic-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.topic-cta p { max-width: 46ch; }
@media (max-width: 1000px) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps--four::before { display: none; } }
@media (max-width: 860px) { .topic-split { grid-template-columns: 1fr; gap: 1rem; } }
@media (max-width: 640px) { .related, .steps--four { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .related a { transition: none; } }
