:root {
  color-scheme: light;
  --ink: #102c4c;
  --muted: #64748b;
  --green: #22c55e;
  --green-dark: #0b3d24;
  --green-soft: #effcf4;
  --mint: #a7f3c1;
  --forest: #0b3d24;
  --cream: #fff8f2;
  --paper: rgba(255, 255, 255, 0.92);
  --line: #e8ece9;
  --orange: #ffc83d;
  --coral: #ff6b6b;
  --violet: #795cf4;
  --warning: #f3a712;
  --danger: #e94b52;
  --shadow: 0 24px 70px rgba(23, 45, 35, 0.08), 0 3px 14px rgba(23, 45, 35, 0.04);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 200, 61, .14), transparent 25rem),
    radial-gradient(circle at 92% 2%, rgba(167, 243, 193, .3), transparent 23rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.page-shell {
  position: relative;
  width: min(100%, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 18px 52px;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(11, 61, 36, .16));
}

.admin-tag {
  margin-left: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255,255,255,.65);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  content: "";
}
.menu-button span { margin: 4px 0; }

.theme-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 76px;
  height: 42px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(12, 35, 64, .08);
  border-radius: 999px;
  color: #667587;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 8px 24px rgba(23, 45, 35, .06);
  cursor: pointer;
  isolation: isolate;
}

.theme-toggle::before {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: -1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(17, 35, 27, .12);
  content: "";
  transition: transform .22s ease, background .22s ease;
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .2s ease;
}

.theme-toggle .theme-sun { color: #d8790b; }
.theme-toggle:focus-visible { outline: 3px solid rgba(19, 184, 102, .24); outline-offset: 3px; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 40px 0 24px;
}

.hero-copy { position: relative; z-index: 2; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(19, 184, 102, 0.16);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(239, 251, 244, 0.85);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(19,184,102,.1);
  content: "";
}

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

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 8.5vw, 5.1rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.accent-text { color: var(--green); }

.hero-subtitle {
  max-width: 580px;
  margin: 22px auto 0;
  color: #3e5268;
  font-size: clamp(1rem, 3.7vw, 1.25rem);
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  width: min(92vw, 520px);
  margin: -2px auto 0;
  aspect-ratio: 1.25;
}

.hero-visual::before {
  position: absolute;
  inset: 12% 11% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 225, 143, 0.23), rgba(117, 225, 143, 0) 68%);
  filter: blur(1px);
  content: "";
}

.hero-mascot {
  position: absolute;
  inset: -20% -2%;
  width: 104%;
  height: 126%;
  object-fit: contain;
  filter: drop-shadow(0 26px 22px rgba(27, 95, 50, .14));
}

.fruit-corner {
  position: absolute;
  z-index: 0;
  opacity: .9;
  pointer-events: none;
}

.fruit-orange {
  top: 32%; right: -58px;
  width: 124px; height: 124px;
  border: 9px solid #ffc35b;
  border-radius: 50%;
  background: repeating-conic-gradient(#ffa528 0 27deg, #ffe2a0 27deg 30deg);
  box-shadow: inset 0 0 0 5px #fff4cf, 0 20px 34px rgba(255,159,47,.16);
  transform: rotate(14deg);
}

.fruit-watermelon {
  left: -72px; bottom: 8%;
  width: 138px; height: 76px;
  border: 9px solid #51bd65;
  border-radius: 0 0 90px 90px;
  background: radial-gradient(ellipse at 35% 35%, #1c2731 0 3px, transparent 4px), radial-gradient(ellipse at 65% 55%, #1c2731 0 3px, transparent 4px), #ff6d65;
  transform: rotate(35deg);
}

.benefits {
  display: grid;
  gap: 10px;
  max-width: 590px;
  margin: 4px auto 28px;
  scroll-margin-top: 28px;
  text-align: left;
}

.benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 15px;
}

.benefit-icon, .step-icon, .status-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
}

.benefit-icon { width: 44px; height: 44px; }
.tone-green { color: var(--green-dark); background: #eafaf1; }
.tone-violet { color: var(--violet); background: #f0edff; }
.tone-orange { color: #e67b00; background: #fff2df; }
.tone-coral { color: #df4b4b; background: #ffebea; }
.benefit strong { display: block; margin-bottom: 2px; font-size: .92rem; }
.benefit small { color: var(--muted); font-size: .78rem; line-height: 1.4; }

.signup-card {
  max-width: 590px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(19,184,102,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 45px rgba(30,54,42,.06);
  backdrop-filter: blur(12px);
}

.signup-card label {
  display: block;
  margin: 0 2px 8px;
  color: #40536a;
  font-size: .78rem;
  font-weight: 750;
}

.phone-row { display: grid; gap: 10px; }
.phone-fields { display: grid; grid-template-columns: minmax(132px, 145px) minmax(0, 1fr); gap: 8px; }

input[type="tel"],
select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #dce4df;
  border-radius: 15px;
  outline: none;
  color: var(--ink);
  background: white;
  transition: border .2s, box-shadow .2s;
}

select {
  padding-right: 34px;
  cursor: pointer;
}

input[type="tel"]:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(19,184,102,.11);
}

.field-hint {
  display: block;
  margin: 9px 3px 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
}

.primary-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--green), #0bc66a);
  box-shadow: 0 14px 30px rgba(19,184,102,.22);
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}

.primary-button:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(19,184,102,.28); }
.primary-button:active { transform: translateY(1px); }

