/* WhalePet — light product page (company-adjacent, NOT dark AI SaaS)
   Vetoed: pure black glass, gradient orbs, generic Syne-on-void.
   Direction: warm paper + deep ink type + soft sky accent (WhaleTech family). */

:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --bg-2: #fffdf9;
  --ink: #14181f;
  --ink-2: #3d4553;
  --ink-3: #6b7380;
  --line: rgba(20, 24, 31, 0.08);
  --line-2: rgba(20, 24, 31, 0.14);
  --sky: #3b82f6;
  --sky-soft: #dbeafe;
  --violet: #6366f1;
  --mint: #0d9488;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(20, 24, 31, 0.08);
  --shadow-sm: 0 8px 24px rgba(20, 24, 31, 0.06);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "DM Sans", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --display: "Fraunces", "Songti SC", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(50rem 30rem at 100% -10%, rgba(59, 130, 246, 0.08), transparent 50%),
    radial-gradient(40rem 24rem at 0% 20%, rgba(99, 102, 241, 0.05), transparent 45%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  background: var(--ink); color: #fff;
}
.skip:focus { top: 1rem; }

.shell { width: min(var(--max), calc(100% - 2.75rem)); margin-inline: auto; }

/* nav */
.top {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.top.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 249, 0.9);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; letter-spacing: -0.03em; font-size: 1.05rem;
}
.brand mark {
  all: unset;
  width: 1.85rem; height: 1.85rem; border-radius: 0.55rem;
  background: linear-gradient(145deg, #60a5fa, #6366f1);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.28);
}
.nav { display: flex; align-items: center; gap: 0.15rem 1.4rem; flex-wrap: wrap; }
.nav a:not(.btn) {
  color: var(--ink-2); font-size: 0.94rem; font-weight: 550;
  transition: color 0.2s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--sky); outline-offset: 3px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.65rem 1.2rem; border-radius: 999px;
  font-weight: 650; font-size: 0.94rem; letter-spacing: -0.02em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #4f8ef7, #3b6ef5);
  box-shadow: 0 10px 28px rgba(59, 110, 245, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(59, 110, 245, 0.36); }
.btn-ghost {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: rgba(20,24,31,0.22); }
.btn-lg { min-height: 3.15rem; padding-inline: 1.4rem; font-size: 1rem; }

/* hero */
.hero {
  padding: 4.75rem 0 3.5rem;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.75rem; }
  .stage { order: -1; }
}

.kicker {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-bottom: 1.15rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--sky-soft);
  color: #1d4ed8;
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em;
}
.kicker i {
  width: 0.4rem; height: 0.4rem; border-radius: 50%;
  background: var(--sky); font-style: normal;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.55rem, 5.8vw, 4rem);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 1.15rem;
  max-width: 13ch;
}
h1 em {
  font-style: italic;
  font-weight: 500;
  color: #2563eb;
}

.lede {
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.35rem; }
.meta {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.15rem;
  color: var(--ink-3); font-size: 0.9rem;
}
.meta strong { color: var(--ink-2); font-weight: 650; font-variant-numeric: tabular-nums; }
#release-status { font-family: var(--mono); font-size: 0.84rem; color: #1d4ed8; }

/* product stage — light window */
.stage { display: grid; place-items: center; min-height: 22rem; }
.stage-frame {
  width: min(100%, 26.5rem);
  border-radius: 1.15rem;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.menubar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 0.9rem;
  background: #f0f2f6;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-2);
}
.menubar b { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
.menubar span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.desktop {
  position: relative;
  height: 15.5rem;
  background:
    radial-gradient(16rem 10rem at 72% 60%, rgba(59,130,246,0.12), transparent 62%),
    linear-gradient(180deg, #eef2ff 0%, #f8fafc 55%, #eef2f7 100%);
}
.pet {
  position: absolute; right: 16%; bottom: 16%;
  width: 5.4rem; height: 5.4rem;
  border-radius: 48% 52% 50% 50% / 52% 48% 54% 46%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9), transparent 30%),
    linear-gradient(160deg, #93c5fd, #818cf8 65%, #6366f1);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.28);
  animation: float 6.5s var(--ease) infinite;
}
.pet::after {
  content: "";
  position: absolute; left: 22%; right: 22%; bottom: 14%;
  height: 16%; border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
}
.bubble {
  position: absolute; right: 34%; bottom: 46%;
  max-width: 9.2rem;
  padding: 0.55rem 0.7rem;
  border-radius: 1rem 1rem 0.25rem 1rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem; font-weight: 600; line-height: 1.35;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  animation: pop 6.5s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.55rem); }
}
@keyframes pop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.2rem); }
}

