/* e-Tedrisat public website — one stylesheet, no framework, no web fonts.
   Brand tokens follow the app's Concept C (DESIGN.md): deep green identity,
   warm cream surfaces, restrained gold accents. */

:root {
  --ink: #0d3028;
  --ink-2: #0a231d;
  --ink-3: #12392f;
  --primary: #145640;
  --primary-2: #1a6a4f;
  --sage: #8ea999;
  --cream: #f6f4ee;
  --surface: #fefdf9;
  --warm: #f2efe7;
  --tile: #e3ded2;
  --hairline: #e3ded2;
  --mint: #edf2eb;
  --charcoal: #23302b;
  --muted: #5f6b65;
  --gold: #a8834a;
  --gold-soft: #f3eada;
  --gold-on-dark: #e6cf9f;
  --error: #b03a36;
  --success: #21734d;

  --on-dark: #f6f4ee;
  --on-dark-muted: rgba(246, 244, 238, 0.72);
  --on-dark-line: rgba(246, 244, 238, 0.12);

  --sans: "Segoe UI", system-ui, -apple-system, "Noto Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif", "Times New Roman", serif;

  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1180px;
  --header-h: 68px;

  --shadow-soft: 0 1px 2px rgba(13, 48, 40, 0.06), 0 8px 24px rgba(13, 48, 40, 0.06);
  --shadow-lift: 0 2px 4px rgba(13, 48, 40, 0.08), 0 18px 40px rgba(13, 48, 40, 0.12);
  --shadow-deep: 0 30px 80px rgba(3, 18, 14, 0.45), 0 8px 24px rgba(3, 18, 14, 0.35);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--r-md);
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lift);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 0.9375rem/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(20, 86, 64, 0.28); }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-light { background: var(--cream); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: rgba(246, 244, 238, 0.32); }
.btn-ghost-dark:hover { border-color: var(--gold-on-dark); color: #fff; background: rgba(246, 244, 238, 0.06); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--hairline); background-color: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Solid on purpose: backdrop-filter would make this header the containing
     block of the fixed mobile menu and clip it to the header height. */
  background: var(--ink);
  border-bottom: 1px solid var(--on-dark-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(246, 244, 238, 0.18); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.005em; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-on-dark); margin-top: 5px; font-weight: 700; }

.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  color: var(--on-dark-muted); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}
.site-nav a:hover { color: #fff; background: rgba(246, 244, 238, 0.07); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; border: 1px solid var(--on-dark-line); background: rgba(246, 244, 238, 0.04);
  color: var(--on-dark); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ink); color: var(--on-dark);
  padding: 24px var(--gutter) 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 24px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms ease; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--on-dark-line); }
.mobile-menu li { border-bottom: 1px solid var(--on-dark-line); }
.mobile-menu a.mobile-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 58px;
  color: var(--on-dark); text-decoration: none; font-family: var(--serif); font-size: 1.375rem; font-weight: 700;
}
.mobile-menu a.mobile-link::after { content: "→"; font-family: var(--sans); color: var(--gold-on-dark); font-size: 1.1rem; }
.mobile-menu .btn { width: 100%; }
.mobile-menu-contact { color: var(--on-dark-muted); font-size: 0.9375rem; }
.mobile-menu-contact a { color: var(--on-dark); }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .site-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--on-dark);
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(230, 207, 159, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(26, 106, 79, 0.45), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.hero::before {
  /* fine architectural rhythm: thin arches line pattern, very faint */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(246, 244, 238, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 244, 238, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 75%);
}
.hero-inner {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: minmax(0, 1fr); /* decorative nowrap content must never widen the page */
  padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(56px, 9vw, 120px);
}
@media (min-width: 1080px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: var(--gold-on-dark); }

.hero h1 {
  color: #fff; margin-top: 18px;
  font-size: clamp(2.3rem, 3.4vw + 1rem, 3.9rem); line-height: 1.05;
}
.hero h1 em { font-style: normal; color: var(--gold-on-dark); }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.03rem, 1.6vw, 1.2rem); color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-tags li {
  font-size: 0.8125rem; font-weight: 600; color: var(--on-dark-muted);
  border: 1px solid var(--on-dark-line); border-radius: 999px; padding: 6px 12px; background: rgba(246, 244, 238, 0.03);
}

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

/* ------------------------------------------------- product composition */
.showcase { position: relative; min-width: 0; }
.showcase-stage { position: relative; padding: 0 0 36px; }

