:root {
  --canvas: #fbfafc;
  --paper: #ffffff;
  --ink: #26233a;
  --muted: #706b82;
  --lavender: #8b6ad8;
  --lavender-dark: #5f47a7;
  --lavender-soft: #f1ecfb;
  --line: #e8e2f2;
  --peach: #ffd8c8;
  --honey: #f8c767;
  --mint: #bfe8d7;
  --rose: #f4a6bb;
  --shadow: 0 18px 46px rgba(70, 53, 116, 0.13);
  --font-main: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(241, 236, 251, 0.92), rgba(251, 250, 252, 0) 34rem),
    linear-gradient(90deg, rgba(255, 216, 200, 0.28), rgba(191, 232, 215, 0.22));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  color: var(--ink);
  background: rgba(251, 250, 252, 0.82);
  border-bottom: 1px solid rgba(232, 226, 242, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--lavender-dark);
  font-family: var(--font-ui);
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--lavender);
  border-radius: 8px;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #514c64;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--lavender-dark);
  outline: 2px solid rgba(139, 106, 216, 0.22);
  outline-offset: 5px;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 0.78rem 1.2rem;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-cta,
.button-primary {
  color: #fff;
  background: var(--lavender);
  box-shadow: 0 12px 26px rgba(95, 71, 167, 0.22);
}

.header-cta {
  white-space: nowrap;
}

.button-secondary {
  color: var(--lavender-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.button-light {
  color: var(--lavender-dark);
  background: #fff;
  box-shadow: 0 12px 24px rgba(50, 35, 92, 0.14);
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 0;
}

.button-primary:hover,
.button-primary:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  background: var(--lavender-dark);
  box-shadow: 0 16px 34px rgba(95, 71, 167, 0.28);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-light:hover,
.button-light:focus-visible {
  border-color: rgba(139, 106, 216, 0.45);
  box-shadow: 0 14px 28px rgba(95, 71, 167, 0.12);
}

.hero {
  padding: 34px 24px 20px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.95fr);
  gap: 34px;
  align-items: center;
  width: min(1120px, 100%);
  min-height: calc(82svh - 68px);
  margin: 0 auto;
}

.hero-copy {
  width: 100%;
  max-width: 610px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 18px;
  padding: 0.36rem 0.72rem;
  color: var(--lavender-dark);
  background: rgba(241, 236, 251, 0.9);
  border: 1px solid rgba(139, 106, 216, 0.17);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

h1 .headline-line {
  display: block;
}

h1 .headline-accent {
  color: var(--lavender-dark);
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.small-note,
.prototype-note,
.plan-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(250px, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mascot-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-self: end;
  transform: translateX(12px);
}

.speech {
  width: min(150px, 100%);
  margin-bottom: 8px;
  padding: 0.72rem 0.86rem;
  color: #4b425d;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.mascot-illustration {
  width: 214px;
  max-width: 100%;
}

.mascot-illustration img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(114, 80, 48, 0.16));
}

.phone-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  width: min(316px, 100%);
  height: 598px;
  margin-left: auto;
  overflow: hidden;
  color: #2c293d;
  background: #fff;
  border: 9px solid #2e2c34;
  border-radius: 34px;
  box-shadow:
    0 24px 54px rgba(34, 27, 55, 0.23),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.phone-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  color: #3a3548;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
}

.phone-time {
  justify-self: start;
}

.phone-status {
  justify-self: end;
}

.phone-camera {
  width: 74px;
  height: 22px;
  background: #18171d;
  border-radius: 0 0 14px 14px;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid #f0edf7;
  font-family: var(--font-ui);
}

.mini-brand {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--lavender);
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.mini-brand::before {
  content: "m";
  transform: translateY(-1px);
}

.app-bar strong {
  font-size: 0.86rem;
}

