/*
 * Nettik public website (landing, features, exams, packages, FAQ). No build step.
 * Brand tokens match app.css and the mobile design system: primary #0A7F5C,
 * correct #2459D6, wrong #C9541C, Plus Jakarta Sans. Text in rem, spacing in px.
 * Motion lives in site.js / hero3d.js; with JavaScript off every section shows its
 * finished state. `prefers-reduced-motion` stops every loop.
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Regular.401a43071b97.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Medium.4f44d2a3a7ed.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-SemiBold.3b6259b8d867.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Bold.2005d5fa610c.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-ExtraBold.8962185501ca.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --emerald: #0a7f5c;
  --emerald-deep: #075e44;
  --forest: #063b2c;
  --forest-2: #0b4a37;
  --forest-line: rgba(255, 255, 255, 0.12);
  --mint: #3ddc97;
  --mint-soft: #e2f5ec;
  --mint-mid: #6cc3a0;
  --paper: #f6f7fb;
  --white: #ffffff;
  --ink: #1b1d2a;
  --ink-2: #5f6378;
  --ink-3: #8d91a5;
  --line: #e3e6f0;
  --blue: #2459d6;
  --blue-soft: #e3ecff;
  --orange: #c9541c;
  --orange-soft: #ffe9dc;
  --violet: #5b3bb0;
  --violet-soft: #ece3ff;
  --s-turkce-bg: #ffe4d6;
  --s-turkce-fg: #8a3b12;
  --s-mat-bg: #dcebff;
  --s-mat-fg: #1d4e9e;
  --s-tarih-bg: #fff1c7;
  --s-tarih-fg: #7a5600;
  --s-cog-bg: #d4f1f7;
  --s-cog-fg: #0e5f70;
  --s-vat-bg: #ece3ff;
  --s-vat-fg: #5b3bb0;
  --s-gun-bg: #ffe0ea;
  --s-gun-fg: #9c2a55;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.6rem, 1.15rem + 5.4vw, 6.25rem);
  --fs-section: clamp(2rem, 1.05rem + 3.3vw, 4.25rem);
  --fs-page: clamp(2.3rem, 1.2rem + 3.8vw, 4.75rem);
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  --gutter: clamp(16px, 4.2vw, 48px);
  --max: 1280px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-device: 0 2px 0 rgba(255, 255, 255, 0.5) inset, 0 50px 90px -30px rgba(6, 59, 44, 0.45),
    0 28px 40px -24px rgba(27, 29, 42, 0.35);
  --shadow-soft: 0 1px 2px rgba(27, 29, 42, 0.06), 0 12px 32px -14px rgba(27, 29, 42, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body.site {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.35s var(--ease-out);
}
.button-solid {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(10, 127, 92, 0.75);
}
.button-solid:hover {
  background: var(--emerald-deep);
  box-shadow: 0 16px 32px -14px rgba(10, 127, 92, 0.9);
}
.button-line {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.button-line:hover {
  border-color: var(--ink);
}
.textlink {
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.textlink:hover {
  background-size: 100% 2px;
}
.textlink-strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--emerald);
  font-size: 1.0625rem;
}
.textlink-strong::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.5l3 3 5.5-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 22px no-repeat;
  transition: transform 0.35s var(--ease-spring);
}
.textlink-strong:hover::after {
  transform: scale(1.15) rotate(-8deg);
}
[data-magnet] {
  will-change: transform;
}

/* ---------- Store buttons ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 18px 8px 14px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  line-height: 1.15;
  transition: background-color 0.25s;
}
.store svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
}
.store small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0.75;
}
.store strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.store:hover {
  background: var(--emerald-deep);
}
.store-web {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.store-web:hover {
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.stores-dark .store {
  background: var(--white);
  color: var(--forest);
}
.stores-dark .store:hover {
  background: var(--mint);
}
.stores-dark .store-web {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}
.stores-dark .store-web:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1.5px var(--white);
}

/* ---------- Masthead ---------- */

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  view-transition-name: masthead;
  transition:
    background-color 0.35s,
    box-shadow 0.35s,
    transform 0.45s var(--ease-out);
}
.masthead.is-scrolled {
  background: rgba(246, 247, 251, 0.82);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(27, 29, 42, 0.07);
}
.masthead.is-hidden {
  transform: translateY(-100%);
}
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  height: 72px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand img {
  width: 92px;
  height: auto;
}
.mainnav {
  display: none;
  gap: 4px;
  margin-right: auto;
}
.mainnav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.mainnav a:hover {
  color: var(--ink);
  background: rgba(27, 29, 42, 0.05);
}
.mainnav a[aria-current="page"] {
  color: var(--emerald);
}
.mainnav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--emerald);
}
.masthead-actions {
  display: none;
  align-items: center;
  gap: 18px;
}
.login-link {
  font-size: 0.9375rem;
}
.menu {
  margin-left: auto;
}
.menu summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu-bars {
  display: grid;
  gap: 6px;
  width: 20px;
}
.menu-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
.menu[open] .menu-bars i:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu[open] .menu-bars i:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.menu-panel {
  position: fixed;
  inset: 72px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--paper);
  overflow-y: auto;
}
.menu-panel nav {
  display: grid;
}
.menu-panel nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.menu-actions {
  display: grid;
  gap: 10px;
}
@media (min-width: 1000px) {
  .mainnav,
  .masthead-actions {
    display: flex;
  }
  .menu {
    display: none;
  }
}

/* ---------- Shared section type ---------- */