.app-window {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--cream); color: var(--charcoal);
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(246, 244, 238, 0.14);
}
.app-window-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; background: var(--ink-2); color: var(--on-dark-muted);
  font-size: 0.75rem; border-bottom: 1px solid rgba(246, 244, 238, 0.08);
}
.app-window-bar span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--on-dark); }
.app-window-bar img { width: 18px; height: 18px; border-radius: 5px; }
.app-body { display: grid; grid-template-columns: 1fr; min-height: 0; }
@media (min-width: 560px) { .app-body { grid-template-columns: 148px minmax(0, 1fr); } }

.app-side {
  display: none; background: var(--ink); color: var(--on-dark-muted);
  padding: 14px 10px; font-size: 0.75rem;
}
@media (min-width: 560px) { .app-side { display: block; } }
.app-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; white-space: nowrap; }
.app-side li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: rgba(246, 244, 238, 0.28); flex: none; }
.app-side li.is-active { background: #1c4a3c; color: var(--on-dark); font-weight: 700; }
.app-side li.is-active::before { background: var(--gold-on-dark); }

.app-main { padding: 16px; min-width: 0; overflow: hidden; }
.app-main-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app-main-head h3 { font-size: 1rem; color: var(--ink); }
.app-main-head p { margin: 2px 0 0; font-size: 0.75rem; color: var(--muted); }
.app-tabs { display: flex; gap: 14px; margin: 12px 0 12px; border-bottom: 1px solid var(--hairline); font-size: 0.75rem; font-weight: 700; color: var(--muted); overflow: hidden; }
.app-tabs span { padding: 0 0 8px; white-space: nowrap; }
.app-tabs .is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }

