/* ─────────────────────────────────────────────────────────
   Entegrasyoner — Modern Tech (Varyasyon C) design system
   DM Sans + JetBrains Mono · soğuk gri + indigo + lime
   ───────────────────────────────────────────────────────── */

:root {
  --bg: #F6F8FA;
  --bg-2: #EEF1F5;
  --paper: #FFFFFF;
  --ink: #0E1116;
  --ink-2: #283038;
  --muted: #5B6370;
  --dim: #6B7280;
  --line: #E1E6EC;
  --line-2: #CFD6DE;
  --pri: #5B5BEA;
  --pri-2: #4444D6;
  --pri-3: #2E2EAE;
  --soft: #EEEEFC;
  --acc: #84CC16;
  --acc-2: #65A30D;
  --acc-soft: #ECFCCB;
  --good: #16A34A;
  --warn: #D97706;
  --bad: #DC2626;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --font: 'DM Sans', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--pri); }
::selection { background: var(--pri); color: #fff; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 700px) { .wrap, .wrap-tight { padding: 0 20px; } }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); letter-spacing: -.04em; font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.1rem; letter-spacing: -.012em; }
h4 { font-size: 1rem; letter-spacing: -.005em; }
p { color: var(--muted); text-wrap: pretty; }
.lead { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.mono { font-family: var(--mono); }
.grad { background: linear-gradient(135deg, var(--pri), #8b5cf6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Tag / pill ────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  height: 26px; padding: 0 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-2); letter-spacing: .01em;
  width: max-content;
}
.tag .dot { width: 6px; height: 6px; background: var(--good); border-radius: 50%; }
.tag-pri { background: var(--soft); border-color: rgba(91,91,234,.2); color: var(--pri); }
.tag-acc { background: var(--acc-soft); border-color: rgba(132,204,22,.3); color: #4D7C0F; }
.tag-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag-warn { background: #FEF3C7; border-color: #FDE68A; color: #92400E; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r);
  font-weight: 500; font-size: 14.5px;
  font-family: inherit; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--pri); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.btn-acc { background: var(--pri); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 4px 14px -4px rgba(91,91,234,.5); }
.btn-acc:hover { background: var(--pri-2); color: #fff; transform: translateY(-1px); }
.btn .a { width: 14px; height: 14px; transition: transform .15s; }
.btn:hover .a { transform: translateX(3px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 13px 22px; font-size: 15px; }

/* ── Top bar (shared across pages) ─────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,248,250,.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.topbar .row { display: flex; align-items: center; height: 60px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.brand .m {
  width: 26px; height: 26px;
  background: var(--ink); color: #fff;
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px;
}
.brand-wrap { position: relative; display: inline-block; }
.nav-links { display: flex; gap: 2px; font-size: 13.5px; }
.nav-links a { padding: 7px 12px; border-radius: 6px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { background: var(--paper); color: var(--ink); }
.nav-links a.active { background: var(--paper); color: var(--ink); }
.tcta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.tcta .sk {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 6px;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  margin-right: 8px;
}
.tcta .sk kbd { padding: 1px 5px; background: var(--bg-2); border-radius: 3px; color: var(--ink-2); }
.tcta .signin { color: var(--ink-2); font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 6px; }
.tcta .signin:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 900px) { .nav-links, .tcta .sk { display: none; } }

/* ── Hero (homepage split) ─────────────────────────────── */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero .badge-row { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.hero h1 .a { background: linear-gradient(135deg, var(--pri), #8b5cf6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { margin-top: 22px; }
.hero .ctas { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero .trust { margin-top: 28px; display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.hero .trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero .trust span::before { content: "✓"; color: var(--acc-2); font-weight: 700; }

/* ── Page header (used on inner pages) ─────────────────── */
.page-head {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 700px 360px at 30% 0%, rgba(91,91,234,.08), transparent 70%),
    radial-gradient(ellipse 500px 280px at 90% 100%, rgba(132,204,22,.06), transparent 70%);
}
.page-head .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: .04em; margin-bottom: 18px;
}
.page-head .breadcrumb a:hover { color: var(--pri); }
.page-head .breadcrumb .sep { color: var(--dim); }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); max-width: 22ch; }
.page-head .ph-lead { margin-top: 20px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.page-head .ph-meta {
  margin-top: 24px;
  display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--muted); letter-spacing: .02em;
}
.page-head .ph-meta span::before { content: "// "; color: var(--pri); }

/* ── Terminal (hero, sidebar mockup) ───────────────────── */
.term {
  background: var(--ink); color: #E5E7EB;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(15,23,42,.4), 0 8px 22px -8px rgba(15,23,42,.15);
  font-family: var(--mono); font-size: 12.5px;
  line-height: 1.65;
}
.term-top { display: flex; align-items: center; padding: 10px 14px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); gap: 10px; }
.term-top .lights { display: flex; gap: 6px; }
.term-top .lights i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.term-top .title { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .03em; margin-left: 8px; }
.term-body { padding: 16px 18px 18px; }
.term-body .ln { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-body .pr { color: var(--acc); }
.term-body .dim { color: rgba(229,231,235,.5); }
.term-body .ok { color: var(--acc); }
.term-body .info { color: #93C5FD; }
.term-body .warn { color: #FBBF24; }
.term-body .err { color: #F87171; }
.term-body .caret::after { content: "▌"; color: var(--acc); margin-left: 4px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Hero mini stat row ────────────────────────────────── */
.hero-right { display: flex; flex-direction: column; gap: 14px; }
.mini-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.mini .h { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.mini .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; font-feature-settings: "tnum"; }
.mini .d { font-family: var(--mono); font-size: 10.5px; color: var(--good); margin-top: 2px; }
.mini.acc .v { color: var(--pri); }
.mini.warn .d { color: var(--warn); }

/* ── Section common ────────────────────────────────────── */
.section { padding: 96px 0; }
.shead { margin-bottom: 48px; display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.shead h2 { max-width: 18ch; }
.shead p { font-size: 15px; max-width: 52ch; }
.shead.center { margin: 0 auto 48px; text-align: center; align-items: center; }

/* ── Features grid (3 cols) ────────────────────────────── */
.feats { padding: 96px 0; }
.feats-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s, transform .15s;
}
.fc:hover { border-color: var(--line-2); transform: translateY(-2px); }
.fc .top { display: flex; justify-content: space-between; align-items: center; }
.fc .n { font-family: var(--mono); font-size: 11.5px; color: var(--pri); font-weight: 600; }
.fc .ic { width: 24px; height: 24px; border-radius: 6px; background: var(--soft); display: grid; place-items: center; color: var(--pri); }
.fc .ic svg { width: 14px; height: 14px; }
.fc h3 { font-size: 17px; }
.fc p { font-size: 13.5px; line-height: 1.55; }
.fc .mt { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
@media (max-width: 900px) { .feats-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feats-g { grid-template-columns: 1fr; } }

/* ── API showcase ──────────────────────────────────────── */
.api { padding: 96px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.api-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .api-grid { grid-template-columns: 1fr; } }
.api .meta { display: flex; flex-direction: column; gap: 14px; max-width: 52ch; }
.api ul { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.api ul li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--ink-2); }
.api ul li::before { content: "▸"; color: var(--acc-2); font-weight: 700; }
.api .code {
  background: var(--ink); color: #E5E7EB;
  border-radius: var(--r-lg);
  padding: 20px 22px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  box-shadow: 0 16px 40px -16px rgba(15,23,42,.3);
}
.api .code .kw { color: #C4B5FD; }
.api .code .str { color: var(--acc); }
.api .code .num { color: #FBBF24; }
.api .code .cm { color: rgba(229,231,235,.45); }
.api .code .fn { color: #93C5FD; }

/* ── How (numbered horizontal) ─────────────────────────── */
.how { padding: 96px 0; }
.how-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stp { padding: 28px 24px 24px 0; border-right: 1px solid var(--line); position: relative; }
.stp:last-child { border-right: 0; }
.stp::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 2px; background: var(--pri); }
.stp .n { font-family: var(--mono); font-size: 11px; color: var(--pri); font-weight: 600; margin: 14px 0 12px; letter-spacing: .04em; }
.stp h3 { font-size: 18px; margin-bottom: 8px; }
.stp p { font-size: 13.5px; }
@media (max-width: 900px) { .how-g { grid-template-columns: 1fr 1fr; } .stp:nth-child(2) { border-right: 0; } }
@media (max-width: 600px) { .how-g { grid-template-columns: 1fr; } .stp { border-right: 0 !important; padding-right: 0; } }

/* ── CTA card (used in home and subpages) ──────────────── */
.cta { padding: 96px 0; }
.cta-card {
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl); padding: 56px 48px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 280px at 30% 0%, rgba(91,91,234,.35), transparent 60%),
    radial-gradient(ellipse 400px 200px at 100% 100%, rgba(132,204,22,.18), transparent 60%);
}
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; max-width: 18ch; }
.cta-card p { color: rgba(255,255,255,.65); max-width: 44ch; margin-top: 12px; }
.cta-card .ctas { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.cta-card .btn-primary { background: var(--pri); color: #fff; }
.cta-card .btn-primary:hover { background: var(--pri-2); }
.cta-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); color: #fff; }
.cta-card .side { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.75); }
.cta-card .side .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.cta-card .side .row:last-child { border-bottom: 0; }
.cta-card .side .row b { color: #fff; font-weight: 500; }
.cta-card .side .row .acc { color: var(--acc); }
@media (max-width: 900px) { .cta-card { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ── Footer ────────────────────────────────────────────── */
footer.f { padding: 64px 0 28px; background: var(--paper); border-top: 1px solid var(--line); }
.f-g { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.f-brand p { color: var(--muted); font-size: 13.5px; max-width: 32ch; margin-top: 12px; }
.f-brand .ct { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.f-brand .ct a { color: var(--ink); font-weight: 500; }
footer h4 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
footer ul a { color: var(--ink-2); font-size: 13.5px; }
footer ul a:hover { color: var(--pri); }
.f-bot { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.f-bot .meta { display: flex; gap: 18px; align-items: center; }
.f-bot .meta a:hover { color: var(--pri); }
.f-bot .status { display: inline-flex; align-items: center; gap: 6px; }
.f-bot .status::before { content: ""; width: 6px; height: 6px; background: var(--good); border-radius: 50%; }
@media (max-width: 900px) { .f-g { grid-template-columns: 1fr 1fr; } }

/* ─── Subpage-specific styles ───────────────────────────── */

/* Feature detail blocks (ozellikler.html) */
.fdetail { padding: 96px 0; border-top: 1px solid var(--line); }
.fdetail.dark { background: var(--ink); color: #fff; border-top: 0; }
.fdetail.dark h2 { color: #fff; }
.fdetail.dark .lbl { color: var(--acc); }
.fdetail.dark p { color: rgba(255,255,255,.7); }
.fdetail.dark ul li { color: rgba(255,255,255,.85); }
.fdetail .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.fdetail.rev .grid { grid-template-columns: 1.1fr 1fr; }
.fdetail.rev .grid > :first-child { order: 2; }
.fdetail .lbl { font-family: var(--mono); font-size: 11px; color: var(--pri); letter-spacing: .06em; font-weight: 600; }
.fdetail .lbl .num { margin-right: 6px; padding: 3px 8px; background: var(--soft); color: var(--pri); border-radius: 4px; }
.fdetail.dark .lbl .num { background: rgba(132,204,22,.15); color: var(--acc); }
.fdetail h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 14px; max-width: 16ch; }
.fdetail .kicker { font-size: 16px; margin-top: 14px; max-width: 44ch; line-height: 1.55; }
.fdetail ul { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.fdetail ul li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); align-items: baseline; font-size: 14.5px; color: var(--ink-2); }
.fdetail.dark ul li { border-top-color: rgba(255,255,255,.12); }
.fdetail ul li:last-child { border-bottom: 1px dashed var(--line); }
.fdetail.dark ul li:last-child { border-bottom-color: rgba(255,255,255,.12); }
.fdetail ul li::before { content: "▸"; color: var(--acc-2); font-weight: 700; padding-top: 1px; }
.fdetail.dark ul li::before { color: var(--acc); }
@media (max-width: 900px) {
  .fdetail .grid, .fdetail.rev .grid { grid-template-columns: 1fr; gap: 40px; }
  .fdetail.rev .grid > :first-child { order: 0; }
}

/* Mockup cards (orders, stock, etc.) */
.mockup {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 20px 50px -25px rgba(15,23,42,.18);
}
.mockup-head { display: flex; justify-content: space-between; padding: 14px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.mockup-row { display: grid; align-items: center; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 13px; }
.mockup-row:first-of-type { border-top: 0; }

/* Pricing (fiyatlandirma.html) */
.pricing-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  position: relative;
  font-family: var(--mono); font-size: 12.5px;
  min-width: 320px;
  margin-top: 28px;
}
.pricing-toggle button {
  appearance: none; background: transparent; border: 0;
  padding: 9px 18px; border-radius: 999px;
  color: var(--muted); font-family: inherit; font-size: inherit;
  cursor: pointer; position: relative; z-index: 1;
  white-space: nowrap; transition: color .15s var(--ease);
}
.pricing-toggle button.on { color: #fff; }
.pricing-toggle .thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px); background: var(--ink);
  border-radius: 999px;
  transition: transform .25s var(--ease);
}
.pricing-toggle.year .thumb { transform: translateX(100%); }
.pricing-toggle .save { display: inline-block; margin-left: 6px; padding: 2px 6px; background: var(--acc-soft); color: var(--acc-2); border-radius: 4px; font-size: 10px; letter-spacing: .04em; }
.pricing-toggle.year button:nth-child(3) .save { background: rgba(132,204,22,.3); color: var(--acc); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.plan.featured {
  background: var(--ink); color: #fff; border-color: var(--ink);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.25);
}
@media (max-width: 900px) { .plan.featured { transform: none; } }
.plan .ribbon {
  position: absolute; top: 16px; right: 16px;
  background: var(--acc); color: var(--ink);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px; font-weight: 600;
}
.plan .nm { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.plan.featured .nm { color: #fff; }
.plan .tagline { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.plan.featured .tagline { color: rgba(255,255,255,.65); }
.plan .price-row { display: flex; align-items: baseline; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan.featured .price-row { border-top-color: rgba(255,255,255,.12); }
.plan .px { font-size: 44px; font-weight: 700; letter-spacing: -.035em; font-feature-settings: "tnum"; }
.plan .px .cur { font-size: 22px; letter-spacing: 0; margin-right: 2px; }
.plan .period { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.plan.featured .period { color: rgba(255,255,255,.6); }
.plan .yhint { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.plan.featured .yhint { color: rgba(255,255,255,.5); }
.plan .cta { justify-content: center; width: 100%; }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; align-items: baseline; }
.plan li .c { font-family: var(--mono); font-size: 12px; color: var(--acc-2); }
.plan.featured li .c { color: var(--acc); }
.plan li.off { color: var(--muted); }
.plan.featured li.off { color: rgba(255,255,255,.4); }
.plan li.off .c { color: var(--dim); }
.plan.featured li.off .c { color: rgba(255,255,255,.25); }

/* Comparison table */
.cmp { padding: 96px 0; border-top: 1px solid var(--line); }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cmp-table thead th { font-size: 13px; font-weight: 600; background: var(--bg-2); color: var(--ink); padding-top: 18px; padding-bottom: 18px; }
.cmp-table thead th:not(:first-child) { text-align: center; font-family: var(--mono); }
.cmp-table thead th.featured { background: var(--ink); color: #fff; }
.cmp-table tbody td { color: var(--ink-2); }
.cmp-table tbody td:not(:first-child) { text-align: center; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.cmp-table tbody td.featured { background: rgba(91,91,234,.04); color: var(--pri); }
.cmp-table .grp td { background: var(--bg-2) !important; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 18px; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .dash { color: var(--dim); }
@media (max-width: 800px) { .cmp { overflow-x: auto; } .cmp-table { min-width: 720px; } }

/* Pricing promise */
.promise { padding: 56px 0; border-top: 1px solid var(--line); }
.promise-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.promise .it { padding: 0 28px 0 0; border-right: 1px solid var(--line); }
.promise .it:last-child { border-right: 0; }
.promise .it .k { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.promise .it .d { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; max-width: 24ch; }
@media (max-width: 900px) { .promise-g { grid-template-columns: 1fr 1fr; gap: 24px; } .promise .it { border-right: 0; padding: 0; } }

/* About / values */
.values { padding: 96px 0; }
.values-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.val { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.val .n { font-family: var(--mono); font-size: 11.5px; color: var(--pri); font-weight: 600; letter-spacing: .04em; }
.val h3 { font-size: 18px; }
.val p { font-size: 13.5px; line-height: 1.55; }
@media (max-width: 900px) { .values-g { grid-template-columns: 1fr; } }

.bigq { padding: 96px 0; background: var(--ink); color: #fff; }
.bigq blockquote { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; max-width: 26ch; color: #fff; }
.bigq blockquote::before { content: "“"; color: var(--acc); font-size: 1.2em; line-height: 0; vertical-align: -.3em; margin-right: .05em; }
.bigq .att { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 16px; align-items: center; font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.65); }

/* Contact */
.contact { padding: 96px 0; }
.contact-g { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
@media (max-width: 900px) { .contact-g { grid-template-columns: 1fr; } }
.contact h2 { max-width: 16ch; }
.contact .ways { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.contact .way {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .15s, transform .15s;
}
.contact .way:hover { border-color: var(--pri); transform: translateX(2px); }
.contact .way .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--pri); display: grid; place-items: center; flex-shrink: 0; }
.contact .way .ic svg { width: 20px; height: 20px; }
.contact .way .k { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.contact .way .v { font-size: 15px; font-weight: 500; color: var(--ink); margin-top: 2px; }

/* Form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; }
.form-card .lbl { font-family: var(--mono); font-size: 11px; color: var(--pri); letter-spacing: .06em; font-weight: 600; }
.form-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 8px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: .02em; }
.field input, .field textarea, .field select {
  appearance: none; box-sizing: border-box;
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); color: var(--ink);
  font: inherit; font-size: 14.5px; font-family: inherit;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--pri); outline-offset: 2px; border-color: var(--pri); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-card .submit { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.form-card .submit .ph { font-size: 12px; color: var(--muted); font-family: var(--mono); }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

/* ─── FAQ (native accordion, no JS) ─────────────────────── */
.faq-list { max-width: 820px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 18px 0; display: flex; gap: 16px; align-items: center;
  justify-content: space-between;
  font-weight: 600; font-size: 15.5px; color: var(--ink);
  letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--pri); font-size: 18px; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--pri); }
.faq-item p { padding: 0 0 18px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 68ch; }

/* ─── Integration directory cards ───────────────────────── */
.intg-group { margin-bottom: 48px; }
.intg-group:last-of-type { margin-bottom: 0; }
.intg-group__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.intg-group__head h2 { font-size: 1.4rem; }
.intg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .intg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .intg-grid { grid-template-columns: 1fr; } }
.intg-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 22px 20px;
  transition: border-color .15s, transform .15s;
}
a.intg-card:hover { border-color: var(--line-2); transform: translateY(-2px); color: inherit; }
.intg-card.soon { background: transparent; border-style: dashed; }
.intg-card__top { display: flex; align-items: center; gap: 12px; }
.intg-card__mark { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-family: var(--mono); font-weight: 600; font-size: 12px; flex-shrink: 0; }
.intg-card__name { font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.intg-card__badge { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.intg-card__badge.on { background: var(--acc-soft); color: var(--acc-2); }
.intg-card__badge.wait { background: var(--bg-2); color: var(--muted); }
.intg-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.intg-card__link { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--pri); }

/* ─── Prose (legal / long-form) ─────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { margin-top: 24px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.prose strong, .prose b { color: var(--ink-2); font-weight: 600; }
.prose a { color: var(--pri); }
.prose .updated { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 8px; }

/* ─── Overflow guards (intrinsic nowrap width → no page scroll) ─── */
body { overflow-x: clip; }
.hero-grid > *, .hero-right, .api-grid > *, .api .code, .term { min-width: 0; }
.term, .api .code { max-width: 100%; }
.api .code { overflow-x: auto; }

/* ─── Mobile nav (CSS-only hamburger) ───────────────────── */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }
.nav-links .m-only { display: none; }
@media (max-width: 900px) {
  .topbar .row { position: relative; flex-wrap: nowrap; gap: 12px; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px; cursor: pointer;
    color: var(--ink); flex-shrink: 0;
  }
  .nav-burger svg { width: 24px; height: 24px; }
  .nav-burger .x { display: none; }
  .nav-toggle:checked ~ .nav-burger .menu { display: none; }
  .nav-toggle:checked ~ .nav-burger .x { display: block; }
  .tcta .signin { display: none; }
  .nav-links .m-only { display: block; }
  .nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -16px rgba(15, 23, 42, 0.2);
    padding: 0 20px; max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .28s var(--ease), opacity .2s, padding .2s;
  }
  .nav-toggle:checked ~ .nav-links { max-height: 380px; opacity: 1; padding: 6px 20px 14px; }
  .nav-links a {
    padding: 13px 4px; border-bottom: 1px solid var(--line);
    font-size: 15px; border-radius: 0; color: var(--ink-2);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.active { background: transparent; color: var(--pri); }
}
