/* Tetkik website styles.
   Colours, sizes and spacing come from the homepage design (TR + EN mockups).
   Change a colour once here, in :root, and it changes everywhere. */

/* ---------- Fonts (served from our own server, not Google) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+2212;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+2212;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #1c1416;        /* main text, dark sections */
  --paper: #faf8f7;      /* page background */
  --white: #ffffff;
  --wine: #73081d;       /* brand colour */
  --wine-edge: #8e2236;
  --blush: #f3e6e8;      /* light brand tint */
  --rose: #d99aa6;       /* outlines on wine */
  --pink: #e0566f;       /* accents on dark */
  --body: #3a3133;       /* paragraph text */
  --muted: #6b6264;
  --grey: #c9c2c3;
  --line: #e9e3e4;
  --line-2: #e2dbdc;
  --line-3: #efeaeb;
  --chrome: #f1eced;
  --dark-line: #4a4245;
  --green: #2f6b4f;
  --blue: #2f5d7c;
  --blue-tint: #e6eef4;
  --pill: 999px;
  --wrap: 1200px;
  --font: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  line-height: 1.5;
}
img, svg { max-width: 100%; }
a { color: var(--wine); }
a:hover { color: var(--ink); }
.tk-dark a { color: var(--pink); }
.tk-dark a:hover { color: var(--paper); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 88px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
}
.h-xl { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.lead { margin-top: 20px; max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--body); }
.accent { color: var(--wine); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: var(--paper); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 600 16px/1.2 var(--font);
  border-radius: var(--pill);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-wine { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.btn-wine:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--wine); border-color: var(--paper); }
.btn-paper:hover { background: var(--white); color: var(--ink); }
.btn-paper-ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper-ink:hover { background: var(--white); color: var(--wine); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--rose); }
.btn-ghost:hover { background: rgba(250, 248, 247, 0.1); color: var(--paper); }

/* ---------- Header / top menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-word { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--wine); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* TR / EN switch */
.lang-switch {
  display: flex; border: 1px solid var(--grey); border-radius: var(--pill);
  padding: 3px; font-size: 13px; font-weight: 600;
}
.lang-switch a, .lang-switch span {
  display: block; padding: 11px 14px; border-radius: var(--pill); line-height: 1;
  color: var(--ink); text-decoration: none;
}
.lang-switch a:hover { background: var(--line); color: var(--ink); }
.lang-switch [aria-current] { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--grey); border-radius: var(--pill); background: transparent;
  color: var(--ink); font: 600 14px var(--font); cursor: pointer;
}
.menu-toggle-bars { display: inline-block; width: 18px; height: 12px; position: relative; vertical-align: middle; }
.menu-toggle-bars::before, .menu-toggle-bars::after, .menu-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px;
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars span { top: 5px; }
.menu-toggle-bars::after { bottom: 0; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .brand svg { width: 32px; height: 25px; }
  .brand-word { font-size: 22px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-cta { display: none; }
  .nav-links { order: 3; width: 100%; flex-direction: column; gap: 0; display: none; padding: 4px 0 8px; }
  .nav-links a { padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; }
  .site-header.is-open .nav-links { display: flex; }
  .site-header .nav-links .menu-cta { display: flex; margin-top: 12px; border-top: 0; padding: 0; color: var(--paper); }
  .lang-switch a, .lang-switch span { padding: 9px 11px; }
}
/* The extra button inside the menu only shows on phones. */
.nav-links .menu-cta { display: none; }

/* Without JavaScript the menu stays open, so it still works. */
.no-js .nav-links { display: flex; }
.no-js .menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--wine); color: var(--paper); overflow: hidden; }
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 88px 24px 0; }
.hero .eyebrow { margin-bottom: 20px; color: var(--blush); }
.hero h1 { font-size: clamp(56px, 9vw, 120px); line-height: 0.95; font-weight: 600; letter-spacing: -0.04em; }
.hero-row {
  display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between;
  margin-top: 32px;
}
.hero-text { max-width: 620px; font-size: 21px; line-height: 1.5; color: var(--blush); }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--rose); }
@media (max-width: 640px) {
  .hero-inner { padding: 56px 16px 0; }
  .hero-text { font-size: 18px; }
}

