/* S.Z. ISTAY LIMITED — refined minimal, self-contained (no external CDNs) */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/hanken.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --ink: #0a0a0b;
  --muted: #6b6b72;
  --faint: #8a8a90;
  --line: #ececE8;
  --line-strong: #d9d9d4;
  --accent: #2b47ff;
  --accent-ink: #1e34c8;
  --accent-tint: #eef1ff;
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 12px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; }
.brand__name { font-size: 18px; font-weight: 500; letter-spacing: 0.005em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; font-size: 15px; color: var(--muted);
  padding: 8px 14px; border-radius: 8px; transition: color .18s ease, background .18s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--ink); }

.nav-toggle, .nav-burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; line-height: 1;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 12vw, 132px) 0 clamp(48px, 7vw, 88px); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--accent-ink); background: var(--accent-tint);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.1rem); max-width: 15ch; }
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted);
  max-width: 52ch; margin: 26px 0 0; line-height: 1.6;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.kicker {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 16px;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px; background: var(--accent-tint);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; line-height: 1.6; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { padding-top: 26px; border-top: 2px solid var(--ink); }
.step__no { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.02em; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Contact CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 18ch; margin: 0 auto; }
.cta p { color: var(--muted); font-size: 1.12rem; margin: 20px auto 0; max-width: 46ch; }
.cta .actions { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-brand svg { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand span { font-size: 17px; font-weight: 500; }
.footer address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.8; }
.footer address a { color: var(--accent-ink); }
.footer address a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav .lbl { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.footer-nav a { color: var(--muted); font-size: 15px; width: fit-content; transition: color .16s ease; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 14px;
}

/* ---------- Generic page (contacts / stubs) ---------- */
.page { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page .lead { color: var(--muted); font-size: 1.15rem; max-width: 54ch; margin: 22px 0 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card .lbl { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.contact-card a { color: var(--accent-ink); }
.contact-card a:hover { text-decoration: underline; }

.soon { display: inline-block; margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: var(--accent-ink); background: var(--accent-tint); padding: 7px 14px; border-radius: 100px;
}
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 34px; color: var(--accent-ink); font-weight: 500; font-size: 15px; }
.back-link:hover { gap: 11px; }

/* ---------- Load animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2, .7, .3, 1) forwards; }
.reveal.d1 { animation-delay: .06s; }
.reveal.d2 { animation-delay: .14s; }
.reveal.d3 { animation-delay: .22s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-cards { grid-template-columns: 1fr; }

  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-right: -8px; border-radius: 9px;
    border: 1px solid var(--line-strong); background: #fff; cursor: pointer; color: var(--ink);
  }
  .nav-burger svg { width: 20px; height: 20px; }
  .nav-burger .close { display: none; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 12px 20px 22px; background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
  .nav a:hover { background: var(--bg-alt); }
  .nav-toggle:checked ~ .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle:checked ~ .nav-burger .open { display: none; }
  .nav-toggle:checked ~ .nav-burger .close { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal documents ---------- */
.legal { max-width: 800px; }
.legal > h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); }
.legal .lead { margin-bottom: 34px; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.legal-meta div { display: flex; flex-direction: column; gap: 5px; }
.legal-meta .k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.legal-meta .v { font-size: 15px; font-weight: 500; }
.legal-toc {
  border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px;
  margin-bottom: 52px; background: var(--bg-alt);
}
.legal-toc .lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 36px; }
.legal-toc li { margin-bottom: 10px; break-inside: avoid; }
.legal-toc a { color: var(--muted); font-size: 15px; display: flex; gap: 12px; transition: color .16s ease; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a .n { color: var(--accent); font-variant-numeric: tabular-nums; min-width: 22px; }
.legal-section { margin: 0 0 42px; scroll-margin-top: 92px; }
.legal-section > h2 { font-size: 1.5rem; display: flex; gap: 16px; align-items: baseline; margin-bottom: 18px; }
.legal-section > h2 .n { color: var(--accent); font-size: 1rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.legal-section h3 { font-size: 1.12rem; margin: 28px 0 10px; letter-spacing: -0.02em; }
.legal-section p { color: var(--ink); font-size: 1.02rem; line-height: 1.72; margin: 0 0 15px; }
.legal-section ul { margin: 0 0 18px; padding-left: 22px; }
.legal-section li { color: var(--ink); font-size: 1.02rem; line-height: 1.68; margin-bottom: 9px; }
.legal-section strong { font-weight: 500; }
.legal-section a { color: var(--accent-ink); }
.legal-section a:hover { text-decoration: underline; }
.legal-updated { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-meta { gap: 16px 28px; }
}

/* ---------- Hero media + showcase band ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lead { max-width: 46ch; }
.hero-media img,
.showcase-media img {
  width: 100%; max-width: 100%; height: auto; display: block; border-radius: 16px;
  box-shadow: 0 30px 60px -28px rgba(10, 12, 30, 0.30);
}
.showcase-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.showcase-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.showcase-copy > p { color: var(--muted); font-size: 1.08rem; line-height: 1.6; margin: 16px 0 0; max-width: 46ch; }
.showcase-copy .btn { margin-top: 26px; }
@media (max-width: 860px) {
  .hero-grid, .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { max-width: 18ch; }
}