.section-title {
  max-width: 18ch;
  font-size: var(--fs-section);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
[data-split] .w {
  display: inline-block;
}
.js [data-split] .w {
  will-change: transform;
}
.crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px var(--gutter) 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-3);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 88px 0 0;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(61, 220, 151, 0.22), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(36, 89, 214, 0.08), transparent 70%), var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(27, 29, 42, 0.09) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-stage {
  position: relative;
  height: min(38svh, 340px);
  margin: 0 var(--gutter);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.hero.is-3d .hero-canvas {
  opacity: 1;
}
.hero-fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70%, 360px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 30px 40px rgba(6, 59, 44, 0.25));
  transition: opacity 0.6s;
}
.hero.is-3d .hero-fallback,
.js .hero:not(.no-3d) .hero-fallback {
  opacity: 0;
}
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 18px 40px -18px rgba(27, 29, 42, 0.35);
  font-size: 0.8125rem;
  line-height: 1.25;
  color: var(--ink-2);
  white-space: nowrap;
}
.float b {
  display: block;
  color: var(--ink);
  font-weight: 800;
}
.float-dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  flex: none;
  background: var(--emerald) center / 18px no-repeat;
}
.dot-blue {
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3.2L14 5.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dot-orange {
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 4v6M9 13.5v.1' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.dot-green {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 2.5c.6 2.6 4.5 4 4.5 8a4.5 4.5 0 0 1-9 0c0-1.8 1-3 2-3.8 0 1.5.6 2.4 1.5 2.6C8 7 8.3 4.6 9 2.5z' fill='%23fff'/%3E%3C/svg%3E");
}
.float-a {
  left: 0;
  top: 12%;
  animation: bob 6s ease-in-out infinite;
}
.float-b {
  right: 0;
  top: 58%;
  animation: bob 7s ease-in-out -2s infinite;
}
.float-c {
  left: 8%;
  bottom: 2%;
  animation: bob 5.5s ease-in-out -4s infinite;
}
@media (max-width: 999px) {
  .float {
    padding: 7px 12px 7px 8px;
    font-size: 0.75rem;
  }
  .float-dot {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }
  .float-c {
    display: none;
  }
  .float-a {
    top: 4%;
  }
}
@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}
.hero-copy {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 8px var(--gutter) 40px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--emerald-deep);
}
.hero-tag-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}
.hero-tag-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping {
  from {
    transform: scale(0.4);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
.hero-title {
  max-width: 12ch;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.052em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 34rem;
  margin: 26px 0 32px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
}
.ticker {
  position: relative;
  z-index: 3;
  display: flex;
  align-self: end;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  flex: none;
  animation: ticker 60s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker a {
  --k: 0;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 26px 0 26px 34px;
  font-size: clamp(1.5rem, 1rem + 1.3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #9a9eb2;
  text-decoration: none;
}
.ticker a::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 5px var(--mint-soft);
}
.ticker a:hover {
  color: var(--emerald);
}
/* Flowing mode (site.js): --k is 1 at the middle, 0 at the edges. */
.ticker.is-flowing .ticker-track {
  animation: none;
}
.ticker.is-flowing .ticker-track + .ticker-track {
  display: none;
}
.ticker.is-flowing a {
  color: color-mix(in srgb, var(--ink) calc(var(--k) * 100%), #a3a7b9);
}
.ticker.is-flowing a > * ,
.ticker.is-flowing a {
  text-shadow: none;
}
.ticker.is-flowing a {
  transform: scale(calc(0.9 + var(--k) * 0.22));
}
.ticker.is-flowing a::after {
  box-shadow: 0 0 0 calc(4px + var(--k) * 4px) color-mix(in srgb, var(--mint) calc(var(--k) * 60%), var(--mint-soft));
}
@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}
@media (min-width: 1000px) {
  .hero {
    grid-template-rows: 1fr auto;
    padding-top: 72px;
  }
  .hero-stage {
    position: absolute;
    inset: 72px 0 64px 50%;
    height: auto;
    margin: 0;
  }
  .hero-copy {
    align-self: center;
    padding-bottom: 72px;
  }
  .hero-title {
    max-width: 11ch;
  }
  .float-a {
    left: 4%;
    top: 16%;
  }
  .float-b {
    right: 8%;
    top: 62%;
  }
  .float-c {
    left: 18%;
    bottom: 10%;
  }
}

/* ---------- Device: phone ---------- */

.phone {
  position: relative;
  width: clamp(250px, 72vw, 330px);
  aspect-ratio: 9 / 19.2;
  margin: 0 auto;
}
.phone-body {
  position: absolute;
  inset: 0;
  padding: 3.4%;
  border-radius: 15% / 7.2%;
  background: linear-gradient(145deg, #2b2e3d, #12131c 45%, #2a2d3a);
  box-shadow:
    var(--shadow-device),
    0 0 0 1.5px #3a3d4c inset;
  container-type: inline-size;
}
.phone-body::before,
.phone-body::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #2a2d3a;
}
.phone-body::before {
  top: 24%;
  height: 11%;
}
.phone-body::after {
  top: 38%;
  height: 6%;
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 12.5% / 6%;
  background: var(--paper);
  font-size: 4.55cqw;
  line-height: 1.35;
  color: var(--ink);
}
.phone-status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.2em;
  padding: 0 1.9em;
  font-size: 0.82em;
  font-weight: 700;
}
.phone-island {
  width: 7.5em;
  height: 2.1em;
  border-radius: 2em;
  background: #0b0c12;
}
.phone-icons {
  display: flex;
  gap: 0.25em;
  align-items: end;
}
.phone-icons b {
  width: 0.3em;
  border-radius: 1px;
  background: var(--ink);
}
.phone-icons b:nth-child(1) {
  height: 0.45em;
}
.phone-icons b:nth-child(2) {
  height: 0.7em;
}
.phone-icons b:nth-child(3) {
  height: 0.95em;
}
.scr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
  padding: 3.6em 1.1em 4.8em;
  opacity: 0;
  visibility: hidden;
}
.scr.is-on {
  opacity: 1;
  visibility: visible;
}
.app-head {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.app-mark {
  width: 2.5em;
  height: 2.5em;
  border-radius: 0.8em;
  background: var(--emerald) url("img/nettik-icon.e354b9103262.svg") center / cover;
}
.app-hello {
  flex: 1;
  line-height: 1.15;
}
.app-hello small {
  display: block;
  font-size: 0.72em;
  color: var(--ink-2);
}
.app-hello strong {
  font-size: 1.08em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.app-streak {
  padding: 0.3em 0.7em;
  border-radius: 1em;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.75em;
  font-weight: 800;
}
.app-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 1.1em;
  border-radius: 1.1em;
  background: linear-gradient(140deg, #0e9168, var(--emerald) 55%, var(--emerald-deep));
  color: var(--white);
}
.app-hero small {
  display: block;
  font-size: 0.72em;
  opacity: 0.85;
}
.app-hero strong {
  display: block;
  font-size: 2.1em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.app-hero em {
  font-style: normal;
  font-size: 0.72em;
  opacity: 0.85;
}
.app-ring {
  width: 4.6em;
  height: 4.6em;
  transform: rotate(-90deg);
}
.app-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 5;
}
.app-ring .app-ring-fill {
  stroke: var(--white);
  stroke-linecap: round;
  stroke-dasharray: 72 100;
}
.app-ring text {
  transform: rotate(90deg);
  transform-origin: 22px 22px;
  fill: var(--white);
  font-size: 10px;
  font-weight: 800;
  text-anchor: middle;
}
.app-card {
  display: grid;
  gap: 0.75em;
  padding: 1em;
  border-radius: 1.1em;
  background: var(--white);
  box-shadow: 0 0.1em 0.6em rgba(27, 29, 42, 0.06);
}
.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4em;
}
.app-card-head strong {
  font-weight: 800;
  font-size: 0.95em;
}
.app-pill {
  padding: 0.2em 0.6em;
  border-radius: 1em;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.64em;
  font-weight: 700;
  white-space: nowrap;
}
.app-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45em;
}
.app-tiles span {
  padding: 0.55em 0.6em;
  border-radius: 0.8em;
  font-size: 0.66em;
  font-weight: 700;
  line-height: 1.2;
}
.app-tiles b {
  display: block;
  font-size: 2em;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.t-blue {
  background: var(--s-mat-bg);
  color: var(--s-mat-fg);
}
.t-orange {
  background: var(--s-turkce-bg);
  color: var(--s-turkce-fg);
}
.t-violet {
  background: var(--s-vat-bg);
  color: var(--s-vat-fg);
}
.app-cta {
  display: grid;
  place-items: center;
  height: 2.9em;
  border-radius: 1.45em;
  background: var(--emerald);
  color: var(--white);
  font-weight: 800;
  font-size: 0.92em;
}
.app-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5em;
  font-size: 0.66em;
  font-weight: 700;
  text-align: center;
  color: var(--ink-2);
}
.app-quick i {
  display: grid;
  place-items: center;
  width: 3.4em;
  height: 3.4em;
  margin: 0 auto 0.4em;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0.1em 0.5em rgba(27, 29, 42, 0.08);
}
.app-quick svg {
  width: 1.6em;
  height: 1.6em;
  fill: none;
  stroke: var(--emerald);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-quick .dark i {
  border-radius: 1em;
  background: var(--ink);
}
.app-quick .dark svg {
  stroke: var(--white);
}
.app-lessons {
  display: grid;
  gap: 0.5em;
}
.app-lessons > strong {
  font-weight: 800;
  font-size: 0.95em;
}
.app-lessons div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45em;
}
.app-lessons span {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 4.6em;
  padding: 0.55em 0.6em;
  border-radius: 0.85em;
  font-size: 0.7em;
  font-weight: 800;
  line-height: 1.2;
}
.app-lessons small {
  font-weight: 700;
  opacity: 0.8;
}
.l-mat {
  background: var(--s-mat-bg);
  color: var(--s-mat-fg);
}
.l-tur {
  background: var(--s-turkce-bg);
  color: var(--s-turkce-fg);
}
.l-fiz {
  background: var(--s-vat-bg);
  color: var(--s-vat-fg);
}
.app-tabs {
  position: absolute;
  left: 0.9em;
  right: 0.9em;
  bottom: 1.1em;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  align-items: center;
  height: 3.3em;
  padding: 0 0.4em;
  border-radius: 1.65em;
  background: var(--white);
  box-shadow: 0 0.2em 1em rgba(27, 29, 42, 0.1);
  font-size: 0.78em;
  font-weight: 800;
  color: var(--emerald);
  transition:
    opacity 0.35s,
    transform 0.45s var(--ease-out);
}
.phone-screen:has(.scr-today:not(.is-on)) .app-tabs {
  opacity: 0;
  transform: translateY(1.5em);
}
.app-tabs span {
  justify-self: center;
}
.app-tabs svg {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-tabs .on {
  justify-self: stretch;
  padding: 0.55em 0;
  border-radius: 1.3em;
  background: var(--mint-soft);
  text-align: center;
}
.q-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7em;
  font-size: 0.8em;
  font-weight: 800;
  color: var(--ink-2);
}
.q-close {
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0.1em 0.4em rgba(27, 29, 42, 0.08);
}
.q-bar {
  height: 0.45em;
  border-radius: 1em;
  background: var(--line);
  overflow: hidden;
}
.q-bar i {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: var(--emerald);
}
.scr-explain .q-bar i {
  width: 18%;
}
.q-title {
  text-align: center;
  color: var(--ink);
}
.chip {
  align-self: flex-start;
  padding: 0.3em 0.75em;
  border-radius: 1em;
  font-size: 0.7em;
  font-weight: 800;
}
.chip-math {
  background: var(--s-mat-bg);
  color: var(--s-mat-fg);
}
.chip-history {
  background: var(--s-tarih-bg);
  color: var(--s-tarih-fg);
}
.chip-turkish {
  background: var(--s-turkce-bg);
  color: var(--s-turkce-fg);
}
.chip-geo {
  background: var(--s-cog-bg);
  color: var(--s-cog-fg);
}
.chip-civics {
  background: var(--s-vat-bg);
  color: var(--s-vat-fg);
}
.chip-current {
  background: var(--s-gun-bg);
  color: var(--s-gun-fg);
}
.chip-science {
  background: var(--mint-soft);
  color: var(--emerald-deep);
}
.q-text {
  font-size: 1.04em;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.01em;
}
.q-text.small {
  font-size: 0.95em;
}
.q-opts {
  display: grid;
  gap: 0.5em;
}
.q-opts li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7em;
  min-height: 2.75em;
  padding: 0 0.8em;
  border-radius: 0.85em;
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--line) inset;
  font-weight: 700;
  font-size: 0.9em;
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    color 0.3s;
}
.q-opts b {
  display: grid;
  place-items: center;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.85em;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.q-opts li.is-right,
.scr-question.is-answered [data-correct] {
  background: var(--blue-soft);
  box-shadow: 0 0 0 2px var(--blue) inset;
  color: var(--blue);
}
.q-opts li.is-right b,
.scr-question.is-answered [data-correct] b {
  background: var(--blue);
  color: var(--white);
}
.q-opts li.is-wrong {
  background: var(--orange-soft);
  box-shadow: 0 0 0 2px var(--orange) inset;
  color: var(--orange);
}
.q-opts li.is-wrong b {
  background: var(--orange);
  color: var(--white);
}
.q-opts em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72em;
  opacity: 0.85;
}
.q-opts.compact li {
  min-height: 2.5em;
}
.tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.6em;
  height: 2.6em;
  margin: -1.3em 0 0 -1.3em;
  border-radius: 50%;
  background: rgba(27, 29, 42, 0.18);
  box-shadow: 0 0 0 0.35em rgba(27, 29, 42, 0.08);
  opacity: 0;
  pointer-events: none;
}
.q-toast {
  position: absolute;
  left: 1.1em;
  right: 1.1em;
  bottom: 1.4em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1em;
  border-radius: 1em;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9em;
  opacity: 0;
  transform: translateY(1em);
}
.q-toast i {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3.2L14 5.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}
.why {
  display: grid;
  gap: 0.45em;
  padding: 0.9em 1em;
  border-radius: 1em;
  background: var(--white);
  box-shadow: 0 0.1em 0.6em rgba(27, 29, 42, 0.06);
  font-size: 0.82em;
}
.why strong {
  color: var(--blue);
  font-weight: 800;
}
.why p {
  position: relative;
  padding-left: 1.6em;
  counter-increment: why;
}
.why p::before {
  content: counter(why);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.85em;
  font-weight: 800;
}
.note {
  align-self: flex-start;
  padding: 0.5em 0.8em;
  border-radius: 0.8em;
  background: var(--mint-soft);
  color: var(--emerald-deep);
  font-size: 0.72em;
  font-weight: 800;
}
.flip {
  position: relative;
  height: 13em;
  perspective: 60em;
}
.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8em;
  padding: 1.2em;
  border-radius: 1.2em;
  background: var(--white);
  box-shadow: 0 0.6em 1.6em -0.6em rgba(27, 29, 42, 0.2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.9s var(--ease-out);
}
.flip-face p {
  font-size: 1.1em;
  font-weight: 800;
  line-height: 1.35;
}
.flip-face small {
  color: var(--ink-2);
  font-size: 0.72em;
  font-weight: 600;
}
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, var(--white), var(--mint-soft));
}
.flip-back p {
  font-size: 1.8em;
  letter-spacing: -0.03em;
  color: var(--emerald-deep);
}
.flip.is-flipped .flip-front {
  transform: rotateY(-180deg);
}
.flip.is-flipped .flip-back {
  transform: rotateY(0);
}
.rate-q {
  font-size: 0.8em;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
}
.rate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4em;
}
.rate span {
  display: grid;
  gap: 0.1em;
  padding: 0.55em 0.2em;
  border-radius: 0.8em;
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--line) inset;
  font-size: 0.66em;
  color: var(--ink-2);
  text-align: center;
  transition:
    background-color 0.3s,
    color 0.3s,
    transform 0.3s var(--ease-spring);
}
.rate b {
  font-size: 1.15em;
  font-weight: 800;
  color: var(--ink);
}
.rate span.is-picked {
  background: var(--emerald);
  color: var(--white);
  transform: scale(1.06);
  box-shadow: none;
}
.rate span.is-picked b {
  color: var(--white);
}
.res-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}
.res-head div {
  padding: 0.85em 0.9em;
  border-radius: 1em;
  background: var(--white);
  box-shadow: 0 0.1em 0.6em rgba(27, 29, 42, 0.06);
}
.res-head div:first-child {
  background: var(--emerald);
  color: var(--white);
}
.res-head small {
  display: block;
  font-size: 0.68em;
  font-weight: 700;
  opacity: 0.8;
}
.res-head strong {
  font-size: 1.7em;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.bars {
  display: grid;
  gap: 0.75em;
  padding: 1em;
  border-radius: 1em;
  background: var(--white);
  box-shadow: 0 0.1em 0.6em rgba(27, 29, 42, 0.06);
}
.bars li {
  display: grid;
  grid-template-columns: 5.4em 1fr 2.8em;
  align-items: center;
  gap: 0.6em;
  font-size: 0.75em;
  font-weight: 700;
}
.bars i {
  height: 0.7em;
  border-radius: 1em;
  background: linear-gradient(90deg, var(--emerald), var(--mint));
  transform-origin: left;
}
.bars b {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.loss {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0.85em 1em;
  border-radius: 1em;
  background: var(--orange-soft);
  color: var(--orange);
}
.loss small {
  grid-column: 1 / -1;
  font-size: 0.68em;
  font-weight: 700;
}
.loss strong {
  font-weight: 800;
  color: var(--ink);
}
.loss span {
  font-weight: 800;
  font-size: 0.85em;
}

/* ---------- Daily (phone story) ---------- */

.daily {
  position: relative;
  overflow-x: clip;
  padding: clamp(80px, 12vw, 140px) 0;
}
.daily-inner {
  display: grid;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.steps {
  display: grid;
  gap: 4px;
  margin-top: 40px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 16px 0 16px 28px;
  opacity: 0.38;
  transition: opacity 0.5s;
  cursor: pointer;
}
.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: var(--line);
}
.steps li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--emerald);
  transition: height 0.6s var(--ease-out);
}
.steps li.is-on {
  opacity: 1;
}
.steps li.is-on::after {
  height: calc(100% - 36px);
}
.steps h3 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.steps p {
  max-width: 30rem;
  margin-top: 6px;
  color: var(--ink-2);
}
.js .steps p {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.6s var(--ease-out),
    opacity 0.5s,
    margin-top 0.6s var(--ease-out);
}
.js .steps li.is-on p {
  max-height: 9em;
  margin-top: 6px;
  opacity: 1;
}
.daily-device {
  position: relative;
  display: grid;
  place-items: center;
}
.glow {
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 220, 151, 0.35), transparent);
  filter: blur(10px);
}
@media (max-width: 999px) {
  .js .steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
  }
  .js .steps li {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--line) inset;
    opacity: 1;
    transition:
      background-color 0.3s,
      color 0.3s;
  }
  .js .steps li::before,
  .js .steps li::after {
    display: none;
  }
  .js .steps h3 {
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
  }
  .js .steps li.is-on {
    background: var(--emerald);
    color: var(--white);
    box-shadow: none;
  }
  .js .steps li p,
  .js .steps li.is-on p {
    max-height: 0;
    margin: 0;
    opacity: 0;
  }
  .daily-inner {
    gap: 32px;
  }
}
@media (min-width: 1000px) {
  .daily {
    padding: 0;
  }
  .daily-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100vh;
    padding-top: 72px;
  }
  .phone {
    width: min(330px, 26vw);
  }
}

