/* Nur Bozor website. Tokens first; dark mode is its own palette. No scripts on the site. */
:root {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-2: #eef2fa;
  --border: #e1e6f0;
  --text: #101828;
  --text-2: #475467;
  --muted: #667085;
  --brand: #0b4fd8;
  --brand-2: #2a6af0;
  --brand-ink: #ffffff;
  --accent: #ff9f1a;
  --night: #050b1f;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 8px 24px rgb(16 24 40 / 6%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1d;
    --surface: #121a2c;
    --surface-2: #18223a;
    --border: #243049;
    --text: #e9edf6;
    --text-2: #b8c1d6;
    --muted: #8b95ab;
    --brand: #5b8cff;
    --brand-2: #7aa2ff;
    --brand-ink: #0a0f1d;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav .cta { background: var(--brand); color: var(--brand-ink); }
.nav .cta:hover { background: var(--brand-2); color: var(--brand-ink); }
@media (max-width: 720px) { .nav a:not(.cta) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: #fff; color: #0b1430; }
.btn-primary:hover { background: #e9efff; }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / 40%); }
.btn-ghost:hover { background: rgb(255 255 255 / 10%); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-2); }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: 0.75; line-height: 1; }
.btn .two { text-align: left; line-height: 1.15; }
.play { width: 22px; height: 22px; flex: none; }

/* hero */
.hero { position: relative; color: #fff; background: var(--night) url("/assets/hero.jpg") center 30% / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(5 11 31 / 92%) 0%, rgb(5 11 31 / 72%) 48%, rgb(5 11 31 / 25%) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; padding-block: clamp(48px, 9vw, 110px); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: rgb(233 238 250 / 88%); max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: rgb(233 238 250 / 80%); font-size: 14px; font-weight: 600; }
.hero-logo { justify-self: center; width: min(320px, 70vw); border-radius: 22%; box-shadow: 0 30px 80px rgb(11 79 216 / 45%); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; text-align: left; } .hero-logo { width: 160px; justify-self: start; order: -1; } }

/* sections */
section.block { padding-block: clamp(48px, 7vw, 88px); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--text-2); margin: 0; }
.pill { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.pill.blue { background: #e3ecff; } .pill.green { background: #def5e6; } .pill.orange { background: #ffeed6; }
@media (prefers-color-scheme: dark) { .pill.blue { background: #1d2a4d; } .pill.green { background: #133022; } .pill.orange { background: #3a2a0c; } }
.alt { background: var(--surface); border-block: 1px solid var(--border); }

/* listings */
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.item { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); }
.item:hover { border-color: var(--brand); }
.item img, .item .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--surface-2); }
.item .ph { display: grid; place-items: center; font-size: 34px; }
.item .meta { padding: 12px 14px 14px; }
.item .price { font-weight: 800; font-size: 17px; }
.item .title { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .place { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 720px) { .tips { grid-template-columns: 1fr; } }
.tips li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px 14px 46px; position: relative; color: var(--text-2); }
.tips li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: #11804a; font-weight: 800; }

/* call to action */
.cta-band { background: linear-gradient(120deg, #0b3fae, #0b4fd8 45%, #2a6af0); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: 0.85; }

/* item page */
.detail { padding-block: 32px 56px; }
.detail .card { padding: 0; overflow: hidden; }
.detail .photo { width: 100%; max-height: 520px; object-fit: cover; display: block; background: var(--surface-2); }
.detail .body { padding: 22px 24px 26px; }
.detail .kind { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.detail h1 { font-size: clamp(24px, 3.5vw, 32px); margin: 6px 0 8px; }
.detail .headline { font-size: 24px; font-weight: 800; color: var(--brand); margin: 0 0 6px; }
.detail .desc { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); margin-top: 14px; }
.detail .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* documents */
.doc { padding-block: 40px 64px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); }
.doc h2 { font-size: 21px; margin-top: 32px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc .box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* footer */
footer { background: var(--night); color: #c7cfe2; padding-block: 44px 28px; margin-top: 0; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer a { color: #e3e9f7; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer h3 { color: #fff; font-size: 15px; margin-bottom: 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer .brand { color: #fff; margin-bottom: 10px; }
footer .legal { border-top: 1px solid #1d2a48; margin-top: 28px; padding-top: 18px; font-size: 14px; color: #8f9bb8; }
