:root {
  color-scheme: light;
  --blue: #4285F4;
  --red: #EA4335;
  --yellow: #FBBC04;
  --green: #34A853;
  --gem-grad: linear-gradient(120deg, #4285F4 0%, #9B72CB 55%, #D96570 100%);

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --surface: #ffffff;
  --ink: #1f1f1f;
  --ink-2: #444746;
  --ink-3: #747775;
  --line: #e3e6ea;
  --shadow: none;

  /* Google web UI palette (about.google / blog.google) */
  --g-blue: #1a73e8;
  --g-blue-hover: #1765cc;
  --head: #202124;
  --body: #5f6368;
  --outline: #dadce0;
  --grey-50: #f8f9fa;
  --grey-100: #f1f3f4;
  --tint-blue: #e8f0fe;
  --tint-red: #fce8e6;
  --tint-yellow: #fef7e0;
  --tint-green: #e6f4ea;
  /* Material 3 motion curves */
  --ease-emph: cubic-bezier(.2, 0, 0, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .64, 1);
  --ease-exit: cubic-bezier(.3, 0, .8, .15);
  --lift: 0 2px 2px -1px rgba(60, 64, 67, .28); /* sits under the element only, like Google's buttons */

  --font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, sans-serif;
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.01em; margin: 0; font-weight: 400; color: var(--head); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.grad-text {
  background: linear-gradient(90deg, #4285F4, #9B72CB, #D96570, #9B72CB, #4285F4) 0 0 / 200% auto;
  animation: sheen 8s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes sheen { to { background-position: -200% 0; } }

.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dots .b { background: var(--blue); }
.dots .r { background: var(--red); }
.dots .y { background: var(--yellow); }
.dots .g { background: var(--green); }

.icon { width: 18px; height: 18px; flex: none; object-fit: contain; }
.btn .icon { width: 22px; height: 22px; }
.arrow { display: inline-block; transition: transform .2s ease; }
a:hover .arrow { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 16px; text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, transform .2s var(--ease-spring);
}
.btn { position: relative; overflow: hidden; }
.btn:hover { box-shadow: var(--lift); }
.btn:active, .chip:active, .gigi-action:active { transform: scale(.96); }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: currentColor; opacity: .18; transform: scale(0);
  animation: ripple .6s var(--ease-emph) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn-primary { background: var(--g-blue); color: #fff; }
.btn-primary:hover { background: var(--g-blue-hover); }
.btn-ghost { background: var(--surface); color: var(--g-blue); border-color: var(--outline); }
.btn-ghost:hover { background: var(--grey-50); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-light { background: #fff; color: var(--g-blue); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.link { background: none; border: 0; padding: 0; color: var(--g-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px max(16px, calc((100vw - var(--max)) / 2));
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--outline); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 19px; color: var(--head); }
.brand b { font-weight: 500; color: var(--body); }
.brand-logo { height: 40px; width: auto; transition: transform .5s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 90%; }
.brand:hover .brand-logo { transform: rotate(-8deg) translateY(-2px); }
.brand-name { font-size: 17px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { position: relative; text-decoration: none; color: var(--body); padding: 8px 0; font-size: 15px; transition: color .2s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--g-blue); transform: scaleX(0); transition: transform .35s var(--ease-emph);
}
.nav-links a:hover, .nav-links a.active { color: var(--head); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 64px); min-height: calc(100svh - 64px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 16px 120px; text-align: center; isolation: isolate;
}
@keyframes spin { to { rotate: 360deg; } }

.product-carousel { width: min(980px, 100%); margin-bottom: 56px; }
.pc-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pc-track { display: flex; gap: 76px; width: max-content; padding: 4px 38px; will-change: transform; }
.pc-track img { width: 40px; height: 40px; flex: none; transition: transform .3s var(--ease-spring); }
.pc-track img:hover { transform: scale(1.2) translateY(-2px); }
@keyframes scroll { to { transform: translateX(-50%); } }

.hero-inner { max-width: 880px; }
.eyebrow {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 999px;
  background: var(--tint-blue); border: 1px solid transparent;
  font-size: 14px; color: var(--head); margin-bottom: 28px; text-decoration: none;
  transition: background .2s, box-shadow .2s;
}
.eyebrow:hover { background: #d2e3fc; box-shadow: var(--lift); }
.hero h1 { font-size: clamp(44px, 7.5vw, 88px); font-weight: 400; letter-spacing: -.025em; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--body); max-width: 600px; margin: 24px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.prompt-bar {
  position: absolute; bottom: 44px; left: 50%; translate: -50% 0;
  width: min(560px, calc(100% - 32px));
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--outline);
  font-size: 15px; color: var(--body); text-align: left;
}
.prompt-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 2px; height: 18px; background: var(--g-blue); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 120px 16px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section h2 { font-size: clamp(34px, 5vw, 56px); }
.sub { color: var(--body); font-size: 18px; margin-top: 18px; }

.reveal { opacity: 0; transform: translateY(32px) scale(.98); filter: blur(6px); transition: opacity .8s var(--ease-emph), transform .9s var(--ease-emph), filter .8s var(--ease-emph); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  position: relative; padding: 28px 24px 30px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--c) 11%, #fff); overflow: hidden;
}
.pillar.in { transition: opacity .8s var(--ease-emph), transform .5s var(--ease-spring), filter .8s var(--ease-emph); }
.pillar.in:hover { transform: translateY(-6px); }

.pill-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); margin-bottom: 48px; }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { color: var(--head); opacity: .78; font-size: 15.5px; }

/* Tools */
.tools { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 15.5px; font-weight: 500;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease, transform .2s var(--ease-spring);
}
.chip { position: relative; overflow: hidden; }
.chip img { width: 20px; height: 20px; object-fit: contain; transition: transform .35s var(--ease-spring); }
.chip:hover { background: var(--grey-50); box-shadow: var(--lift); }
.chip:hover img { transform: scale(1.15) rotate(-6deg); }
.chip[aria-selected="true"] { background: color-mix(in srgb, var(--c) 14%, #fff); border-color: transparent; color: var(--head); }

.tool-card {
  position: relative; min-height: 280px; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.tool-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c, var(--blue)); transition: background .3s; }
.tool-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.tool-badge {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
  background: color-mix(in srgb, var(--c, var(--blue)) 14%, transparent); color: var(--c, var(--blue));
  font-weight: 700; font-size: 18px;
}
.tool-badge img { width: 26px; height: 26px; object-fit: contain; }
.tool-card.swap .tool-badge img { animation: badge-pop .6s var(--ease-spring) both; }
.tool-card.swap .tool-meta { animation: rise-in .5s var(--ease-emph) both; }
@keyframes badge-pop { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
.thinking { display: flex; gap: 5px; height: 10px; margin-top: 20px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s var(--ease-emph); }
.thinking.on { opacity: 1; transform: none; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--body); animation: think 1.3s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: .16s; }
.thinking i:nth-child(3) { animation-delay: .32s; }
@keyframes think {
  0%, 60%, 100% { transform: translateY(0); opacity: .35; }
  30% { transform: translateY(-4px); opacity: .9; }
}
.tool-meta { color: var(--ink-3); font-size: 15px; }
.tool-meta b { color: var(--ink); font-weight: 600; }
.tool-usecase { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -.01em; min-height: 3.9em; }

/* Events */
.coming-soon {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  padding: 44px 44px; border-radius: 28px; background: var(--tint-yellow);
}
.soon-pill {
  display: inline-flex; align-items: center; margin-bottom: 16px;
  padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--head); font-size: 14px; font-weight: 500;
}
.coming-soon h3 { font-size: clamp(26px, 3vw, 34px); }
.coming-soon p { color: var(--head); opacity: .78; margin-top: 10px; max-width: 560px; }
.coming-soon .hero-cta { margin: 0; justify-content: flex-end; }
.event {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center;
  padding: 28px 8px; border-bottom: 1px solid var(--outline);
}
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--outline); }
.event-date { text-align: center; }
.event-date .m { font-size: 15px; font-weight: 500; color: var(--c); }
.event-date .d { font-size: 48px; line-height: 1; color: var(--head); }
.event h3 { font-size: 23px; margin-bottom: 6px; }
.event-meta { color: var(--body); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.event p { color: var(--body); font-size: 15.5px; max-width: 620px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--head); margin-bottom: 8px; }
.cal-btn { white-space: nowrap; }

