:root {
  --brand-cyan: #1fc7f3;
  --brand-blue: #1577f4;
  --brand-mint: #16d9b0;
  --brand-navy: #06365f;
  --brand-deep: #031f3a;
  --foreground-primary: #1fb7d8;
  --foreground-secondary: #2563eb;
  --foreground-mint: #16a085;
  --foreground-violet: #7c3aed;
  --foreground-rose: #db2777;
  --foreground-amber: #b7791f;
  --background-primary: #f5f7fb;
  --background-secondary: #ffffff;
  --background-tertiary: #eef3f8;
  --background-deep: #092237;
  --background-border: #dbe5ef;
  --text-title: #101828;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-button: #ffffff;
  --palette-success: #238447;
  --palette-error: #c62828;
  --palette-link: #075985;
  --radius-card: 8px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 18px 46px rgba(15, 23, 42, 0.14);
  --shadow-button: 0 10px 20px rgba(37, 99, 235, 0.22);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-body);
  background: var(--background-primary);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(245, 247, 251, 0.9);
  border-bottom: 1px solid rgba(219, 229, 239, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--brand-cyan);
  box-shadow: 0 10px 20px rgba(21, 119, 244, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: #475569;
}

.site-nav a:hover {
  color: var(--palette-link);
}

.legal-header .legal-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--text-button) !important;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--foreground-primary), var(--foreground-secondary));
  box-shadow: var(--shadow-button);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--background-secondary);
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text-title);
  border-radius: var(--radius-pill);
}

.section-band {
  --star-cluster-left: 88%;
  --star-cluster-top: 16%;
  --star-cluster-width: 92px;
  --star-cluster-height: 70px;
  position: relative;
  padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 56px);
  overflow: hidden;
}

.section-band > *:not(.star-cluster) {
  position: relative;
  z-index: 1;
}

.star-cluster {
  position: absolute;
  top: var(--star-cluster-top);
  left: var(--star-cluster-left);
  z-index: 0;
  width: var(--star-cluster-width);
  height: var(--star-cluster-height);
  filter: drop-shadow(0 0 10px rgba(31, 199, 243, 0.18));
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.star {
  position: absolute;
  display: block;
  clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 39% 63%, 0 50%, 39% 37%);
  transform-origin: center;
}

.star-large {
  top: 4px;
  left: 58px;
  width: 22px;
  height: 22px;
  background: rgba(31, 199, 243, 0.62);
  animation: star-twinkle-large 3.7s ease-in-out infinite;
}

.star-medium {
  top: 36px;
  left: 24px;
  width: 15px;
  height: 15px;
  background: rgba(124, 58, 237, 0.34);
  animation: star-twinkle-medium 4.3s ease-in-out 0.72s infinite;
}

.star-small {
  top: 16px;
  left: 4px;
  width: 10px;
  height: 10px;
  background: rgba(22, 217, 176, 0.42);
  animation: star-twinkle-small 3.1s ease-in-out 1.18s infinite;
}

@keyframes star-twinkle-large {
  0%,
  100% {
    opacity: 0.46;
    transform: scale(0.82) rotate(0deg);
  }

  50% {
    opacity: 0.98;
    transform: scale(1.22) rotate(18deg);
  }
}

@keyframes star-twinkle-medium {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.78) rotate(10deg);
  }

  45% {
    opacity: 0.86;
    transform: scale(1.18) rotate(-14deg);
  }
}

@keyframes star-twinkle-small {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.72) rotate(-8deg);
  }

  55% {
    opacity: 0.88;
    transform: scale(1.28) rotate(22deg);
  }
}

.section-light {
  background: var(--background-secondary);
}

#features {
  --star-cluster-left: 92%;
  --star-cluster-top: 8%;
}

#surfaces {
  --star-cluster-left: 86%;
  --star-cluster-top: 24%;
}

#mission {
  --star-cluster-left: 10%;
  --star-cluster-top: 82%;
}

#alarm {
  --star-cluster-left: 10%;
  --star-cluster-top: 82%;
}

#pricing {
  --star-cluster-left: 90%;
  --star-cluster-top: 9%;
}