.app-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.75rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.app-table th, .app-table td { padding: 8px 10px; text-align: left; white-space: nowrap; }
.app-table th { background: var(--warm); color: var(--muted); font-weight: 700; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.04em; }
.app-table td { border-top: 1px solid var(--hairline); }
.app-table td:first-child { font-weight: 700; color: var(--ink); }
.app-table .num { text-align: right; }
.hide-xs { display: none; }
@media (min-width: 420px) { .hide-xs { display: table-cell; } }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  font-size: 0.6875rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
  background: rgba(20, 86, 64, 0.09); color: var(--primary); border: 1px solid rgba(20, 86, 64, 0.2);
}
.chip-gold { background: var(--gold-soft); color: #7a5d2e; border-color: rgba(168, 131, 74, 0.35); }
.chip-muted { background: var(--warm); color: var(--muted); border-color: var(--hairline); }

/* floating cards around the window */
.float-card {
  position: absolute; z-index: 2;
  background: var(--surface); color: var(--charcoal);
  border-radius: var(--r-lg); padding: 12px 14px;
  box-shadow: 0 18px 50px rgba(3, 18, 14, 0.38), 0 0 0 1px rgba(227, 222, 210, 0.9);
  font-size: 0.75rem;
}
.float-card strong { display: block; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.float-hamhas { right: 0; top: 0; display: flex; gap: 12px; align-items: center; }
.hamhas-pair { display: flex; gap: 8px; }
.hamhas-pair span { display: grid; place-items: center; min-width: 58px; padding: 6px 10px; border-radius: 10px; background: var(--mint); color: var(--ink); font-weight: 700; font-size: 0.75rem; line-height: 1.25; text-align: center; }
.hamhas-pair b { display: block; font-size: 1.15rem; color: var(--primary); }
.float-grades { right: 0; bottom: 0; }
.grade-row { display: flex; gap: 6px; }
.grade-row span { display: grid; gap: 2px; place-items: center; min-width: 46px; padding: 6px 6px; border-radius: 10px; background: var(--warm); font-weight: 700; color: var(--ink); text-align: center; }
.grade-row span small { font-size: 0.625rem; color: var(--muted); font-weight: 700; }
.grade-row .final { background: var(--gold-soft); color: #7a5d2e; }

.phone {
  position: absolute; z-index: 3; left: 0; bottom: 0; width: 184px;
  border-radius: 30px; padding: 7px; background: #0b1f1a;
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(246, 244, 238, 0.14);
}
.phone-screen { border-radius: 24px; overflow: hidden; background: var(--cream); color: var(--charcoal); }
.phone-head { background: var(--ink); color: var(--on-dark); padding: 16px 14px 18px; }
.phone-head small { display: block; font-size: 0.5625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-on-dark); font-weight: 700; }
.phone-head b { font-family: var(--serif); font-size: 1rem; }
.phone-sheet { margin-top: -10px; border-radius: 14px 14px 0 0; background: var(--cream); padding: 12px; display: grid; gap: 8px; }
.phone-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 10px; font-size: 0.6875rem; }
.phone-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.phone-card .row + .row { margin-top: 6px; }
.phone-card b { color: var(--ink); font-size: 0.75rem; }
.phone-card .muted { color: var(--muted); }
.phone-nav { display: flex; justify-content: space-around; padding: 8px 6px 10px; background: var(--surface); border-top: 1px solid var(--hairline); }
.phone-nav i { width: 18px; height: 4px; border-radius: 4px; background: var(--hairline); }
.phone-nav i.is-active { background: var(--primary); }

/* Narrow screens: floating cards join the flow; the phone stays hidden. */
@media (max-width: 899px) {
  .showcase-stage { padding-bottom: 0; display: grid; gap: 12px; }
  .float-card { position: static; box-shadow: var(--shadow-soft), 0 0 0 1px var(--hairline); }
  .showcase-floats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .float-hamhas { justify-content: space-between; }
  .phone { display: none; }
}
@media (min-width: 900px) {
  /* Window sits right of the phone; floats only cover its bar and corners. */
  .showcase-stage { padding: 48px 34px 76px 72px; }
  .showcase-floats { display: contents; }
}

@media (prefers-reduced-motion: no-preference) {
  .float-hamhas { animation: drift 7s ease-in-out infinite; }
  .float-grades { animation: drift 8s ease-in-out -2s infinite; }
  @keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  @media (max-width: 899px) { .float-hamhas, .float-grades { animation: none; } }
}

.showcase-note { margin-top: 18px; font-size: 0.75rem; color: var(--on-dark-muted); }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-warm { background: var(--warm); }
.section-dark { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section-head p { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* overview grid */
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.feature {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 22px; transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #d8d1c1; }
.feature h3 { margin-top: 16px; }
.feature p { margin: 8px 0 0; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 639px) {
  /* compact rows on phones: icon beside title and text */
  .feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .feature .icon-tile { grid-row: span 2; }
  .feature h3 { margin-top: 2px; }
  .feature p { margin-top: 4px; }
}
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mint); color: var(--primary); border: 1px solid rgba(20, 86, 64, 0.14);
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.gold { background: var(--gold-soft); color: #7a5d2e; border-color: rgba(168, 131, 74, 0.28); }

/* split feature sections (Hafızlık / Arapça) */
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .split.reverse > :first-child { order: 2; }
}
.split-copy h2 { margin-top: 14px; font-size: clamp(1.9rem, 4.2vw, 3rem); }
.split-copy > p { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 28px; height: 28px; border-radius: 9px; background: var(--mint);
  border: 1px solid rgba(20, 86, 64, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145640' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 16px;
}
.check-list b { display: block; color: var(--ink); }
.check-list span { color: var(--muted); font-size: 0.9375rem; }

/* panels used as section visuals */
.panel-stack { position: relative; display: grid; gap: 16px; min-width: 0; }
.panel {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft); padding: 20px; min-width: 0;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h3 { font-size: 1rem; }
.panel-head p { margin: 2px 0 0; color: var(--muted); font-size: 0.8125rem; }
@media (min-width: 1000px) {
  .panel-offset { margin-left: 56px; margin-top: -28px; position: relative; }
  .reverse .panel-offset { margin-left: 0; margin-right: 56px; }
}

.daily-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--hairline);
}
.daily-row:first-of-type { border-top: 0; padding-top: 4px; }
.daily-row .who b { display: block; color: var(--ink); font-size: 0.9375rem; }
.daily-row .who span { color: var(--muted); font-size: 0.8125rem; }
.daily-row .meta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 120px; padding-top: 8px; }
.bars i { display: block; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--primary-2), var(--primary)); opacity: 0.9; }
.bars i.soft { background: var(--tile); }
.bars i.gold { background: linear-gradient(180deg, #c19a5c, var(--gold)); }
/* sample Puanlılar values (illustrative), no inline styles (CSP) */
.bars-puan i:nth-child(1) { height: 62%; }
.bars-puan i:nth-child(2) { height: 70%; }
.bars-puan i:nth-child(3) { height: 58%; }
.bars-puan i:nth-child(4) { height: 80%; }
.bars-puan i:nth-child(5) { height: 74%; }
.bars-puan i:nth-child(6) { height: 86%; }
.bars-puan i:nth-child(7) { height: 68%; }
.bars-puan i:nth-child(8) { height: 90%; }
.bars-puan i:nth-child(9) { height: 84%; }
.bars-puan i:nth-child(10) { height: 92%; }
.bars-puan i:nth-child(11) { height: 79%; }
.bars-puan i:nth-child(12) { height: 95%; }
.bars-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.6875rem; color: var(--muted); }

.grade-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.875rem; }
.grade-table th, .grade-table td { padding: 10px 8px; text-align: center; }
.grade-table th { font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--hairline); }
.grade-table td { border-bottom: 1px solid var(--hairline); font-weight: 600; }
.grade-table tr:last-child td { border-bottom: 0; }
.grade-table td:first-child, .grade-table th:first-child { text-align: left; }
.grade-table td:first-child { color: var(--ink); font-weight: 700; }
.grade-table .final { background: var(--gold-soft); color: #7a5d2e; border-radius: 8px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.week-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.week-grid span { display: grid; place-items: center; height: 40px; border-radius: 10px; font-size: 0.8125rem; font-weight: 700; background: var(--warm); color: var(--muted); }
.week-grid .lvl-3 { background: rgba(20, 86, 64, 0.16); color: var(--primary); }
.week-grid .lvl-4 { background: rgba(20, 86, 64, 0.32); color: var(--ink); }
.week-grid .lvl-5 { background: var(--primary); color: #fff; }
.week-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; font-size: 0.6875rem; color: var(--muted); text-align: center; font-weight: 700; }

/* roles */
.role-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.role {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: 26px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.role-top { display: flex; align-items: center; gap: 14px; }
.role h3 { font-family: var(--serif); font-size: 1.5rem; }
.role-top p { margin: 2px 0 0; color: var(--muted); font-size: 0.875rem; }
.role > p { color: var(--charcoal); margin: 0; }
.role ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; font-size: 0.9375rem; color: var(--muted); }
.role li { position: relative; padding-left: 18px; }
.role li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); }
.role-note {
  margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px dashed #d6cfbd; color: var(--muted); font-size: 0.9375rem;
}
.role-note b { color: var(--ink); }

