:root {
  --bg: #f4f1e1;
  --paper: #fffdf6;
  --ink: #2c2c2c;
  --muted: #626a70;
  --line: rgba(44, 44, 44, 0.14);
  --line-strong: rgba(44, 44, 44, 0.24);
  --accent: #f2907a;
  --rose: #e64a96;
  --blue: #5d99c6;
  --metal: #3d5a80;
  --dark: #111316;
  --dark-soft: #1c2026;
  --radius: 8px;
  --shadow: 0 22px 64px rgba(17, 19, 22, 0.14);
  --max: 1120px;
  --wide: 1280px;
  --page-x: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dark-page {
  color: var(--paper);
  background: var(--dark);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.82), rgba(244, 241, 225, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(93, 153, 198, 0.12), transparent 42%);
}

.natural-hero {
  min-height: auto;
  padding-top: 104px;
  padding-bottom: 78px;
}

.natural-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.natural-copy h1 {
  max-width: 860px;
  font-size: clamp(3.8rem, 8.4vw, 7.6rem);
  line-height: 0.96;
}

.natural-copy .hero-subtitle {
  max-width: 650px;
}

.app-shot {
  margin: 0;
}

.app-shot img {
  width: min(100%, 340px);
  max-height: 680px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(17, 19, 22, 0.16));
}

.app-shot figcaption {
  max-width: 340px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.natural-section {
  border-top: 1px solid rgba(44, 44, 44, 0.08);
}

.natural-two {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

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

.plain-copy > p {
  margin: 0;
  color: rgba(44, 44, 44, 0.74);
  font-size: clamp(1.12rem, 1.8vw, 1.36rem);
  line-height: 1.55;
}

.quiet-band {
  color: var(--ink);
  background: #fffdf6;
  border-block: 1px solid rgba(44, 44, 44, 0.1);
}

.simple-cost {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.simple-cost div {
  min-height: 150px;
  padding: 22px;
  background: var(--bg);
}

.simple-cost div:last-child {
  background: rgba(242, 144, 122, 0.14);
}

.simple-cost strong,
.simple-cost span {
  display: block;
}

.simple-cost strong {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.1rem;
}

.simple-cost span {
  color: var(--muted);
}

.closing-section {
  padding-top: 112px;
  padding-bottom: 112px;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.74), rgba(244, 241, 225, 1));
}

.closing-copy {
  max-width: 850px;
}

.closing-copy p:not(.section-kicker) {
  color: rgba(44, 44, 44, 0.74);
  font-size: 1.22rem;
}

body.dark-page::before {
  background:
    linear-gradient(180deg, rgba(61, 90, 128, 0.28), rgba(17, 19, 22, 0.94)),
    var(--dark);
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 36px), var(--max));
  min-height: 66px;
  padding: 9px 10px 9px 14px;
  transform: translateX(-50%);
  color: var(--ink);
  background: rgba(255, 253, 246, 0.82);
  border: 1px solid rgba(44, 44, 44, 0.11);
  border-radius: 999px;
  box-shadow: 0 18px 52px rgba(17, 19, 22, 0.1);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition:
    width 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    min-height 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    left 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    right 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.dark-page .site-nav {
  color: var(--paper);
  background: rgba(17, 19, 22, 0.84);
  border-color: rgba(255, 253, 246, 0.12);
}

.site-nav.is-scrolled {
  box-shadow: 0 20px 60px rgba(17, 19, 22, 0.16);
}

.site-nav.is-collapsed:not(.is-open) {
  left: auto;
  right: 22px;
  width: 58px;
  min-height: 58px;
  padding: 0;
  transform: none;
  border-radius: 999px;
}

.site-nav.is-open {
  left: auto;
  right: 22px;
  width: min(360px, calc(100% - 44px));
  min-height: auto;
  padding: 14px;
  transform: none;
  align-items: stretch;
  flex-direction: column;
  border-radius: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav.is-collapsed:not(.is-open) .brand-link {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.9);
}

.brand-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111;
  border-radius: 5px;
  padding: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