.app-state {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 18px 14px 14px;
  overflow: auto;
  background: linear-gradient(180deg, #f8f6fd, #fff);
}

.message {
  max-width: 88%;
  padding: 0.76rem 0.86rem;
  border: 1px solid #ede8f6;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.58;
}

.message p {
  margin: 0;
}

.message.assistant {
  justify-self: start;
  background: #fff;
}

.message.user {
  justify-self: end;
  color: #fff;
  background: var(--lavender);
  border-color: var(--lavender);
}

.message.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  width: 66px;
}

.message.typing i {
  width: 6px;
  height: 6px;
  background: var(--lavender);
  border-radius: 999px;
  animation: dotPulse 900ms infinite ease-in-out;
}

.message.typing i:nth-child(2) {
  animation-delay: 120ms;
}

.message.typing i:nth-child(3) {
  animation-delay: 240ms;
}

.response-card {
  display: grid;
  gap: 3px;
  margin-top: 9px;
  padding: 0.62rem;
  color: #3d374e;
  background: var(--lavender-soft);
  border: 1px solid rgba(139, 106, 216, 0.18);
  border-radius: 8px;
}

.response-card strong {
  color: var(--lavender-dark);
  font-size: 0.72rem;
}

.response-card span {
  font-size: 0.72rem;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #f0edf7;
}

.chat-form input {
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8f6fc;
  border: 1px solid #ede8f6;
  border-radius: 8px;
  outline: 0;
}

.chat-form input:focus {
  border-color: rgba(139, 106, 216, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 106, 216, 0.14);
}

.chat-form button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--lavender);
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.chat-form button:hover,
.chat-form button:focus-visible {
  background: var(--lavender-dark);
  outline: 0;
  transform: translateY(-1px);
}

.chat-form button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.prototype-note {
  margin: 0;
  padding: 0 14px 12px;
  background: #fff;
  text-align: center;
}

.trust-strip {
  padding: 0 24px 28px;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 14px 18px;
  color: #4d465f;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(70, 53, 116, 0.08);
  text-align: center;
}

.trust-inner span {
  font-weight: 700;
}

.trust-inner a {
  color: var(--lavender-dark);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
}

.section {
  padding: 72px 24px;
}

.section-compact {
  padding-top: 58px;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.free-copy h2,
.final-cta h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
}

.section-heading p:not(.eyebrow),
.free-copy p {
  color: var(--muted);
}

.generated-visual {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(70, 53, 116, 0.12);
}

.generated-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-showcase,
.flow-showcase,
.recommend-showcase,
.safety-showcase {
  max-width: 980px;
}

.free-showcase {
  width: 100%;
  margin: 0;
}

.feature-grid,
.recommend-grid,
.steps-grid,
.safety-grid {
  display: grid;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.person-card,
.step-card,
.safety-card,
.plan-card,
.screen-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(70, 53, 116, 0.08);
}

.feature-card,
.step-card,
.safety-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
}

.feature-card .mini-phone,
.feature-card .radar-visual,
.feature-card .care-list,
.feature-card .line-chart {
  display: none;
}

.feature-card h3,
.person-card h3,
.step-card h3,
.safety-card h3,
.plan-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.feature-card p,
.person-card p,
.step-card p,
.safety-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--lavender);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 800;
}

.mini-phone {
  display: grid;
  gap: 8px;
  height: 156px;
  margin-top: 8px;
  padding: 16px 14px;
  background: #f9f7fe;
  border: 1px solid #ede8f6;
  border-radius: 8px;
}

.chat-preview span {
  display: block;
  height: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ede8f6;
}

.chat-preview span:nth-child(2) {
  width: 74%;
  margin-left: auto;
  background: rgba(139, 106, 216, 0.2);
}

.chat-preview span:nth-child(3) {
  width: 88%;
}

.radar-visual,
.line-chart {
  display: grid;
  place-items: center;
  height: 156px;
  margin-top: 8px;
  background: #f9f7fe;
  border: 1px solid #ede8f6;
  border-radius: 8px;
}