/* why */
.why-grid { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--on-dark-line); border: 1px solid var(--on-dark-line); border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why { background: var(--ink); padding: 28px; }
.why .num { font-family: var(--serif); color: var(--gold-on-dark); font-size: 1.25rem; font-weight: 700; }
.why h3 { margin-top: 10px; font-size: 1.1875rem; }
.why p { margin: 8px 0 0; color: var(--on-dark-muted); font-size: 0.9375rem; }
.section-dark::after {
  content: ""; position: absolute; z-index: -1; right: -200px; top: -200px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 207, 159, 0.12), transparent);
}

/* security */
.trust-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.trust { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); }
.trust h3 { font-size: 1.0625rem; }
.trust p { margin: 6px 0 0; color: var(--muted); font-size: 0.9375rem; }
.trust-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-foot p { margin: 0; color: var(--muted); font-size: 0.875rem; flex: 1 1 320px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-2xl); padding: clamp(32px, 6vw, 64px);
  background: radial-gradient(700px 300px at 100% 0%, rgba(230, 207, 159, 0.18), transparent 60%), linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--on-dark); display: grid; gap: 24px; align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta-band p { margin: 12px 0 0; color: var(--on-dark-muted); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16em; margin: 16px auto 0; }
.final-cta p.lead { color: var(--on-dark-muted); max-width: 36em; margin: 18px auto 0; font-size: 1.0625rem; }
.final-cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.contact-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-weight: 600; min-height: 44px; }
.contact-lines a:hover { color: var(--gold-on-dark); }
.contact-lines svg { width: 20px; height: 20px; color: var(--gold-on-dark); }
@media (max-width: 479px) { .final-cta .actions .btn, .cta-band .actions .btn { width: 100%; } }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--ink-2); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } }
.footer-brand p { margin: 16px 0 0; max-width: 26em; }
.footer-brand address { font-style: normal; margin-top: 14px; }
.footer-brand .footer-rights { margin-top: 14px; font-size: 0.875rem; line-height: 1.55; overflow-wrap: anywhere; }
.site-footer h2 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-on-dark); font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--gold-on-dark); text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.8125rem; }

/* ---------------------------------------------------------- page heads */
.page-hero {
  color: var(--on-dark); margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(48px, 7vw, 80px);
  background: radial-gradient(900px 400px at 90% -20%, rgba(230, 207, 159, 0.16), transparent 60%), linear-gradient(180deg, var(--ink), var(--ink-2));
}
.page-hero h1 { color: #fff; margin-top: 14px; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { margin: 16px 0 0; max-width: 40em; color: var(--on-dark-muted); font-size: 1.0625rem; }
.page-hero .eyebrow { color: var(--gold-on-dark); }

/* ----------------------------------------------------------- demo page */
.demo-layout { display: grid; gap: 32px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 112px); }
@media (min-width: 980px) { .demo-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; } }
.demo-aside h2 { font-size: 1.6rem; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: var(--gold-on-dark); font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
}
.steps b { display: block; color: var(--ink); }
.steps span { color: var(--muted); font-size: 0.9375rem; }
.aside-card { margin-top: 28px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); }
.aside-card p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.aside-card p + p { margin-top: 10px; }
.aside-card a { font-weight: 700; }
.privacy-note { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--gold-soft); border: 1px solid rgba(168, 131, 74, 0.3); color: #5f4a28; font-size: 0.875rem; }