.how-link {
  display: block;
  margin-top: 18px;
  color: var(--green-dark);
  font-size: .88rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.content-page { padding-top: 48px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 { margin-bottom: 8px; font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -0.05em; }
.page-heading p { color: var(--muted); line-height: 1.6; }

.status-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid;
  border-radius: var(--radius-xl);
}
.status-card.approved { border-color: #bce9cf; background: linear-gradient(145deg, #f1fcf5, #e9f8ef); }
.status-card.pending { border-color: #f3dfaa; background: linear-gradient(145deg, #fffaf0, #fff6dc); }
.status-card.revoked { border-color: #f5c8cb; background: linear-gradient(145deg, #fff8f7, #ffeded); }
.status-card.unknown { border-color: #dce3e8; background: linear-gradient(145deg, #f8fafb, #f1f4f6); }

.status-head { display: flex; align-items: flex-start; gap: 14px; padding-right: 74px; }
.status-icon { width: 48px; height: 48px; color: white; font-size: 1.4rem; font-weight: 900; }
.approved .status-icon { background: var(--green); }
.pending .status-icon { background: var(--warning); }
.revoked .status-icon { background: var(--danger); }
.unknown .status-icon { background: #8795a5; }
.status-head h2 { margin: 2px 0 6px; font-size: 1.22rem; letter-spacing: -0.025em; }
.status-head p { margin: 0; color: #4d6173; font-size: .9rem; line-height: 1.55; }
.status-mascot { position: absolute; top: 5px; right: -8px; width: 112px; height: 112px; object-fit: contain; }

.account-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 17px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 20px rgba(24,51,37,.05);
}
.account-card small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.account-card strong { font-size: 1.05rem; letter-spacing: .01em; }
.copy-button { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; border: 1px solid #dce6df; border-radius: 13px; color: var(--ink); background: white; cursor: pointer; }

.next-section { margin-top: 34px; }
.next-section h2 { margin-bottom: 20px; font-size: 1.22rem; letter-spacing: -.025em; }
.steps { display: grid; gap: 2px; }
.step { position: relative; display: grid; grid-template-columns: 36px 46px 1fr; gap: 10px; align-items: center; padding: 10px 0; }
.step:not(:last-child)::after { position: absolute; left: 17px; top: 47px; width: 2px; height: 24px; background: #e3e9e5; content: ""; }
.step-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: .82rem; font-weight: 900; }
.step:nth-child(2) .step-number { background: var(--violet); }
.step:nth-child(3) .step-number { color: #a85900; background: #ffd49b; }
.step-icon { width: 46px; height: 46px; color: var(--green-dark); background: white; border: 1px solid var(--line); }
.step strong { display: block; margin-bottom: 3px; font-size: .9rem; }
.step small { color: var(--muted); line-height: 1.4; }

.admin-page { width: min(100%, 920px); }
.admin-summary { display: flex; flex-wrap: wrap; gap: 10px; margin: -10px 0 30px; }
.summary-pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #526477; background: rgba(255,255,255,.75); font-size: .78rem; font-weight: 750; }
.summary-pill strong { color: var(--ink); }
.access-section { margin-top: 34px; }
.section-title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 1.05rem; letter-spacing: -.02em; }
.count-badge { display: inline-grid; min-width: 25px; height: 25px; place-items: center; padding: 0 7px; border-radius: 999px; color: var(--violet); background: #eeeaff; font-size: .76rem; font-weight: 900; }
.count-badge.green { color: var(--green-dark); background: #e2f8eb; }
.count-badge.red { color: var(--danger); background: #ffeded; }
.user-list { display: grid; gap: 10px; }
.user-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); box-shadow: 0 8px 28px rgba(25,48,37,.045); }
.avatar { display: grid; width: 44px; height: 44px; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--green-dark); background: linear-gradient(145deg, #dcf7e7, #bceecd); font-weight: 900; }
.user-info { min-width: 0; flex: 1; }
.user-info strong, .user-info span, .user-info small { display: block; }
.user-info strong { overflow: hidden; margin-bottom: 2px; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.user-info span { color: #40546b; font-size: .82rem; }
.user-info small { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.actions { display: flex; gap: 7px; }
.inline-form { margin: 0; }
.action-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid; border-radius: 12px; background: white; font-size: .78rem; font-weight: 850; cursor: pointer; }
.action-button.approve { border-color: #bde9cd; color: var(--green-dark); background: #f1fcf5; }
.action-button.reject, .action-button.revoke { border-color: #f5c8cb; color: var(--danger); background: #fff7f7; }
.action-button.delete { border-color: var(--danger); color: white; background: var(--danger); }
.action-button.icon-only { width: 40px; padding: 0; font-size: 1.2rem; }
.empty-state { padding: 22px; border: 1px dashed #dbe3de; border-radius: 18px; color: var(--muted); background: rgba(255,255,255,.55); font-size: .86rem; text-align: center; }

.decor-leaf { position: absolute; width: 38px; height: 20px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #a7df66, #36b866); opacity: .78; transform: rotate(28deg); }
.leaf-one { right: 5%; top: 15%; }
.leaf-two { left: 4%; top: 50%; transform: rotate(-25deg) scale(.7); }

.notice { margin-top: 18px; padding: 14px 16px; border-radius: 15px; color: #42586c; background: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.5; }
.notice a { color: var(--green-dark); font-weight: 800; }

@media (min-width: 720px) {
  .page-shell { padding: 28px 34px 72px; }
  .hero { display: block; min-height: calc(100vh - 112px); }
  .hero-main { display: grid; grid-template-columns: 1.03fr .97fr; gap: 16px 34px; align-items: center; padding-top: 64px; }
  .hero-copy { text-align: left; }
  .hero h1, .hero-subtitle, .benefits, .signup-card { margin-left: 0; }
  .hero h1 { font-size: clamp(3.5rem, 6vw, 5.2rem); }
  .hero-subtitle { margin-top: 24px; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-visual { grid-column: 2; grid-row: 1 / span 4; width: min(42vw, 540px); margin: 0 auto; }
  .hero-mascot { inset: -10% 4%; width: 92%; height: 112%; }
  .benefits { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
  .signup-card { grid-column: 1; grid-row: 3; margin-top: 0; }
  .how-link { grid-column: 1; grid-row: 4; }
  .phone-row { grid-template-columns: minmax(0, 1fr) 220px; }
  .content-page { max-width: 720px; margin: 0 auto; padding-top: 72px; }
  .admin-page { max-width: 920px; }
  .user-card { padding: 16px 18px; }
}

@media (min-width: 1100px) {
  .hero { padding-top: 0; }
  .hero-main {
    grid-template-columns: minmax(660px, 1.2fr) minmax(360px, .8fr);
    padding-top: 12px;
  }

  .hero h1 { font-size: 4.4rem; }
  .hero-visual { width: min(37vw, 500px); }
  .benefits { margin-top: 10px; }
  .signup-card { width: 100%; max-width: none; }
  .phone-row { grid-template-columns: minmax(0, 1fr) 230px; }
  .phone-fields { grid-template-columns: 160px minmax(190px, 1fr); }
  .how-link { margin-top: 8px; }
}

@media (max-width: 420px) {
  .page-shell { padding-inline: 14px; }
  .hero { padding-top: 30px; }
  .hero-visual { width: 100%; margin-top: -8px; }
  .benefits { margin-top: -8px; }
  .status-card { padding: 20px; }
  .status-head { padding-right: 50px; }
  .status-mascot { right: -22px; width: 100px; height: 100px; }
  .user-card { align-items: flex-start; }
  .actions { flex-direction: column; }
}

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

/* Landing v2 — product-led, with the assistant demonstrated in context. */
.landing-main {
  padding: 54px 0 80px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: 42px;
  align-items: center;
  min-height: 720px;
}

.product-copy {
  position: relative;
  z-index: 5;
}

.product-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3.5rem, 5.6vw, 5.15rem);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.068em;
}

.product-copy h1 span {
  color: var(--green);
}

.product-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #3f5368;
  font-size: 1.08rem;
  line-height: 1.7;
}

.product-lead strong {
  color: var(--ink);
  font-weight: 780;
}

.product-capabilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.product-capabilities i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.product-signup {
  max-width: 640px;
  margin-top: 32px;
  padding: 16px;
  border: 1px solid #dde5e0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 50px rgba(23, 41, 33, .08);
}

.product-signup > label {
  display: block;
  margin: 0 2px 10px;
  font-size: .78rem;
  font-weight: 850;
}

.product-phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 10px;
}

.product-signup .phone-fields {
  grid-template-columns: 142px minmax(170px, 1fr);
}

.product-signup .primary-button {
  min-height: 54px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 2px 0;
  color: #677789;
  font-size: .72rem;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(19, 184, 102, .1);
}

.phone-stage {
  position: relative;
  height: 690px;
  min-width: 0;
  isolation: isolate;
}

.phone-stage::before {
  position: absolute;
  inset: 12% -8% 0;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 38%, rgba(103, 95, 255, .15), transparent 32%),
    radial-gradient(circle at 70% 50%, rgba(19, 184, 102, .16), transparent 37%),
    radial-gradient(circle at 50% 78%, rgba(255, 159, 47, .14), transparent 40%);
  filter: blur(28px);
  content: "";
}

.device {
  position: absolute;
  overflow: hidden;
  padding: 7px;
  border: 2px solid #1b2025;
  border-radius: 47px;
  background: #080a0c;
  box-shadow: 0 34px 70px rgba(13, 22, 18, .2), inset 0 0 0 1px #596068;
  transform-origin: center bottom;
}

.device-center {
  z-index: 3;
  top: 4px;
  left: 50%;
  width: 300px;
  height: 638px;
  transform: translateX(-50%);
}

.device-left,
.device-right {
  z-index: 1;
  top: 96px;
  width: 238px;
  height: 526px;
  opacity: .98;
}

.device-left { left: -8px; transform: rotate(-8deg); }
.device-right { right: -8px; transform: rotate(8deg); }

.device-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 39px;
  color: #111820;
  background: #f7f7f4;
}

.device-island {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 5;
  width: 86px;
  height: 25px;
  border-radius: 999px;
  background: #050607;
  transform: translateX(-50%);
}

.device-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 13px 20px 0;
  font-size: .62rem;
}

.device-status span {
  font-size: .48rem;
  letter-spacing: 2px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e7e9e7;
  background: rgba(255, 255, 255, .78);
}

.chat-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: .66rem;
  font-weight: 900;
}

.chat-avatar img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.chat-head strong,
.chat-head small {
  display: block;
}

.chat-head strong { font-size: .78rem; }
.chat-head small { margin-top: 2px; color: #7b8791; font-size: .57rem; }
.chat-day { margin: 15px 0 11px; color: #929ba3; font-size: .51rem; font-weight: 800; letter-spacing: .08em; text-align: center; }

.chat-bubble {
  width: fit-content;
  max-width: 79%;
  margin: 7px 13px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: .67rem;
  line-height: 1.45;
}

.chat-bubble.incoming { border-bottom-left-radius: 4px; background: white; }
.chat-bubble.outgoing { margin-left: auto; border-bottom-right-radius: 4px; background: #dff7e8; }
.chat-bubble.outgoing b { color: var(--green-dark); }

.assistant-message {
  margin: 11px 12px;
  padding: 13px;
  border: 1px solid #dce8e0;
  border-radius: 17px;
  background: white;
  box-shadow: 0 10px 26px rgba(21, 38, 30, .07);
}

.assistant-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-size: .62rem;
  font-weight: 900;
}

.assistant-label span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: var(--green);
}

.assistant-label span img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.assistant-message p {
  margin: 9px 0;
  color: #344554;
  font-size: .65rem;
  line-height: 1.5;
}

.assistant-result {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 11px;
  background: #f1f6f3;
}

.assistant-result > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: #131b26;
  font-size: .72rem;
  font-weight: 900;
}

.assistant-result b,
.assistant-result small { display: block; }
.assistant-result b { font-size: .6rem; }
.assistant-result small { margin-top: 2px; color: #7b8791; font-size: .5rem; }
.assistant-message button { width: 100%; margin-top: 9px; padding: 9px; border: 0; border-radius: 10px; color: white; background: var(--green); font-size: .6rem; font-weight: 850; }

.composer {
  position: absolute;
  right: 12px;
  bottom: 16px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 7px 0 13px;
  border: 1px solid #e1e5e2;
  border-radius: 999px;
  color: #929ba3;
  background: white;
  font-size: .59rem;
}

.composer b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: .8rem;
}

.mini-app-head {
  padding: 26px 18px 18px;
}

.mini-app-head small,
.mini-app-head strong,
.mini-app-head span { display: block; }
.mini-app-head small { color: var(--green-dark); font-size: .5rem; font-weight: 900; letter-spacing: .1em; }
.mini-app-head strong { margin-top: 7px; font-size: 1.12rem; line-height: 1.08; letter-spacing: -.035em; }
.mini-app-head span { margin-top: 5px; color: #7b8791; font-size: .58rem; }

.search-orb {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 3px auto 19px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: radial-gradient(circle at 35% 30%, #78e8a5, var(--green-dark));
  box-shadow: 0 20px 34px rgba(19,184,102,.24);
  font-size: 2.1rem;
}

.result-card,
.poll-card {
  margin: 0 14px 12px;
  padding: 13px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 9px 26px rgba(20, 32, 27, .07);
}

.result-card b,
.result-card span { display: block; }
.result-card b { font-size: .68rem; }
.result-card span { margin-top: 4px; color: #7d8891; font-size: .52rem; }
.result-line { display: flex; align-items: center; gap: 9px; margin: 9px 16px; }
.result-line > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: var(--green-dark); background: #e6f8ed; font-size: .55rem; font-weight: 900; }
.result-line b, .result-line small { display: block; }
.result-line b { font-size: .62rem; }
.result-line small { color: #89939b; font-size: .5rem; }

.timeline { margin: 18px 14px 24px; }
.timeline > div { display: grid; grid-template-columns: 36px 12px 1fr; gap: 7px; min-height: 67px; }
.timeline time { padding-top: 2px; font-size: .53rem; font-weight: 800; }
.timeline > div > span { position: relative; width: 8px; height: 8px; margin-top: 2px; border: 2px solid white; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.timeline > div:not(:last-child) > span::after { position: absolute; top: 8px; left: 2px; width: 1px; height: 52px; background: #cad5ce; content: ""; }
.timeline p { margin: 0; }
.timeline b, .timeline small { display: block; }
.timeline b { font-size: .66rem; }
.timeline small { margin-top: 3px; color: #7d8992; font-size: .53rem; }
.poll-card > b { display: block; margin-bottom: 10px; font-size: .7rem; }
.poll-card > div { display: flex; justify-content: space-between; margin-top: 7px; padding: 8px 9px; border-radius: 9px; background: #f1f6f3; font-size: .53rem; }
.poll-card em { color: var(--green-dark); font-style: normal; font-weight: 900; }

.outcomes {
  margin-top: 76px;
  padding: 76px 0 20px;
  border-top: 1px solid #dde3df;
}

.outcomes-heading {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 30px;
  align-items: end;
}

.outcomes-heading > div > p {
  margin: 0 0 9px;
  color: var(--green-dark);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.outcomes-heading > div > span {
  display: block;
  max-width: 330px;
  color: #677789;
  font-size: .8rem;
  line-height: 1.55;
}

.outcomes-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 30px;
  border: 1px solid #e0e5e2;
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 55px rgba(21, 38, 30, .045);
}

.feature-kicker {
  display: block;
  color: var(--green-dark);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .105em;
}

.feature-card h3 {
  max-width: 520px;
  margin: 14px 0 12px;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.feature-card p {
  max-width: 560px;
  margin: 0;
  color: #617183;
  font-size: .82rem;
  line-height: 1.65;
}

.feature-card p strong {
  color: var(--ink);
  font-weight: 800;
}

.feature-conversation { grid-column: span 7; min-height: 390px; background: linear-gradient(145deg, #fff 0 48%, #f0fbf5 100%); }
.feature-live { grid-column: span 5; min-height: 390px; background: linear-gradient(150deg, #fff 20%, #effcf4 100%); }
.feature-vision { grid-column: span 4; min-height: 360px; background: linear-gradient(150deg, #fff 20%, #fff3ea 100%); }
.feature-automation { grid-column: span 8; min-height: 360px; background: linear-gradient(150deg, #f5fff8, #fff 72%); }
.feature-memory { grid-column: span 5; min-height: 390px; background: linear-gradient(155deg, #fff, #f1fcf5); }
.feature-group { grid-column: span 7; min-height: 390px; background: linear-gradient(145deg, #fff 0 48%, #edf9f3 100%); }

.conversation-demo {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 54%;
  padding: 14px;
  border: 1px solid #dce7e0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 15px 36px rgba(20, 43, 31, .08);
  transform: rotate(-1deg);
}

.conversation-demo > div {
  width: fit-content;
  max-width: 88%;
  margin: 7px 0;
  padding: 10px 12px;
  border-radius: 13px;
  color: #344554;
  background: #f1f3f2;
  font-size: .67rem;
  line-height: 1.45;
}

.conversation-demo > div:first-child,
.conversation-demo > div:last-child { margin-left: auto; background: #dff7e8; }
.conversation-demo span { color: var(--green-dark); font-weight: 850; }
.conversation-demo b { display: block; margin-bottom: 3px; color: var(--green-dark); font-size: .57rem; }
.conversation-demo small { display: block; margin-top: 5px; color: #728078; font-size: .51rem; }

.participant-pill {
  position: absolute;
  bottom: 28px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.participant-pill i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: .65rem;
  font-style: normal;
  font-weight: 900;
}

.participant-pill i img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.participant-pill b,
.participant-pill small { display: block; }
.participant-pill b { font-size: .65rem; }
.participant-pill small { margin-top: 2px; color: #7a8980; font-size: .52rem; }

.live-result {
  position: absolute;
  right: 28px;
  bottom: 30px;
  left: 28px;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e1e5ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 15px 38px rgba(32, 34, 65, .07);
}

.live-result > span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(19,184,102,.1); }
.live-result b, .live-result small { display: block; }
.live-result b { font-size: .72rem; }
.live-result small { margin-top: 4px; color: #7c8794; font-size: .57rem; }
.live-result em { padding: 6px 8px; border-radius: 999px; color: #4f5ed4; background: #edf0ff; font-size: .5rem; font-style: normal; font-weight: 900; letter-spacing: .06em; }

.photo-demo { position: absolute; right: 25px; bottom: 24px; left: 25px; height: 150px; }
.photo-sheet { position: absolute; top: 0; left: 5px; width: 112px; height: 135px; padding: 20px 16px; border: 1px solid #eadccf; border-radius: 14px; background: #fffaf4; box-shadow: 0 15px 30px rgba(81, 49, 22, .09); transform: rotate(-7deg); }
.photo-sheet span { color: #b65d21; font-family: Georgia, serif; font-size: .7rem; letter-spacing: .14em; }
.photo-sheet i { display: block; width: 72px; height: 4px; margin-top: 14px; border-radius: 4px; background: #e8d9cc; }
.photo-sheet i:nth-child(3) { width: 57px; }
.photo-sheet i:nth-child(4) { width: 66px; }
.photo-answer { position: absolute; right: 0; bottom: 7px; width: 68%; padding: 13px; border-radius: 15px 15px 4px 15px; color: #254335; background: #dff7e8; box-shadow: 0 12px 26px rgba(28, 77, 52, .08); font-size: .67rem; font-weight: 750; line-height: 1.4; }

.feature-automation { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.automation-stack { display: grid; gap: 12px; }
.mini-poll, .mini-reminder { padding: 18px; border: 1px solid #deebe3; border-radius: 19px; background: rgba(255,255,255,.92); box-shadow: 0 13px 32px rgba(24, 55, 38, .06); }
.mini-poll span { display: block; color: var(--green-dark); font-size: .5rem; font-weight: 900; letter-spacing: .08em; }
.mini-poll b, .mini-poll small { display: block; }
.mini-poll b { margin-top: 8px; font-size: .75rem; }
.mini-poll small { margin-top: 5px; color: #7a8981; font-size: .55rem; }
.mini-reminder { display: flex; align-items: center; gap: 13px; }
.mini-reminder i { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #a85d10; background: #fff0dd; font-size: .64rem; font-style: normal; font-weight: 900; }
.mini-reminder b, .mini-reminder small { display: block; }
.mini-reminder b { font-size: .7rem; }
.mini-reminder small { margin-top: 4px; color: #7a8981; font-size: .55rem; }

.memory-demo { position: absolute; right: 28px; bottom: 28px; left: 28px; padding: 17px; border: 1px solid #e5e0f1; border-radius: 19px; background: rgba(255,255,255,.88); box-shadow: 0 15px 38px rgba(57, 43, 80, .06); }
.memory-demo > span { display: block; margin-bottom: 9px; color: var(--green-dark); font-size: .5rem; font-weight: 900; letter-spacing: .09em; }
.memory-demo > div { display: flex; align-items: baseline; gap: 7px; padding: 7px 0; border-top: 1px solid #eeeaf5; color: #647181; font-size: .6rem; }
.memory-demo b { min-width: 29px; color: var(--ink); font-size: .8rem; }

.expense-demo { position: absolute; right: 27px; bottom: 78px; width: 53%; padding: 8px; border: 1px solid #dde8e1; border-radius: 19px; background: rgba(255,255,255,.9); box-shadow: 0 15px 38px rgba(24, 55, 38, .07); }
.expense-demo > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 9px; }
.expense-demo > div + div { border-top: 1px solid #e8eeea; }
.expense-demo i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--green-dark); background: #e5f8ed; font-size: .62rem; font-style: normal; font-weight: 900; }
.expense-demo b, .expense-demo small { display: block; }
.expense-demo b { font-size: .61rem; }
.expense-demo small { margin-top: 3px; color: #7d8a82; font-size: .51rem; }
.expense-demo strong { font-size: .74rem; }
.group-commands { position: absolute; right: 27px; bottom: 28px; display: flex; gap: 6px; }
.group-commands span { padding: 7px 9px; border: 1px solid #dce8e0; border-radius: 999px; color: #4e6257; background: #fff; font-size: .5rem; font-weight: 750; }
}

@media (max-width: 1060px) {
  .product-hero { grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: 20px; }
  .device-left, .device-right { width: 210px; height: 480px; }
  .device-center { width: 278px; height: 610px; }
  .product-phone-row { grid-template-columns: 1fr; }
  .product-signup .phone-fields { grid-template-columns: 142px minmax(170px, 1fr); }
}

@media (max-width: 820px) {
  .landing-main { padding-top: 38px; }
  .product-hero { display: block; min-height: 0; }
  .product-copy { text-align: left; }
  .product-copy h1 { font-size: clamp(2.75rem, 12vw, 4.3rem); }
  .product-lead { font-size: 1rem; }
  .product-signup { max-width: none; }
  .product-phone-row { grid-template-columns: 1fr; }
  .phone-stage { height: 610px; margin-top: 48px; }
  .device-left, .device-right { display: none; }
  .device-center { top: 0; width: min(300px, 86vw); height: 600px; }
  .outcomes { margin-top: 36px; padding-top: 48px; }
  .outcomes-heading { display: block; }
  .outcomes-heading h2 { margin-top: 12px; }
  .feature-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { grid-column: span 1; min-height: 390px; }
  .feature-conversation, .feature-automation, .feature-group { grid-column: span 2; }
}

@media (max-width: 520px) {
  .landing-main { padding-top: 26px; }
  .product-copy h1 { font-size: 2.85rem; }
  .product-lead { margin-top: 20px; line-height: 1.58; }
  .product-capabilities { gap: 7px; font-size: .68rem; }
  .product-signup { margin-top: 24px; padding: 13px; }
  .product-signup .phone-fields { grid-template-columns: 128px minmax(0, 1fr); }
  .product-signup select { padding-right: 25px; padding-left: 10px; font-size: .78rem; }
  .product-signup input[type="tel"] { padding: 0 11px; font-size: .86rem; }
  .availability { align-items: flex-start; line-height: 1.45; }
  .phone-stage { height: 570px; margin-top: 38px; }
  .device-center { width: 278px; height: 560px; }
  .outcomes-heading h2 { font-size: 2.55rem; }
  .feature-bento { grid-template-columns: 1fr; margin-top: 34px; }
  .feature-card,
  .feature-conversation,
  .feature-automation,
  .feature-group { grid-column: span 1; min-height: 390px; padding: 23px; border-radius: 23px; }
  .feature-card h3 { font-size: 1.75rem; }
  .conversation-demo { right: 19px; bottom: 20px; width: 64%; }
  .participant-pill { bottom: 24px; left: 23px; }
  .feature-conversation { min-height: 480px; }
  .feature-automation { display: block; min-height: 480px; }
  .automation-stack { position: absolute; right: 21px; bottom: 22px; left: 21px; }
  .feature-vision { min-height: 390px; }
  .feature-live { min-height: 370px; }
  .feature-memory { min-height: 410px; }
  .feature-group { min-height: 530px; }
  .expense-demo { right: 21px; bottom: 108px; left: 21px; width: auto; }
  .group-commands { right: 21px; bottom: 27px; left: 21px; flex-wrap: wrap; }
}

/* Dark theme */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f7f4;
  --muted: #9caaa3;
  --green: #35d979;
  --green-dark: #79eca6;
  --green-soft: #143326;
  --mint: #315e43;
  --forest: #0b3d24;
  --cream: #090e0c;
  --paper: rgba(18, 27, 22, .92);
  --line: #28362f;
  --violet: #a596ff;
  --warning: #f5b940;
  --danger: #ff7379;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28), 0 3px 14px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 107, 107, .08), transparent 27rem),
    radial-gradient(circle at 92% 2%, rgba(34, 197, 94, .13), transparent 25rem),
    var(--cream);
}

html[data-theme="dark"] .theme-toggle {
  border-color: #2a3931;
  color: #91a199;
  background: rgba(17, 25, 21, .82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .theme-toggle::before {
  background: #28362f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  transform: translateX(34px);
}

html[data-theme="dark"] .theme-toggle .theme-sun { color: #718078; }
html[data-theme="dark"] .theme-toggle .theme-moon { color: #c9beff; }

html[data-theme="dark"] .product-lead,
html[data-theme="dark"] .outcomes-heading > div > span,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .page-heading p,
html[data-theme="dark"] .status-head p,
html[data-theme="dark"] .user-info span,
html[data-theme="dark"] .notice { color: #a9b7b0; }

html[data-theme="dark"] .product-signup,
html[data-theme="dark"] .signup-card,
html[data-theme="dark"] .account-card,
html[data-theme="dark"] .summary-pill,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .notice {
  border-color: #293830;
  background: rgba(16, 24, 20, .86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] input[type="tel"],
html[data-theme="dark"] select,
html[data-theme="dark"] .copy-button,
html[data-theme="dark"] .step-icon {
  border-color: #314139;
  color: var(--ink);
  background: #111a16;
}

html[data-theme="dark"] input[type="tel"]::placeholder { color: #75837c; }
html[data-theme="dark"] .availability { color: #8e9d95; }
html[data-theme="dark"] .outcomes { border-color: #27342e; }

html[data-theme="dark"] .feature-card {
  border-color: #27372f;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] .feature-conversation { background: linear-gradient(145deg, #111916 0 48%, #10271c 100%); }
html[data-theme="dark"] .feature-live { background: linear-gradient(150deg, #111916 20%, #17182a 100%); }
html[data-theme="dark"] .feature-vision { background: linear-gradient(150deg, #111916 20%, #2b1d14 100%); }
html[data-theme="dark"] .feature-automation { background: linear-gradient(150deg, #10251a, #111916 72%); }
html[data-theme="dark"] .feature-memory { background: linear-gradient(155deg, #111916, #211b32); }
html[data-theme="dark"] .feature-group { background: linear-gradient(145deg, #111916 0 48%, #10271c 100%); }

html[data-theme="dark"] .conversation-demo,
html[data-theme="dark"] .live-result,
html[data-theme="dark"] .mini-poll,
html[data-theme="dark"] .mini-reminder,
html[data-theme="dark"] .memory-demo,
html[data-theme="dark"] .expense-demo {
  border-color: #304038;
  background: rgba(19, 29, 24, .94);
  box-shadow: 0 15px 38px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .conversation-demo > div { color: #c3cfc9; background: #26312c; }
html[data-theme="dark"] .conversation-demo > div:first-child,
html[data-theme="dark"] .conversation-demo > div:last-child { color: #d8efe2; background: #16432d; }
html[data-theme="dark"] .conversation-demo small,
html[data-theme="dark"] .participant-pill small,
html[data-theme="dark"] .live-result small,
html[data-theme="dark"] .mini-poll small,
html[data-theme="dark"] .mini-reminder small,
html[data-theme="dark"] .expense-demo small { color: #91a098; }

html[data-theme="dark"] .live-result em { color: #c9c2ff; background: #292844; }
html[data-theme="dark"] .photo-answer { color: #d8efe2; background: #17432e; }
html[data-theme="dark"] .photo-sheet { border-color: #564234; background: #2b211a; }
html[data-theme="dark"] .photo-sheet i { background: #5a473a; }
html[data-theme="dark"] .memory-demo > div { border-color: #332e42; color: #a9b6af; }
html[data-theme="dark"] .memory-demo b { color: var(--ink); }
html[data-theme="dark"] .expense-demo > div + div { border-color: #2c3a33; }
html[data-theme="dark"] .group-commands span { border-color: #304038; color: #c1cec7; background: #131e18; }

html[data-theme="dark"] .status-card.approved { border-color: #285b3e; background: linear-gradient(145deg, #10271b, #143323); }
html[data-theme="dark"] .status-card.pending { border-color: #665329; background: linear-gradient(145deg, #282113, #332814); }
html[data-theme="dark"] .status-card.revoked { border-color: #643337; background: linear-gradient(145deg, #2b1819, #381d20); }
html[data-theme="dark"] .status-card.unknown { border-color: #35423c; background: linear-gradient(145deg, #151d19, #1b2520); }
html[data-theme="dark"] .account-card { border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .step:not(:last-child)::after { background: #2c3932; }

html[data-theme="dark"] .count-badge { color: #c5bbff; background: #28243f; }
html[data-theme="dark"] .count-badge.green { color: #79eeaa; background: #173a27; }
html[data-theme="dark"] .count-badge.red { color: #ff9b9f; background: #3b2022; }
html[data-theme="dark"] .avatar { color: #b7f6d1; background: linear-gradient(145deg, #19422b, #205c39); }
html[data-theme="dark"] .action-button { border-color: #35433c; color: var(--ink); background: #17211c; }
html[data-theme="dark"] .action-button.approve { border-color: #285b3e; color: #79eeaa; background: #143323; }
html[data-theme="dark"] .action-button.reject,
html[data-theme="dark"] .action-button.revoke { border-color: #643337; color: #ff9297; background: #321b1e; }
html[data-theme="dark"] .action-button.delete { border-color: #ff666d; color: white; background: #c83f47; }

@media (prefers-reduced-motion: no-preference) {
  body,
  .theme-toggle,
  .product-signup,
  .feature-card,
  .status-card,
  .user-card,
  input[type="tel"],
  select { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
}
