/* Travia landing — UTF-8 */

:root {
  --brand: hsl(175, 77%, 32%);
  --brand-strong: hsl(175, 70%, 28%);
  --brand-rich: hsl(175, 65%, 22%);
  --brand-deep: hsl(176, 61%, 15%);
  --brand-muted: hsl(166, 76%, 97%);
  --brand-glow: hsl(175, 77%, 32%, 0.18);

  --bg: hsl(210, 25%, 98%);
  --bg-muted: hsl(210, 18%, 96%);
  --surface: #ffffff;
  --text: hsl(222, 47%, 11%);
  --text-muted: hsl(215, 16%, 46%);
  --border: hsl(214, 22%, 88%);

  --radius: 0.9rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 2px hsl(222 47% 11% / 0.05);
  --shadow-md: 0 12px 32px hsl(222 47% 11% / 0.08);
  --shadow-lg: 0 24px 60px hsl(175 77% 32% / 0.14);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: hsl(0 0% 100% / 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: auto;
  height: 2.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 8px 24px var(--brand-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand-rich));
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: hsl(175 77% 32% / 0.35);
  color: var(--brand-rich);
}

.btn-light {
  color: var(--brand-deep);
  background: #fff;
}

.btn-light:hover {
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  color: #fff;
  border-color: hsl(0 0% 100% / 0.35);
  background: transparent;
}

.btn-outline-light:hover {
  background: hsl(0 0% 100% / 0.08);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
}

.btn-submit {
  gap: 0.65rem;
}

.btn-submit svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s ease;
}

.btn-submit:hover svg {
  transform: translateX(2px);
}

.btn-block {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.hero-blob-1 {
  width: 28rem;
  height: 28rem;
  top: -6rem;
  right: -4rem;
  background: hsl(175 77% 32% / 0.14);
}

.hero-blob-2 {
  width: 22rem;
  height: 22rem;
  bottom: -4rem;
  left: -6rem;
  background: hsl(199 89% 48% / 0.08);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at 1px 1px, hsl(214 22% 82%) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

.hero-grid-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow-light {
  color: hsl(166 76% 88%);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.text-gradient {
  display: block;
  background: linear-gradient(135deg, var(--brand), var(--brand-rich));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
}

/* Hero mockup */

.hero-visual {
  position: relative;
  min-height: 24rem;
}

.mockup-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(0 0% 100% / 0.7);
}

.mockup-main {
  padding: 1rem;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.mockup-topbar .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--border);
}

.mockup-topbar .dot:first-child {
  background: #f87171;
}

.mockup-topbar .dot:nth-child(2) {
  background: #fbbf24;
}

.mockup-topbar .dot:nth-child(3) {
  background: #34d399;
}

.mockup-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body {
  display: grid;
  gap: 0.85rem;
  padding-top: 1rem;
}

.mockup-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--bg-muted);
}

.mockup-stat .label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.mockup-stat strong {
  font-size: 1.25rem;
  color: var(--brand-rich);
}

.mockup-flow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.flow-step {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-muted);
  color: var(--text-muted);
}

.flow-step.done {
  background: var(--brand-muted);
  color: var(--brand-rich);
}

.flow-step.active {
  background: var(--brand);
  color: #fff;
}