.nav-menu-button {
  width: 48px;
  height: 48px;
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.nav-menu-button span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav.is-collapsed:not(.is-open) .nav-menu-button {
  margin: 0 auto;
}

.site-nav.is-collapsed .nav-menu-button,
.site-nav.is-open .nav-menu-button {
  display: flex;
}

.site-nav.is-open .nav-menu-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

.site-nav.is-open .nav-menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-nav.is-open .nav-menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 14px;
  color: rgba(44, 44, 44, 0.74);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.dark-page .nav-links a {
  color: rgba(255, 253, 246, 0.74);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(44, 44, 44, 0.07);
}

.dark-page .nav-links a:hover,
.dark-page .nav-links a.active {
  color: var(--paper);
  background: rgba(255, 253, 246, 0.12);
}

.nav-links .nav-cta {
  color: var(--paper);
  background: var(--ink);
}

.dark-page .nav-links .nav-cta {
  color: var(--ink);
  background: var(--paper);
}

.site-nav.is-collapsed:not(.is-open) .nav-links {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.96);
}

.site-nav.is-open .nav-links {
  display: grid;
  width: 100%;
  justify-content: stretch;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  overflow: visible;
}

.site-nav.is-open .nav-links a {
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px var(--page-x);
}

.page-hero {
  min-height: 52svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(138px, 18vh, 176px);
  padding-bottom: clamp(58px, 9vh, 94px);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
}