#faq {
  --star-cluster-left: 12%;
  --star-cluster-top: 6%;
}

#contact {
  --star-cluster-left: 10%;
  --star-cluster-top: 82%;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(86svh - 76px);
  padding: clamp(72px, 9vw, 116px) clamp(18px, 5vw, 56px) clamp(64px, 7vw, 88px);
  overflow: hidden;
  background: linear-gradient(135deg, #f7fdff 0%, #dff7ff 34%, #86e4f8 66%, var(--brand-blue) 100%);
}

.hero-background {
  position: absolute;
  inset: auto -7% -7% auto;
  width: min(980px, 68vw);
  max-width: none;
  opacity: 1;
  filter: saturate(1.06) drop-shadow(0 22px 34px rgba(6, 54, 95, 0.16));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 253, 255, 0.97) 0%, rgba(247, 253, 255, 0.9) 38%, rgba(247, 253, 255, 0.34) 64%, rgba(247, 253, 255, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin-inline: auto;
  color: var(--brand-navy);
}

.hero-content h1 {
  color: var(--brand-navy);
  font-size: 86px;
  line-height: 0.95;
}

.hero-content .eyebrow {
  color: var(--brand-blue);
}

.hero-text {
  max-width: 710px;
  color: #174560;
  font-size: 20px;
  line-height: 1.65;
}

.store-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 15px;
  margin-top: 30px;
}

.store-option {
  display: grid;
  gap: 8px;
}

.store-status {
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 800;
}

.store-status-live {
  color: #0f766e;
}

.store-badge {
  display: grid;
  width: 162px;
  height: 54px;
  overflow: hidden;
  place-items: center;
  border-radius: 7px;
}

a.store-badge {
  transition: transform 180ms ease;
}

a.store-badge:hover {
  transform: translateY(-2px);
}

a.store-badge:focus-visible {
  outline: 3px solid rgba(21, 119, 244, 0.42);
  outline-offset: 4px;
}

.store-badge-apple img {
  width: 182px;
  height: 54px;
}

.store-badge-google {
  overflow: visible;
  cursor: not-allowed;
}

.store-badge-google img {
  width: 208px;
  max-width: none;
  transform: translate(-14px, -13px) scaleX(0.888);
  transform-origin: left;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-proof a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(21, 119, 244, 0.18);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-navy);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-proof a:hover {
  border-color: rgba(21, 119, 244, 0.32);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.section-heading,
.flow-layout,
.story-grid,
.surface-layout,
.mission,
.alarm-layout,
.faq-intro,
.contact {
  max-width: var(--max-width);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--foreground-secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
summary,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-title);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: 80px;
  line-height: 0.98;
}

h2 {
  max-width: 850px;
  font-size: 50px;
  line-height: 1.08;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.section-heading p,
.flow-copy p,
.surface-copy p,
.mission-copy p,
.alarm-copy p,
.faq-intro p,
.contact-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-card);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--text-button);
  background: linear-gradient(135deg, var(--foreground-primary), var(--foreground-secondary));
  box-shadow: var(--shadow-button);
}

.button-secondary {
  color: var(--palette-link);
  background: var(--background-secondary);
  border: 1px solid var(--background-border);
}

.hero .button-secondary {
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(21, 119, 244, 0.18);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 42px auto 0;
}

.feature-card,
.price-card,
.accordion details,
.contact-form,
.flow-mock,
.principle-list > div,
.widget-card {
  border: 1px solid var(--background-border);
  border-radius: var(--radius-card);
  background: var(--background-secondary);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  --feature-color: var(--foreground-secondary);
  --feature-bg: rgba(37, 99, 235, 0.08);
  min-height: 255px;
  padding: 22px;
  border-color: color-mix(in srgb, var(--feature-color) 48%, var(--background-border));
  background: var(--feature-bg);
}

.feature-card:nth-child(1) {
  --feature-color: var(--foreground-violet);
  --feature-bg: rgba(124, 58, 237, 0.08);
}

.feature-card:nth-child(2) {
  --feature-color: var(--foreground-secondary);
  --feature-bg: rgba(37, 99, 235, 0.08);
}

