/* =========================================================
   Aizip Gizmo — landing page
   Type: Saans (commercial, Displaay) → Hanken Grotesk fallback
         600 = accent · 500 = headline · 400 = body
   ========================================================= */

:root {
  /* Brand */
  --orange-700: #D2691E;
  --orange-600: #E2761B;
  --orange-500: #F08A2F;
  --orange-400: #F6A85A;
  --orange-300: #F8C089;
  --peach:      #FBE2C6;
  --cream:      #FDF3E6;

  --blue:       #2D6FBA;
  --blue-dark:  #1E5A9E;

  /* Ink (warm neutrals) */
  --ink-900: #1A1512;
  --ink-700: #3C342E;
  --ink-500: #6B6058;
  --ink-300: #9A8E84;

  --surface:        #ffffff;
  --surface-warm:   #FFFBF6;
  --border:         rgba(40, 28, 16, 0.10);
  --border-strong:  rgba(40, 28, 16, 0.16);

  --shadow-sm: 0 2px 8px rgba(60, 40, 20, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(120, 70, 20, 0.35);
  --shadow-lg: 0 40px 80px -30px rgba(120, 65, 15, 0.45);

  --radius:    18px;
  --radius-lg: 28px;

  --maxw: 1180px;

  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink-700);
  line-height: 1.6;
  letter-spacing: -0.01em;
  background-color: #FFFDFB;
  /* White at top → warm orange pooling toward the bottom (per brand gradient) */
  background-image:
    radial-gradient(140% 90% at 85% -10%, rgba(246, 168, 90, 0.30) 0%, rgba(246, 168, 90, 0) 45%),
    linear-gradient(180deg,
      #FFFFFF 0%,
      #FFFCF8 14%,
      #FFFFFF 34%,
      #FFFCF6 54%,
      #FEF1E1 74%,
      #FBE0C2 88%,
      #F6CB99 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow--center { display: block; }

.section-title {
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0.5rem 0 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 252, 248, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
/* Brand wordmark, sliced into separately-clickable pieces.
   All three crops share one vertical extent, so a common height keeps them
   aligned exactly as in the original "Gizmo by Aizip" lockup. */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-gizmo, .brand-by, .brand-aizip { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; display: block; }
.brand-gizmo img, .brand-aizip img { transition: opacity .15s ease; }
.brand-gizmo:hover img, .brand-aizip:hover img { opacity: 0.78; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-contact {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(145deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 8px 18px -8px rgba(226, 118, 27, 0.8);
}
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgba(226, 118, 27, 0.9); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { max-width: 560px; }

.hero-title {
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink-900);
  margin: 16px 0 22px;
}
.hero-title-accent {
  background: linear-gradient(100deg, var(--orange-600) 0%, var(--orange-400) 60%, var(--orange-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-500);
  max-width: 480px;
  margin: 0 0 30px;
}

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badges--center { justify-content: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  background: #15110E;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-icon { width: 26px; height: 26px; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-text small { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.82; font-weight: 500; }
.store-text strong { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--ink-500);
}
.trust-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #34A853;
  box-shadow: 0 0 0 4px rgba(52, 168, 83, 0.18);
}

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow {
  position: absolute;
  width: 115%; height: 115%;
  background: radial-gradient(circle at 50% 45%, rgba(246, 138, 47, 0.45) 0%, rgba(246, 138, 47, 0) 62%);
  filter: blur(10px);
  z-index: 0;
}

/* =========================================================
   Phone mockup
   ========================================================= */
.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 72 / 157;
  background: linear-gradient(160deg, #2a2a2e 0%, #0d0d10 48%, #1a1a1e 100%);
  border-radius: 42px;
  padding: 9px;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone::before { /* side buttons */
  content: "";
  position: absolute;
  left: -2px; top: 26%;
  width: 3px; height: 46px;
  border-radius: 3px;
  background: rgba(0,0,0,0.5);
  box-shadow: 0 64px 0 rgba(0,0,0,0.5), 0 116px 0 rgba(0,0,0,0.5);
}
.phone::after { /* power button (right) */
  content: "";
  position: absolute;
  right: -2px; top: 32%;
  width: 3px; height: 64px;
  border-radius: 3px;
  background: rgba(0,0,0,0.5);
}
.phone-notch { display: none; }
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
  background: #f1f3f5;
}
.phone--hero { max-width: 320px; }

/* Voice phone screen */
.phone--voice .voice-visual {
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 70% at 50% 12%, #FFFFFF 0%, #FFF6EC 45%, #FCE7D0 100%);
}
.voice-rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -22%); }
.voice-rings span {
  position: absolute;
  top: 50%; left: 50%;
  width: 90px; height: 90px;
  margin: -45px 0 0 -45px;
  border-radius: 50%;
  border: 2px solid rgba(240, 138, 47, 0.5);
  animation: ring 2.8s ease-out infinite;
}
.voice-rings span:nth-child(2) { animation-delay: 0.9s; }
.voice-rings span:nth-child(3) { animation-delay: 1.8s; }
@keyframes ring {
  0%   { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.voice-mic {
  position: relative;
  z-index: 2;
  width: 92px; height: 92px;
  margin-top: -30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 16px 30px -10px rgba(226, 118, 27, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}
.voice-mic svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
.voice-wake {
  position: absolute;
  top: calc(50% + 64px);
  left: 0; right: 0;
  text-align: center;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.voice-wave {
  position: absolute;
  bottom: 16%;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 46px;
}
.voice-wave span {
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--orange-400), var(--orange-600));
  animation: wave 1.1s ease-in-out infinite;
}
.voice-wave span:nth-child(odd)  { animation-duration: 0.9s; }
.voice-wave span:nth-child(3n)   { animation-duration: 1.3s; }
.voice-wave span:nth-child(1){height:18px} .voice-wave span:nth-child(2){height:34px}
.voice-wave span:nth-child(3){height:12px} .voice-wave span:nth-child(4){height:40px}
.voice-wave span:nth-child(5){height:24px} .voice-wave span:nth-child(6){height:44px}
.voice-wave span:nth-child(7){height:20px} .voice-wave span:nth-child(8){height:38px}
.voice-wave span:nth-child(9){height:14px} .voice-wave span:nth-child(10){height:30px}
.voice-wave span:nth-child(11){height:22px} .voice-wave span:nth-child(12){height:16px}
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

/* =========================================================
   Features
   ========================================================= */
.features { padding: clamp(40px, 7vw, 80px) 0 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 72px); }

.feature-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(36px, 6vw, 64px) 0;
}
.feature-row--reverse .feature-media { order: 2; }
.feature-media { display: grid; place-items: center; position: relative; }
.feature-media::before { /* warm glow behind device */
  content: "";
  position: absolute;
  width: 80%; height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 138, 47, 0.28) 0%, rgba(246, 138, 47, 0) 70%);
  filter: blur(12px);
}

