
:root {
  --navy: #071b49;
  --blue: #0877c9;
  --cyan: #06c6d7;
  --sea: #16b8c8;
  --green: #2bc985;
  --ink: #0d214f;
  --muted: #7083aa;
  --line: #d8e6f3;
  --surface: rgba(255,255,255,.86);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 24%, rgba(80,194,255,.18), transparent 29rem),
    linear-gradient(180deg, #ffffff 0%, #f8fcff 54%, #eaf7ff 100%);
}

.ocean-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.wave {
  position: absolute;
  left: -10vw;
  width: 120vw;
  height: 24vh;
  border-radius: 50% 50% 0 0;
  filter: blur(.2px);
}
.wave-a {
  bottom: -11vh;
  background: rgba(91, 189, 248, .15);
  transform: rotate(-2deg);
}
.wave-b {
  bottom: -15vh;
  background: rgba(8, 133, 209, .08);
  transform: rotate(3deg);
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  padding: 0 5.2vw;
}
.wordmark { width: 175px; height: auto; display: block; }

.shell {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: start center;
  padding: 12px 24px 48px;
}

.experience {
  width: min(780px, 100%);
  text-align: center;
}

.orb {
  --state-color: 38, 145, 222;
  position: relative;
  width: clamp(230px, 35vw, 360px);
  aspect-ratio: 1;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  isolation: isolate;
}

.whale {
  position: relative;
  z-index: 3;
  width: 79%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(15, 75, 125, .15));
  user-select: none;
  -webkit-user-drag: none;
}

.glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--state-color), .19) 0%, rgba(var(--state-color), .08) 46%, transparent 72%);
  box-shadow: 0 0 55px rgba(var(--state-color), .16);
  z-index: 0;
  opacity: .7;
  transition: opacity .35s ease, box-shadow .35s ease;
}

.ring {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  transition: border-color .35s ease, box-shadow .35s ease, opacity .35s ease;
}
.ring-one {
  inset: 8%;
  border: 1.5px solid rgba(var(--state-color), .28);
  box-shadow: 0 0 25px rgba(var(--state-color), .15);
}
.ring-two {
  inset: 2%;
  border: 9px solid transparent;
  border-top-color: rgba(var(--state-color), .11);
  border-right-color: rgba(var(--state-color), .055);
  transform: rotate(-18deg);
  opacity: .85;
}

.orb.speaking { --state-color: 11, 118, 210; }
.orb.listening { --state-color: 38, 199, 126; }
.orb.thinking { --state-color: 63, 111, 201; }

.orb.speaking .glow,
.orb.listening .glow {
  animation: breathe 1.15s ease-in-out infinite;
}
.orb.speaking .ring-one,
.orb.listening .ring-one {
  animation: pulseRing 1.15s ease-out infinite;
}
.orb.speaking .ring-two { animation: rotateRing 8s linear infinite; }
.orb.listening .ring-two { animation: rotateRing 5s linear infinite reverse; }
.orb.thinking .ring-two { animation: rotateRing 2.2s linear infinite; }
.orb.thinking .glow { animation: thinkGlow 1s ease-in-out infinite alternate; }

@keyframes breathe {
  0%,100% { transform: scale(.96); opacity: .60; box-shadow: 0 0 34px rgba(var(--state-color), .16); }
  50% { transform: scale(1.07); opacity: 1; box-shadow: 0 0 76px rgba(var(--state-color), .34); }
}
@keyframes pulseRing {
  0% { transform: scale(.96); opacity: .45; }
  60% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1.08); opacity: .08; }
}
@keyframes rotateRing { to { transform: rotate(342deg); } }
@keyframes thinkGlow { from { opacity: .35; } to { opacity: .9; } }

.status {
  min-height: 22px;
  margin: -2px 0 7px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
  letter-spacing: .02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--navy);
}
h1 span {
  background: linear-gradient(90deg, #0967b8, #0da7d2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  max-width: 690px;
  margin: 14px auto 0;
  color: #647ba6;
  font-size: clamp(1rem, 2.15vw, 1.2rem);
  line-height: 1.55;
}

.mobi-text {
  max-width: 650px;
  min-height: 30px;
  margin: 19px auto 0;
  color: #273d67;
  font-size: 1.05rem;
  line-height: 1.55;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(650px, 100%);
  margin: 25px auto 0;
}

.btn, .listen-btn, .send-btn, .link-btn {
  font: inherit;
  cursor: pointer;
}

.btn {
  min-height: 70px;
  border-radius: 18px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 720;
  font-size: 1.02rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #0757aa, #087ec7 52%, #0bbfc9);
  box-shadow: 0 12px 28px rgba(8, 111, 184, .22);
}
.btn-primary:hover { box-shadow: 0 15px 35px rgba(8, 111, 184, .31); }

.btn-secondary {
  color: var(--navy);
  background: rgba(255,255,255,.87);
  border-color: #ccdeee;
  box-shadow: 0 9px 22px rgba(57, 103, 144, .08);
}
.btn-secondary:hover { border-color: #9fc2dd; }

.icon.mic {
  width: 20px;
  height: 29px;
  display: inline-block;
  position: relative;
  border: 2.5px solid currentColor;
  border-radius: 10px;
}
.icon.mic::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 18px;
  border: 2.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
}
.icon.mic::after {
  content: "";
  position: absolute;
  width: 2.5px;
  height: 8px;
  background: currentColor;
  left: 50%;
  bottom: -17px;
  transform: translateX(-50%);
}

.keyboard { font-size: 1.45rem; line-height: 1; }

.conversation-panel {
  width: min(650px, 100%);
  margin: 24px auto 0;
}
.hidden { display: none !important; }

.text-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  background: rgba(255,255,255,.9);
  border: 1px solid #cfe0ed;
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(56, 100, 140, .08);
}
.text-form input {
  flex: 1;
  min-width: 0;
  height: 51px;
  border: 0;
  outline: 0;
  padding: 0 15px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1rem;
}
.text-form input::placeholder { color: #91a2bd; }
.send-btn {
  width: 49px;
  height: 49px;
  border-radius: 14px;
  border: 0;
  color: white;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #0874c9, #09b9c9);
}

.voicePanel {}

.listen-btn {
  min-height: 62px;
  padding: 0 26px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #139968, #28c982);
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 720;
  box-shadow: 0 12px 30px rgba(40, 181, 119, .20);
}

.link-btn {
  display: block;
  border: 0;
  background: transparent;
  color: #5e7397;
  margin: 14px auto 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-note {
  max-width: 620px;
  margin: 13px auto 0;
  min-height: 18px;
  color: #8292ad;
  font-size: .82rem;
  line-height: 1.4;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 650px) {
  .site-header { height: 76px; padding: 0 24px; }
  .wordmark { width: 135px; }
  .shell { min-height: calc(100vh - 76px); padding: 0 18px 34px; }
  .orb { width: min(68vw, 280px); }
  .choices { grid-template-columns: 1fr; gap: 12px; }
  .btn { min-height: 62px; }
  .tagline { font-size: .98rem; }
  .mobi-text { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