/* Phone story extras: colour glow per step, floating notes, confetti, progress rail */
.daily-device {
  perspective: 1400px;
}
.daily-device .phone {
  z-index: 2;
  transform-style: preserve-3d;
}
.daily-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 120%);
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--glow, #3ddc97);
  opacity: 0.55;
  filter: blur(70px);
  transform: translate(-50%, -50%);
  transition: background-color 0.9s var(--ease-out);
  pointer-events: none;
}
.daily-device[data-step="question"] {
  --glow: #7aa7ff;
}
.daily-device[data-step="explain"] {
  --glow: #ffab7a;
}
.daily-device[data-step="card"] {
  --glow: #b79cff;
}
.daily-device[data-step="result"] {
  --glow: #ffd166;
}
.daily-floats {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.dfloat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 20px 40px -18px rgba(27, 29, 42, 0.4);
  font-size: 0.8125rem;
  line-height: 1.25;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px) scale(0.7);
  transition:
    opacity 0.35s,
    transform 0.6s var(--ease-spring);
}
.dfloat b {
  display: block;
  color: var(--ink);
  font-weight: 800;
}
.dfloat.is-on {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}
.dfloat.is-on.df-b {
  transition-delay: 0.6s;
}
.df-a {
  left: -4%;
  top: 18%;
}
.df-b {
  right: -6%;
  bottom: 20%;
}
.fi {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 10px;
  background: var(--emerald)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3.2L14 5.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}
.fi-blue {
  background-color: var(--blue);
}
.fi-orange {
  background-color: var(--orange);
}
.fi-violet {
  background-color: var(--violet);
}
.is-live-floats .dfloat.is-on {
  animation: bob 4.5s ease-in-out infinite;
}
.confetti {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 0.55em;
  height: 0.55em;
  border-radius: 2px;
  pointer-events: none;
}
.confetti.c0 {
  background: var(--blue);
}
.confetti.c1 {
  background: var(--mint);
}
.confetti.c2 {
  background: #ffd166;
  border-radius: 50%;
}
.confetti.c3 {
  background: var(--emerald);
  border-radius: 50%;
}
@media (min-width: 1000px) {
  .js .steps {
    position: relative;
  }
  .js .steps::before,
  .js .steps::after {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 3px;
    border-radius: 3px;
  }
  .js .steps::before {
    bottom: 16px;
    background: var(--line);
  }
  .js .steps::after {
    height: calc((100% - 32px) * var(--p, 0));
    background: linear-gradient(var(--emerald), var(--mint));
  }
  .js .daily .steps li::before,
  .js .daily .steps li::after {
    display: none;
  }
}
@media (max-width: 999px) {
  .dfloat {
    font-size: 0.75rem;
    padding: 8px 12px 8px 8px;
  }
  .df-a {
    left: 0;
    top: 6%;
  }
  .df-b {
    right: 0;
    bottom: 10%;
  }
}

/* ---------- Pen stage (tablet) ---------- */