.form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-soft); }
.form-card h2 { font-size: 1.6rem; }
.form-card form > p { color: var(--muted); margin: 10px 0 0; }
.form-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.field label .opt { color: var(--muted); font-weight: 400; font-size: 0.8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-md);
  border: 1px solid #d9d2c3; background: #fff; color: var(--charcoal); font: inherit; font-size: 1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b65' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20, 86, 64, 0.16); }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field .err { display: none; font-size: 0.8125rem; color: var(--error); font-weight: 600; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field.has-error .err { display: block; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--r-md); background: var(--warm); border: 1px solid var(--hairline); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--primary); }
.consent label { font-size: 0.9375rem; color: var(--charcoal); }
.consent.has-error { border-color: var(--error); }
.consent .err { grid-column: 2; display: none; font-size: 0.8125rem; color: var(--error); font-weight: 600; }
.consent.has-error .err { display: block; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .btn { min-width: 200px; }
@media (max-width: 479px) { .form-actions .btn { width: 100%; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; display: none; }
.is-loading .spinner { display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .is-loading .spinner { animation-duration: 2.4s; } }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); font-weight: 600; display: none; }
.form-status.is-error { display: block; background: rgba(176, 58, 54, 0.09); border: 1px solid rgba(176, 58, 54, 0.22); color: var(--error); }
.form-success { display: none; text-align: center; padding: 12px 4px; }
.form-success.is-visible { display: block; }
.form-success .icon-tile { margin: 0 auto; width: 64px; height: 64px; border-radius: 18px; }
.form-success .icon-tile svg { width: 32px; height: 32px; }
.form-success h2 { margin-top: 18px; }
.form-success p { color: var(--muted); margin-top: 10px; }

/* ---------------------------------------------------------- legal pages */
.legal-main { padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 8vw, 96px); }
.legal-doc {
  max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-xl); padding: clamp(20px, 4vw, 48px); overflow-wrap: anywhere;
}
.legal-doc h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 18px; }
.legal-doc h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin-top: 36px; margin-bottom: 10px; }
.legal-doc h3 { font-size: 1.0625rem; margin-top: 24px; margin-bottom: 8px; }
.legal-doc li { margin: 4px 0; }
.legal-doc .table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 0.875rem; }
.legal-doc th, .legal-doc td { border: 1px solid var(--hairline); padding: 8px 10px; text-align: left; vertical-align: top; overflow-wrap: normal; min-width: 120px; }
.legal-doc th { background: var(--mint); color: var(--ink); }
.legal-doc blockquote { margin: 14px 0; padding: 10px 16px; border-left: 4px solid var(--primary); background: var(--mint); border-radius: 0 var(--r-md) var(--r-md) 0; }
.legal-doc hr { border: 0; border-top: 1px solid var(--hairline); margin: 28px 0; }
.legal-doc section { margin-top: 20px; }
.legal-doc section h2 { margin-top: 0; }
.legal-doc code { background: var(--mint); padding: 1px 6px; border-radius: 6px; }
.legal-doc .muted { color: var(--muted); font-size: 0.875rem; }
.legal-nav { max-width: 860px; margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); text-decoration: none; font-weight: 600; font-size: 0.875rem; color: var(--ink); }
.legal-nav a:hover { border-color: var(--primary); color: var(--primary); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* -------------------------------------------------------------- 404 */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 64px 0; color: var(--on-dark); margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 64px);
  background: radial-gradient(800px 400px at 50% 0%, rgba(230, 207, 159, 0.14), transparent 60%), linear-gradient(180deg, var(--ink), var(--ink-2)); }
.notfound .code { font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 9rem); line-height: 1; color: var(--gold-on-dark); font-weight: 700; }
.notfound h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 12px; }
.notfound p { color: var(--on-dark-muted); margin: 14px auto 0; max-width: 30em; }
.notfound p a { color: var(--gold-on-dark); overflow-wrap: anywhere; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------------------------------------------------------- reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: 90ms; }
  .js .reveal-delay-2 { transition-delay: 180ms; }
  .js .reveal-delay-3 { transition-delay: 270ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