/* content */
.block { padding: 3.75rem 0; }
.block-head { max-width: 34rem; margin-bottom: 1.85rem; }
.block-head p {
  color: var(--mint); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.block-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 550; letter-spacing: -0.025em; line-height: 1.12;
  text-wrap: balance; margin-bottom: 0.65rem;
}
.block-head .sub { color: var(--ink-2); font-size: 1.05rem; }

.bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.9rem;
}
.bento article:first-child { grid-row: span 2; }
@media (max-width: 800px) {
  .bento { grid-template-columns: 1fr; }
  .bento article:first-child { grid-row: auto; }
}

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(59, 130, 246, 0.25);
}
.tile .tag {
  display: inline-block; margin-bottom: 0.75rem;
  color: #1d4ed8; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.tile h3 {
  font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.tile p { color: var(--ink-2); font-size: 0.98rem; }

.panel {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 1.25rem; align-items: center;
  padding: 1.7rem 1.55rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: linear-gradient(135deg, #eff6ff, #f5f3ff 55%, #fff);
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) { .panel { grid-template-columns: 1fr; } }
.panel h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 550; letter-spacing: -0.025em;
  margin-bottom: 0.4rem; text-wrap: balance;
}
.panel p { color: var(--ink-2); }

.page { padding: 3.25rem 0 2rem; }
.page h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 550; letter-spacing: -0.03em;
  max-width: none; margin-bottom: 0.55rem;
}
.page .lede { margin-bottom: 1.5rem; }

.facts {
  margin-top: 1.35rem;
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.5rem 1rem;
}
.facts dt { color: var(--ink-3); font-size: 0.9rem; }
.facts dd {
  font-family: var(--mono); font-size: 0.86rem;
  font-variant-numeric: tabular-nums; word-break: break-all;
}
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

.log { display: grid; gap: 1.35rem; }
.log article {
  padding: 1.15rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.log h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.25rem; }
.log .when {
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3);
  margin-bottom: 0.5rem;
}
.log ul { margin-left: 1.05rem; color: var(--ink-2); }
.log li { margin: 0.22rem 0; }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 720px) { .prices { grid-template-columns: 1fr; } }
.price { padding: 1.45rem 1.3rem; }
.price .amt {
  font-family: var(--display);
  font-size: 2.15rem; font-weight: 550; letter-spacing: -0.03em;
  margin: 0.45rem 0 0.85rem;
}
.price .amt small {
  font-family: var(--font); font-size: 0.9rem; font-weight: 500;
  color: var(--ink-3); margin-left: 0.2rem;
}
.price ul { list-style: none; color: var(--ink-2); }
.price li { padding: 0.42rem 0; border-top: 1px solid var(--line); }
.price.hi {
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.legal { color: var(--ink-2); padding: 3rem 0; }
.legal h1 {
  font-family: var(--display); font-size: 2.1rem; color: var(--ink);
  max-width: none; margin-bottom: 0.7rem;
}
.legal h2 { font-size: 1.05rem; color: var(--ink); margin: 1.55rem 0 0.4rem; }
.legal p { max-width: 40rem; margin: 0.5rem 0; }
.legal .note {
  margin-top: 1.35rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(180, 120, 40, 0.25);
  background: #fff7ed; color: #9a3412; font-size: 0.9rem;
}

.foot {
  margin-top: 2.5rem; padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.9rem;
}
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  justify-content: space-between; align-items: flex-start;
}
.foot strong { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; }

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .shell { width: min(var(--max), calc(100% - 1.5rem)); }
  h1 { max-width: 12ch; }
}