.feature-card:nth-child(3) {
  --feature-color: var(--foreground-mint);
  --feature-bg: rgba(22, 160, 133, 0.08);
}

.feature-card:nth-child(4) {
  --feature-color: var(--foreground-amber);
  --feature-bg: rgba(183, 121, 31, 0.1);
}

.feature-card:nth-child(5) {
  --feature-color: var(--foreground-rose);
  --feature-bg: rgba(219, 39, 119, 0.08);
}

.feature-card:nth-child(6) {
  --feature-color: #0f766e;
  --feature-bg: rgba(15, 118, 110, 0.08);
}

.feature-card:nth-child(7) {
  --feature-color: #0369a1;
  --feature-bg: rgba(3, 105, 161, 0.08);
}

.feature-card:nth-child(8) {
  --feature-color: #c2410c;
  --feature-bg: rgba(194, 65, 12, 0.08);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--text-button);
  border-radius: var(--radius-card);
  background: var(--feature-color);
  font-size: 12px;
  font-weight: 800;
}

.feature-card p,
.price-card p,
.accordion p,
.principle-list p,
.widget-card p {
  margin: 12px 0 0;
  line-height: 1.65;
}

.flow {
  --star-cluster-left: 8%;
  --star-cluster-top: 8%;
  background: linear-gradient(180deg, var(--background-secondary) 0%, var(--background-primary) 100%);
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
}

.flow-mock {
  padding: 22px;
  position: relative;
  overflow: hidden;
  border-color: rgba(31, 199, 243, 0.28);
  background:
    linear-gradient(180deg, rgba(3, 31, 58, 0.96), rgba(5, 45, 73, 0.98)),
    var(--brand-deep);
  box-shadow: 0 24px 52px rgba(6, 54, 95, 0.22);
}

.flow-mock::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 199, 243, 0.16), rgba(31, 199, 243, 0) 44%),
    linear-gradient(180deg, rgba(22, 217, 176, 0.08), rgba(22, 217, 176, 0) 62%);
  pointer-events: none;
  content: "";
}

.flow-mock > * {
  position: relative;
  z-index: 1;
}

.mock-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: rgba(236, 251, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.mock-statusbar span:last-child {
  width: 82px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}

.user-row {
  justify-content: flex-end;
  margin-top: 18px;
}

.chat-avatar,
.user-avatar {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid rgba(31, 199, 243, 0.3);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.chat-avatar {
  background: linear-gradient(180deg, #ffffff, #dff7ff);
}

.chat-avatar img {
  width: 132%;
  max-width: none;
  transform: translateY(-4%);
}

.user-avatar {
  color: var(--text-button);
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  font-size: 15px;
  font-weight: 800;
}

.chat-bubble {
  max-width: 76%;
  margin-top: 0;
  padding: 15px 16px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.16);
}

.chat-bubble.user {
  color: var(--text-button);
  border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
}

.chat-bubble.assistant {
  color: #c8f7ff;
  border: 1px solid rgba(31, 199, 243, 0.18);
  border-bottom-left-radius: 6px;
  background: rgba(2, 21, 39, 0.84);
}

.draft-card {
  display: grid;
  gap: 10px;
  margin: 18px 0 62px 60px;
  padding: 16px;
  border: 1px solid rgba(115, 229, 255, 0.18);
  border-radius: var(--radius-card);
  background: rgba(2, 24, 42, 0.78);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.draft-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(115, 229, 255, 0.16);
  color: #69e9ff;
  font-size: 18px;
  font-weight: 800;
}

.draft-title::before {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--brand-mint), var(--brand-cyan));
  clip-path: polygon(50% 0, 62% 34%, 100% 50%, 62% 66%, 50% 100%, 38% 66%, 0 50%, 38% 34%);
  content: "";
}

.draft-task {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.06);
}

.draft-task-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-card);
  background: rgba(31, 199, 243, 0.14);
}

.draft-task-icon::before {
  width: 13px;
  height: 13px;
  border: 2px solid var(--brand-cyan);
  border-radius: 4px;
  content: "";
}

.draft-task strong,
.draft-task span {
  display: block;
}

.draft-task strong {
  color: #ecfbff;
  font-size: 14px;
}

