@import url("./motion-base.css");

:root {
  --section-gap: clamp(82px, 10vw, 148px);
  --soft: #e6e9e7;
  --soft-2: #dce1de;
}

body {
  background: var(--canvas);
}

.mobile-menu-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  display: none;
  background: transparent;
  border: 1px solid var(--line);
}

.mobile-menu-toggle i {
  width: 19px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: var(--ink);
}

.page-section {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.section-next {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.section-next span {
  color: var(--muted);
  font-size: 13px;
}

.section-next a {
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: border-color var(--fast) ease, background var(--fast) ease;
}

.section-next a:hover {
  border-color: var(--ink);
  background: var(--white);
}

.section-next a.primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.section-next a.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.example-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
}

.example-card > span {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.example-chat {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.example-chat p {
  margin: 0;
  padding: 14px;
  font-size: 13px;
  line-height: 1.55;
}

.example-chat .customer {
  margin-right: 18px;
  color: var(--ink);
  background: var(--canvas);
  border-radius: 0 12px 12px 12px;
}

.example-chat .assistant {
  margin-left: 18px;
  color: #fff;
  background: var(--stage);
  border-radius: 12px 0 12px 12px;
}

.example-card > small {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.55;
}

.sticky-cta {
  display: none;
}

.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 58px;
  align-items: end;
}

.section-heading h2,
.split-heading h2,
.page-hero h1,
.legal-page h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 610;
  letter-spacing: -.065em;
  line-height: .96;
}

.section-heading p,
.split-heading p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.drift-section {
  position: relative;
  overflow: hidden;
}

.drift-stage {
  min-height: 330px;
  display: grid;
  grid-template-columns: .9fr 1.3fr .9fr;
  gap: 0;
  position: relative;
  color: #fff;
  background: var(--stage);
  border: 1px solid #080a09;
}

.drift-stage::before {
  height: 1px;
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 12%;
  left: 12%;
  content: "";
  background: rgba(255,255,255,.18);
}

.drift-message,
.caught-message,
.current-copy {
  min-width: 0;
  padding: 34px;
  position: relative;
  z-index: 2;
}

.drift-message,
.caught-message {
  align-self: center;
}

.drift-message article,
.caught-message article {
  padding: 20px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
}

.drift-message small,
.caught-message small,
.current-copy span {
  color: var(--accent);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.drift-message p,
.caught-message p {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.drift-message {
  transform: translateX(-26px) rotate(-1deg);
}

.caught-message {
  transform: translateX(26px);
}

.caught-message article {
  border-top: 4px solid var(--accent);
}

.current-copy {
  display: grid;
  place-items: center;
  text-align: center;
}

.current-copy i {
  width: 10px;
  height: 10px;
  margin: 17px auto;
  display: block;
  background: var(--stage);
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

.current-copy strong {
  display: block;
  font-size: 23px;
  letter-spacing: -.04em;
}

.drift-stage.is-seen .drift-message {
  animation: drift-in .8s var(--ease) both;
}

.drift-stage.is-seen .caught-message {
  animation: caught-in .8s var(--ease) .55s both;
}

.drift-stage.is-seen::after {
  width: 76%;
  height: 2px;
  position: absolute;
  z-index: 1;
  top: calc(50% - 1px);
  left: 12%;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: current-carry 1.2s var(--ease) .2s forwards;
}

@keyframes drift-in {
  from { opacity: 0; transform: translateX(-70px) rotate(-3deg); }
  to { opacity: 1; transform: translateX(-26px) rotate(-1deg); }
}

@keyframes caught-in {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(26px); }
}

@keyframes current-carry {
  to { transform: scaleX(1); }
}

.offering-grid,
.price-grid,
.boundary-grid,
.launch-grid {
  display: grid;
  gap: 14px;
}

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

.offering-card {
  min-height: 400px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
}

.offering-card-dark {
  color: #fff;
  background: var(--stage);
  border-color: var(--stage);
}

.offering-card > span,
.price-card > span,
.launch-card > span {
  color: var(--accent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.offering-card h3 {
  max-width: 520px;
  margin: 74px 0 18px;
  font-size: 39px;
  letter-spacing: -.055em;
  line-height: 1;
}

.offering-card p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.offering-card-dark p {
  color: var(--stage-muted);
}

.offering-card a {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: inherit;
  border-top: 1px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.operating-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
}

.operating-flow article {
  min-height: 260px;
  padding: 28px;
  position: relative;
  border-right: 1px solid var(--line);
}

.operating-flow article:last-child {
  border-right: 0;
  background: var(--accent-soft);
}

.operating-flow span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 8px;
  font-weight: 700;
}

.operating-flow h3 {
  margin: 42px 0 12px;
  font-size: 20px;
  letter-spacing: -.04em;
}

.operating-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  min-height: 470px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
}

.price-card-featured {
  color: #fff;
  background: var(--stage);
  border-color: var(--stage);
  box-shadow: 11px 13px 0 var(--accent);
}

.price-card h3 {
  margin: 44px 0 6px;
  font-size: 27px;
  letter-spacing: -.05em;
}

.price-card strong {
  font-size: 44px;
  letter-spacing: -.06em;
}

.price-card small {
  color: var(--muted);
  font-size: 9px;
}

.price-card-featured small,
.price-card-featured li {
  color: #c8d0cc;
}

.price-card ul,
.website-card ul {
  margin: 25px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li,
.website-card li {
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.price-card-featured li {
  border-color: var(--stage-line);
}

.button-link {
  min-height: 48px;
  margin-top: auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.button-link-quiet {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.price-card-featured .button-link-quiet {
  color: #fff;
  border-color: var(--stage-line);
}

.launch-section {
  color: #fff;
  background: var(--stage);
  border-top: 0;
}

.launch-section .section-heading p {
  color: var(--stage-muted);
}

.launch-grid {
  grid-template-columns: 1.05fr .95fr;
}

.launch-card {
  padding: 32px;
  background: var(--stage-soft);
  border: 1px solid var(--stage-line);
}

.launch-card h3 {
  margin: 24px 0 14px;
  font-size: 27px;
  letter-spacing: -.04em;
}

.launch-card p,
.launch-card li {
  color: var(--stage-muted);
  font-size: 11px;
  line-height: 1.65;
}

.launch-card ul {
  margin: 19px 0 0;
  padding-left: 18px;
}

.boundary-grid {
  grid-template-columns: repeat(4, 1fr);
}

.boundary-card {
  padding: 25px;
  border: 1px solid var(--line);
}

.boundary-card b {
  display: block;
  color: var(--accent);
  font-size: 8px;
}

.boundary-card h3 {
  margin: 34px 0 10px;
  font-size: 17px;
  letter-spacing: -.03em;
}

.boundary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.cta-panel {
  min-height: 360px;
  padding: clamp(38px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: end;
  color: #fff;
  background: var(--stage);
  box-shadow: 14px 16px 0 var(--accent);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(45px, 6vw, 82px);
  letter-spacing: -.07em;
  line-height: .9;
}

.cta-panel p {
  color: var(--stage-muted);
  line-height: 1.7;
}

.site-footer {
  padding: 48px 0 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 11px 30px;
}

.footer-links a {
  font-size: 10px;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 22px;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 8px;
}

.launcher-reserve {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 9px;
  align-items: center;
  pointer-events: none;
}

.launcher-reserve span {
  padding: 7px 9px;
  color: var(--muted);
  background: rgba(241,243,242,.94);
  border: 1px solid var(--line);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.launcher-reserve i {
  width: 46px;
  height: 46px;
  display: block;
  background: var(--stage);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(17,21,19,.22);
}

.page-hero {
  padding: clamp(70px, 9vw, 120px) 0;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 68px;
  align-items: end;
}

.page-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.page-hero-aside {
  padding: 27px;
  color: #fff;
  background: var(--stage);
  border-left: 4px solid var(--accent);
}

.page-hero-aside strong {
  display: block;
  font-size: 25px;
}

.page-hero-aside p {
  margin-top: 12px;
  color: var(--stage-muted);
  font-size: 11px;
}

.website-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.website-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
}

.website-card h3 {
  margin: 44px 0 12px;
  font-size: 23px;
  letter-spacing: -.04em;
}

.website-card strong {
  font-size: 34px;
  letter-spacing: -.05em;
}

.website-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.faq-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 70px;
}

.faq-layout h2 {
  margin: 0;
  font-size: 45px;
  letter-spacing: -.06em;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 20px 34px 20px 0;
  position: relative;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::after {
  position: absolute;
  right: 0;
  content: "+";
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 0 21px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.form-page {
  width: min(1120px, calc(100% - 64px));
}

.form-intro {
  padding: 72px 0 48px;
}

.form-intro h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(50px, 7vw, 88px);
  letter-spacing: -.07em;
  line-height: .9;
}

.form-intro p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.form-layout {
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 48px;
}

.form-guide {
  padding: 27px;
  color: #fff;
  background: var(--stage);
  align-self: start;
}

.form-guide ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-guide li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--stage-muted);
  border-bottom: 1px solid var(--stage-line);
  font-size: 10px;
  line-height: 1.5;
}

.form-guide b {
  color: var(--accent);
}

.form-card {
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-card form {
  display: grid;
  gap: 19px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.form-card label {
  display: grid;
  gap: 7px;
  font-size: 10px;
  font-weight: 650;
}

.form-card label > span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 13px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

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

.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.consent-field {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.consent-field input {
  margin: 2px 0 0;
}

.consent-field span {
  font-size: 9px !important;
  line-height: 1.5;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
}

.form-submit {
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  font: inherit;
  font-weight: 700;
}

.form-status {
  margin-top: 22px;
  padding: 18px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
}

.form-status[hidden] {
  display: none;
}

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

.form-fallback,
.direct-contact {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.legal-page {
  width: min(920px, calc(100% - 64px));
  padding: 90px 0 120px;
}

.legal-page .section-kicker {
  margin-top: 0;
}

.legal-page h1 {
  margin-bottom: 45px;
}

.legal-copy {
  padding: 32px;
  background: var(--paper);
  border-left: 4px solid var(--accent);
}

.legal-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.receipt-page,
.not-found-page {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
}

.receipt-card,
.not-found-card {
  width: min(720px, 100%);
  padding: 50px;
  background: var(--paper);
  border-top: 5px solid var(--accent);
  box-shadow: 12px 14px 0 rgba(17,21,19,.1);
}

.receipt-card h1,
.not-found-card h1 {
  margin: 16px 0;
  font-size: 57px;
  letter-spacing: -.06em;
}

.receipt-card p,
.not-found-card p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .site-header nav {
    padding: 18px;
    display: none;
    position: absolute;
    z-index: 40;
    top: 66px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(17,21,19,.14);
  }

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

  .mobile-menu-toggle {
    display: block;
  }

  .section-heading,
  .page-hero,
  .launch-grid,
  .form-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

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

  .price-grid,
  .website-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header nav > a:first-child {
    display: block;
  }

  .site-header,
  main,
  .form-page,
  .legal-page {
    width: calc(100% - 32px);
  }

  .site-header > .header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
  }

  .page-section {
    padding: 74px 0;
  }

  .section-heading {
    gap: 22px;
  }

  .section-heading h2,
  .split-heading h2,
  .page-hero h1,
  .legal-page h1 {
    font-size: 43px;
  }

  .drift-stage,
  .offering-grid,
  .operating-flow,
  .boundary-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .drift-stage::before,
  .drift-stage.is-seen::after {
    width: 1px;
    height: 74%;
    top: 13%;
    right: auto;
    left: 30px;
    transform: scaleY(1);
  }

  .drift-message,
  .caught-message,
  .current-copy {
    padding: 28px 28px 28px 58px;
  }

  .drift-message,
  .caught-message {
    transform: none;
  }

  .offering-card {
    min-height: 350px;
    padding: 26px;
  }

  .offering-card h3 {
    margin-top: 55px;
    font-size: 32px;
  }

  .operating-flow article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cta-panel {
    min-height: 420px;
    gap: 28px;
    box-shadow: 8px 9px 0 var(--accent);
  }

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

  .footer-bottom {
    gap: 14px;
    flex-direction: column;
  }

  .sticky-cta {
    display: flex;
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--canvas);
    border-top: 1px solid var(--line);
  }

  .sticky-cta a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
  }

  .launcher-reserve span {
    display: none;
  }

  .page-hero {
    padding: 65px 0;
    gap: 30px;
  }

  .page-hero h1 span {
    color: var(--ink);
    -webkit-text-stroke: 0;
  }

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

  .form-card {
    padding: 23px;
  }

  .receipt-card,
  .not-found-card {
    padding: 30px;
  }

  .receipt-card h1,
  .not-found-card h1 {
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drift-stage.is-seen *,
  .drift-stage.is-seen::after {
    animation: none !important;
  }
}
