:root {
  --bg: #0e0c0d;
  --bg-raised: #151213;
  --card: #1a1617;
  --ink: #f3efec;
  --muted: #a39a9d;
  --faint: #6f676a;
  --edge: rgba(255, 255, 255, 0.07);
  --edge-strong: rgba(255, 255, 255, 0.12);
  --green: #4cc27a;
  --green-deep: #0f1a14;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 18px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::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: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
.soft { color: var(--faint); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons: instant press feedback, hover only where there is a real pointer */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-large { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #ffffff; }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(14, 12, 13, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--edge);
}
.nav-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.nav-logo { flex: none; }
.nav-page { margin-right: auto; }
@media (max-width: 400px) { .nav-row { gap: 4px; } .nav-logo img { height: 34px; } .nav-row .btn-small { padding: 0 12px; font-size: 13px; } .nav-page svg { display: none; } }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 200ms ease; }
.nav-sep { display: none; width: 1px; height: 18px; background: var(--edge-strong); margin: 0 6px; }
/* Products is a page of its own, so it looks like a destination, not a jump within this page */
.nav-page {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
@media (max-width: 819px) { .nav-page { padding: 0 6px; } .nav-page .arrow { display: none; } }
.nav-page svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav-page .arrow { color: var(--faint); transition: transform 200ms var(--ease-out), color 200ms ease; }
.nav-page:active { transform: scale(0.97); }
.nav-page[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--edge-strong); background: rgba(255, 255, 255, 0.05); }
.nav-page[aria-current="page"] .arrow { display: none; }
@media (min-width: 820px) {
  .nav-row { gap: 24px; }
  .nav-links, .nav-sep { display: flex; }
  .nav-sep { margin: 0 -10px; }
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--ink); }
  .nav-page:hover { background: rgba(255, 255, 255, 0.06); }
  .nav-page:hover .arrow { transform: translateX(2px); color: var(--ink); }
}

/* Hero */
.hero { position: relative; padding: 72px 0 40px; }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 11vw, 112px); margin: 20px 0 24px; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-mark { justify-self: center; width: min(68vw, 340px); color: var(--ink); }
@media (min-width: 900px) {
  .hero { padding: 120px 0 64px; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; }
  .hero-mark { width: 100%; max-width: 360px; justify-self: end; }
}

/* Hero entrance: short stagger, ease-out */
.enter { animation: enter 700ms var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }

/* The logo is revealed from the bottom, once, on load */
.mark-body { animation: reveal-up 1400ms var(--ease-in-out) 300ms both; }
@keyframes reveal-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Sections */
.section { padding: 88px 0; scroll-margin-top: 48px; }
@media (min-width: 900px) { .section { padding: 128px 0; } }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2, .studio-copy h2, .contact-box h2 { font-size: clamp(34px, 6vw, 60px); margin-top: 16px; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--edge); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--bg-raised); padding: 28px 24px 32px; }
.step-no { font: 500 13px/1 var(--mono); color: var(--faint); }
.step h3 { font-size: 22px; margin: 28px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { padding: 32px 28px 40px; } }

/* Capabilities */
.cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: inset 0 0 0 1px var(--edge);
  transition: box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .card:hover { box-shadow: inset 0 0 0 1px var(--edge-strong); } }
.icon { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin: 24px 0 8px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 15px; }

/* Product */
.product {
  display: grid; gap: 40px; align-items: center;
  background: radial-gradient(120% 90% at 100% 0%, rgba(76, 194, 122, 0.10), transparent 55%), var(--card);
  border-radius: 24px; padding: 32px 24px;
  box-shadow: inset 0 0 0 1px var(--edge);
}
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; padding: 56px; gap: 56px; } }
.product-title { display: flex; align-items: center; gap: 14px; }
.product-logo { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.product h3 { font-size: 30px; }
.tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 500 12px/1 var(--mono); color: var(--green); text-transform: uppercase; letter-spacing: 0.06em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(76, 194, 122, 0.15); }
.product-lede { color: var(--muted); font-size: 17px; margin: 24px 0; max-width: 32em; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.features li { position: relative; padding-left: 26px; font-size: 15px; }
.features li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.phone {
  justify-self: center; width: min(100%, 300px);
  border-radius: 40px; padding: 10px;
  background: #050405;
  box-shadow: inset 0 0 0 1px var(--edge-strong), 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.phone-screen { border-radius: 31px; padding: 28px 16px 20px; background: linear-gradient(180deg, #16241b, var(--green-deep) 45%); }
.ph-hello { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ph-month { font: 500 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243, 239, 236, 0.5); margin: 18px 0 10px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-card, .ph-truck, .ph-bill { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); border-radius: 14px; }
.ph-card { padding: 12px; }
.ph-card span { display: block; font-size: 11px; color: rgba(243, 239, 236, 0.6); }
.ph-card b { display: block; font-size: 15px; margin-top: 6px; letter-spacing: -0.02em; }
.ph-card b.up { color: var(--green); }
.ph-truck { display: flex; gap: 10px; align-items: center; padding: 12px; margin: 10px 0; }
.ph-truck b { display: block; font-size: 12px; }
.ph-truck span { font-size: 11px; color: rgba(243, 239, 236, 0.55); }
.ph-pin { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(76, 194, 122, 0.18); flex: none; }
.ph-bill { display: flex; justify-content: space-between; padding: 11px 12px; font-size: 12px; margin-top: 8px; }
.ph-bill span { color: rgba(243, 239, 236, 0.7); }

.next { margin-top: 16px; padding: 24px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--edge); display: grid; gap: 10px; }
.next p:last-child { color: var(--muted); }
.next a { color: var(--ink); text-underline-offset: 3px; }
@media (min-width: 720px) { .next { grid-template-columns: 120px 1fr; align-items: baseline; padding: 28px 32px; } }

.page-top { padding-top: 72px; }
@media (min-width: 900px) { .page-top { padding-top: 112px; } }
.page-title { font-size: clamp(44px, 8vw, 84px); margin-top: 16px; }

.section-lede { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 34em; }

/* AI */
.ai { background: var(--bg-raised); box-shadow: 0 -1px 0 var(--edge), 0 1px 0 var(--edge); }
.ai .card { background: var(--bg); }
.card h3:first-child { margin-top: 0; }
.approach { margin-top: 16px; padding: 28px 24px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--edge-strong); }
.approach ol { list-style: none; counter-reset: step; margin: 20px 0 0; padding: 0; display: grid; gap: 18px; }
.approach li { counter-increment: step; position: relative; padding-left: 40px; color: var(--muted); font-size: 15.5px; }
.approach li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge-strong);
}
.approach b { color: var(--ink); font-weight: 600; }
.approach .trust { margin-top: 24px; color: var(--faint); font-size: 14px; }
@media (min-width: 900px) { .approach { padding: 36px 40px; } .approach ol { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Contact */
.contact-box {
  text-align: center; padding: 72px 24px;
  border-radius: 28px;
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%), var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--edge);
}
.contact-box p { color: var(--muted); font-size: 17px; margin: 20px auto 36px; }
.contact-box .why-izzy { font-size: 13px; color: var(--faint); margin: 40px 0 0; }

/* Footer */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--edge); }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer-logos { display: flex; align-items: center; gap: 20px; }
.footer-logos img { height: 44px; width: auto; opacity: 0.75; }
.footer-note { color: var(--faint); font-size: 13px; }

/* Scroll reveal: once, ease-out, small stagger */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter { animation: fade 300ms ease both; }
  .mark-body { animation: fade 400ms ease both; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .btn:active { transform: none; }
}
@keyframes fade { from { opacity: 0; } }
