:root {
  --page: #ebe7e1;
  --sheet: #faf8f4;
  --card: #ffffff;
  --ink: #1b1a17;
  --ink-2: #3a3833;
  --muted: #6f6b63;
  --dim: #9a958b;
  --line: #e6e1d8;
  --gold: #a9844c;
  --gold-soft: rgba(169, 132, 76, 0.1);
  --sky: #5b8fd0;
  --green: #3f8f63;
  --radius: 22px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.2rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.04; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.center { text-align: center; }
.fine { color: var(--dim); font-size: 0.85rem; margin-top: 1rem; }
.mono { font-family: var(--mono); font-size: 0.88rem; }

.frame { margin: 18px; background: var(--sheet); border-radius: 40px; padding: 16px; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 30px 80px -40px rgba(60, 50, 30, 0.25); }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
section { padding: 72px 0; }

/* hero */
.hero { position: relative; border-radius: 28px; overflow: hidden; min-height: min(78vh, 760px); aspect-ratio: 16 / 9;
  background: #8fb3df url("/assets/hero.jpg") center 62% / cover no-repeat; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(250,248,244,0.25)); pointer-events: none; }
.pill { position: absolute; z-index: 2; top: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 30px -12px rgba(30, 50, 90, 0.35); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.pill-links { display: flex; gap: 24px; font-size: 0.93rem; }
.pill-links a { text-decoration: none; color: var(--ink-2); }
.pill-links a:hover { color: var(--ink); }
.pill-cta { text-decoration: none; background: #1b1a17; color: #fff; font-weight: 500; font-size: 0.93rem; padding: 10px 18px; border-radius: 999px; }
.pill-cta:hover { background: #000; }
.hero-chip { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-chip i, .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(63, 143, 99, 0.18); }

/* intro */
.intro { text-align: center; padding: 96px 16px 64px; max-width: 920px; margin: 0 auto; }
.intro .lede { color: var(--muted); font-size: 1.12rem; max-width: 40em; margin: 1.6rem auto 0; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 500; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border: 1px solid #d6d0c5; color: var(--ink); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; }

/* live card */
.live { padding-top: 8px; }
.live-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: 0 30px 60px -45px rgba(40, 60, 100, 0.35); }
.live-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.live-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sym { font-family: var(--sans); font-size: 0.42em; color: var(--dim); letter-spacing: 0.08em; vertical-align: middle; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.status:not(.ok) i { background: var(--dim); box-shadow: none; }
.status.ok { color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.stats > div { padding: 20px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.label { color: var(--dim); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.value { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; margin-top: 6px; }
.alloc { margin-top: 28px; }
.bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 3px; background: var(--line); }
.bar span { display: block; height: 100%; }
.legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px; }
.legend li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.92rem; }
.legend li b { color: var(--ink); font-weight: 500; }
.legend li .pct { margin-left: auto; font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* showcase */
.showcase-card { position: relative; overflow: hidden; border-radius: 30px; min-height: 620px; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center;
  background: #9cbfe6 url("/assets/sky.jpg") center 40% / cover no-repeat; }
.showcase-copy { position: relative; z-index: 1; margin: 48px; padding: 32px; border-radius: 24px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.75);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.showcase-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 1rem; }
.showcase-copy p:last-child { color: var(--ink-2); }
.phones { position: relative; height: 620px; }
.phone { position: absolute; width: 230px; height: auto; border-radius: 34px; border: 7px solid #111311; background: #111311;
  box-shadow: 0 40px 70px -20px rgba(20, 40, 80, 0.55), 0 0 0 1px rgba(255,255,255,.25); }
.p1 { left: 2%; top: 90px; transform: rotate(-6deg); }
.p2 { left: 32%; top: 40px; z-index: 2; }
.p3 { right: 4%; top: 100px; transform: rotate(6deg); }

/* steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.steps p, .grid3 p { color: var(--muted); font-size: 0.95rem; }
.steps a { color: var(--gold); text-underline-offset: 3px; }
.n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--gold); }

/* how */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin-bottom: 8px; }
.diagram { margin: 24px 0 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #050706; box-shadow: 0 30px 60px -40px rgba(20, 30, 50, 0.6); }

/* contracts */
.table { margin-top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 26px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row span { color: var(--muted); }
.row a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.row a:hover { color: var(--gold); }
.note { color: var(--muted); max-width: 52em; margin: 20px auto 0; text-align: center; font-size: 0.95rem; }

/* built */
.built-card { border-radius: 30px; padding: 56px; text-align: center; background:
    radial-gradient(600px 260px at 50% 0%, rgba(169,132,76,.14), transparent 70%), var(--card);
  border: 1px solid var(--line); }
.built-card h2 { margin-bottom: 1rem; }
.built-card p:last-child { color: var(--muted); max-width: 46em; margin: 0 auto; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 24px 12px; color: var(--dim); font-size: 0.88rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .pill-links { display: none; }
  .pill { gap: 16px; }
  .showcase-card { grid-template-columns: 1fr; }
  .showcase-copy { margin: 24px 24px 0; }
  .phones { height: 520px; }
  .phone { width: 190px; }
  .p2 { left: 50%; transform: translateX(-50%); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .legend { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .frame { margin: 8px; padding: 8px; border-radius: 28px; }
  .hero { border-radius: 22px; min-height: 480px; aspect-ratio: auto; background-position: 50% 62%; }
  .pill { top: 14px; left: 14px; right: 14px; transform: none; justify-content: space-between; padding: 6px 6px 6px 8px; gap: 14px; }
  .brand span { font-size: 0.95rem; }
  .brand img { width: 26px; height: 26px; }
  .pill-cta { padding: 9px 14px; font-size: 0.88rem; }
  .hero-chip { left: 14px; bottom: 14px; }
  section { padding: 52px 0; }
  .intro { padding: 64px 12px 40px; }
  .live-card { padding: 22px; }
  .phones { height: 400px; }
  .phone { width: 140px; border-width: 5px; border-radius: 24px; }
  .p1 { left: 0; top: 70px; } .p3 { right: 0; top: 80px; }
  .steps, .legend { grid-template-columns: 1fr; }
  .built-card { padding: 32px 22px; }
  .row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .row a { text-align: left; }
}