.draft-task span {
  margin-top: 3px;
  color: rgba(200, 247, 255, 0.74);
  font-size: 12px;
}

.draft-priority {
  width: max-content;
  padding: 5px 8px;
  border-radius: var(--radius-card);
  color: #07304d !important;
  background: #aef2ff;
  font-size: 11px !important;
  font-weight: 800;
}

.mock-continue {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: var(--radius-pill);
  color: var(--text-button);
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  box-shadow: 0 16px 30px rgba(21, 119, 244, 0.28);
  font-weight: 800;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.story-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--background-border);
  border-radius: var(--radius-card);
  background: var(--background-secondary);
  box-shadow: var(--shadow-soft);
}

.story-media {
  display: grid;
  aspect-ratio: 1.08 / 1;
  min-height: clamp(292px, 27vw, 420px);
  overflow: hidden;
  place-items: center;
  background: #f7fbff;
  margin: 0;
}

.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 1.8vw, 22px);
}

@media (min-width: 1180px) {
  .story-media {
    min-height: clamp(340px, 28vw, 430px);
  }

  .story-media img {
    padding: 12px;
  }
}

.story-content {
  position: relative;
  z-index: 1;
  padding: 22px;
  background: var(--background-secondary);
}

.story-panel p:not(.eyebrow) {
  margin: 12px 0 0;
  line-height: 1.65;
}

.surface-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.surface-art img {
  width: min(180px, 42vw);
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.12));
}

.surface-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.surface-list span,
.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 10px;
  border-radius: var(--radius-card);
  background: rgba(31, 183, 216, 0.12);
  color: var(--palette-link);
  font-size: 12px;
  font-weight: 800;
}

.widget-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  grid-auto-rows: 176px;
  align-items: stretch;
  justify-self: end;
  gap: 12px;
  width: min(100%, 360px);
}

.widget-card {
  height: 100%;
  min-height: 0;
  padding: 18px;
}

.widget-card strong {
  display: block;
  color: var(--text-title);
  font-size: 22px;
}

.widget-card span {
  display: block;
  margin-top: 10px;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 700;
}

.tasks-widget {
  background: linear-gradient(180deg, #ffffff, #eef9fc);
}

.quick-widget {
  display: grid;
  place-items: center;
  min-height: 0;
  color: var(--text-button);
  background: linear-gradient(135deg, var(--foreground-mint), var(--foreground-primary));
}

.quick-widget strong,
.quick-widget span {
  color: var(--text-button);
  text-align: center;
}

.quick-widget span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 38px;
  line-height: 1;
}

.mission-section {
  background: var(--background-primary);
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: start;
  gap: clamp(32px, 6vw, 78px);
}

.principle-list {
  display: grid;
  gap: 12px;
}

.principle-list > div {
  padding: 22px;
}

.principle-list strong {
  color: var(--text-title);
  font-size: 18px;
}

.alarm-band {
  overflow: hidden;
}

.alarm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.alarm-image {
  width: min(420px, 100%);
  justify-self: center;
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.12));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 28px auto 0;
}

.billing-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  padding: 6px;
  margin: 30px auto 0;
  border: 1px solid var(--background-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.billing-option {
  min-width: 112px;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  color: var(--text-muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.billing-option.is-active {
  color: var(--text-button);
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.2);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: var(--shadow-card);
  transform: translateY(-10px);
}

.price-card .badge {
  position: absolute;
  top: 28px;
  right: 28px;
}

.price-card.featured h3 {
  padding-right: 128px;
}

.price {
  margin: 18px 0 0 !important;
  color: var(--text-title);
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1 !important;
  font-weight: 800;
}

.price-period {
  color: var(--text-muted);
  font-size: 16px;
}

.price-note {
  margin-top: 8px !important;
  color: var(--foreground-secondary);
  font-size: 13px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
}

.price-card li::before {
  position: absolute;
  top: 0.58em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--palette-success);
  content: "";
}

.price-card .button {
  margin-top: auto;
}

.faq-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 32px;
}

.faq-intro img {
  max-height: 210px;
  object-fit: contain;
}