.radar-visual svg,
.line-chart svg {
  width: 86%;
  max-height: 130px;
}

.radar-visual polygon:first-child,
.radar-visual line {
  fill: none;
  stroke: #ddd5ee;
  stroke-width: 1.5;
}

.radar-visual polygon:nth-child(2) {
  fill: rgba(139, 106, 216, 0.2);
  stroke: var(--lavender);
  stroke-width: 2;
}

.line-chart path:first-child {
  fill: none;
  stroke: #ddd5ee;
  stroke-width: 2;
}

.line-chart path:nth-child(2) {
  fill: none;
  stroke: var(--lavender);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.line-chart circle {
  fill: var(--honey);
  stroke: #fff;
  stroke-width: 3;
}

.care-list {
  display: grid;
  gap: 9px;
  margin-top: 8px;
  padding: 14px;
  background: #f9f7fe;
  border: 1px solid #ede8f6;
  border-radius: 8px;
}

.care-list span {
  display: block;
  padding: 0.6rem 0.7rem;
  color: #4b425d;
  background: #fff;
  border-left: 4px solid var(--mint);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.visual-flow {
  background: #fff;
  border-block: 1px solid var(--line);
}

.flow-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.screen-card {
  min-height: 176px;
  padding: 20px;
}

.screen-card span {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 0.3rem 0.58rem;
  color: var(--lavender-dark);
  background: var(--lavender-soft);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
}

.screen-card p {
  margin: 0;
  font-weight: 750;
  line-height: 1.75;
}

.screen-card.accent-mint span {
  color: #27634a;
  background: rgba(191, 232, 215, 0.68);
}

.screen-card.accent-honey span {
  color: #77521a;
  background: rgba(248, 199, 103, 0.42);
}

.screen-card.accent-rose span {
  color: #814358;
  background: rgba(244, 166, 187, 0.34);
}

.recommend {
  background: #f7f4fc;
}

.recommend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.avatar {
  position: relative;
  width: 64px;
  height: 64px;
  background: var(--peach);
  border: 1px solid rgba(87, 74, 59, 0.22);
  border-radius: 8px;
}

.avatar::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 28px;
  height: 28px;
  background: #fff3e4;
  border: 2px solid rgba(87, 74, 59, 0.52);
  border-radius: 50%;
}

.avatar::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 8px;
  width: 34px;
  height: 20px;
  background: #fff;
  border: 2px solid rgba(87, 74, 59, 0.32);
  border-radius: 8px 8px 6px 6px;
}

.avatar-mint {
  background: var(--mint);
}

.avatar-honey {
  background: var(--honey);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  position: relative;
}

.free-offer {
  background: #fff;
}

.free-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: start;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.free-copy {
  grid-row: 1 / span 2;
  max-width: 570px;
}

.free-layout .plan-card {
  grid-column: 2;
}

.plan-card {
  padding: 22px;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-head span {
  padding: 0.32rem 0.56rem;
  color: var(--lavender-dark);
  background: var(--lavender-soft);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 800;
}

.price {
  display: block;
  margin-bottom: 18px;
  color: var(--lavender-dark);
  font-family: var(--font-ui);
  font-size: 3rem;
  line-height: 1;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 24px;
  color: #4b425d;
  font-weight: 700;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--mint);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(73, 135, 105, 0.25);
}

.safety-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq {
  background: #fff;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(820px, 100%);
  margin: 0 auto;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(70, 53, 116, 0.06);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
}

summary::after {
  content: "+";
  color: var(--lavender-dark);
  font-family: var(--font-ui);
  font-size: 1.3rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.final-cta {
  padding: 48px 24px;
  color: #fff;
  background: var(--lavender);
}

.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.final-cta .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

.final-cta h2 {
  max-width: 660px;
}

.final-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.86rem;
}

.brand-small {
  font-size: 0.92rem;
}

