/* İZAN site. Colors, radii and fonts come from tokens.css (the product's shared tokens); this file only adds
   the page layout and the deck accents (amber, the cyan-to-amber headline). Phone first: the base rules are
   for a narrow screen, the media query widens. No inline styles anywhere: the CSP refuses them. */
:root {
  --amber: #b45309;
  --violet: #6d28d9;
  --glow1: rgba(11, 110, 138, 0.1);
  --glow2: rgba(180, 83, 9, 0.07);
  --wrap: 1120px;
  color-scheme: light;
}
:root.night {
  --amber: #ffb547;
  --violet: #b69cff;
  --glow1: rgba(56, 214, 255, 0.09);
  --glow2: rgba(255, 181, 71, 0.07);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 90% -10%, var(--glow1), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, var(--glow2), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
code {
  font: 0.92em var(--mono);
  background: var(--accentsoft);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(34px, 7vw, 60px);
}
h2 {
  font-size: clamp(26px, 4.5vw, 38px);
}
h3 {
  font-size: 19px;
}
p {
  margin: 0 0 1em;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--solid);
  padding: 8px 12px;
  border-radius: var(--r-s);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ——— Header ——— */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  min-height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand svg {
  width: 26px;
  height: 26px;
}
.mark-arcs {
  stroke: var(--accent);
}
.mark-dot {
  fill: #45b8d4;
}
.spacer {
  flex: 1;
}
.tools {
  display: flex;
  gap: 6px;
}
.tool {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--text);
  font: 600 13px var(--font);
  text-decoration: none;
  cursor: pointer;
}
.tool svg {
  width: 18px;
  height: 18px;
}
.theme-day,
:root.night .theme-night {
  display: none;
}
:root.night .theme-day {
  display: block;
}
/* The nav is a scrolling row under the brand on a phone, inline on a wide screen. */
.nav {
  order: 3;
  flex-basis: calc(100% + 40px);
  min-width: 0;
  max-width: calc(100% + 40px);
  margin: 0 -20px;
  border-top: 1px solid var(--line);
}
.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 6px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--r-s);
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--text);
}
.nav a[aria-current='page'] {
  color: var(--accent);
  background: var(--accentsoft);
  font-weight: 600;
}

/* ——— Sections ——— */
section {
  padding: 56px 0;
}
.hero {
  padding: 48px 0 32px;
}
.kicker {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.grad {
  background: linear-gradient(100deg, var(--text) 25%, var(--accent) 65%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 46em;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--solid);
  color: var(--text);
  font: 600 16px var(--font);
  text-decoration: none;
  cursor: pointer;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
:root.night .btn.primary {
  color: #04121a;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.install {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r);
  border: 1px dashed var(--line);
  background: var(--chip);
  font: 15px var(--mono);
}
.install b {
  color: var(--accent);
}
.shot {
  margin: 28px 0 0;
  border-radius: var(--r-pop);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  background: var(--solid);
}
figcaption {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-pop);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin-top: 0;
}
.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}
.card.open {
  border-top: 4px solid var(--accent);
}
.card.server {
  border-top: 4px solid var(--amber);
}
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accentsoft);
  color: var(--accent);
  margin-bottom: 10px;
}
.tag.amber {
  background: color-mix(in srgb, var(--amber) 14%, transparent);
  color: var(--amber);
}
ul.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}
ul.ticks li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}
ul.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.server ul.ticks li::before {
  background: var(--amber);
}
.stat {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat + p {
  font-weight: 600;
}
.source {
  font-size: 13px;
  color: var(--muted);
}
.pillars .card h3 {
  font-size: 22px;
}
.trio-n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accentsoft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta {
  text-align: center;
}
.cta .buttons {
  justify-content: center;
}

/* ——— Tables ——— */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-pop);
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
tbody th[scope='row'] {
  min-width: 150px;
}
td.yes {
  color: var(--done);
  font-weight: 600;
}
td.no {
  color: var(--muted);
}

/* ——— Pricing slots ——— */
.price {
  font-size: 30px;
  font-weight: 800;
  margin: 6px 0 2px;
}
.slot {
  border: 2px dashed color-mix(in srgb, var(--amber) 60%, transparent);
  border-radius: var(--r);
  color: var(--amber);
  padding: 10px 12px;
  font-weight: 600;
  margin: 8px 0 14px;
}

/* ——— FAQ ——— */
details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  margin: 10px 0;
}
summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  list-style: none;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after {
  content: '–';
}
details > div {
  padding: 0 18px 16px;
  color: var(--text);
}

/* ——— Slides (İZAN nedir) ——— */
.slides {
  display: grid;
  gap: 18px;
}
.slide {
  position: relative;
  min-height: 300px;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 100% 0%, var(--glow1), transparent 70%),
    var(--panel);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide .n {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--muted);
  font: 13px var(--mono);
}
.slide h2 {
  font-size: clamp(26px, 5vw, 44px);
}

/* ——— Forms ——— */
.form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.field .hint {
  font-weight: 400;
  color: var(--muted);
}
/* 16 px and more: iOS zooms into a smaller text field. */
input,
select,
textarea {
  width: 100%;
  font: 16px var(--font);
  color: var(--text);
  background: var(--solid);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 12px;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status {
  min-height: 1.5em;
  font-weight: 600;
}
.status.ok {
  color: var(--done);
}
.status.bad {
  color: var(--error);
}
.fine {
  font-size: 14px;
  color: var(--muted);
}

/* ——— Notes and drafts ——— */
.draft {
  border-left: 5px solid var(--amber);
  background: color-mix(in srgb, var(--amber) 9%, transparent);
  padding: 14px 18px;
  border-radius: var(--r-s);
  margin: 0 0 24px;
}
.prose {
  max-width: 46em;
}
.prose h2 {
  font-size: 24px;
  margin-top: 1.6em;
}
.ph {
  color: var(--amber);
  border-bottom: 1px dashed var(--amber);
}

/* ——— Footer ——— */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 15px;
  color: var(--muted);
}
footer .cols {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}
footer h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  color: var(--text);
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  margin: 6px 0;
}
footer a {
  color: var(--muted);
}
.slogan {
  margin-top: 24px;
}

@media (min-width: 760px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  footer .cols {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .slide {
    aspect-ratio: 16 / 8;
    padding: 48px 56px;
  }
  section {
    padding: 80px 0;
  }
  .hero {
    padding: 80px 0 40px;
  }
}
@media (min-width: 1040px) {
  .top .wrap {
    min-height: 64px;
  }
  .nav {
    order: 0;
    flex-basis: auto;
    max-width: none;
    margin: 0;
    border: 0;
  }
  .nav ul {
    padding: 0;
  }
  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