.pen-stage {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
  background:
    radial-gradient(70% 60% at 70% 70%, rgba(61, 220, 151, 0.14), transparent 70%),
    linear-gradient(180deg, var(--forest), #052a20);
  color: var(--white);
  overflow: hidden;
}
.pen-inner {
  display: grid;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pen-copy .section-title {
  font-size: clamp(2rem, 1.1rem + 2.6vw, 3.5rem);
}
.pen-copy p {
  max-width: 34rem;
  margin-top: 22px;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.78);
}
.pen-facts {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.pen-facts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.pen-facts li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 5.5l3.5 3L12.5 1.5' fill='none' stroke='%233ddc97' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.tablet {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.tablet-body {
  padding: 2.2%;
  border-radius: 4.4% / 6.2%;
  background: linear-gradient(150deg, #33374a, #14151e 50%, #2c2f3e);
  box-shadow:
    0 0 0 1.5px #45495c inset,
    0 60px 120px -40px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
.tablet-screen {
  width: 100%;
  height: auto;
  border-radius: 2.4% / 3.4%;
  font-family: var(--font);
}
.ts-bg {
  fill: var(--paper);
}
.ts-status text {
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink);
}
.ts-bar circle {
  fill: var(--white);
}
.ts-bar path {
  stroke: var(--ink-2);
  stroke-width: 2.4;
  stroke-linecap: round;
}
.ts-bar text {
  font-size: 17px;
  font-weight: 800;
  fill: var(--ink-2);
}
.ts-bar .ts-title {
  fill: var(--ink);
  font-size: 20px;
}
.ts-track {
  fill: var(--line);
}
.ts-progress {
  fill: var(--emerald);
}
.ts-timer {
  fill: var(--white);
}
.ts-bar .ts-timer-t {
  fill: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ts-chip {
  fill: var(--s-mat-bg);
}
.ts-chip-t {
  font-size: 14px;
  font-weight: 800;
  fill: var(--s-mat-fg);
}
.ts-q {
  font-size: 19px;
  font-weight: 700;
  fill: var(--ink);
}
.fig-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linejoin: round;
}
.fig-arc {
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.6;
}
.ts-fig text {
  font-size: 17px;
  font-weight: 800;
  fill: var(--ink);
}
.ts-fig .fig-val {
  font-size: 14px;
  font-weight: 700;
  fill: var(--ink-2);
}
.ts-opts rect {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1.5;
  transition:
    fill 0.4s,
    stroke 0.4s;
}
.ts-opts circle {
  fill: var(--paper);
  transition: fill 0.4s;
}
.ts-opts text {
  font-size: 17px;
  font-weight: 700;
  fill: var(--ink);
}
.ts-opts .ts-letter {
  font-size: 13px;
  font-weight: 800;
}
.ts-check {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.ts-opt-c.is-correct rect {
  fill: var(--blue-soft);
  stroke: var(--blue);
  stroke-width: 2.4;
}
.ts-opt-c.is-correct circle {
  fill: var(--blue);
}
.ts-opt-c.is-correct .ts-letter {
  fill: var(--white);
}
.ts-opt-c.is-correct text {
  fill: var(--blue);
}
.ts-opt-c.is-correct .ts-check {
  opacity: 1;
}
.ts-divider {
  stroke: var(--line);
  stroke-width: 1.5;
}
.ts-pane {
  font-size: 15px;
  font-weight: 800;
  fill: var(--ink-2);
}
.tool-ink {
  fill: var(--ink);
}
.tool-blue {
  fill: var(--blue);
}
.tool-orange {
  fill: var(--orange);
}
.tool-eraser {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1.5;
}
.ts-paper {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1.5;
}
.ink {
  fill: none;
  stroke: #24308f;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ink-fig {
  stroke-width: 2.6;
}
.ink-under {
  stroke: var(--orange);
  stroke-width: 3;
}
.ts-verdict rect {
  fill: var(--blue-soft);
}
.ts-verdict circle {
  fill: var(--blue);
}
.ts-verdict path {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ts-verdict text {
  font-size: 17px;
  font-weight: 600;
  fill: var(--ink);
}
.ts-verdict .ts-verdict-title {
  font-size: 21px;
  font-weight: 800;
  fill: var(--blue);
}
.pen {
  opacity: 0;
  pointer-events: none;
}
.pen-body {
  fill: #f4f5f8;
  stroke: #d9dce6;
  stroke-width: 1;
}
.pen-cap {
  fill: #e2e5ee;
}
.pen-tip {
  fill: #8d91a5;
}
.js .pen-stage.is-ready .ts-verdict {
  opacity: 0;
}
@media (min-width: 1000px) {
  .pen-stage {
    padding: 0;
  }
  .pen-inner {
    grid-template-columns: minmax(280px, 0.72fr) 1.6fr;
    align-items: center;
    min-height: 100vh;
    gap: 56px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ---------- Fresh (question belt) ---------- */

.fresh {
  padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.fresh-head {
  display: grid;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.fresh-head p {
  max-width: 40rem;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
@media (min-width: 1000px) {
  .fresh-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    column-gap: 64px;
  }
  .fresh-head .section-title {
    grid-row: span 2;
  }
}
.belt {
  position: relative;
  height: 250px;
  margin-top: 64px;
}
.belt-track {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 20px;
  padding-left: var(--gutter);
}
.js .belt-track {
  display: block;
  padding: 0;
}
.qcard {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 280px;
  height: 210px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition:
    opacity 0.6s,
    filter 0.6s;
}
.js .qcard {
  position: absolute;
  left: 0;
  top: 0;
}
.qcard .chip {
  font-size: 0.75rem;
}
.qcard::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 26px no-repeat;
  transform: scale(0) rotate(-40deg);
  transition: transform 0.55s var(--ease-spring);
}
.qcard.is-done {
  opacity: 0.42;
  filter: saturate(0.3);
}
.qcard.is-done::after {
  transform: scale(1) rotate(0);
}
.belt-gate {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--emerald) 20%, var(--emerald) 80%, transparent);
  pointer-events: none;
}
.belt-gate span {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
  white-space: nowrap;
}
.belt-gate::after {
  content: "";
  position: absolute;
  inset: 10% -40px;
  background: radial-gradient(closest-side, rgba(61, 220, 151, 0.25), transparent);
}
.no-js .belt-gate,
html:not(.js) .belt-gate {
  display: none;
}

/* ---------- Toolbox ---------- */

.toolbox {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--white);
  overflow: hidden;
}
.toolbox-head {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 0 var(--gutter);
}
.toolbox-head p {
  max-width: 36rem;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
.tools {
  display: flex;
  gap: 18px;
  padding: 0 var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tools::-webkit-scrollbar {
  display: none;
}
.tool {
  flex: none;
  width: min(82vw, 360px);
  scroll-snap-align: center;
}
.tool h3 {
  margin-top: 18px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tool p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.tool-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 300px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--paper);
}
.toolbox-more {
  display: flex;
  width: max-content;
  margin: 40px auto 0;
}
@media (min-width: 1000px) {
  .toolbox {
    padding: 0;
  }
  .toolbox.is-pinned-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
  }
  .tools {
    overflow: visible;
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .tool {
    width: 380px;
  }
  .tool-art {
    height: 340px;
  }
  .toolbox:not(.is-pinned-layout) {
    padding: 120px 0;
  }
  .toolbox:not(.is-pinned-layout) .tools {
    overflow-x: auto;
  }
}

/* tool: photo */
.paper {
  display: grid;
  gap: 12px;
  width: 64%;
  padding: 26px 22px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: rotate(-4deg);
}
.paper i {
  height: 8px;
  border-radius: 4px;
  background: var(--line);
}
.paper .short {
  width: 55%;
}
.scan {
  position: absolute;
  inset: 22% 14%;
}
.scan span {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3.5px solid var(--emerald);
}
.scan span:nth-child(1) {
  left: 0;
  top: 0;
  border-width: 3.5px 0 0 3.5px;
  border-radius: 10px 0 0 0;
}
.scan span:nth-child(2) {
  right: 0;
  top: 0;
  border-width: 3.5px 3.5px 0 0;
  border-radius: 0 10px 0 0;
}
.scan span:nth-child(3) {
  left: 0;
  bottom: 0;
  border-width: 0 0 3.5px 3.5px;
  border-radius: 0 0 0 10px;
}
.scan span:nth-child(4) {
  right: 0;
  bottom: 0;
  border-width: 0 3.5px 3.5px 0;
  border-radius: 0 0 10px 0;
}
.scan b {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--mint);
  box-shadow: 0 0 18px 4px rgba(61, 220, 151, 0.55);
}
.scan-done {
  position: absolute;
  bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
}
.is-live .scan b {
  animation: scan 2.6s ease-in-out infinite;
}
.is-live .scan {
  animation: scanpulse 2.6s ease-in-out infinite;
}
.is-live .scan-done {
  animation: popin 5.2s var(--ease-spring) infinite;
}
@keyframes scan {
  0%,
  100% {
    top: 4%;
  }
  50% {
    top: 94%;
  }
}
@keyframes scanpulse {
  50% {
    inset: 20% 12%;
  }
}
@keyframes popin {
  0%,
  45% {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
  }
  55%,
  92% {
    transform: none;
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* tool: tutor */
.tool-tutor .tool-art {
  align-content: center;
  justify-items: stretch;
  gap: 10px;
  padding: 24px;
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}
.bubble.me {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--emerald);
  color: var(--white);
}
.bubble.it {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.typing {
  display: flex;
  gap: 5px;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
}
.is-live .typing i {
  animation: dots 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dots {
  50% {
    transform: translateY(-5px);
    opacity: 0.4;
  }
}
.is-live .bubble {
  animation: bubble 8s var(--ease-out) infinite both;
}
.is-live .bubble:nth-child(2) {
  animation-delay: 0.8s;
}
.is-live .bubble:nth-child(3) {
  animation-delay: 1.8s;
}
.is-live .bubble:nth-child(4) {
  animation-delay: 2.6s;
}
@keyframes bubble {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  6%,
  90% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

/* tool: audio */
.tool-audio .tool-art {
  align-content: center;
  gap: 18px;
  background: linear-gradient(160deg, var(--s-vat-bg), var(--paper));
}
.wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 90px;
}
.wave i {
  width: 6px;
  height: 30%;
  border-radius: 3px;
  background: var(--violet);
}
.wave i:nth-child(3n) {
  height: 70%;
}
.wave i:nth-child(4n + 1) {
  height: 48%;
}
.wave i:nth-child(5n + 2) {
  height: 90%;
}
.is-live .wave i {
  animation: wave 1.1s ease-in-out infinite alternate;
}
.wave i:nth-child(2n) {
  animation-delay: -0.3s;
}
.wave i:nth-child(3n) {
  animation-delay: -0.6s;
}
.wave i:nth-child(5n) {
  animation-delay: -0.85s;
}
@keyframes wave {
  to {
    transform: scaleY(0.35);
  }
}
.audio-meta {
  display: flex;
  justify-content: space-between;
  width: 240px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--violet);
}

/* tool: chronology */
.chrono {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 28px;
}
.chrono::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--s-tarih-fg);
  opacity: 0.25;
}
.chrono li {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 700;
}
.chrono li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--s-tarih-bg);
  box-shadow: 0 0 0 2.5px var(--s-tarih-fg) inset;
}
.chrono b {
  display: block;
  font-size: 0.75rem;
  color: var(--s-tarih-fg);
}
.tool-chrono .tool-art {
  background: linear-gradient(160deg, var(--s-tarih-bg), var(--paper) 70%);
}
.is-live .chrono li {
  animation: chrono 6s var(--ease-out) infinite both;
}
.chrono li:nth-child(2) {
  animation-delay: 0.4s;
}
.chrono li:nth-child(3) {
  animation-delay: 0.8s;
}
.chrono li:nth-child(4) {
  animation-delay: 1.2s;
}
@keyframes chrono {
  0% {
    opacity: 0;
    transform: translateX(-16px);
  }
  10%,
  88% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

/* tool: plan */
.tool-plan .tool-art {
  align-content: center;
  gap: 18px;
  padding: 24px;
}
.week {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 48px);
  grid-template-rows: auto 150px;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  color: var(--ink-2);
}
.blk {
  position: absolute;
  width: 48px;
  border-radius: 10px;
}
.b1 {
  left: 0;
  top: 30px;
  height: 52px;
  background: var(--s-mat-bg);
}
.b2 {
  left: 56px;
  top: 30px;
  height: 80px;
  background: var(--s-turkce-bg);
}
.b3 {
  left: 112px;
  top: 30px;
  height: 64px;
  background: var(--s-cog-bg);
  box-shadow: 0 0 0 2px var(--s-cog-fg) inset;
}
.b4 {
  left: 168px;
  top: 100px;
  height: 56px;
  background: var(--s-vat-bg);
}
.b5 {
  left: 224px;
  top: 30px;
  height: 100px;
  background: var(--s-tarih-bg);
}
.is-live .moving {
  animation: replan 4.5s var(--ease-out) infinite;
}
@keyframes replan {
  0%,
  25% {
    transform: none;
  }
  45% {
    transform: translate(28px, -14px) rotate(5deg);
    box-shadow:
      0 0 0 2px var(--s-cog-fg) inset,
      0 16px 26px -10px rgba(14, 95, 112, 0.5);
  }
  65%,
  100% {
    transform: translate(56px, 0);
  }
}
.plan-note {
  max-width: 260px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

/* tool: focus */
.focus-ring {
  width: 200px;
  height: 200px;
  transform: rotate(-90deg);
}
.focus-ring circle {
  fill: none;
  stroke: var(--line);
  stroke-width: 9;
}
.focus-ring .focus-fill {
  stroke: var(--emerald);
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 30;
}
.is-live .focus-ring .focus-fill {
  animation: focus 9s linear infinite;
}
@keyframes focus {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: 100;
  }
}
.focus-time {
  position: absolute;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.tool-focus .tool-art {
  background: radial-gradient(closest-side, var(--mint-soft), var(--paper));
}

/* tool: score */
.score {
  width: 78%;
  padding: 22px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.score small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-2);
}
.score strong {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}
.score-bar {
  position: relative;
  height: 10px;
  margin: 14px 0 26px;
  border-radius: 5px;
  background: var(--line);
}
.score-bar i {
  position: absolute;
  inset: 0 22% 0 0;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--emerald), var(--mint));
  transform-origin: left;
}
.is-live .score-bar i {
  animation: grow 5s var(--ease-out) infinite;
}
@keyframes grow {
  0% {
    transform: scaleX(0);
  }
  35%,
  100% {
    transform: none;
  }
}
.score-bar b {
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 0.6875rem;
  color: var(--ink-2);
}
.score-bar b::before {
  content: "";
  position: absolute;
  right: 0;
  top: -22px;
  width: 2px;
  height: 18px;
  background: var(--ink);
}
.score p {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}