.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-shell.reveal-pending.is-visible {
  transition-duration: 720ms;
}

.mascot-illustration.is-reacting {
  animation: mascotReact 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes dotPulse {
  0%,
  70%,
  100% {
    opacity: 0.32;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes mascotReact {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  44% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

@media (max-width: 1000px) {
  .site-header {
    gap: 14px;
    padding-inline: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-visual {
    grid-template-columns: minmax(150px, 0.55fr) minmax(260px, 0.9fr);
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
  }

  .phone-shell {
    margin-left: 0;
  }

  .feature-grid,
  .flow-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0.62rem 0.8rem;
    font-size: 0.82rem;
  }

  .hero {
    padding: 18px 16px 12px;
  }

  .hero-inner {
    gap: 18px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: 1.92rem;
    line-height: 1.28;
    word-break: break-all;
  }

  .hero-lede {
    margin-bottom: 18px;
    font-size: 0.96rem;
    line-height: 1.82;
  }

  .eyebrow {
    min-height: 30px;
    margin-bottom: 12px;
    font-size: 0.76rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .button {
    width: auto;
    min-height: 42px;
    padding-inline: 0.68rem;
  }

  .small-note {
    display: none;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: center;
    gap: 12px;
    margin-top: 4px;
  }

  .mascot-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    order: 2;
    justify-self: end;
    width: 112px;
    margin: -4px 10px 0 0;
    transform: none;
  }

  .speech {
    width: 104px;
    margin-bottom: 5px;
    padding: 0.46rem 0.5rem;
    font-size: 0.68rem;
  }

  .mascot-illustration {
    width: 108px;
  }

  .phone-shell {
    order: 1;
    width: min(326px, 100%);
    height: auto;
    min-height: 560px;
    aspect-ratio: 316 / 598;
    border-width: 8px;
    border-radius: 28px;
  }

  .phone-top {
    min-height: 30px;
  }

  .phone-camera {
    width: 62px;
    height: 18px;
  }

  .app-bar {
    min-height: 38px;
  }

  .messages {
    gap: 8px;
    padding: 12px 10px 10px;
  }

  .message {
    font-size: 0.72rem;
    line-height: 1.55;
  }

  .prototype-note {
    display: none;
  }

  .trust-strip {
    padding: 0 16px 18px;
  }

  .trust-inner {
    padding: 12px 14px;
    font-size: 0.86rem;
  }

  .section {
    padding: 50px 16px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .free-copy h2,
  .final-cta h2 {
    font-size: 1.62rem;
  }

  .feature-grid,
  .flow-board,
  .recommend-grid,
  .steps-grid,
  .safety-grid,
  .free-layout {
    grid-template-columns: 1fr;
  }

  .generated-visual {
    margin-bottom: 18px;
  }

  .mini-phone,
  .radar-visual,
  .line-chart {
    height: 130px;
  }

  .person-card {
    grid-template-columns: 56px 1fr;
  }

  .avatar {
    width: 54px;
    height: 54px;
  }

  .avatar::before {
    left: 14px;
    width: 25px;
    height: 25px;
  }

  .avatar::after {
    left: 12px;
    width: 30px;
  }

  .free-layout {
    gap: 20px;
  }

  .free-copy {
    grid-row: auto;
  }

  .free-layout .plan-card {
    grid-column: auto;
  }

  .price {
    font-size: 2.6rem;
  }

  .final-inner {
    display: grid;
  }

  .site-footer {
    width: min(1120px, calc(100% - 32px));
    padding: 18px 0;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.78rem;
  }

  .phone-shell {
    width: min(318px, 100%);
    min-height: 540px;
  }

  .mascot-wrap {
    width: 104px;
    margin-right: 6px;
  }

  .mascot-illustration {
    width: 100px;
  }
}

@media (max-height: 740px) and (max-width: 760px) {
  .phone-shell {
    min-height: 530px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