.flow-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-quote {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px dashed hsl(175 77% 32% / 0.25);
  background: linear-gradient(135deg, var(--brand-muted), #fff);
}

.quote-dest {
  font-weight: 700;
}

.quote-meta {
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.mockup-portal {
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  width: min(16rem, 72%);
  padding: 1rem 1.1rem;
  background: linear-gradient(145deg, var(--brand-rich), var(--brand-deep));
  color: #fff;
}

.portal-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.portal-dest {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  opacity: 0.85;
}

.portal-event {
  margin-top: 0.15rem;
  font-weight: 700;
}

.portal-badge {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  background: hsl(0 0% 100% / 0.15);
}

/* Audience strip */

.audience-strip {
  padding: 1.5rem 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.strip-inner > p {
  font-weight: 600;
  color: var(--brand-rich);
}

.strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.strip-tags span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--brand-muted);
  color: var(--brand-rich);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-lead {
  margin-top: 0.85rem;
  color: var(--text-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.two-col h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.two-col p {
  margin-top: 1rem;
  color: var(--text-muted);
}

.solution-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--brand-rich), var(--brand-deep));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.solution-card h3 {
  margin-top: 0.5rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.solution-card p {
  margin-top: 0.85rem;
  color: hsl(0 0% 100% / 0.82);
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: hsl(175 77% 32% / 0.25);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  background: var(--brand-muted);
  color: var(--brand);
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Workflow */

.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.workflow-step {
  position: relative;
  padding: 1.35rem 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.workflow-step h3 {
  font-size: 0.98rem;
  line-height: 1.3;
}

.workflow-step p {
  margin-top: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Portal */

.portal-section {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-rich));
  color: #fff;
}

.portal-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.portal-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.portal-copy > p {
  margin-top: 1rem;
  color: hsl(0 0% 100% / 0.82);
}

.portal-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.portal-list li {
  position: relative;
  padding-left: 1.25rem;
  color: hsl(0 0% 100% / 0.9);
}

.portal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(166 76% 78%);
  font-weight: 700;
}

.phone-frame {
  margin-inline: auto;
  width: min(18rem, 100%);
  padding: 0.75rem;
  border-radius: 2rem;
  background: hsl(0 0% 100% / 0.12);
  border: 1px solid hsl(0 0% 100% / 0.18);
  box-shadow: 0 30px 60px hsl(176 61% 8% / 0.35);
}

.phone-screen {
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: #fff;
  color: var(--text);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.phone-greeting {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.phone-trip {
  margin-top: 0.15rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-rich);
}

.phone-weather {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--brand-muted);
  color: var(--brand-rich);
}

.phone-next {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 0.85rem;
  background: var(--bg-muted);
}

.phone-next span {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.phone-next strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.phone-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.phone-docs span {
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.plan-featured {
  border-color: hsl(175 77% 32% / 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--brand);
}

.plan-name {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.plan-price {
  margin-top: 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-desc {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.plan-card ul {
  display: grid;
  gap: 0.55rem;
  margin-block: 1.25rem 1.5rem;
  flex: 1;
}

.plan-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--brand);
}

.pricing-note {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Waitlist */

.waitlist-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 6rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 100%);
}

.waitlist-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.waitlist-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.waitlist-blob-1 {
  width: 26rem;
  height: 26rem;
  top: -8rem;
  left: -6rem;
  background: hsl(175 77% 32% / 0.12);
}

.waitlist-blob-2 {
  width: 22rem;
  height: 22rem;
  right: -5rem;
  bottom: -6rem;
  background: hsl(199 89% 48% / 0.08);
}

.waitlist-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(circle at 1px 1px, hsl(214 22% 82%) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.waitlist-container {
  position: relative;
}

.section-head-center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.section-head-center h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head-center .text-gradient {
  display: inline;
}

.waitlist-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 2rem;
}

.waitlist-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.waitlist-highlight:hover {
  transform: translateY(-2px);
  border-color: hsl(175 77% 32% / 0.22);
  box-shadow: var(--shadow-md);
}

.waitlist-highlight-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: var(--brand);
  background: var(--brand-muted);
}

.waitlist-highlight-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.waitlist-highlight strong {
  display: block;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.waitlist-highlight p {
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.waitlist-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-radius: calc(var(--radius-lg) + 0.35rem);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid hsl(175 77% 32% / 0.18);
  box-shadow: var(--shadow-lg);
}

.waitlist-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, hsl(175 77% 32% / 0.35), transparent 40%, hsl(175 77% 32% / 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.waitlist-aside {
  position: relative;
  padding: 2.25rem 2rem;
  background: linear-gradient(155deg, var(--brand-rich) 0%, var(--brand-deep) 100%);
  color: #fff;
}

.waitlist-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.waitlist-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: hsl(0 0% 100% / 0.14);
  border: 1px solid hsl(0 0% 100% / 0.18);
}

.waitlist-aside h3 {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.waitlist-aside-lead {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(0 0% 100% / 0.82);
}

.waitlist-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.waitlist-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: hsl(0 0% 100% / 0.07);
  border: 1px solid hsl(0 0% 100% / 0.1);
}

.waitlist-benefit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  color: var(--brand-rich);
  background: hsl(166 76% 88%);
}

.waitlist-benefit-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.waitlist-benefit strong {
  display: block;
  font-size: 0.9rem;
}

.waitlist-benefit p {
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / 0.72);
}

.waitlist-form-panel {
  padding: 2.25rem 2rem 2rem;
  background: var(--surface);
}

.waitlist-form-header {
  margin-bottom: 1.65rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.waitlist-form-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.waitlist-form-header h3 {
  margin-top: 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.waitlist-form-header p {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.waitlist-form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.label-optional {
  font-weight: 500;
  color: var(--text-muted);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  cursor: pointer;
}

.form-field input::placeholder {
  color: hsl(215 16% 46% / 0.6);
}

.form-field input:hover,
.form-field select:hover {
  border-color: hsl(175 77% 32% / 0.28);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  background: var(--surface);
  border-color: hsl(175 77% 32% / 0.5);
  box-shadow: 0 0 0 4px hsl(175 77% 32% / 0.1);
}

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

.form-message {
  margin: 0;
  font-size: 0.875rem;
}

.form-message-error {
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  color: hsl(0 72% 38%);
  background: hsl(0 72% 51% / 0.07);
  border: 1px solid hsl(0 72% 51% / 0.16);
}

.form-legal {
  margin: 0;
  padding-top: 0.15rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}

.waitlist-success {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 18rem;
  padding: 2rem 1rem;
}

.waitlist-success[hidden],
.form-message-error[hidden] {
  display: none !important;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  color: var(--brand-rich);
  background: linear-gradient(145deg, var(--brand-muted), #fff);
  box-shadow: 0 12px 28px hsl(175 77% 32% / 0.14), inset 0 0 0 1px hsl(175 77% 32% / 0.12);
}

.success-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.waitlist-success h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.waitlist-success p {
  margin-top: 0.7rem;
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.waitlist-success strong {
  color: var(--brand-rich);
}

/* CTA (legacy helpers) */

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  background: linear-gradient(135deg, var(--brand), var(--brand-rich));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 1.5rem;
  background: var(--brand-deep);
  color: hsl(0 0% 100% / 0.82);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-brand strong {
  display: block;
  color: #fff;
}

.footer-brand p {
  margin-top: 0.15rem;
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: hsl(0 0% 100% / 0.7);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-studio {
  font-size: 0.6875rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: hsl(0 0% 100% / 0.4);
  text-align: right;
}

.footer-copy {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(0 0% 100% / 0.08);
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / 0.45);
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Responsive */

@media (max-width: 1024px) {
  .hero-grid-layout,
  .two-col,
  .portal-layout,
  .waitlist-shell {
    grid-template-columns: 1fr;
  }

  .waitlist-highlights {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-visual {
    max-width: 28rem;
    margin-inline: auto;
  }

  .mockup-portal {
    right: 0;
  }

  .plan-featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

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

  .site-nav a:not(.btn) {
    padding: 0.65rem 0.75rem;
    border-radius: 0.6rem;
  }

  .site-nav a:not(.btn):hover {
    background: var(--bg-muted);
  }

  .nav-cta {
    margin-top: 0.35rem;
  }

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

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

  .footer-studio {
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .waitlist-aside,
  .waitlist-form-panel {
    padding: 1.5rem;
  }

  .waitlist-highlights {
    margin-top: 2rem;
  }
}

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

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

  .btn:hover,
  .feature-card:hover,
  .waitlist-highlight:hover {
    transform: none;
  }
}