.hero-inner,
.section-inner,
.page-hero-inner,
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.page-hero-inner {
  display: grid;
  justify-items: start;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin: 0 0 14px;
  color: var(--metal);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

.dark-page .eyebrow,
.dark-page .section-kicker,
.dark-band .section-kicker,
.dark-card .card-kicker {
  color: #9bc5e5;
}

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

h1 {
  margin: 0;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(3.7rem, 7vw, 5.8rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: 0;
}

.dark-page h1 {
  color: var(--paper);
}

.hero-subtitle,
.page-hero p {
  margin: 24px 0 0;
  max-width: 720px;
  color: rgba(44, 44, 44, 0.72);
  font-size: 1.32rem;
  line-height: 1.45;
}

.dark-page .page-hero p {
  color: rgba(255, 253, 246, 0.76);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.button.accent {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(44, 44, 44, 0.16);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 246, 0.72);
  border-color: var(--line);
}

.dark-page .button.secondary,
.dark-band .button.secondary,
.dark-card .button.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-visual {
  min-height: 0;
}

.hero-device-card {
  width: min(100%, 430px);
  margin-inline: auto;
  padding: 22px;
  background: rgba(255, 253, 246, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-device-card img {
  width: min(100%, 330px);
  max-height: min(70svh, 680px);
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 42px rgba(17, 19, 22, 0.18));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-item {
  padding: 22px;
  background: rgba(255, 253, 246, 0.74);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  padding: 96px var(--page-x);
}

.band {
  padding: 96px var(--page-x);
}

.dark-band {
  color: var(--paper);
  background: var(--dark);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-title {
  margin: 0;
  color: inherit;
  font-size: 3.3rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.section-copy {
  margin: 18px 0 0;
  max-width: 760px;
  color: rgba(44, 44, 44, 0.72);
  font-size: 1.13rem;
}

.dark-band .section-copy,
.dark-card p,
.dark-card li {
  color: rgba(255, 253, 246, 0.76);
}

.card-grid,
.pricing-grid,
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card,
.plan-card,
.info-card,
.job-card,
.support-card,
.cost-panel,
.quote-card {
  min-width: 0;
  padding: 24px;
  background: rgba(255, 253, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(17, 19, 22, 0.08);
}

.feature-card,
.plan-card,
.job-card,
.support-card,
.quote-card {
  height: 100%;
}

.plan-card,
.job-card,
.support-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.plan-card .button,
.job-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.plan-card .cta-row,
.job-card .cta-row,
.support-card .cta-row {
  margin-top: auto;
  padding-top: 24px;
}

.dark-band .feature-card,
.dark-card,
.dark-page .feature-card,
.dark-page .info-card,
.dark-page .job-card,
.dark-page .support-card {
  background: rgba(255, 253, 246, 0.06);
  border-color: rgba(255, 253, 246, 0.14);
  box-shadow: none;
}

.feature-card h3,
.plan-card h2,
.plan-card h3,
.info-card h2,
.info-card h3,
.job-card h2,
.job-card h3,
.quote-card h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.feature-card p,
.plan-card p,
.info-card p,
.job-card p,
.quote-card p {
  margin: 0;
  color: var(--muted);
}

.dark-band .feature-card p,
.dark-page .feature-card p,
.dark-page .info-card p,
.dark-page .job-card p {
  color: rgba(255, 253, 246, 0.74);
}

.feature-number,
.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.94rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  background: rgba(255, 253, 246, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame.dark {
  background: var(--dark-soft);
}

.media-frame img,
.media-frame video {
  width: 100%;
}

.cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.cost-panel {
  background: var(--paper);
  padding: 32px 24px 24px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  height: 280px;
}

.cost-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.cost-bar-wrapper {
  flex: 1;
  width: 100%;
  max-width: 110px;
  background: rgba(44, 44, 44, 0.06);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cost-bar-fill {
  width: 100%;
  height: var(--h);
  background: var(--ink);
  border-radius: 6px 6px 0 0;
  transform-origin: bottom;
}

.cost-bar-fill.good {
  background: linear-gradient(180deg, var(--accent), var(--blue));
}

.cost-bar-label {
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  font-size: 1rem;
}

.cost-bar-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.js .cost-bar-fill {
  transform: scaleY(0);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .is-visible .cost-bar-fill,
.js .cost-panel.is-visible .cost-bar-fill {
  transform: scaleY(1);
}

.plain-list,
.plan-list,
.legal-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li,
.plan-list li,
.legal-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
  color: var(--muted);
}

.plain-list li::before,
.plan-list li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.dark-band .plain-list li,
.dark-band .plan-list li,
.dark-page .legal-list li {
  color: rgba(255, 253, 246, 0.76);
}

.plan-card.featured {
  border-color: rgba(242, 144, 122, 0.68);
  box-shadow: 0 24px 70px rgba(242, 144, 122, 0.2);
}

.plan-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--metal);
  font-weight: 850;
}

.price {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 2.3rem;
  font-weight: 850;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-cell {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.compare-cell:last-child {
  border-right: 0;
}

.compare-head {
  color: var(--paper);
  background: var(--ink);
  font-weight: 850;
}

.legal-note,
.small-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.prose {
  max-width: 840px;
}

.prose h2 {
  margin: 48px 0 14px;
  font-size: 2.1rem;
  line-height: 1.05;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.dark-page .prose p,
.dark-page .prose li {
  color: rgba(255, 253, 246, 0.76);
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.legal-tabs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 56px var(--page-x);
  color: rgba(255, 253, 246, 0.76);
  background: var(--dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-title {
  margin: 0 0 10px;
  color: var(--paper);
  font-weight: 850;
}

.footer-inner p {
  margin-top: 0;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 253, 246, 0.74);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

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

  .hero-grid,
  .natural-hero-grid,
  .natural-two,
  .split,
  .cost-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    min-height: auto;
    padding-top: 134px;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    top: 12px;
    width: min(calc(100% - 24px), 1040px);
    min-height: 60px;
    padding: 8px 9px 8px 12px;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .site-nav:not(.is-open) .nav-links {
    display: none;
  }

  .site-nav:not(.is-open) .nav-menu-button {
    display: flex;
  }

  .site-nav:not(.is-open) {
    left: auto;
    right: 12px;
    width: 58px;
    min-height: 58px;
    padding: 0;
    transform: none;
  }

  .site-nav:not(.is-open) .brand-link {
    opacity: 0;
    pointer-events: none;
    position: absolute;
  }

  .site-nav.is-open {
    top: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }

  .hero,
  .page-hero,
  .section,
  .band {
    padding: 64px 18px;
  }

  .page-hero {
    padding-top: 104px;
    padding-bottom: 54px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.1rem;
    line-height: 1;
  }

  .hero-subtitle,
  .page-hero p {
    font-size: 1.12rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .natural-copy h1 {
    font-size: 3.15rem;
  }

  .app-shot img {
    width: min(100%, 290px);
    max-height: none;
  }

  .simple-cost {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .feature-grid,
  .card-grid,
  .pricing-grid,
  .job-grid,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .compare-table {
    overflow-x: auto;
  }

  .compare-row {
    min-width: 680px;
  }

  .button {
    width: 100%;
  }
}

/* Tesla-inspired product panels for the Vivral landing page. */
.brand-mark {
  padding: 4px;
}

.brand-mark img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

body.tesla-home {
  background: var(--bg);
}

body.tesla-home::before {
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.92), rgba(244, 241, 225, 0.94)),
    var(--bg);
}

.tesla-home main {
  background: var(--bg);
}

.tesla-home .product-panel {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 118px var(--page-x) 86px;
  border-top: 1px solid rgba(44, 44, 44, 0.08);
}

.tesla-home .product-panel:first-child {
  border-top: 0;
}

.tesla-home .hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.92), rgba(244, 241, 225, 0.78) 54%, rgba(244, 241, 225, 0.96)),
    var(--bg);
}

.tesla-home .dark-product-panel,
.tesla-home .medicine-panel,
.tesla-home .final-panel {
  color: var(--paper);
  background: #090a0c;
  border-top-color: rgba(255, 253, 246, 0.12);
}

.tesla-home .privacy-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.96), rgba(232, 237, 231, 0.72)),
    var(--paper);
}

.tesla-home .panel-copy {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  margin-inline: auto;
  text-align: center;
}

.tesla-home .panel-copy-top {
  position: absolute;
  top: clamp(112px, 14vh, 154px);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - var(--page-x) - var(--page-x)), 980px);
}

.tesla-home .panel-copy-bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(104px, 13vh, 150px);
  transform: translateX(-50%);
  width: min(calc(100% - var(--page-x) - var(--page-x)), 900px);
}

.tesla-home .panel-copy-center {
  width: min(calc(100% - var(--page-x) - var(--page-x)), 890px);
}

.tesla-home .eyebrow {
  margin: 0 0 10px;
  color: var(--metal);
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0;
}

.tesla-home .light-copy .eyebrow,
.tesla-home .final-panel .eyebrow {
  color: rgba(255, 253, 246, 0.7);
}

.tesla-home .panel-copy h1,
.tesla-home .panel-copy h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(3rem, 5.4vw, 5.35rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: 0;
}

.tesla-home .panel-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(44, 44, 44, 0.68);
  font-size: clamp(1.08rem, 1.85vw, 1.35rem);
  line-height: 1.46;
}

.tesla-home .light-copy p:not(.eyebrow),
.tesla-home .final-panel p:not(.eyebrow) {
  color: rgba(255, 253, 246, 0.76);
}

.tesla-home .panel-phone {
  position: absolute;
  z-index: 2;
  left: 50%;
  right: auto;
  top: clamp(360px, 37vh, 430px);
  bottom: auto;
  width: min(21vw, 260px);
  max-height: 42svh;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 32px 48px rgba(17, 19, 22, 0.22));
}