/* tool: room */
.room {
  display: flex;
}
.av {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-left: -14px;
  border-radius: 50%;
  border: 4px solid var(--paper);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}
.a1 {
  background: var(--emerald);
}
.a2 {
  background: var(--blue);
}
.a3 {
  background: var(--orange);
}
.a4 {
  background: var(--violet);
}
.a5 {
  background: var(--ink);
}
.is-live .av {
  animation: hop 3.2s var(--ease-spring) infinite;
}
.av:nth-child(2) {
  animation-delay: 0.2s;
}
.av:nth-child(3) {
  animation-delay: 0.4s;
}
.av:nth-child(4) {
  animation-delay: 0.6s;
}
.av:nth-child(5) {
  animation-delay: 0.8s;
}
@keyframes hop {
  0%,
  30%,
  100% {
    transform: none;
  }
  15% {
    transform: translateY(-12px);
  }
}
.room-note {
  position: absolute;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
}
.room-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.25);
}

/* ---------- Exam wall: one card per exam group ---------- */

.exam-wall {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) var(--gutter);
}
.exam-wall-head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}
.exam-wall-head p {
  max-width: 34rem;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
@media (min-width: 1000px) {
  .exam-wall-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 64px;
  }
}
.exam-cards {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px) {
  .exam-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .exam-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.exam-card {
  --ec: var(--mint-soft);
  --ec-ink: var(--emerald-deep);
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.4s;
}
.exam-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px var(--line) inset,
    0 30px 50px -30px rgba(6, 59, 44, 0.35);
}
.ec-0 {
  --ec: #dde9ff;
  --ec-ink: #1d47ae;
}
.ec-1 {
  --ec: #fff0c2;
  --ec-ink: #7a5600;
}
.ec-2 {
  --ec: #ffe2d2;
  --ec-ink: #8a3b12;
}
.ec-3 {
  --ec: #ffe0ea;
  --ec-ink: #9c2a55;
}
.ec-4 {
  --ec: #ece3ff;
  --ec-ink: #5b3bb0;
}
.exam-card header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.exam-card-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 22px;
  background: var(--ec);
}
.group-icon {
  width: 56px;
  height: 56px;
  transition: transform 0.6s var(--ease-spring);
}
.exam-card:hover .group-icon {
  transform: rotate(-8deg) scale(1.12);
}
.exam-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.exam-card header p {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ec-ink);
}
.exam-card ul {
  display: grid;
}
.exam-card li + li {
  border-top: 1px solid var(--line);
}
.exam-card li a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: 14px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    padding 0.35s var(--ease-out);
}
.exam-card li a::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ec)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%231b1d2a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.25s,
    transform 0.35s var(--ease-spring);
}
.exam-card li a:hover {
  background: var(--ec);
  padding-left: 16px;
}
.exam-card li a:hover::after {
  opacity: 1;
  transform: none;
}
.exam-card li b {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.exam-card li span {
  overflow: hidden;
  font-size: 0.875rem;
  color: var(--ink-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- Plans teaser ---------- */

.plans {
  display: grid;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 11vw, 140px);
}
.plans-copy p {
  max-width: 32rem;
  margin: 22px 0 30px;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
.plans-list {
  display: grid;
  align-self: center;
  border-top: 1px solid var(--line);
}
.plans-list li {
  display: grid;
  grid-template-columns: 1fr auto 3.6rem;
  align-items: baseline;
  gap: 12px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plans-list b {
  font-variant-numeric: tabular-nums;
}
.plans-list small {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}
.plans-list .is-featured {
  margin: 0 -16px;
  padding: 18px 20px;
  border-radius: 18px;
  border-bottom-color: transparent;
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 18px 40px -18px rgba(10, 127, 92, 0.8);
}
.plans-list .is-featured small {
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 1000px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

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

.finale {
  position: relative;
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
}
.finale-cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 160px) var(--gutter) clamp(70px, 9vw, 110px);
  text-align: center;
}
.finale-cta::before {
  content: "";
  position: absolute;
  inset: 10% 10% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(61, 220, 151, 0.2), transparent);
  pointer-events: none;
}
.finale-mark {
  width: 120px;
}
.finale-tick path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.finale-title {
  max-width: 14ch;
  font-size: var(--fs-section);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.finale-lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.75);
}
.finale .stores {
  justify-content: center;
  margin-top: 10px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  border-top: 1px solid var(--forest-line);
}
.footer-brand img {
  width: 120px;
  height: auto;
}
.footer-brand p {
  max-width: 22rem;
  margin-top: 14px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.68);
}
.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 8px;
}
.footer-grid h3 {
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.footer-grid nav a {
  width: max-content;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}
.footer-grid nav a:hover {
  color: var(--mint);
}
.footer-legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) max(32px, env(safe-area-inset-bottom));
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ---------- Inner pages ---------- */

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) clamp(48px, 7vw, 88px);
}
.page-title {
  max-width: 16ch;
  font-size: var(--fs-page);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.page-lead {
  max-width: 44rem;
  margin-top: 24px;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 9vw, 120px);
}
.band-title {
  max-width: 22ch;
  margin-bottom: 28px;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.prose {
  max-width: 44rem;
}
.prose p + p {
  margin-top: 16px;
}
.prose p {
  color: var(--ink-2);
}

/* Features page */
.feature-nav {
  position: sticky;
  top: 72px;
  z-index: 20;
  display: flex;
  gap: 6px;
  max-width: var(--max);
  margin: 0 auto 24px;
  padding: 10px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(246, 247, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.feature-nav a {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.feature-nav a.is-on,
.feature-nav a:hover {
  background: var(--ink);
  color: var(--white);
}
.chapter {
  display: grid;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
  border-top: 1px solid var(--line);
}
.chapter-head .band-title {
  margin-bottom: 18px;
}
.chapter-head p {
  max-width: 34rem;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}
.chapter-list {
  display: grid;
  gap: 2px;
  align-content: start;
}
.chapter-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.chapter-list .mk {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--mint-soft);
}
.chapter-list .mk svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--emerald-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chapter-list h3 {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.chapter-list p {
  color: var(--ink-2);
  font-size: var(--fs-small);
}
@media (min-width: 1000px) {
  .chapter {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }
  .chapter-head {
    position: sticky;
    top: 150px;
    align-self: start;
  }
}
.chapter-dark {
  max-width: none;
  background: var(--forest);
  color: var(--white);
  border: 0;
}
.chapter-dark > * {
  max-width: var(--max);
}
.chapter-dark .chapter-head p,
.chapter-dark .chapter-list p {
  color: rgba(255, 255, 255, 0.72);
}
.chapter-dark .chapter-list li {
  border-color: var(--forest-line);
}
.chapter-dark .chapter-list .mk {
  background: rgba(61, 220, 151, 0.14);
}
.chapter-dark .chapter-list .mk svg {
  stroke: var(--mint);
}
@media (min-width: 1000px) {
  .chapter-dark {
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
}

/* Exams pages */
.exam-index {
  display: grid;
  gap: 56px;
}
.exam-index-group h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.exam-rows {
  border-top: 1px solid var(--line);
}
.exam-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition:
    background-color 0.25s,
    padding 0.35s var(--ease-out);
}
.exam-row:hover {
  padding-left: 18px;
  background: var(--white);
}
.exam-row strong {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.exam-row span {
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.exam-row .facts {
  grid-row: span 2;
  grid-column: 2;
  text-align: right;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.exam-row .name {
  grid-column: 1;
}
.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 40px;
  border-top: 2px solid var(--ink);
}
.spec div {
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-2);
}
.spec dd {
  margin-top: 4px;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.sections-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.sections-table caption {
  text-align: left;
  padding-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sections-table th,
.sections-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.sections-table thead th {
  font-size: 0.8125rem;
  color: var(--ink-2);
  font-weight: 700;
}
.sections-table td:last-child,
.sections-table th:last-child {
  text-align: right;
}
.sections-table tbody td {
  font-weight: 600;
}
.sections-table tfoot td {
  font-weight: 800;
  border-bottom: 0;
}
.two-col {
  display: grid;
  gap: 48px;
}
@media (min-width: 1000px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.prep-list {
  display: grid;
  gap: 18px;
}
.prep-list li {
  position: relative;
  padding-left: 34px;
}
.prep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 22px no-repeat;
}
.prep-list strong {
  display: block;
  font-weight: 800;
}
.prep-list span {
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.related a {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.related a:hover {
  background: var(--emerald);
  color: var(--white);
}

/* FAQ */
.faq-group + .faq-group {
  margin-top: 56px;
}
.faq-group h2 {
  margin-bottom: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-2);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa:first-of-type {
  border-top: 1px solid var(--line);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 10v12M10 16h12' fill='none' stroke='%231b1d2a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 32px no-repeat;
  box-shadow: 0 0 0 1px var(--line) inset;
  transition:
    transform 0.4s var(--ease-out),
    background-color 0.3s;
}
.qa[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--mint-soft);
}
.qa-body {
  max-width: 46rem;
  padding: 0 0 24px;
  color: var(--ink-2);
}
.qa-body p + p {
  margin-top: 10px;
}

/* Question bank page */
.flow {
  display: grid;
  gap: 0;
  counter-reset: flow;
}
.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.flow li::before {
  counter-increment: flow;
  content: counter(flow);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}
.flow li:last-child::before {
  background: var(--emerald);
}
.flow h3 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.flow p {
  max-width: 40rem;
  color: var(--ink-2);
}
.sample {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.sample-q {
  margin: 14px 0 20px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}
.sample table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
}
.sample th,
.sample td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: center;
}
.sample th {
  background: var(--paper);
  font-weight: 700;
}
.sample ol {
  display: grid;
  gap: 8px;
}
.sample li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 0 0 1.5px var(--line) inset;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    color 0.3s;
}
.sample li b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.8125rem;
}
.sample li:hover {
  box-shadow: 0 0 0 1.5px var(--ink-3) inset;
}
.sample li.is-right {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue) inset;
}
.sample li.is-right b {
  background: var(--blue);
  color: var(--white);
}
.sample li.is-wrong {
  background: var(--orange-soft);
  color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange) inset;
}
.sample li.is-wrong b {
  background: var(--orange);
  color: var(--white);
}
.sample-why {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.sample-why strong {
  color: var(--ink);
}
.sample-hint {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* Pricing */
.billing {
  display: inline-flex;
  margin-top: 32px;
  padding: 5px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.billing button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.billing button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}
.packs {
  display: grid;
  gap: 14px;
}
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.pack h2 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pack > p {
  min-height: 3em;
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.price {
  display: grid;
  gap: 2px;
}
.price strong {
  font-size: clamp(1.6rem, 1.15rem + 0.8vw, 2.1rem);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-size: 0.8125rem;
  color: var(--ink-2);
  font-weight: 600;
}
.price s {
  color: var(--ink-3);
}
.js .price[data-until] {
  display: none;
}
.js .packs.show-until .price[data-until] {
  display: grid;
}
.js .packs.show-until .price[data-monthly] {
  display: none;
}
.pack ul {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  font-size: var(--fs-small);
}
.pack li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.pack li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 5.5l3.5 3L12.5 1.5' fill='none' stroke='%230a7f5c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.pack .button {
  margin-top: auto;
}
.pack.is-featured {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 30px 60px -30px rgba(6, 59, 44, 0.8);
}
.pack.is-featured > p,
.pack.is-featured .price small {
  color: rgba(255, 255, 255, 0.72);
}
.pack.is-featured li::before {
  filter: hue-rotate(-10deg) brightness(1.8);
}
.pack.is-featured .button-solid {
  background: var(--mint);
  color: var(--forest);
}
.pack-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
}
@media (min-width: 760px) {
  .packs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1180px) {
  .packs {
    grid-template-columns: repeat(5, 1fr);
  }
  .pack.is-featured {
    transform: translateY(-14px);
  }
}
.compare-wrap {
  overflow-x: auto;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
  font-weight: 600;
}
.compare thead th {
  position: sticky;
  top: 0;
  background: var(--white);
  font-weight: 800;
}
.compare .col-featured {
  background: rgba(10, 127, 92, 0.06);
}
.compare tbody tr:hover {
  background: var(--paper);
}
.yes,
.no {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
.yes {
  border-radius: 50%;
  background: var(--emerald)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}
.no {
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-3);
}
.footnote {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

/* ---------- Blog ---------- */

.cover {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font);
}
.blog-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gutter) 96px;
}
.blog-intro {
  max-width: 44rem;
  padding: 12px 0 28px;
}
.blog-intro h1 {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.blog-intro p {
  margin-top: 12px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.blog-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.blog-tabs::-webkit-scrollbar {
  display: none;
}
.blog-tabs button {
  flex: none;
  margin-bottom: -1px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.blog-tabs button:hover {
  color: var(--ink);
}
.blog-tabs button.is-on {
  color: var(--ink);
  border-bottom-color: var(--emerald);
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--emerald-deep);
}
.blog-meta span + span {
  color: var(--ink-3);
}
.blog-excerpt {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.blog-exams {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-3);
}
.blog-lead-post {
  display: grid;
  gap: 24px;
  margin-bottom: 56px;
  text-decoration: none;
}
.blog-lead-cover,
.blog-card-cover {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1200 / 630;
  background: var(--surface-muted, #f0f1f6);
}
.blog-lead-text {
  display: grid;
  align-content: center;
  gap: 12px;
}
.blog-lead-text h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.blog-lead-text .blog-excerpt {
  font-size: 1.0625rem;
}
@media (min-width: 900px) {
  .blog-lead-post {
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
  }
}
.blog-grid {
  display: grid;
  gap: 44px 32px;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.blog-card a {
  display: grid;
  align-content: start;
  gap: 10px;
  text-decoration: none;
}
.blog-card-cover {
  margin-bottom: 6px;
}
.blog-card h2,
.blog-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.blog-card .blog-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-lead-post h2,
.blog-card h2,
.blog-card h3 {
  transition: color 0.2s;
}
.blog-lead-post:hover h2,
.blog-card a:hover h2,
.blog-card a:hover h3 {
  color: var(--emerald);
}
.blog-lead-cover .cover,
.blog-card-cover .cover {
  transition: transform 0.5s var(--ease-out);
}
.blog-lead-post:hover .cover,
.blog-card a:hover .cover {
  transform: scale(1.03);
}
.blog-card[hidden] {
  display: none;
}

/* Post page */
.post-head .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 600;
}
.post-head .post-meta a {
  color: var(--emerald-deep);
  text-decoration: none;
}
.post-head .post-meta a:hover {
  text-decoration: underline;
}
.post-head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}
.post-title {
  max-width: 22ch;
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.post-sub {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.post-hero-cover .cover {
  height: 100%;
}
.post-hero-cover {
  aspect-ratio: 1200 / 540;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(6, 59, 44, 0.6);
}
.post-layout {
  display: grid;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px var(--gutter) 40px;
}
@media (min-width: 1000px) {
  .post-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
  }
  .toc {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}
.toc p {
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--ink-2);
}
.toc ol {
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--line);
}
.toc a {
  display: block;
  margin-left: -2px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-2);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.toc a:hover,
.toc a.is-on {
  color: var(--emerald);
  border-left-color: var(--emerald);
}
.post-body {
  max-width: 44rem;
}
.summary {
  margin-bottom: 36px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--mint-soft);
}
.summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--emerald-deep);
}
.summary p {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}
.prose-post {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2c2f40;
}
.prose-post > * + * {
  margin-top: 1.1em;
}
.prose-post h2 {
  margin-top: 2.2em;
  font-size: clamp(1.45rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  scroll-margin-top: 96px;
}
.prose-post h3 {
  margin-top: 1.8em;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.prose-post ul,
.prose-post ol:not(.timeline):not(.steps-list) {
  padding-left: 1.3em;
}
.prose-post ul {
  list-style: disc;
}
.prose-post ol:not(.timeline):not(.steps-list) {
  list-style: decimal;
}
.prose-post li + li {
  margin-top: 0.35em;
}
.prose-post strong {
  color: var(--ink);
}
.prose-post blockquote {
  margin: 1.4em 0;
  padding-left: 18px;
  border-left: 3px solid var(--emerald);
  color: var(--ink-2);
}
.prose-post table,
.viz-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.table-scroll {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line) inset;
  background: var(--white);
}
.prose-post th,
.prose-post td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose-post thead th {
  background: var(--paper);
  font-weight: 800;
  font-size: 0.875rem;
}
.prose-post tr:last-child td {
  border-bottom: 0;
}
.viz {
  margin: 2em 0;
}
.viz figcaption {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--ink);
}
.viz-bar {
  padding: 22px 24px 16px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.viz-bar svg {
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font);
}
.bar-label {
  font-size: 16px;
  font-weight: 700;
  fill: var(--ink);
}
.bar-value {
  font-size: 16px;
  font-weight: 800;
  fill: var(--ink-2);
}
.viz-bar .bar {
  transform-box: fill-box;
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.js .viz-bar:not(.is-in) .bar {
  transform: scaleX(0);
}
.bar.c1 {
  fill: var(--emerald);
}
.bar.c2 {
  fill: var(--blue);
}
.bar.c3 {
  fill: #e08a2c;
}
.bar.c4 {
  fill: var(--violet);
}
.bar.c5 {
  fill: #0e8aa3;
}
.bar.c6 {
  fill: #c2417a;
}
.week-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .week-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
.day {
  padding: 12px 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.day b {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
}
.day ul {
  display: grid;
  gap: 6px;
  padding: 0 !important;
  list-style: none !important;
}
.day li {
  margin: 0 !important;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.s-mat {
  background: var(--s-mat-bg);
  color: var(--s-mat-fg);
}
.s-tur {
  background: var(--s-turkce-bg);
  color: var(--s-turkce-fg);
}
.s-tar {
  background: var(--s-tarih-bg);
  color: var(--s-tarih-fg);
}
.s-cog {
  background: var(--s-cog-bg);
  color: var(--s-cog-fg);
}
.s-vat {
  background: var(--s-vat-bg);
  color: var(--s-vat-fg);
}
.s-fen {
  background: var(--mint-soft);
  color: var(--emerald-deep);
}
.s-den {
  background: var(--ink);
  color: var(--white);
}
.s-tek {
  background: var(--s-gun-bg);
  color: var(--s-gun-fg);
}
.s-gen {
  background: var(--paper);
  color: var(--ink-2);
}
.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 30px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--emerald), var(--mint));
}
.timeline li {
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px var(--emerald) inset;
}
.timeline b {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--emerald-deep);
}
.timeline p {
  margin-top: 2px;
  font-size: 0.9875rem;
}
.steps-list {
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: st;
}
.steps-list li {
  position: relative;
  padding: 16px 18px 16px 62px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line) inset;
  counter-increment: st;
}
.steps-list li::before {
  content: counter(st);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 800;
}
.steps-list strong {
  display: block;
  font-weight: 800;
}
.steps-list p {
  margin-top: 2px;
  font-size: 0.9875rem;
  color: var(--ink-2);
}
.tip {
  margin: 2em 0;
  padding: 20px 22px 20px 60px;
  border-radius: 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2V17h5v-1.1c0-.8.4-1.5 1-2A6 6 0 0 0 12 3Z' fill='none' stroke='%23075e44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      20px 20px / 26px no-repeat,
    linear-gradient(135deg, var(--mint-soft), #f1fbf6);
  box-shadow: 0 0 0 1px rgba(10, 127, 92, 0.15) inset;
}
.tip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.875rem;
  color: var(--emerald-deep);
}
.viz-formula {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--forest);
  color: var(--white);
}
.viz-formula figcaption {
  color: var(--mint);
}
.viz-formula div {
  display: grid;
  gap: 6px;
  font-size: 1.0625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.post-faq {
  margin-top: 56px;
}
.post-faq h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.post-cta {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  padding: 28px;
  border-radius: 24px;
  background: var(--forest);
  color: var(--white);
}
.post-cta strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.post-cta p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
}
.post-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.post-cta .button-line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.post-cta .button-solid {
  background: var(--mint);
  color: var(--forest);
}
.related-posts {
  padding-top: 24px;
}