.accordion {
  display: grid;
  gap: 12px;
  max-width: var(--max-width);
  margin: 38px auto 0;
}

.accordion details {
  overflow: hidden;
  padding: 0 20px;
}

.accordion summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-title);
  font-weight: 800;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--foreground-secondary);
  font-size: 22px;
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 280ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.accordion details.is-expanded .accordion-content {
  opacity: 1;
  transform: translateY(0);
}

.accordion details.is-animating summary {
  pointer-events: none;
}

.accordion p {
  margin: 0 0 20px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  color: var(--text-title);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--background-border);
  border-radius: var(--radius-card);
  background: var(--background-tertiary);
  color: var(--text-title);
  font-size: 15px;
  outline: none;
  padding: 14px 16px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--foreground-secondary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field-error {
  display: none;
  color: var(--palette-error);
  font-size: 12px;
  font-weight: 700;
}

.invalid + .field-error {
  display: block;
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--palette-success);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--palette-error);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 46px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--background-border);
  background: var(--background-secondary);
}

.site-footer p {
  max-width: 410px;
  margin: 14px 0 0;
  line-height: 1.6;
}

.store-downloads-footer {
  gap: 14px;
  margin-top: 22px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 13px;
}

.legal-page {
  max-width: 900px;
  margin-inline: auto;
  padding: 70px clamp(18px, 5vw, 56px);
}

.legal-page h1 {
  font-size: 64px;
}

.legal-page article {
  margin-top: 34px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p {
  line-height: 1.75;
}

.link {
  color: var(--palette-link);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .surface-layout {
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  }

  .widget-preview {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--background-border);
    border-radius: var(--radius-card);
    background: var(--background-secondary);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    inset: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: calc(82svh - 76px);
    padding-top: 64px;
  }

  .hero-background {
    inset: auto -28% -4% auto;
    width: min(700px, 104vw);
    opacity: 0.72;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(247, 253, 255, 0.97) 0%, rgba(247, 253, 255, 0.9) 58%, rgba(247, 253, 255, 0.52) 100%);
  }

  .hero-content h1,
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 40px;
  }

  .flow-layout,
  .mission,
  .alarm-layout,
  .contact,
  .faq-intro {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .story-panel {
    grid-template-rows: auto 1fr;
    min-height: 0;
  }

  .story-media {
    min-height: clamp(240px, 62vw, 320px);
  }

  .surface-layout {
    grid-template-columns: 1fr;
  }

  .surface-art {
    order: 2;
  }

  .surface-copy {
    order: 1;
  }

  .widget-preview {
    order: 3;
  }

  .price-card,
  .price-card.featured {
    min-height: 0;
    transform: none;
  }

  .faq-intro img {
    justify-self: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-header .legal-nav {
    width: 100%;
    justify-content: flex-start;
    font-size: 13px;
  }

  .site-nav {
    inset: 70px 14px auto;
  }

  .section-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero {
    min-height: calc(78svh - 70px);
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .hero-background {
    inset: auto -42% -2% auto;
    width: 124vw;
    opacity: 0.48;
  }

  .hero-content h1,
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-text,
  .section-heading p,
  .flow-copy p,
  .surface-copy p,
  .mission-copy p,
  .alarm-copy p,
  .faq-intro p,
  .contact-copy p {
    font-size: 16px;
    line-height: 1.65;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .flow-mock,
  .contact-form,
  .price-card {
    padding: 20px;
  }

  .chat-bubble {
    max-width: calc(100% - 52px);
    padding: 12px 13px;
    font-size: 13px;
  }

  .chat-row {
    gap: 8px;
  }

  .chat-avatar,
  .user-avatar {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .draft-card {
    margin-left: 0;
    padding: 14px;
  }

  .draft-task {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .draft-priority {
    grid-column: 2;
    justify-self: start;
  }

  .widget-preview {
    grid-template-columns: 1fr;
    grid-auto-rows: 150px;
    width: min(100%, 280px);
  }

  .button,
  .contact-form .button {
    width: 100%;
  }

  .store-downloads {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof a,
  .surface-list span {
    width: 100%;
    justify-content: center;
  }

  .legal-page h1 {
    font-size: 42px;
  }
}