.tesla-home .offset-phone {
  left: 50%;
  top: clamp(340px, 35vh, 410px);
  width: min(22vw, 280px);
}

.tesla-home .hero-panel .panel-copy-top {
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - var(--page-x) - var(--page-x)), 980px);
  text-align: center;
}

.tesla-home .hero-panel .panel-copy p:not(.eyebrow) {
  margin-left: auto;
}

.tesla-home .panel-actions {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(30px, 5vh, 46px);
  display: flex;
  justify-content: center;
  gap: 14px;
  width: min(calc(100% - var(--page-x) - var(--page-x)), 650px);
  transform: translateX(-50%);
}

.tesla-home .button {
  min-width: 230px;
  min-height: 46px;
  padding-inline: 24px;
  font-size: 0.95rem;
}

.tesla-home .button.primary {
  background: rgba(25, 25, 25, 0.94);
}

.tesla-home .dark-product-panel .button.primary,
.tesla-home .final-panel .button.primary {
  color: var(--ink);
  background: rgba(255, 253, 246, 0.92);
}

.tesla-home .dark-product-panel .button.secondary,
.tesla-home .final-panel .button.secondary {
  color: var(--paper);
  background: rgba(255, 253, 246, 0.15);
  border-color: rgba(255, 253, 246, 0.22);
}

.tesla-home .cost-comparison {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
  margin-bottom: clamp(42px, 7vh, 82px);
}

