:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #fffdfa;
  --surface-soft: #f2ecfb;
  --surface-green: #e7f7e3;
  --surface-tint: rgba(255, 255, 255, 0.74);
  --text: #1d1a1f;
  --muted: #62596d;
  --primary: #6b53b0;
  --primary-dark: #544093;
  --accent: #9dd88f;
  --border: rgba(92, 72, 151, 0.14);
  --shadow: 0 24px 60px rgba(49, 36, 86, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(156, 216, 143, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(107, 83, 176, 0.12), transparent 24%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 239, 0.76);
  border-bottom: 1px solid rgba(92, 72, 151, 0.08);
}

.header-inner,
.hero-content,
.section,
.footer-inner {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-grid;
  gap: 2px;
  text-decoration: none;
}

.brand-mark {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 36px 0 28px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 21, 38, 0.86), rgba(26, 21, 38, 0.48)),
    linear-gradient(150deg, rgba(107, 83, 176, 0.28), rgba(157, 216, 143, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 44px;
  align-items: center;
  min-height: min(860px, calc(100vh - 110px));
  padding: 52px 0;
}

.hero-copy {
  color: white;
  max-width: 620px;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.lead {
  margin-top: 18px;
  max-width: 35rem;
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button-primary {
  color: white;
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.meta-pill img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-stage {
  position: relative;
  width: min(100%, 520px);
  min-height: 660px;
}

.device-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface);
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-frame-display {
  width: 100%;
  aspect-ratio: 2400 / 1080;
}

.device-frame-display img {
  object-position: center top;
}

.device-frame-input {
  position: absolute;
  right: -12px;
  bottom: -20px;
  width: 42%;
  aspect-ratio: 1080 / 2340;
  border-radius: 30px;
}

.device-frame-input img {
  object-position: center top;
}

.voice-note {
  position: absolute;
  left: -18px;
  bottom: 54px;
  max-width: 250px;
  padding: 20px 22px;
  border-radius: 24px;
  background: var(--surface-tint);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.voice-note-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 800;
}

.voice-note p {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 86px 0 0;
}

.section-copy {
  max-width: 720px;
}

.section-copy.centered {
  text-align: center;
  margin: 0 auto 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
}

.section-lead,
.split-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.section-lead {
  margin-top: 14px;
  font-size: 1.08rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.problem-grid article,
.solution-card,
.survey-form,
.early-access-form {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(51, 38, 92, 0.06);
  backdrop-filter: blur(12px);
}

.problem-grid article {
  padding: 22px;
}

.problem-grid h3,
.solution-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.problem-grid p,
.solution-card p {
  color: var(--muted);
  line-height: 1.6;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.split-copy p + p {
  margin-top: 14px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.benefit-list li {
  padding-left: 24px;
  position: relative;
  font-weight: 600;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.solution-stack {
  display: grid;
  gap: 16px;
}

.solution-card {
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.solution-card img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
}

.solution-card-soft {
  background: linear-gradient(135deg, rgba(231, 247, 227, 0.95), rgba(242, 236, 251, 0.82));
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.tag-grid span {
  padding: 15px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 600;
}

.forms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
}

.form-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(92, 72, 151, 0.09);
  box-shadow: 0 20px 40px rgba(49, 36, 86, 0.07);
  backdrop-filter: blur(12px);
}

.form-panel-accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 236, 251, 0.72));
}

.survey-form,
.early-access-form {
  margin-top: 22px;
  padding: 24px;
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.84);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(92, 72, 151, 0.18);
  background: white;
  font: inherit;
  color: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(107, 83, 176, 0.18);
  border-color: var(--primary);
}

.field-error {
  border-color: #c7485c;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.form-feedback {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.5;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-success {
  background: #e9f8e4;
  color: #225c29;
}

.form-feedback.is-error {
  background: #fff0f3;
  color: #8d2741;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.form-note {
  color: var(--muted);
}

.site-footer {
  padding: 54px 0 70px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  border-top: 1px solid rgba(92, 72, 151, 0.1);
  padding-top: 24px;
}

.footer-brand,
.footer-product {
  font-weight: 800;
}

.footer-product {
  color: var(--muted);
}

.footer-copy {
  max-width: 38rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 16px;
  background: #221c31;
  color: white;
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .hero-content,
  .split-layout,
  .forms-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: 620px;
  }

  .voice-note {
    left: 12px;
    bottom: 18px;
  }

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    display: none;
  }

  .header-inner,
  .hero-content,
  .section,
  .footer-inner {
    width: min(100vw - 24px, 1200px);
  }

  .hero {
    padding-top: 20px;
  }

  .hero-content {
    min-height: auto;
    padding: 36px 0 50px;
    gap: 26px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .lead {
    font-size: 1rem;
  }

  .device-stage {
    min-height: 420px;
  }

  .device-frame-input {
    width: 44%;
    right: 0;
    bottom: -10px;
  }

  .voice-note {
    position: static;
    max-width: none;
    margin-top: 16px;
  }

  .section {
    padding-top: 60px;
  }

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

  .form-panel,
  .survey-form,
  .early-access-form {
    padding: 22px 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }
}
