/* bildirim.gen.tr — Deadline Bilişim
   Palette comes from the logo: Deadline red, its deep-red gradient end,
   the silver border, and graphite text on white. */

:root {
  --red: #e3141c;
  --red-deep: #7a0a10;
  --red-ink: #a80f18;
  --white: #ffffff;
  --paper: #f4f5f7;
  --silver: #c3c8cf;
  --silver-soft: #e5e8ec;
  --graphite: #1f2328;
  --graphite-soft: #5b626b;

  --font-display: "Geologica", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 10px;
}

*, *::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(--white);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.3; margin-bottom: .4rem; }

p { margin: 0 0 1rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--red-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

code {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: .92em;
  background: var(--paper);
  border: 1px solid var(--silver-soft);
  border-radius: 4px;
  padding: .05em .4em;
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--graphite); color: #fff;
  padding: .5rem .9rem; border-radius: 6px; z-index: 100;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.wrap.narrow { max-width: 760px; }

/* ---------- Header ---------- */

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--silver-soft);
}
.brand { display: inline-flex; line-height: 0; }
.brand img { height: 56px; width: auto; }

.top-nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; }
.top-nav a { color: var(--graphite-soft); text-decoration: none; }
.top-nav a:hover { color: var(--graphite); }
.top-cta {
  color: var(--red-ink) !important;
  font-weight: 500;
  padding: .45rem .9rem;
  border: 1px solid var(--silver);
  border-radius: 999px;
}
.top-cta:hover { border-color: var(--red); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 86vh, 860px);
  display: grid;
  align-content: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 45%, #c8121b 0%, #a20d15 45%, #5a0508 100%);
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  display: block;
}
.hero-fallback {
  position: absolute; left: 0; right: 0; top: 50%;
  width: 100%; height: 42%;
  transform: translateY(-50%);
  z-index: -1;
  opacity: .9;
}
.hero-fallback[hidden] { display: none; }

.hero-inner {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: clamp(3rem, 8vh, 6rem);
  max-width: 720px;
  margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
}
.hero-domain {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem);
  letter-spacing: .02em;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 30px rgba(60,0,0,.35);
}
.hero-lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  max-width: 56ch;
  margin-bottom: 2rem;
  text-shadow: 0 1px 18px rgba(60,0,0,.45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-note {
  position: absolute; right: var(--gutter); bottom: 1.2rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-light { background: #fff; color: var(--red-deep); }
.btn-light:hover { background: #ffecec; color: var(--red-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tint { background: var(--paper); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.two-col-wide { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }

.note {
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  color: var(--graphite-soft);
  margin-top: 1.4rem;
}

/* Envelope mock — reproduces what the reader saw in their inbox */

.envelope {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(31,35,40,.35);
  overflow: hidden;
  font-size: .95rem;
}
.envelope-bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--silver-soft);
  color: var(--graphite-soft);
  font-size: .85rem;
}
.envelope-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.envelope-head { margin: 0; padding: 1rem 1.1rem .4rem; }
.envelope-head > div {
  display: grid; grid-template-columns: 5.5rem 1fr;
  gap: .4rem;
  padding: .3rem 0;
  border-bottom: 1px dashed var(--silver-soft);
}
.envelope-head dt { color: var(--graphite-soft); }
.envelope-head dd { margin: 0; overflow-wrap: anywhere; }
.envelope-body { padding: 1rem 1.1rem 1.2rem; }
.envelope-body p { max-width: none; }
.envelope-muted { color: var(--graphite-soft); font-size: .85rem; }
.envelope figcaption {
  padding: .7rem 1.1rem;
  border-top: 1px solid var(--silver-soft);
  color: var(--graphite-soft);
  font-size: .85rem;
}

/* Steps — a real sequence, so numbered */

.steps {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 1.2rem;
  border-top: 2px solid var(--silver);
}
.steps li::before {
  content: "";
  position: absolute; top: -2px; left: 0;
  width: 3rem; height: 2px;
  background: var(--red);
}
.step-no {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1;
  color: var(--red-ink);
  margin-bottom: .7rem;
}
.steps p { max-width: none; color: var(--graphite-soft); }

/* Verification */

.checks { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.checks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .9rem;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.auth {
  border-top: 1px solid var(--silver);
}
.auth-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--silver-soft);
}
.auth-key {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--red-ink);
  letter-spacing: .02em;
  padding-top: .1rem;
}
.auth-row p { max-width: none; color: var(--graphite-soft); font-size: .97rem; }

/* FAQ */

.faq { border-bottom: 1px solid var(--silver); }
.faq:first-of-type { border-top: 1px solid var(--silver); margin-top: 1.5rem; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: .4rem; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--red-ink);
  border-bottom: 2px solid var(--red-ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding-bottom: 1.2rem; color: var(--graphite-soft); max-width: none; }

/* CTA band */

.cta-band {
  background: linear-gradient(100deg, #b5101a 0%, #7a0a10 100%);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.85); }

/* Footer */

.foot {
  padding-block: 2rem;
  border-top: 1px solid var(--silver-soft);
  font-size: .88rem;
  color: var(--graphite-soft);
}
.foot-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot p { max-width: 70ch; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .two-col, .two-col-wide { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .top-nav a:not(.top-cta) { display: none; }
  .brand img { height: 48px; }
  .hero { min-height: 0; }
  .hero-note { display: none; }
  .btn { width: 100%; }
  .auth-row, .envelope-head > div { grid-template-columns: 1fr; gap: .2rem; }
  .foot-inner { flex-direction: column; gap: .5rem; }
}