.tesla-home .cost-comparison article {
  min-height: 214px;
  padding: 24px;
  color: var(--paper);
  background: rgba(255, 253, 246, 0.08);
  border: 1px solid rgba(255, 253, 246, 0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tesla-home .cost-comparison span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 253, 246, 0.58);
  font-size: 0.9rem;
  font-weight: 850;
}

.tesla-home .cost-comparison strong {
  display: block;
  color: var(--paper);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.tesla-home .cost-comparison p {
  margin: 18px 0 0;
  color: rgba(255, 253, 246, 0.68);
  font-size: 1rem;
  line-height: 1.45;
}

.tesla-home .medicine-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.34) 44%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 45%, rgba(0, 0, 0, 0.34));
}

.tesla-home .medicine-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.tesla-home .privacy-panel .panel-copy-top {
  margin-top: 0;
}

.tesla-home .final-panel {
  background:
    linear-gradient(180deg, rgba(9, 10, 12, 0.94), rgba(22, 24, 27, 0.98)),
    #090a0c;
}

.js .tesla-home .panel-copy-top[data-reveal],
.js .tesla-home .panel-copy-bottom[data-reveal],
.js .tesla-home .panel-phone[data-reveal] {
  opacity: 0;
  transform: translateX(-50%) translateY(18px);
}

.js .tesla-home .panel-copy-top[data-reveal].is-visible,
.js .tesla-home .panel-copy-bottom[data-reveal].is-visible,
.js .tesla-home .panel-phone[data-reveal].is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .tesla-home .panel-actions[data-reveal],
.js .tesla-home .panel-actions[data-reveal].is-visible {
  opacity: 1;
  transform: translateX(-50%);
}

.phone-frame {
  max-width: 380px;
  margin-inline: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.phone-frame img {
  width: min(100%, 340px);
  margin-inline: auto;
  filter: drop-shadow(0 28px 42px rgba(17, 19, 22, 0.16));
}

@media (max-width: 1080px) {
  .tesla-home .hero-panel .panel-copy-top {
    width: min(calc(100% - var(--page-x) - var(--page-x)), 820px);
  }

  .tesla-home .panel-phone {
    width: min(26vw, 260px);
  }
}

@media (max-width: 900px) {
  .tesla-home .product-panel {
    min-height: auto;
    padding: 104px 20px 42px;
  }

  .tesla-home .panel-copy-top,
  .tesla-home .panel-copy-bottom,
  .tesla-home .hero-panel .panel-copy-top {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    transform: none;
    text-align: center;
  }

  .js .tesla-home .panel-copy-top[data-reveal],
  .js .tesla-home .panel-copy-bottom[data-reveal],
  .js .tesla-home .panel-phone[data-reveal] {
    transform: translateY(18px);
  }

  .js .tesla-home .panel-copy-top[data-reveal].is-visible,
  .js .tesla-home .panel-copy-bottom[data-reveal].is-visible,
  .js .tesla-home .panel-phone[data-reveal].is-visible {
    transform: translateY(0);
  }

  .js .tesla-home .panel-actions[data-reveal],
  .js .tesla-home .panel-actions[data-reveal].is-visible {
    transform: none;
  }

  .tesla-home .panel-copy h1,
  .tesla-home .panel-copy h2 {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .tesla-home .panel-copy p:not(.eyebrow),
  .tesla-home .hero-panel .panel-copy p:not(.eyebrow) {
    margin-left: auto;
  }

  .tesla-home .panel-phone,
  .tesla-home .offset-phone {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(74vw, 330px);
    max-height: none;
    margin: 28px auto 16px;
    transform: none;
  }

  .tesla-home .panel-actions {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 20px;
    transform: none;
  }

  .tesla-home .cost-comparison {
    grid-template-columns: 1fr;
    align-self: auto;
    margin: 28px 0 0;
  }

  .tesla-home .cost-comparison article {
    min-height: 0;
  }

  .tesla-home .medicine-panel {
    min-height: 92svh;
  }
}

@media (max-width: 640px) {
  .tesla-home .product-panel {
    padding-top: 94px;
  }

  .tesla-home .panel-copy h1,
  .tesla-home .panel-copy h2 {
    font-size: clamp(2.7rem, 13vw, 3.7rem);
  }

  .tesla-home .panel-actions {
    display: grid;
    gap: 10px;
  }

  .tesla-home .button {
    width: 100%;
    min-width: 0;
  }
}