/* ---------- "Çok yakında" popup (before launch) ---------- */

.soon {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.soon::backdrop {
  background: rgba(6, 59, 44, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.soon[open] {
  animation: soon-in 0.6s var(--ease-spring);
}
.soon[open]::backdrop {
  animation: soon-fade 0.4s ease-out;
}
@keyframes soon-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.86);
  }
}
@keyframes soon-fade {
  from {
    opacity: 0;
  }
}
.soon-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 30px 28px 26px;
  border-radius: 32px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(61, 220, 151, 0.28), transparent 70%), var(--white);
  box-shadow: 0 40px 80px -30px rgba(6, 59, 44, 0.6);
  text-align: center;
}
.soon-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
.soon-close span {
  position: relative;
  width: 14px;
  height: 14px;
}
.soon-close span::before,
.soon-close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--ink);
  transform: rotate(45deg);
}
.soon-close span::after {
  transform: rotate(-45deg);
}
.soon-art {
  position: relative;
  width: 180px;
  height: 130px;
}
.soon-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  filter: drop-shadow(0 14px 18px rgba(6, 59, 44, 0.3));
  animation: soon-bounce 2.4s var(--ease-spring) infinite;
}
@keyframes soon-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}
.soon-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 20px -8px rgba(27, 29, 42, 0.35);
  font-weight: 800;
  font-size: 1.05rem;
  animation: bob 3.2s ease-in-out infinite;
}
.soon-chip-a {
  left: 0;
  top: 18px;
}
.soon-chip-e {
  right: 2px;
  top: 6px;
  animation-delay: -1.2s;
}
.soon-chip-c {
  right: 10px;
  bottom: 4px;
  background: var(--blue);
  animation-delay: -2s;
}
.soon-chip-c svg {
  width: 22px;
  height: 22px;
}
.soon-chip-c path {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.soon[open] .soon-chip-c path {
  animation: soon-tick 0.7s 0.45s var(--ease-out) both;
}
@keyframes soon-tick {
  from {
    stroke-dashoffset: 1;
  }
}
.soon h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.soon p {
  max-width: 30ch;
  color: var(--ink-2);
}
.soon-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.soon-stores li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--emerald-deep);
  font-size: 0.8125rem;
  font-weight: 800;
}
.soon-ok {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

/* ---------- Reveal and motion helpers ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
.js .reveal-done[data-reveal] {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .ticker-track {
    animation: none;
  }
  @view-transition {
    navigation: none;
  }
}

/* Staggered card entrance for the exam wall. */
.js .exam-cards .exam-card[data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}
.js .exam-cards .exam-card[data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}
.js .exam-cards .exam-card[data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}
.js .exam-cards .exam-card[data-reveal]:nth-child(5) {
  transition-delay: 0.32s;
}

.exam-card-all {
  justify-content: flex-end;
  gap: 10px;
  min-height: 220px;
  background:
    radial-gradient(circle at 85% 15%, rgba(61, 220, 151, 0.35), transparent 50%),
    var(--forest);
  color: var(--white);
  text-decoration: none;
  box-shadow: none;
}
.exam-card-all strong {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.exam-card-all span {
  color: rgba(255, 255, 255, 0.75);
}
.exam-card-all em {
  align-self: flex-start;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--forest);
  font-style: normal;
  font-weight: 800;
  transition: transform 0.35s var(--ease-spring);
}
.exam-card-all:hover em {
  transform: translateX(6px);
}

/* Tablet stage extras: glow, tool chips, success badge, progress */
.tablet-stage {
  position: relative;
  perspective: 1600px;
}
.tablet-stage .tablet {
  transform-style: preserve-3d;
}
.tablet-glow {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 220, 151, 0.45), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.tool-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 9px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 18px 30px -12px rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  animation: bob 5s ease-in-out infinite;
}
.tc-1 {
  left: -9%;
  top: 30%;
}
.tc-2 {
  right: -7%;
  top: 14%;
  animation-delay: -1.6s;
}
.tc-3 {
  right: -6%;
  bottom: 12%;
  animation-delay: -3s;
}
.tci {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--mint);
}
.tci-eraser {
  background: #ff8fab;
}
.tci-color {
  background: conic-gradient(var(--blue), var(--orange), var(--mint), var(--blue));
  border-radius: 50%;
}
.tablet-badge {
  position: absolute;
  z-index: 4;
  left: 42%;
  top: 76%;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 20px 40px -12px rgba(36, 89, 214, 0.7);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  pointer-events: none;
}
.tablet-progress {
  position: relative;
  height: 6px;
  margin: 26px auto 0;
  max-width: 420px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.tablet-progress i {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mint), #b8ffe0);
  transform: scaleX(0);
  transform-origin: left;
}
.ink {
  filter: drop-shadow(0 0 0 rgba(36, 48, 143, 0));
}
.ink.is-wet {
  filter: drop-shadow(0 0 3px rgba(122, 167, 255, 0.9));
}
@media (max-width: 999px) {
  .tool-chip {
    display: none;
  }
}