/* Product shot */
.shot { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; }
.app {
  flex: 999 1 640px; min-width: 0;
  background: var(--paper); color: var(--ink);
  border-radius: 16px 16px 0 0; overflow: hidden;
  box-shadow: 0 -2px 0 var(--wine-edge);
}
.app-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--chrome); border-bottom: 1px solid var(--line-2);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--grey); flex-shrink: 0; }
.url {
  margin-left: 16px; font-size: 13px; color: var(--muted); background: var(--paper);
  padding: 5px 14px; border-radius: var(--pill); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-body { display: flex; min-height: 440px; }
.app-rail {
  width: 64px; background: var(--ink); flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 20px;
  font-size: 10px; color: var(--grey);
}
.app-rail .rail-first { margin-top: 8px; }
.app-rail .rail-on { color: var(--paper); background: var(--wine); padding: 6px; border-radius: 6px; }
.app-side { width: 220px; border-right: 1px solid var(--line); padding: 20px 16px; flex-shrink: 0; font-size: 13px; }
.side-head { margin: 0 0 12px; font-weight: 600; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.side-head-2 { margin: 20px 0 8px; }
.side-item { padding: 8px 10px; border-radius: 8px; }
.side-item.on { background: var(--blush); color: var(--wine); font-weight: 600; }
.app-main { flex: 1; min-width: 0; padding: 24px 28px; font-size: 14px; line-height: 1.55; }
.app-title-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.app-title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.meta { font-size: 12px; color: var(--muted); }
.app-goal { margin: 12px 0 16px; color: var(--body); }
.app-cols { display: flex; gap: 20px; flex-wrap: wrap; }
.app-col { flex: 1 1 260px; min-width: 0; }
.mix { width: 100%; border-collapse: collapse; font-size: 13px; }
.mix th { text-align: left; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.mix td { padding: 6px 8px; border-bottom: 1px solid var(--line-3); }
.mix tr:last-child td { border-bottom: 0; }
.chips { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: var(--pill); color: var(--wine); background: var(--blush); }
.chip-blue { color: var(--blue); background: var(--blue-tint); }
.map-card {
  flex: 0 0 200px; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px;
  background: var(--white); text-align: center;
}
.legend { display: flex; justify-content: center; gap: 10px; font-size: 11px; color: var(--body); flex-wrap: wrap; }
.legend .swatch { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.sw-wine { background: var(--wine); }
.sw-green { background: var(--green); }
.sw-grey { background: var(--muted); }

@media (max-width: 760px) {
  .app-side { display: none; }
  .app-main { padding: 20px 16px; }
  .map-card { flex: 1 1 100%; }
}
@media (max-width: 420px) { .app-rail { display: none; } }

/* Phone */
.phone {
  flex: 1 1 260px; max-width: 300px; margin: 0 auto;
  background: var(--ink); border-radius: 40px 40px 0 0; padding: 12px 12px 0;
}
.phone-screen { background: var(--paper); color: var(--ink); border-radius: 30px 30px 0 0; overflow: hidden; min-height: 470px; }
.phone-cam { background: var(--ink); height: 190px; display: flex; align-items: center; justify-content: center; position: relative; }
.qr-frame { width: 120px; height: 120px; border: 3px solid var(--pink); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.phone-cam-label { position: absolute; bottom: 12px; font-size: 12px; color: var(--grey); }
.phone-body { padding: 18px; }
.found { font-size: 12px; font-weight: 600; color: var(--green); }
.sample-id { margin-top: 4px; font-size: 20px; font-weight: 600; }
.sample-type { margin: 2px 0 12px; font-size: 13px; color: var(--muted); }
.sample-loc { font-size: 12px; line-height: 1.6; color: var(--body); }
.sample-loc strong { color: var(--wine); }
.amount-row { margin-top: 12px; display: flex; justify-content: space-between; font-size: 12px; }
.bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 6px; }
.bar-fill { width: 76%; height: 6px; background: var(--wine); border-radius: 3px; }
.phone-btn {
  margin-top: 16px; width: 100%; min-height: 44px; border: 0; border-radius: 12px;
  background: var(--wine); color: var(--paper); font: 600 14px var(--font);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-list {
  list-style: none; margin: 0 auto; max-width: var(--wrap); padding: 28px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px;
  font-size: 15px; font-weight: 500;
}
.trust-list li { display: flex; gap: 10px; align-items: center; }
.bullet { width: 8px; height: 8px; background: var(--wine); border-radius: 50%; flex-shrink: 0; }

/* ---------- Three steps (tabs) ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.tab {
  min-height: 48px; padding: 0 24px; border-radius: var(--pill);
  font: 600 16px var(--font); cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--grey);
}
.tab:hover { border-color: var(--wine); }
.tab[aria-selected="true"] { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.panel-box { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.panel { display: flex; flex-wrap: wrap; }
.panel[hidden] { display: none; }
/* Without JavaScript all three panels show, one after another. */
.no-js .panel[hidden] { display: flex; }
.no-js .panel + .panel { border-top: 1px solid var(--line); }
.panel-text { flex: 1 1 340px; padding: 40px; }
.panel-kicker { font-size: 14px; font-weight: 600; color: var(--wine); }
.panel-text h3 { margin: 8px 0 12px; font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.panel-text .panel-desc { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--body); }
.panel-list { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.9; }
.panel-visual { flex: 999 1 520px; min-width: 0; background: var(--blush); padding: 32px; }
.card { background: var(--white); border-radius: 14px; padding: 24px; font-size: 13px; }
.card-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.card-head strong { font-size: 15px; }
.card-head span { color: var(--muted); }
@media (max-width: 640px) {
  .panel-text { padding: 28px 20px; }
  .panel-text h3 { font-size: 25px; }
  .panel-visual { padding: 16px; }
  .card { padding: 18px; }
}

/* Design visual */
.linear-map { position: relative; height: 70px; margin-top: 20px; }
.lm-axis { position: absolute; left: 0; right: 0; top: 30px; height: 4px; background: var(--grey); border-radius: 2px; }
.lm-gene { position: absolute; left: 6%; width: 86%; top: 24px; height: 16px; background: var(--green); border-radius: 4px; }
.lm-site { position: absolute; top: 0; font-size: 11px; color: var(--wine); font-weight: 600; }
.lm-site-l { left: 2%; }
.lm-site-r { right: 2%; }
.lm-primer { position: absolute; width: 12%; top: 50px; height: 6px; background: var(--wine); border-radius: 3px; }
.lm-primer-l { left: 4%; }
.lm-primer-r { right: 4%; }
.seq { margin-top: 16px; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--body); word-break: break-all; }
.seq mark { background: var(--blush); color: var(--wine); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.stat { background: var(--paper); border-radius: 10px; padding: 12px; }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.stat strong { font-size: 18px; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Record visual */
.history { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.6; }
.history li { display: flex; gap: 12px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--wine); color: var(--paper);
  font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.avatar-blue { background: var(--blue); }
.history .meta { display: block; }

/* Track visual: freezer box */
.box-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; max-width: 420px; }
.cell { aspect-ratio: 1; border-radius: 50%; background: var(--grey); }
.cell-empty { background: transparent; border: 1px solid var(--grey); }
.cell-on { background: var(--wine); box-shadow: 0 0 0 3px var(--blush), 0 0 0 5px var(--wine); }
.box-legend { display: flex; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--body); flex-wrap: wrap; }
.box-legend .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; }
.swatch-full { background: var(--grey); }
.swatch-on { background: var(--wine); }
.swatch-empty { border: 1px solid var(--grey); }

/* ---------- Phone tracking (dark) ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--pink); }
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 400px; min-width: 0; }
.h-phone { font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.dark-lead { margin-top: 24px; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--grey); }
.text-link { display: inline-block; margin-top: 32px; font-size: 16px; font-weight: 600; text-decoration: none; padding: 14px 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--dark-line); }
.steps li:last-child { border-bottom: 1px solid var(--dark-line); }
.step-n { font-size: 14px; color: var(--pink); font-weight: 600; width: 28px; flex-shrink: 0; }
.steps strong { display: block; font-size: 20px; font-weight: 600; }
.steps .step-d { color: var(--grey); font-size: 15px; }

/* ---------- Why eight ---------- */
.why { background: var(--blush); }
.why-art { display: flex; justify-content: center; flex: 1 1 320px; }
.why-text { flex: 1 1 480px; }
.h-why { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.why-text p.why-body { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--body); }
.why-tag { margin-top: 20px; font-size: 18px; font-weight: 600; color: var(--wine); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; margin-top: 48px; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.plan-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-name { font-size: 22px; font-weight: 600; }
.plan-for { font-size: 16px; color: var(--body); }
.plan-dark .plan-for, .plan-dark .plan-unit { color: var(--grey); }
.plan-price { margin-top: 8px; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.plan-unit { font-size: 14px; color: var(--muted); }
.plan ul { margin: 8px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.9; }
.plan .btn { margin-top: auto; }
@media (max-width: 640px) { .plan { padding: 28px 22px; } }

/* ---------- Early access (sign-up) ---------- */
.signup { background: var(--wine); color: var(--paper); }
.signup-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; text-align: center; }
.h-signup { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
.signup-lead { margin: 24px auto 0; max-width: 620px; font-size: 19px; line-height: 1.55; color: var(--blush); }
.form {
  margin: 40px auto 0; max-width: 640px; text-align: left;
  background: var(--paper); color: var(--ink); border-radius: 20px; padding: 32px;
}
.form-title { font-size: 20px; font-weight: 600; }
.form-sub { margin-top: 6px; font-size: 15px; color: var(--body); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select {
  min-height: 48px; padding: 0 14px; border: 1px solid var(--grey); border-radius: 12px;
  font: 400 16px var(--font); color: var(--ink); background: var(--white); width: 100%;
}
.field input:focus, .field select:focus { outline: 3px solid var(--blush); border-color: var(--wine); }
.field input[aria-invalid="true"] { border-color: var(--wine); }
.field-error { font-size: 13px; color: var(--wine); font-weight: 500; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.privacy-note { flex: 1 1 260px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }
.form-status { margin-top: 16px; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--wine); }
.form-done { text-align: center; padding: 16px 0; }
.form-done .done-mark {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600;
}
.form-done h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.form-done p { margin-top: 8px; font-size: 16px; color: var(--body); }
.signup-alt { margin-top: 28px; font-size: 15px; color: var(--blush); }
.signup-alt a { color: var(--paper); font-weight: 600; }
.signup-alt a:hover { color: var(--blush); }
@media (max-width: 640px) {
  .form { padding: 22px 18px; }
  .fields { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--grey); padding: 72px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; }
.footer-brand .brand-word { font-size: 28px; color: var(--paper); }
.footer-tag { margin-top: 20px; font-size: 20px; font-weight: 600; color: var(--paper); }
.footer-site { margin-top: 8px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 32px; font-size: 14px; line-height: 2.1; }
.footer-cols h2 { margin: 0 0 6px; font-size: 14px; color: var(--paper); font-weight: 600; line-height: 2.1; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer .footer-cols a { color: var(--grey); text-decoration: none; }
.footer .footer-cols a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Simple text pages (KVKK notice) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 112px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.doc h2 { margin-top: 40px; font-size: 22px; font-weight: 600; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--body); }
.doc p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-left: 22px; }
.doc .draft-note {
  margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--blush); color: var(--wine);
  font-size: 15px; font-weight: 500;
}
.doc .h-second { margin-top: 56px; }

/* ---------- Tetkik Notlar (blog) ---------- */
.notes .lead { margin-bottom: 8px; }
.note-list {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 24px;
}
.note-card-link {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  color: var(--ink); text-decoration: none;
}
.note-card-link:hover { border-color: var(--wine); color: var(--ink); }
.note-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--line); }
.note-date { font-size: 14px; color: var(--muted); }
.note-card-title { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.note-card-summary { font-size: 16px; line-height: 1.55; color: var(--body); }
.note-card-more { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--wine); }
.notes-empty { margin-top: 40px; font-size: 17px; color: var(--muted); }

.note { max-width: 760px; margin: 0 auto; padding: 72px 24px 112px; }
.note .eyebrow a { color: var(--wine); text-decoration: none; }
.note-title { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.note-head .note-date { margin-top: 16px; }
.note-cover { width: 100%; margin-top: 32px; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--line); }
.note-body { margin-top: 32px; font-size: 18px; line-height: 1.7; color: var(--body); }
.note-body > * + * { margin-top: 18px; }
.note-body h2 { margin-top: 40px; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.note-body h3 { margin-top: 32px; font-size: 22px; font-weight: 600; color: var(--ink); }
.note-body ul { padding-left: 24px; }
.note-body li + li { margin-top: 6px; }
.note-body blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--wine); color: var(--ink); }
.note-body figure { margin-left: 0; margin-right: 0; }
.note-body img { width: 100%; border-radius: 14px; }
.note-body figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.note-back { margin-top: 48px; font-weight: 600; }
@media (max-width: 640px) { .note { padding: 48px 16px 80px; } .note-body { font-size: 17px; } }
