/* İçgör site. Colours are the app's tokens (suzgec/tools/gen_colors.py); type is the system serif (New York on Apple
   devices) for display and the system sans for text, so nothing is downloaded from a third party. */
:root {
  color-scheme: light dark;
  --brand: #0d4a4c;
  --brand-deep: #08393b;
  --brand-tint: #e3eeec;
  --on-mark: #f5f6f4;
  --wheat: #d9c7a3;
  --wheat-tint: #f3ede0;
  --wheat-ink: #5a4a26;
  --ground: #f5f6f4;
  --surface: #ffffff;
  --ink: #0f1d1c;
  --ink-2: #4a5856;
  --ink-3: #6b7775;
  --hairline: #dde2df;
  --divider: #edf0ee;
  --personal: #b42318;
  --personal-tint: #fbe4e1;
  --ok: #1d6b45;
  --ok-tint: #e2f1e8;
  --caution: #a14a05;
  --caution-tint: #fbeedd;
  --score-c: #fecb02;
  --radius: 20px;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgb(15 29 28 / 0.06), 0 24px 48px -28px rgb(15 29 28 / 0.35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #5fb3ae;
    --brand-deep: #8fd0cb;
    --brand-tint: #17393a;
    --on-mark: #0b1413;
    --wheat-tint: #2a2619;
    --wheat-ink: #e6d3a8;
    --ground: #0b1413;
    --surface: #141f1e;
    --ink: #e9eeec;
    --ink-2: #a9b5b2;
    --ink-3: #8a9794;
    --hairline: #24312f;
    --divider: #1f2b2a;
    --personal: #ff9b8c;
    --personal-tint: rgb(255 155 140 / 0.14);
    --ok: #7bd3a3;
    --ok-tint: rgb(123 211 163 / 0.14);
    --caution: #f2ae6b;
    --caution-tint: rgb(242 174 107 / 0.14);
    --shadow: 0 0 0 1px var(--hairline);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; padding-block: 12vh; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 10px 14px; border-radius: 10px; }
.eyebrow { font: 600 0.78rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }

/* --- header / footer ------------------------------------------------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--hairline) 70%, transparent); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.3rem/1 var(--serif); }
.mark { color: var(--brand); flex: none; }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.top nav a:hover { background: var(--brand-tint); color: var(--brand); }
.top nav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }

.foot { margin-top: 96px; border-top: 1px solid var(--hairline); background: var(--surface); padding: 48px 0 56px; font-size: 0.92rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; }
.foot-note { margin-top: 14px; max-width: 46ch; }
.foot-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--brand); text-decoration: underline; }
.foot-small { grid-column: 1 / -1; border-top: 1px solid var(--divider); padding-top: 20px; font-size: 0.84rem; color: var(--ink-3); }
.foot-small p { margin: 0 0 6px; }

/* --- hero ----------------------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--brand-tint), transparent 62%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--brand); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36ch; }
.cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 28px 0 22px; }
.badge-store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.badge-store.soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--ink-3); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " ↓"; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pills li { font-size: 0.88rem; font-weight: 500; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); }

/* The sieve illustration: a label above, a mesh, per-person results below. */
.sieve { position: relative; display: grid; gap: 0; justify-items: center; }
.label-card { width: min(420px, 100%); background: var(--wheat-tint); color: var(--wheat-ink); border-radius: 18px 18px 6px 6px; padding: 18px 20px 20px; transform: rotate(-1.5deg); box-shadow: var(--shadow); font-size: 0.92rem; line-height: 1.55; }
.label-title { font: 700 0.75rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 6px; }
.label-text { margin: 0; font-family: var(--serif); }
.label-meta { margin: 10px 0 0; font-size: 0.75rem; opacity: 0.75; }
.hit { background: color-mix(in srgb, var(--personal) 16%, transparent); color: var(--ink); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hit.soft { background: color-mix(in srgb, var(--caution) 16%, transparent); }
.mesh { display: flex; gap: 14px; justify-content: center; height: 54px; align-items: center; }
.mesh span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: 0.55; animation: drip 2.8s ease-in infinite; }
.mesh span:nth-child(2n) { animation-delay: 0.6s; opacity: 0.35; }
.mesh span:nth-child(3n) { animation-delay: 1.3s; }
@keyframes drip { 0%, 30% { transform: translateY(-14px); opacity: 0; } 50% { opacity: 0.7; } 100% { transform: translateY(18px); opacity: 0; } }
.result-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.result-head { display: flex; gap: 14px; align-items: center; margin: 0 0 12px; }
.result-head b { display: block; font: 600 1.15rem var(--serif); }
.result-head small, .who small { display: block; color: var(--ink-3); font-size: 0.82rem; }
.score { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font: 700 1.4rem var(--sans); }
.s-c { background: var(--score-c); color: #3a2f00; }
.family { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.family li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--ground); }
.who { flex: 1; line-height: 1.3; }
.who b { font-weight: 600; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.a-0 { background: #e8e4f3; color: #4a3787; }
.a-1 { background: var(--wheat-tint); color: var(--wheat-ink); }
.a-2 { background: var(--brand-tint); color: var(--brand); }
.verdict { font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.v-personal { background: var(--personal-tint); color: var(--personal); }
.v-ok { background: var(--ok-tint); color: var(--ok); }

/* --- sections ------------------------------------------------------------------------------------------------- */
.band { padding: 88px 0; background: var(--surface); border-block: 1px solid var(--hairline); }
.band-soft { background: var(--ground); border: 0; }
.band-deep { background: #0d4a4c; color: #e9eeec; border: 0; }
.band-deep .eyebrow { color: var(--wheat); }
.band-deep a { color: #ffffff; }
.band-link { margin: 28px 0 0; font-weight: 600; }
section.wrap { padding-block: 88px; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-section > div > p { color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 40px 0 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; border-top: 2px dotted var(--hairline); z-index: 0; }
.steps li { position: relative; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-mark); font: 700 1.05rem var(--sans); margin-bottom: 18px; box-shadow: 0 0 0 8px var(--surface); }
.steps p { color: var(--ink-2); }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 10px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg) scale(0.8); }
.quote-card { margin: 0; padding: 36px; border-radius: var(--radius); background: var(--wheat-tint); color: var(--wheat-ink); position: relative; }
.quote-card blockquote { margin: 0; font: 500 1.3rem/1.5 var(--serif); color: var(--ink); }
.quote-card figcaption { margin-top: 16px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

.kinds { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kind { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px 22px; transition: transform 0.2s, border-color 0.2s; }
.kind:hover { transform: translateY(-3px); border-color: var(--brand); }
.kind svg { color: var(--brand); margin-bottom: 14px; }
.kind p { color: var(--ink-2); font-size: 0.96rem; margin: 0; }

.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.sources li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.sources b { font-family: var(--mono); font-size: 0.9rem; font-weight: 600; color: var(--brand); }
.sources span { color: var(--ink-2); text-align: right; }

.privacy { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgb(255 255 255 / 0.12); border-radius: var(--radius); overflow: hidden; }
.privacy li { background: #0d4a4c; padding: 26px 22px; }
.privacy h3 { color: #ffffff; }
.privacy p { color: #c9dad8; font-size: 0.96rem; margin: 0; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; margin-top: 32px; }
.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; }
.plan-main { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price { font: 600 2.4rem/1 var(--serif); margin: 6px 0 4px; }
.price small { font: 500 1rem var(--sans); color: var(--ink-3); }
.price-alt { color: var(--ink-2); font-size: 0.92rem; }
.plan ul { padding-left: 20px; margin: 16px 0 0; color: var(--ink-2); }
.plan li { margin-bottom: 6px; }
.fine { color: var(--ink-3); font-size: 0.88rem; margin-top: 20px; max-width: 72ch; }

.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 600 1.12rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem var(--sans); color: var(--brand); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }
.closing { text-align: center; }
.closing p { color: var(--ink-2); }

/* --- documents ------------------------------------------------------------------------------------------------ */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; align-items: start; }
.toc { position: sticky; top: 88px; font-size: 0.9rem; }
.toc p { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; border-left: 2px solid var(--hairline); }
.toc a { display: block; padding: 2px 0 2px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.doc { max-width: 74ch; padding-top: 48px; }
.doc-layout .doc { padding-top: 0; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 0.6em; }
.doc h2 { font-size: 1.55rem; margin-top: 2.2em; padding-top: 8px; scroll-margin-top: 88px; }
.doc h3 { font-size: 1.2rem; margin-top: 1.6em; scroll-margin-top: 88px; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .table { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--hairline); border-radius: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.94rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--divider); }
.doc thead th { background: var(--surface); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.doc tr:last-child td { border-bottom: 0; }
.doc blockquote { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 12px 12px 0; }
.doc code { font-family: var(--mono); font-size: 0.88em; background: var(--brand-tint); padding: 1px 5px; border-radius: 5px; }
.doc hr { border: 0; border-top: 1px solid var(--hairline); margin: 32px 0; }
mark.todo { background: var(--caution-tint); color: var(--caution); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* --- responsive ----------------------------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .split-section, .doc-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .kinds, .privacy { grid-template-columns: repeat(2, 1fr); }
  .toc { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top nav a { padding: 6px 8px; font-size: 0.88rem; }
  .top nav a:first-child { display: none; }
  .steps, .kinds, .privacy, .plans { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .band, section.wrap { padding-block: 64px; }
  .label-card { transform: none; }
  .sources li { flex-direction: column; gap: 2px; }
  .sources span { text-align: left; }
}