/* Question belt extras: scanner beam, counter, +1 */
.belt {
  perspective: 1200px;
}
.belt-gate span b {
  display: inline-block;
  min-width: 1.4em;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}
.belt-beam {
  position: absolute;
  left: -6px;
  right: -6px;
  top: 10%;
  height: 80px;
  border-radius: 6px;
  background: linear-gradient(180deg, transparent, rgba(61, 220, 151, 0.85), transparent);
  filter: blur(4px);
  animation: beam 1.8s ease-in-out infinite;
}
@keyframes beam {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(150px);
  }
}
.belt-gate.is-flash {
  animation: gate-flash 0.6s ease-out;
}
@keyframes gate-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.9);
    width: 2px;
  }
  40% {
    box-shadow: 0 0 40px 14px rgba(61, 220, 151, 0.6);
    width: 6px;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 220, 151, 0);
    width: 2px;
  }
}
.js .qcard {
  transition:
    filter 0.6s,
    box-shadow 0.4s;
  will-change: transform, opacity;
}
.belt-plus {
  position: absolute;
  right: 18px;
  bottom: 60px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  pointer-events: none;
}

/* Toolbox coverflow */
.tool {
  transform-origin: center 40%;
  transition: box-shadow 0.4s;
  will-change: transform, opacity;
}
.tool-art {
  transform-style: preserve-3d;
  transition: box-shadow 0.5s;
}
.tool.is-center .tool-art {
  box-shadow:
    0 0 0 2px var(--emerald) inset,
    0 40px 60px -30px rgba(6, 59, 44, 0.45);
}
.tool.is-center h3 {
  color: var(--emerald);
}
.tools-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.tools-count {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.tools-count b {
  color: var(--ink);
}
.tools-bar {
  position: relative;
  width: 160px;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.tools-bar i {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--mint));
  transform: scaleX(0.125);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.toolbox-more {
  margin-top: 22px;
}

/* Blog carousel: featured posts take turns; dots below, the current one is green. */
.blog-carousel {
  margin-bottom: 64px;
}
.bc-slides {
  display: grid;
}
.bc-slide {
  grid-area: 1 / 1;
  display: grid;
  gap: 24px;
  text-decoration: none;
  visibility: hidden;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.6s var(--ease-out),
    visibility 0s 0.45s;
}
.bc-slide.is-on {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.8s var(--ease-out),
    visibility 0s;
}
.bc-slide h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
  transition: color 0.2s;
}
.bc-slide:hover h2 {
  color: var(--emerald);
}
@media (min-width: 900px) {
  .bc-slide {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 48px;
  }
}
.bc-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.bc-dots button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.bc-dots i {
  position: relative;
  overflow: hidden;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border-strong, #d5d8e3);
  transition:
    width 0.4s var(--ease-out),
    background-color 0.3s;
}
.bc-dots button:hover i {
  background: var(--ink-3);
}
.bc-dots button.is-on i {
  width: 36px;
  background: color-mix(in srgb, var(--emerald) 28%, transparent);
}
/* The active dot fills in step with the 2.4 s autoplay; full while paused on a group. */
.bc-dots i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
}
.bc-dots button.is-on i::after {
  animation: bc-fill 2.4s linear forwards;
}
.blog-carousel.is-paused .bc-dots button.is-on i::after {
  animation-play-state: paused;
}
.blog-carousel.is-held .bc-dots button.is-on i::after {
  animation: none;
  transform: none;
}
@keyframes bc-fill {
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bc-dots button.is-on i::after {
    animation: none;
    transform: none;
  }
}
.blog-tabs button:focus-visible,
.bc-dots button:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
  border-radius: 8px;
}
.blog-tabs button:focus:not(:focus-visible) {
  outline: none;
}

