/* Orcavera Gümrük — shared stylesheet. Vanilla CSS, no build step. */

:root {
  --ink-950: #0B1220;
  --ink-800: #16223A;
  --ink-600: #3C4A66;
  --line:    rgba(11, 18, 32, 0.10);
  --line2:   rgba(11, 18, 32, 0.18);
  --mute:    #5A6A88;
  --paper:   #FFFFFF;
  --paper2:  #F5F8FC;
  --blue:    #2563EB;
  --blue2:   #1D4ED8;
  --blue-tint: #EEF3FF;
  --green:   #15803D;
  --green-tint: #EAF7EF;
  --amber:   #B45309;
  --amber-tint: #FFF7E6;
  --red:     #B91C1C;
  --red-tint: #FDECEC;
  --radius:  14px;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink-950);
}

body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink-950);
}

p { margin: 0 0 1em; color: var(--ink-800); }

a { color: var(--blue2); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────────── */
header.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

header.site-header .row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 20px;
  color: var(--ink-950) !important;
  text-decoration: none !important;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wordmark .badge {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue2);
  background: var(--blue-tint);
  border-radius: 6px;
  padding: 2px 6px;
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
nav.main-nav a { color: var(--ink-800); font-weight: 500; }
nav.main-nav a:hover { color: var(--blue2); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

@media (max-width: 760px) {
  nav.main-nav { display: none; }
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,0.28); }
.btn-primary:hover { background: var(--blue2); }
.btn-ghost { background: transparent; color: var(--ink-950); border-color: var(--line2); }
.btn-ghost:hover { background: var(--paper2); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, var(--paper2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue2);
  background: var(--blue-tint);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: 880px;
}
.hero .lede {
  font-size: 19px;
  color: var(--ink-600);
  max-width: 680px;
  margin-bottom: 28px;
}
.hero .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-800);
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ── Sections ───────────────────────────────────────────────────── */
section { padding: 56px 0; }
section.alt { background: var(--paper2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 19px; font-family: "DM Sans", sans-serif; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--mute); font-size: 15px; margin-bottom: 0; }

/* ── Prose (SEO pages) ─────────────────────────────────────────── */
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { font-size: 19px; font-family: "DM Sans", sans-serif; font-weight: 700; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-800); font-size: 16.5px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line2); padding: 10px 12px; text-align: left; }
.prose th { background: var(--paper2); font-weight: 700; }
.breadcrumb { font-size: 13px; color: var(--mute); margin-bottom: 18px; }
.breadcrumb a { color: var(--mute); }

/* ── Tool widget ────────────────────────────────────────────────── */
.tool-card {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(11,18,32,0.08);
  margin-top: 12px;
}
.tool-card h3 { font-size: 18px; font-family: "DM Sans", sans-serif; font-weight: 700; margin-bottom: 4px; }
.tool-sub { color: var(--mute); font-size: 14px; margin-bottom: 20px; }

.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.form-field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink-800); }
.form-field input, .form-field select {
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink-950);
}
.form-field input:focus, .form-field select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.form-hint { font-size: 12.5px; color: var(--mute); }
.form-error {
  font-size: 13.5px;
  color: var(--red);
  background: var(--red-tint);
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 12px;
  display: none;
}
.form-error.show { display: block; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.result-badge {
  display: flex; align-items: center; gap: 8px;
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line2); background: var(--paper2); color: var(--ink-800);
}
.result-badge .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.result-badge.on { background: var(--amber-tint); border-color: rgba(180,83,9,0.25); color: var(--amber); }
.result-badge.on .dot { background: var(--amber); }
.result-badge.off { background: var(--green-tint); border-color: rgba(21,128,61,0.2); color: var(--green); }
.result-badge.off .dot { background: var(--green); }

.result-panel {
  margin-top: 20px;
  border-top: 1px dashed var(--line2);
  padding-top: 20px;
  display: none;
}
.result-panel.show { display: block; }
.result-panel .desc { font-size: 15px; color: var(--ink-800); margin-bottom: 4px; }
.result-panel .framework-line { font-size: 13.5px; color: var(--mute); margin-bottom: 4px; }

.gate {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--line2);
  display: none;
}
.gate.show { display: block; }
.gate .gate-title { font-size: 14.5px; font-weight: 600; margin-bottom: 12px; color: var(--ink-950); }
.gate .capture-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.gate .capture-row input[type="email"] { flex: 1 1 220px; }
.turnstile-slot { margin: 12px 0; min-height: 65px; }

.detail-panel {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line2);
  display: none;
}
.detail-panel.show { display: block; }
.detail-block { margin-bottom: 18px; }
.detail-block h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--mute); margin-bottom: 8px; }
.detail-block ul { padding-left: 18px; margin: 0; }
.detail-block li { font-size: 14.5px; margin-bottom: 6px; color: var(--ink-800); }
.detail-remedy {
  border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; font-size: 14px;
}
.detail-cta {
  margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--blue-tint);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.detail-cta p { margin: 0; font-size: 14.5px; color: var(--ink-950); font-weight: 600; }

.status-line {
  font-size: 13.5px; color: var(--mute); margin-top: 10px; display: none;
}
.status-line.show { display: block; }

/* ── Pricing ────────────────────────────────────────────────────── */
.price-card {
  background: var(--ink-950);
  color: #fff;
  border-radius: 20px;
  padding: 36px;
  display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between;
}
.price-card .amount { font-family: "DM Serif Display", serif; font-size: 44px; }
.price-card .amount span { font-size: 16px; font-family: "DM Sans", sans-serif; color: #C6D3EE; font-weight: 500; }
.price-card p { color: #C6D3EE; margin-bottom: 0; }
.price-card .col { flex: 1 1 260px; }
.mus-card {
  border: 1px solid var(--line2); border-radius: 20px; padding: 30px; margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}

/* ── Trust strip ────────────────────────────────────────────────── */
.trust-strip {
  background: var(--amber-tint);
  border-top: 1px solid rgba(180,83,9,0.18);
  border-bottom: 1px solid rgba(180,83,9,0.18);
  padding: 18px 0;
  font-size: 14px;
  color: var(--amber);
}
.trust-strip strong { color: var(--ink-950); }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--line2); padding: 18px 0; }
.faq-item h3 { font-size: 16.5px; font-family: "DM Sans", sans-serif; font-weight: 700; margin-bottom: 6px; }
.faq-item p { color: var(--mute); margin-bottom: 0; font-size: 15px; }

/* ── Cross-link cards ───────────────────────────────────────────── */
.xlink-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .xlink-row { grid-template-columns: 1fr; } }
.xlink { border: 1px solid var(--line2); border-radius: 12px; padding: 18px; background: #fff; }
.xlink .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue2); margin-bottom: 6px; display: block; }
.xlink strong { display: block; margin-bottom: 4px; color: var(--ink-950); }
.xlink span.desc { font-size: 13.5px; color: var(--mute); }

/* ── Footer ─────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--line);
  background: var(--paper2);
  padding: 44px 0 32px;
  font-size: 13.5px;
  color: var(--mute);
}
footer.site .row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 24px;
}
footer.site .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site .links a { color: var(--mute); }
footer.site .kvkk { max-width: 640px; padding-top: 20px; border-top: 1px solid var(--line2); }
footer.site .en-note { font-size: 12.5px; margin-top: 6px; }

/* ── Utility ────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
