:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --band: #ece7df;
  --ink: #141a24;
  --muted: #5d6470;
  --line: #e2dcd2;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --live: #15803d;
  --live-bg: #dcfce7;
  --shadow: 0 1px 2px rgba(20, 26, 36, .06), 0 8px 24px rgba(20, 26, 36, .06);
  --radius: 20px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151c;
    --surface: #1a2029;
    --band: #161b23;
    --ink: #eef1f5;
    --muted: #a3abb7;
    --line: #2a313c;
    --accent: #fb923c;
    --accent-ink: #1a0f06;
    --live: #4ade80;
    --live-bg: #14301f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--ink); color: var(--bg);
  font: 400 26px/1 var(--serif);
}
.brand-name { font: 400 28px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--accent); }
.nav-cta { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
@media (max-width: 720px) {
  nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
  padding-top: 88px; padding-bottom: 96px;
}
.eyebrow {
  margin: 0 0 14px; color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.02; }
h1 em, h2 em { color: var(--accent); }
h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; }
h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin: 22px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.tile {
  position: absolute; width: 46%; border-radius: 22.5%;
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 48px rgba(20, 26, 36, .18);
}
.t1 { left: 4%;  top: 6%;  transform: rotate(-8deg); }
.t2 { right: 4%; top: 0;   transform: rotate(6deg); }
.t3 { left: 12%; bottom: 2%; transform: rotate(5deg); }
.t4 { right: 0;  bottom: 10%; transform: rotate(-5deg); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .hero-art { max-width: 300px; }
}

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.band { background: var(--band); border-block: 1px solid var(--line); }
@media (max-width: 600px) { .section { padding-top: 64px; padding-bottom: 64px; } }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.apps .app:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }
.app {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.app-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.app-top img { width: 72px; height: 72px; border-radius: 22.5%; box-shadow: 0 4px 12px rgba(20, 26, 36, .12); }
.icon-soon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22.5%;
  background: radial-gradient(circle at 30% 25%, #4c5fd5, #1b1f4b 70%);
  color: #e9d8a6; font: 400 44px/1 var(--serif);
  box-shadow: 0 4px 12px rgba(20, 26, 36, .12);
}
.app p { margin: 10px 0 0; }
.app .cat { margin-top: 2px; color: var(--muted); font-size: 14px; }
.app .platforms { color: var(--muted); font-size: 14px; margin-top: auto; padding-top: 18px; }
.chip {
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.chip-live { background: var(--live-bg); color: var(--live); border-color: transparent; }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.links a { font-weight: 600; font-size: 15px; text-decoration: none; }
.links a:hover { text-decoration: underline; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; gap: 28px; } }
.principle { border-top: 2px solid var(--ink); padding-top: 18px; }
.principle .num { font: 400 30px/1 var(--serif); color: var(--accent); }
.principle h3 { margin-top: 14px; }
.principle p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }

/* Company */
.company { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.company .section-head { margin-bottom: 0; }
@media (max-width: 860px) { .company { grid-template-columns: 1fr; gap: 32px; } }
.facts {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.facts div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}

/* Contact */
.contact {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--ink); color: var(--bg);
  border-radius: 28px; padding: 56px;
}
.contact .eyebrow { color: var(--accent); }
.contact p { color: color-mix(in srgb, var(--bg) 75%, transparent); margin: 12px 0 0; }
.mail {
  font: 400 clamp(26px, 3.6vw, 40px)/1.1 var(--serif);
  color: var(--bg); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  overflow-wrap: anywhere;
}
.mail:hover { color: var(--accent); }
@media (max-width: 600px) { .contact { padding: 36px 24px; border-radius: 22px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-row p { margin: 0; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
