@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #FAFAF8;
  --ink: #0B0B0F;
  --muted: #5B5B66;
  --hair: rgba(11, 11, 15, 0.10);
  --blue: #005EFE;
  --blue-deep: #0047C2;
  --night: #0E0C0A;
  --ivory: #F3EDE3;
  --ivory-soft: rgba(243, 237, 227, 0.70);
  --ivory-line: rgba(243, 237, 227, 0.12);
  --amber: #E8A867;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 144px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
ol { list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; color: var(--blue); flex: none; }
.logo-word { font: 600 20px/1 "Poppins", var(--sans); letter-spacing: -0.01em; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 500 15px/1 var(--sans); text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.link { font: 500 15px/1 var(--sans); text-decoration: none; color: var(--ink); }
.link span { display: inline-block; transition: transform .2s ease; }
.link:hover span { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 250, 248, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hair);
}
.nav-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  padding-block: clamp(56px, 8vw, 112px) var(--section);
  background: radial-gradient(40% 50% at 80% 45%, rgba(0, 94, 254, 0.10), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / span 7; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--hair); border-radius: 999px;
  background: #fff; font-size: 14px; font-weight: 500; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0, 94, 254, 0.14); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); }
h1 {
  margin-top: 24px;
  font-size: clamp(42px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.035em;
  text-wrap: balance;
}
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }

/* Phone mockup */
.hero-device { grid-column: 8 / span 5; justify-self: center; text-align: center; }
.device {
  width: 288px; height: 592px; padding: 10px; border-radius: 52px;
  background: linear-gradient(145deg, #2A2A30, #0B0B0F 40%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 80px -24px rgba(11, 11, 15, 0.45), 0 12px 24px -12px rgba(11, 11, 15, 0.25);
}
.screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden;
  padding: 14px 24px 28px; text-align: left;
  background: radial-gradient(90% 50% at 70% 30%, rgba(222, 164, 96, 0.22), transparent 70%), var(--night);
  color: var(--ivory);
}
.status { display: flex; justify-content: space-between; align-items: center; font: 600 13px/1 var(--sans); padding-inline: 8px; }
.island { width: 84px; height: 24px; border-radius: 999px; background: #000; }
.bars { width: 18px; height: 10px; border-radius: 2px; border: 1.5px solid var(--ivory-soft); }
.app-name { margin-top: 28px; font: 400 22px/1 var(--serif); }
.q-label { margin-top: 32px; font-size: 12px; font-weight: 500; color: var(--amber); }
.q { margin-top: 8px; font: 400 27px/1.15 var(--serif); letter-spacing: -0.01em; }
.wave { display: block; width: 100%; height: 64px; margin-top: 36px; color: var(--amber); }
.wave rect { transform-box: fill-box; transform-origin: center; animation: talk 1.4s ease-in-out infinite alternate; }
.wave rect:nth-child(3n) { animation-delay: -.5s; }
.wave rect:nth-child(3n+1) { animation-delay: -.9s; animation-duration: 1.1s; }
.wave rect:nth-child(4n) { animation-duration: 1.7s; }
@keyframes talk { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.rec { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; font-weight: 500; color: var(--ivory-soft); font-variant-numeric: tabular-nums; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF5A4E; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.transcript { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--ivory-soft); }
.rec-btn {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--ivory);
}
.rec-btn span { width: 22px; height: 22px; border-radius: 6px; background: #FF5A4E; }
.hero-device figcaption { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Product (dark, Mabudachi's own look) */
.product { position: relative; overflow: hidden; padding-block: var(--section); background: var(--night); color: var(--ivory); }
.glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 12%, rgba(222, 164, 96, 0.22), transparent 70%),
    radial-gradient(30% 40% at 10% 90%, rgba(168, 98, 62, 0.16), transparent 70%);
}
.product .wrap { position: relative; }
.kicker { font-size: 15px; font-weight: 500; color: var(--amber); }
.kicker-ink { color: var(--blue); }
.product-title { margin-top: 16px; font: 400 clamp(56px, 9vw, 120px)/0.95 var(--serif); letter-spacing: -0.02em; color: var(--ivory); }
.product-line { margin-top: 8px; font: 400 clamp(28px, 3.4vw, 44px)/1.1 var(--serif); }
.product-line em { color: var(--ivory-soft); }
.product-lede { margin-top: 28px; max-width: 36em; font-size: clamp(17px, 1.5vw, 19px); color: var(--ivory-soft); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.feature { display: flex; flex-direction: column; }
.feature h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.02em; color: var(--ivory); }
.feature > p:last-child { margin-top: 8px; font-size: 16px; color: var(--ivory-soft); max-width: 30em; }
.step { margin-top: 28px; font: 500 13px/1 var(--sans); color: var(--amber); font-variant-numeric: tabular-nums; }

.mini {
  height: 232px; padding: 24px; border-radius: 24px;
  background: rgba(243, 237, 227, 0.05); border: 1px solid var(--ivory-line);
  display: flex; flex-direction: column; justify-content: center;
}
.mini-record { align-items: center; text-align: center; }
.mini-q { font: 400 24px/1.2 var(--serif); }
.mini-btn {
  display: grid; place-items: center; width: 56px; height: 56px; margin-top: 24px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 10px rgba(232, 168, 103, 0.14), 0 0 0 20px rgba(232, 168, 103, 0.06);
}
.mini-btn span { width: 12px; height: 20px; border-radius: 6px; background: var(--night); }
.mini-hint { margin-top: 24px; font-size: 13px; color: var(--ivory-soft); }

.story { display: flex; align-items: center; gap: 12px; }
.story-2 { opacity: .55; }
.play { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ivory); }
.play::after { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid var(--night); border-block: 7px solid transparent; }
.story-text { display: grid; gap: 2px; }
.story-text b { font-size: 15px; font-weight: 600; }
.story-text small { font-size: 13px; color: var(--ivory-soft); }
.wave-sm { display: block; width: 100%; height: 40px; margin-block: 16px 20px; color: var(--amber); }

.mini-label { font-size: 15px; font-weight: 600; }
.people { display: flex; margin-top: 20px; }
.people span {
  display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 50%;
  border: 2px solid var(--night); background: #3A2F26; font-size: 15px; font-weight: 600;
}
.people span:nth-child(2) { background: #5B4632; }
.people span:nth-child(3) { background: #7A5A3A; }
.people .more { background: rgba(243, 237, 227, 0.12); font-size: 13px; }
.mini-send {
  display: grid; place-items: center; height: 44px; margin-top: 24px; border-radius: 999px;
  background: var(--ivory); color: var(--night); font-size: 14px; font-weight: 600;
}

.product-link {
  display: inline-block; margin-top: 56px; font-size: 16px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--ivory-line); padding-bottom: 4px; transition: border-color .2s;
}
.product-link:hover { border-color: var(--ivory); }

/* Approach */
.approach { padding-block: var(--section); }
.statement {
  margin-top: 20px; max-width: 22em;
  font: 600 clamp(30px, 4.2vw, 56px)/1.1 var(--display); letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Company */
.company { padding-block: var(--section); border-top: 1px solid var(--hair); }
.company-in { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.company-text { margin-top: 20px; max-width: 26em; color: var(--muted); }
.facts { border-top: 1px solid var(--hair); }
.facts div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--hair); }
.facts dt { font-size: 15px; color: var(--muted); }
.facts dd { font-size: 16px; font-weight: 500; }
.facts a { text-decoration-color: var(--hair); text-underline-offset: 4px; }
.facts a:hover { color: var(--blue); }

/* Contact */
.contact { padding-block: var(--section); background: #fff; border-top: 1px solid var(--hair); }
.contact-intro { margin-top: 16px; color: var(--muted); }
.contact-mail {
  display: inline-block; margin-top: 32px;
  font: 600 clamp(28px, 5vw, 56px)/1.1 var(--display); letter-spacing: -0.03em;
  text-decoration: none; color: var(--blue); overflow-wrap: anywhere;
  border-bottom: 2px solid rgba(0, 94, 254, 0.25); transition: border-color .2s;
}
.contact-mail:hover { border-color: var(--blue); }

/* Footer */
.foot { padding-block: 56px 40px; border-top: 1px solid var(--hair); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.legal { margin-top: 40px; max-width: 62em; font-size: 13px; line-height: 1.6; color: var(--muted); }
.fine { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Tablet */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .hero-copy, .hero-device { grid-column: 1 / -1; }
  .hero-device { margin-top: 40px; }
  .features { grid-template-columns: 1fr; max-width: 560px; }
  .company-in { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 560px) {
  .device { width: 264px; height: 548px; }
  .q { font-size: 24px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .logo-word { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