/* Leads */
.leads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lead {
  display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: 28px;
  background: var(--grey-50);
}
.headshot {
  position: relative; width: 124px; height: 124px; flex: none; border-radius: 50%; padding: 4px;
  background: conic-gradient(var(--blue) 0 25%, var(--red) 0 50%, var(--yellow) 0 75%, var(--green) 0);
  transition: rotate .8s cubic-bezier(.2, .8, .2, 1);
}
.lead:hover .headshot { rotate: 90deg; }
.lead:hover .headshot > * { rotate: -90deg; }
.headshot > * {
  width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--grey-50);
  object-fit: cover; display: grid; place-items: center; transition: rotate .8s cubic-bezier(.2, .8, .2, 1);
}
.headshot .initials { background: var(--surface); font-size: 36px; color: var(--body); }
.lead h3 { font-size: 26px; }
.lead .role { color: var(--body); font-size: 14.5px; margin: 4px 0 14px; }
.lead-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-facts span { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--head); }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--outline); }
.faq details { border-bottom: 1px solid var(--outline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 4px; font-size: 20px; color: var(--head);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary:hover { color: var(--g-blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  rotate: 45deg; translate: 0 -3px; transition: rotate .25s, translate .25s;
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { padding: 0 4px 24px; color: var(--body); max-width: 720px; overflow: hidden; }
.faq details.closing summary::after { rotate: 45deg; translate: 0 -3px; }
.faq summary { transition: color .2s ease; }

/* Join: light panel with soft corner washes, after notebook.google's hero panel */
.join {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 24px 80px; border-radius: 36px;
  background:
    radial-gradient(55% 70% at 0% 0%, rgba(66, 133, 244, .12), transparent 70%),
    radial-gradient(45% 60% at 100% 0%, rgba(234, 67, 53, .07), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(251, 188, 4, .08), transparent 70%),
    var(--grey-50);
}
.join h2 { font-size: clamp(38px, 6vw, 64px); }
.join p { max-width: 600px; margin: 18px auto 0; color: var(--body); font-size: 18px; }

/* Footer */
.footer {
  max-width: var(--max); margin: 120px auto 0; padding: 32px 16px 120px; /* room for floating Gigi */
  border-top: 1px solid var(--outline);
}
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--outline);
}
.backed { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--head); }
.backed img { width: 20px; height: 20px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a, .socials span {
  font-size: 14.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--outline);
  text-decoration: none; color: var(--head); transition: box-shadow .2s ease;
}
.socials a { position: relative; overflow: hidden; }
.socials a:hover { box-shadow: var(--lift); }
.socials .soon { color: var(--body); border-style: dashed; cursor: default; }
.fine { color: var(--body); font-size: 13.5px; max-width: 620px; }

/* ---------- Chat ---------- */
/* Floating Gigi + shortcut menu */
.gigi-dock {
  position: fixed; right: 20px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.gigi-fab {
  width: 84px; height: 84px; padding: 0; border: 0; background: none;
  filter: drop-shadow(0 2px 2px rgba(60, 64, 67, .18));
  animation: gigi-float 4.5s ease-in-out infinite;
}
.gigi-fab img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.gigi-fab:hover img { transform: rotate(-8deg) scale(1.06); }
.gigi-fab[aria-expanded="true"] img { transform: rotate(6deg) scale(.94); }
.gigi-fab.hop img { animation: hop .55s var(--ease-spring); }
@keyframes hop { 0% { transform: scale(1); } 30% { transform: scale(1.12, .86) translateY(4px); } 60% { transform: scale(.94, 1.08) translateY(-10px); } 100% { transform: scale(1); } }
@keyframes gigi-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  25% { translate: -4px -8px; rotate: -3deg; }
  50% { translate: 0 -12px; rotate: 0deg; }
  75% { translate: 4px -6px; rotate: 3deg; }
}
.gigi-actions { display: flex; flex-direction: column; gap: 12px; }
.gigi-action {
  position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--outline); color: var(--g-blue);
  opacity: 0; transform: translateY(28px) scale(.4) rotate(-40deg); pointer-events: none;
  transition: opacity .2s ease, transform .45s var(--ease-spring), box-shadow .2s ease;
}
.gigi-action img, .gigi-action svg { width: 28px; height: 28px; object-fit: contain; }
.gigi-action:hover { box-shadow: var(--lift); }
.gigi-dock.open .gigi-action { opacity: 1; transform: none; pointer-events: auto; }
.gigi-dock.open .gigi-action:nth-child(1) { transition-delay: .12s; }
.gigi-dock.open .gigi-action:nth-child(2) { transition-delay: .06s; }
.gigi-action img, .gigi-action svg { transition: transform .3s var(--ease-spring); }
.gigi-action:hover img, .gigi-action:hover svg { transform: scale(1.12); }
.gigi-action::after {
  content: attr(data-label); position: absolute; right: 64px; white-space: nowrap;
  padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  background: var(--head); color: #fff; opacity: 0; translate: 6px 0; pointer-events: none;
  transition: opacity .2s ease, translate .2s ease;
}
.gigi-action:hover::after, .gigi-action:focus-visible::after { opacity: 1; translate: 0 0; }