.feature-index {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--orange-600);
  background: rgba(240, 138, 47, 0.12);
  border-radius: 8px;
  padding: 4px 10px;
}
.feature-title {
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 16px 0 12px;
}
.feature-desc {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-500);
  max-width: 460px;
  margin: 0;
}

/* NPU comparison clip — wider than the phone clips, so it sits in a plain
   device frame inside the standard feature-row (not a separate card). */
.screen-frame {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  padding: 11px;
  background: linear-gradient(160deg, #2a2a2e, #0d0d10);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.screen-frame video {
  width: 100%;
  aspect-ratio: 1440 / 1570;
  object-fit: cover;
  border-radius: 15px;
  background: #f1f3f5;
}

/* =========================================================
   Closing CTA
   ========================================================= */
.cta { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.cta-inner {
  text-align: center;
  background: linear-gradient(150deg, var(--orange-500) 0%, var(--orange-600) 55%, var(--orange-700) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -20%, rgba(255,255,255,0.35), rgba(255,255,255,0) 55%);
}
.cta-title {
  position: relative;
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 auto;
  max-width: 640px;
}
.cta-sub {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin: 16px auto 30px;
  max-width: 520px;
}
.cta .store-badges { position: relative; }
.cta .store-badge { background: #15110E; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 251, 246, 0.6);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo { height: 38px; width: auto; }
.footer-tag { color: var(--ink-500); font-size: 0.92rem; margin: 12px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a {
  font-weight: 500;
  color: var(--ink-700);
  transition: color .15s ease;
}
.footer-links a:hover { color: var(--orange-600); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-300);
}

/* =========================================================
   Legal / Privacy page
   ========================================================= */
.legal-page { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 8vw, 96px); }
.legal-sheet {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 5vw, 64px);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange-600);
  margin-bottom: 22px;
}
.legal-back:hover { color: var(--orange-700); }
.legal-title {
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  margin: 0 0 20px;
}
.legal-meta {
  list-style: none;
  margin: 0 0 4px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--ink-500);
}
.legal-meta strong { color: var(--ink-700); font-weight: 600; }

.legal-prose { color: var(--ink-700); font-size: 1.03rem; }
.legal-prose .legal-lead { font-size: 1.12rem; color: var(--ink-900); margin-top: 26px; }
.legal-prose h2 {
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 40px 0 12px;
}
.legal-prose p { margin: 0 0 14px; }
.legal-prose ul { margin: 0 0 16px; padding-left: 22px; }
.legal-prose li { margin: 0 0 9px; }
.legal-prose strong { color: var(--ink-900); font-weight: 600; }
.legal-prose a {
  color: var(--orange-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.legal-prose a:hover { color: var(--orange-700); }
.legal-prose hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; }
.legal-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(40, 28, 16, 0.06);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--ink-900);
}

.legal-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.legal-prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
.legal-prose th, .legal-prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.legal-prose th { background: rgba(240, 138, 47, 0.08); color: var(--ink-900); font-weight: 600; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .voice-rings span, .voice-mic, .voice-wave span { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .hero-visual { margin-top: 8px; }

  .feature-row { grid-template-columns: 1fr; text-align: center; gap: 28px; padding: 36px 0; }
  .feature-row--reverse .feature-media { order: 0; }
  .feature-desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-inner { height: 60px; }
  .brand { gap: 6px; }
  .brand img { height: 26px; }
  .btn-contact { padding: 8px 16px; font-size: 0.9rem; }
  .phone { max-width: 250px; }
  .phone--hero { max-width: 270px; }
  .store-badge { flex: 1 1 auto; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
