/* DigiDönüşüm landing. System fonts only, no external requests. */
:root {
  --brand: #087f5b;        /* teal 9: 5.0:1 on white */
  --brand-dark: #066649;
  --brand-soft: #e6fcf5;
  --ink: #152a32;
  --muted: #4a5d66;        /* 6.9:1 on white */
  --line: #dbe4e8;
  --bg: #ffffff;
  --bg-alt: #f4f8f9;
  --soon: #8a5a00;
  --soon-bg: #fff4db;
  --radius: 14px;
  --wrap: 1160px;
}

* { 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;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid #1971c2; outline-offset: 3px; border-radius: 4px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 2px solid var(--brand);
  background: var(--brand); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; min-height: 44px; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span b { color: var(--brand); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: .97rem; }
.nav a:hover { background: var(--bg-alt); }
.header-cta { display: flex; gap: 8px; }
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08);
  padding: 8px 16px 16px; display: grid; gap: 2px;
}
.menu-panel a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 8px; border-radius: 8px; font-weight: 500; }
.menu-panel a:not(.btn):hover { background: var(--bg-alt); }
.menu-panel .btn { margin-top: 8px; }
@media (max-width: 1060px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--brand-soft), #fff 85%); }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.eyebrow { display: inline-block; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.hero-art { justify-self: center; width: 100%; max-width: 460px; }

/* Sections */
section { padding: 72px 0; scroll-margin-top: 68px; }
.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.07rem; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.card li { margin: 4px 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.product h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); }
.badge-soon { background: var(--soon-bg); color: var(--soon); }

.soon { margin-top: 40px; }
.soon h3 { margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px dashed #c9b27a; border-radius: 99px; padding: 6px 14px; font-size: .95rem; }
.chips li small { color: var(--soon); font-weight: 700; margin-left: 6px; }
.note { color: var(--muted); font-size: .93rem; margin-top: 14px; }

.features { display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); list-style: none; padding: 0; margin: 0; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 3px; }
.features strong { display: block; }
.features span { color: var(--muted); font-size: .96rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 24px; padding-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; top: 20px; left: 24px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.steps p { color: var(--muted); margin: 0; }

/* API */
.split { display: grid; gap: 40px; align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.code {
  background: #0f2229; color: #d8eef0; border-radius: var(--radius); padding: 20px;
  overflow-x: auto; margin: 0; line-height: 1.55; font-size: .85rem;
}
.code .c { color: #8fb3ba; }
.code .s { color: #9fe3c3; }
.integrations { margin-top: 48px; }

/* Pricing / contact band */
.band { background: var(--brand); color: #fff; border-radius: 20px; padding: 40px 28px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; padding: 48px; } }
.band h2 { margin-bottom: .3em; }
.band p { margin: 0; color: #e6fcf5; }
.band .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.band .btn:hover { background: var(--brand-soft); }
.band .btn-ghost { background: transparent; color: #fff; }
.band .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.band .cta-row { margin: 0; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 1.5rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Contact */
.contact { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.contact a.big { font-size: 1.15rem; font-weight: 600; word-break: break-word; }
.contact p + p { margin-top: 6px; }
.contact address { font-style: normal; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* Footer */
.site-footer { background: #0f2229; color: #c4d6da; padding: 48px 0 32px; font-size: .95rem; }
.site-footer a { color: #e6f4f1; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.site-footer .logo { color: #fff; }
.site-footer .logo span b { color: #63e6be; }
.legal { border-top: 1px solid #27414a; margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Simple content pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 800px; }
.notice { background: var(--soon-bg); border: 1px solid #f0d58a; border-radius: var(--radius); padding: 20px 24px; }

/* Sub-page header CTA */
.sub-cta { margin-left: auto; }
.nw { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.notice { margin-bottom: 24px; }
.page { min-height: 60vh; }