/* Phone story, more motion: glare and step counter */
.phone-glare {
  position: absolute;
  inset: -10% auto -10% 0;
  z-index: 8;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  opacity: 0;
  transform: translateX(-130%) skewX(-12deg);
  pointer-events: none;
}
.daily-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 -14px;
  font-variant-numeric: tabular-nums;
}
.daily-counter b {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--emerald);
}
.daily-counter span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-3);
}
@media (max-width: 999px) {
  .daily-counter {
    display: none;
  }
}

/* Finale: aurora, rising particles, floating cards, pulsing tick */
.aurora {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}
.au {
  position: absolute;
  width: 46vw;
  max-width: 640px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.au-1 {
  left: -6%;
  top: -20%;
  background: #3ddc97;
  animation: aurora-a 14s ease-in-out infinite alternate;
}
.au-2 {
  right: -10%;
  top: 10%;
  background: #1fa37a;
  animation: aurora-b 18s ease-in-out infinite alternate;
}
.au-3 {
  left: 30%;
  bottom: -40%;
  background: #7aa7ff;
  opacity: 0.25;
  animation: aurora-a 20s ease-in-out infinite alternate-reverse;
}
@keyframes aurora-a {
  to {
    transform: translate(18%, 22%) scale(1.15);
  }
}
@keyframes aurora-b {
  to {
    transform: translate(-22%, 14%) scale(0.9);
  }
}
.fin-particles {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
}
.fp {
  position: absolute;
  bottom: -40px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  color: var(--mint);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 800;
  animation: rise 14s linear infinite;
}
@keyframes rise {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh) rotate(200deg);
    opacity: 0;
  }
}
.fp-1 {
  left: 81%;
  animation-duration: 15s;
  animation-delay: -11s;
  scale: 0.7;
}
.fp-2 {
  left: 61%;
  animation-duration: 14s;
  animation-delay: -20s;
  scale: 0.7;
}
.fp-3 {
  left: 22%;
  animation-duration: 12s;
  animation-delay: -11s;
  scale: 1.2;
}
.fp-4 {
  left: 33%;
  animation-duration: 17s;
  animation-delay: -17s;
  scale: 0.7;
}
.fp-5 {
  left: 75%;
  animation-duration: 14s;
  animation-delay: -0s;
  scale: 0.85;
}
.fp-6 {
  left: 54%;
  animation-duration: 15s;
  animation-delay: -5s;
  scale: 1.2;
}
.fp-7 {
  left: 22%;
  animation-duration: 12s;
  animation-delay: -4s;
  scale: 1.2;
}
.fp-8 {
  left: 18%;
  animation-duration: 13s;
  animation-delay: -0s;
  scale: 0.7;
}
.fp-9 {
  left: 28%;
  animation-duration: 14s;
  animation-delay: -5s;
  scale: 0.85;
}
.fp-10 {
  left: 39%;
  animation-duration: 16s;
  animation-delay: -6s;
  scale: 0.85;
}
.fp-11 {
  left: 25%;
  animation-duration: 22s;
  animation-delay: -6s;
  scale: 1.2;
}
.fp-12 {
  left: 40%;
  animation-duration: 11s;
  animation-delay: -11s;
  scale: 1.2;
}
.fp-13 {
  left: 23%;
  animation-duration: 13s;
  animation-delay: -8s;
  scale: 0.7;
}
.fp-14 {
  left: 44%;
  animation-duration: 15s;
  animation-delay: -19s;
  scale: 0.7;
}
.fp-15 {
  left: 78%;
  animation-duration: 21s;
  animation-delay: -10s;
  scale: 0.7;
}
.fp-16 {
  left: 41%;
  animation-duration: 16s;
  animation-delay: -9s;
  scale: 1.2;
}
.fin-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 24px 40px -20px rgba(0, 0, 0, 0.5);
  color: var(--white);
  text-align: left;
}
.fin-card b {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--mint);
}
.fin-card span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.fc-1 {
  left: 8%;
  top: 22%;
}
.fc-2 {
  right: 9%;
  top: 16%;
}
.fc-3 {
  right: 14%;
  bottom: 18%;
}
@media (max-width: 899px) {
  .fin-card {
    display: none;
  }
}
.finale-cta > *:not(.aurora):not(.fin-particles):not(.fin-card) {
  position: relative;
  z-index: 3;
}
.finale-tick {
  filter: drop-shadow(0 0 18px rgba(61, 220, 151, 0.6));
  animation: tick-pulse 2.6s ease-in-out 1.4s infinite;
}
@keyframes tick-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.12);
  }
  24% {
    transform: scale(1);
  }
}