.chat {
  position: fixed; right: 24px; bottom: 116px; z-index: 91;
  width: min(390px, calc(100vw - 32px)); height: min(580px, calc(100vh - 140px)); height: min(580px, calc(100svh - 140px));
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--outline); border-radius: 28px;
  box-shadow: 0 2px 6px 2px rgba(60, 64, 67, .12), 0 1px 2px rgba(60, 64, 67, .2); overflow: hidden;
  transform-origin: bottom right; animation: chat-in .45s var(--ease-emph);
}
.chat.closing { animation: chat-out .28s var(--ease-exit) forwards; pointer-events: none; }
.chat[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: scale(.88) translateY(18px); filter: blur(4px); } }
@keyframes chat-out { to { opacity: 0; transform: scale(.92) translateY(14px); filter: blur(3px); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); }
.chat-avatar img { width: 26px; height: 26px; object-fit: contain; animation: hover-bob 3.2s ease-in-out infinite; }
.chat-title { font-weight: 500; font-size: 16px; color: var(--head); }
.chat-status { font-size: 12.5px; color: var(--ink-3); }
.chat-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; color: var(--ink-3); font-size: 24px; line-height: 1; }
.chat-close:hover { background: var(--bg-soft); color: var(--ink); }

.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 85%; padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.msg.user { align-self: flex-end; background: var(--g-blue); color: #fff; border-bottom-right-radius: 6px; }
.msg.model { align-self: flex-start; background: var(--grey-100); color: var(--head); border-bottom-left-radius: 6px; }
.msg a { color: var(--g-blue); word-break: break-all; }
.msg.user a { color: #fff; }
.typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; animation: bounce 1.2s ease-in-out infinite; }
.typing i:nth-child(1) { background: var(--blue); }
.typing i:nth-child(2) { background: var(--red); animation-delay: .12s; }
.typing i:nth-child(3) { background: var(--yellow); animation-delay: .24s; }
.typing i:nth-child(4) { background: var(--green); animation-delay: .36s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

/* Suggestions scroll sideways and fade out at the edges instead of being clipped */
.chat-suggest {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 28px 12px 18px; scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 48px), transparent 100%);
}
.chat-suggest button {
  flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 13.5px;
}
.chat-suggest button { position: relative; overflow: hidden; transition: background .2s ease, box-shadow .2s ease; }
.chat-suggest button:hover { background: var(--grey-50); color: var(--ink); box-shadow: var(--lift); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); font: inherit; font-size: 15px; outline: none;
}
.chat-form input:focus { border-color: var(--line); background: #fff; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--g-blue); color: #fff; display: grid; place-items: center; transition: background .2s ease, box-shadow .2s ease; }
.chat-form button:hover:not(:disabled) { background: #185abc; box-shadow: var(--lift); }
.chat-form button svg { width: 20px; height: 20px; }
.chat-form button:disabled { opacity: .45; }

/* Free Gemini offer */
.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding: 36px 40px; border-radius: 28px; text-decoration: none; color: var(--ink);
  background: var(--tint-blue);
}
.offer:hover .offer-btn { box-shadow: var(--lift); background: var(--g-blue-hover); }
.offer-spark { width: 88px; height: 88px; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.offer:hover .offer-spark { transform: rotate(180deg) scale(1.08); }
.offer h2 { font-size: clamp(28px, 3.6vw, 40px); }
.offer-copy p:last-child { color: var(--head); opacity: .78; margin-top: 10px; max-width: 620px; }
.offer-btn { white-space: nowrap; }
#free-gemini { padding-top: 88px; }

.join-gigi { display: block; width: 92px; margin: 0 auto 20px; animation: hover-bob 3.2s ease-in-out infinite; }
@keyframes hover-bob { 50% { translate: 0 -10px; } }

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 64px; width: auto; }
.footer-at { font-size: 20px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }

/* Startup intro */
.intro { display: none; }
html.intro-lock { overflow: hidden; }
html.intro-on .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: #fff;
  animation: intro-out .7s cubic-bezier(.4, 0, .2, 1) 1.9s forwards;
}
.intro-spark {
  width: min(180px, 40vw); height: auto;
    animation: spark-in 2.6s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes spark-in {
  0%   { opacity: 0; transform: scale(0) rotate(-120deg); }
  30%  { opacity: 1; transform: scale(1) rotate(0deg); }
  72%  { transform: scale(1) rotate(360deg); }
  100% { opacity: 0; transform: scale(1.6) rotate(450deg); }
}
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
:root { --enter: .1s; }
html.intro-on { --enter: 2s; }
.product-carousel { animation: rise-in 1s var(--ease-emph) var(--enter) both; }
.hero-inner > :not(h1) { animation: rise-in .9s var(--ease-emph) both; }
.hero-inner > .eyebrow { animation-delay: calc(var(--enter) + .1s); }
.hero-inner > .lede { animation-delay: calc(var(--enter) + .55s); }
.hero-inner > .hero-cta { animation-delay: calc(var(--enter) + .7s); }
.prompt-bar { animation: rise-in 1s var(--ease-emph) calc(var(--enter) + .85s) both; }
.hero h1 .w { display: inline-block; animation: word-in 1s var(--ease-emph) both; animation-delay: calc(var(--enter) + .2s + var(--i) * 80ms); }
.hero h1 .w.grad-text { animation: word-in 1s var(--ease-emph) calc(var(--enter) + .2s + var(--i) * 80ms) both, sheen 8s linear calc(var(--enter) + 1.3s) infinite; }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em); filter: blur(10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 960px) {
  .offer { grid-template-columns: auto 1fr; }
  .offer-btn { grid-column: 1 / -1; justify-self: start; }
  .coming-soon { grid-template-columns: 1fr; }
  .coming-soon .hero-cta { justify-content: flex-start; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: 1fr; }
  .leads { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding-top: 88px; }
  .brand-logo { height: 34px; }
  .brand-name { font-size: 14.5px; line-height: 1.15; max-width: 170px; }
  .offer { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; }
  .offer-spark { width: 56px; height: 56px; }
  .join-gigi { width: 76px; }
  .join { padding: 56px 20px 64px; }
  /* Footer on phones: everything centered, logo larger */
  .footer-top, .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { flex-direction: column; gap: 10px; }
  .footer-logo { height: 84px; }
  .footer-at { font-size: 22px; }
  .socials { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .socials a, .socials span { text-align: center; padding: 10px 14px; }
  .fine { max-width: none; }
  .pillars { grid-template-columns: 1fr; }
  .pill-dot { margin-bottom: 24px; }
  .event { grid-template-columns: 64px 1fr; gap: 16px; }
  .event-date .d { font-size: 34px; }
  .cal-btn { grid-column: 2; justify-self: start; }
  .coming-soon { padding: 32px 24px; }
  .product-carousel { width: calc(100% + 32px); margin-inline: -16px; margin-bottom: 40px; }
  .pc-track { gap: 44px; padding: 4px 22px; }
  .pc-track img { width: 34px; height: 34px; }
  .lead { flex-direction: column; text-align: center; }
  .lead-facts { justify-content: center; }
  .prompt-bar { display: none; } /* the typing prompt is desktop-only */
  .hero { padding-bottom: 72px; min-height: calc(100svh - 64px - 40px); }
  .chat {
    left: 12px; right: 12px; width: auto; bottom: 100px;
    height: min(560px, calc(100svh - 130px));
  }
  /* Use-case chips: one swipeable row instead of five wrapped rows */
  .tool-chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 32px), transparent);
  }
  .tool-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .tool-card { min-height: 0; padding: 26px 24px; }
  .chat-form input { font-size: 16px; } /* 16px+ stops iOS from zooming the page on focus */
  .chat-suggest button { font-size: 14px; padding: 8px 14px; }
  /* Cheaper, snappier motion on phones: skip blur filters */
  .reveal { transform: translateY(20px); filter: none; transition: opacity .6s var(--ease-emph), transform .7s var(--ease-emph); }
  @keyframes chat-in { from { opacity: 0; transform: scale(.94) translateY(16px); } }
  @keyframes chat-out { to { opacity: 0; transform: scale(.96) translateY(12px); } }
  .hero { padding-top: 56px; }
  .gigi-dock { right: 12px; bottom: 12px; }
  .gigi-fab { width: 72px; height: 72px; }
}
/* Touch screens: hover styles stick after a tap, so drop hover shadows/lifts;
   taps get the ripple + press-in instead. */
@media (hover: none) {
  * { -webkit-tap-highlight-color: transparent; }
  .btn:hover, .chip:hover, .eyebrow:hover, .socials a:hover, .chat-suggest button:hover,
  .gigi-action:hover, .chat-form button:hover:not(:disabled), .offer:hover .offer-btn { box-shadow: none; }
  .btn-primary:hover, .offer:hover .offer-btn { background: var(--g-blue); }
  .btn-ghost:hover, .chat-suggest button:hover { background: var(--surface); }
  .chip:not([aria-selected="true"]):hover { background: var(--surface); }
  .chip:hover img, .pc-track img:hover, .brand:hover .brand-logo, .gigi-action:hover img, .gigi-action:hover svg,
  .gigi-fab:not([aria-expanded="true"]):hover img, .offer:hover .offer-spark { transform: none; }
  .pillar.in:hover { transform: none; }
  .gigi-action::after { display: none; }
  .btn:active, .chip:active, .gigi-action:active, .chat-suggest button:active { transform: scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
