:root {
  color-scheme: light;
  --navy: #0c1627;
  --navy-soft: #142033;
  --navy-line: #26354a;
  --paper: #f4f4f1;
  --paper-muted: #eceeea;
  --surface: #ffffff;
  --text: #101827;
  --muted: #687181;
  --line: #d9dde2;
  --mint: #63cdb2;
  --mint-strong: #3cad91;
  --mint-dark: #267c68;
  --button-text: #0b2b25;
  --focus: #f4c152;
  --error: #a63232;
  --shadow: 0 18px 52px rgba(20, 34, 49, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101827;
  --paper-muted: #142033;
  --surface: #192538;
  --text: #f6f7f4;
  --muted: #aeb7c4;
  --line: #344257;
  --mint: #6ed5ba;
  --mint-strong: #7ce0c5;
  --mint-dark: #7ce0c5;
  --button-text: #0b2b25;
  --focus: #f4c152;
  --error: #ff9c9c;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #101827;
    --paper-muted: #142033;
    --surface: #192538;
    --text: #f6f7f4;
    --muted: #aeb7c4;
    --line: #344257;
    --mint: #6ed5ba;
    --mint-strong: #7ce0c5;
    --mint-dark: #7ce0c5;
    --button-text: #0b2b25;
    --focus: #f4c152;
    --error: #ff9c9c;
    --shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--mint-dark);
  text-underline-offset: 0.2em;
}

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

button,
.button {
  min-height: 46px;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--surface);
  color: var(--text);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.launch-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
}

.hero-copy-panel {
  background: var(--navy);
  color: #f8faf8;
}

.copy-panel-inner {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 3rem clamp(2rem, 4vw, 3.75rem);
}

.launch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  gap: 0.05rem;
}

.brand strong {
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-on-dark {
  color: #f8faf8;
}

.brand-on-dark small {
  color: #98a4b5;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.theme-switch-on-dark {
  border-color: var(--navy-line);
  background: var(--navy);
  color: #8d9aac;
}

.theme-option {
  display: grid;
  place-items: center;
  padding: 0.2rem 0.3rem;
  border-radius: 6px;
  opacity: 0.42;
}

.theme-option img {
  display: block;
  width: 20px;
  height: 20px;
}

.theme-divider {
  width: 1px;
  height: 20px;
  background: currentColor;
  opacity: 0.28;
}

:root[data-theme="light"] .theme-option-light,
:root[data-theme="dark"] .theme-option-dark {
  opacity: 1;
}

.hero-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
  padding: clamp(2rem, 4vh, 3rem) 0 clamp(8rem, 20vh, 13rem);
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5.65rem);
  font-weight: 760;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
}

.lede {
  max-width: 560px;
  margin: 1.75rem 0 0;
  color: #b6c0cd;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mint);
  border-radius: 10px;
  padding: 0.78rem 1.15rem;
  background: var(--mint);
  color: var(--button-text);
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--mint-strong);
  background: var(--mint-strong);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.button-wide {
  min-width: 265px;
  min-height: 60px;
}

.text-link {
  color: var(--mint-dark);
  font-weight: 760;
}

.text-link-on-dark {
  color: var(--mint);
}

.hero-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 3.25rem) clamp(1.5rem, 4vw, 4.5rem);
}

.form-panel-inner {
  width: min(100%, 570px);
}

.form-card,
.example-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-card {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
}

.compact-form {
  display: grid;
  gap: 0.72rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

label {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 740;
}

.optional {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 560;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  padding: 0.72rem 0.8rem;
}

input,
select {
  min-height: 48px;
}

select {
  appearance: auto;
}

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

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.72;
}

.extra-fields {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}

.extra-fields summary {
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.extra-fields summary span {
  color: var(--muted);
  font-weight: 560;
}

.extra-field {
  margin-top: 0.8rem;
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 520;
  line-height: 1.45;
}

.checkbox input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 0.1rem;
}

.extra-fields .checkbox {
  margin-top: 0.75rem;
}

.privacy-check a {
  color: var(--mint-dark);
}

.form-submit {
  width: 100%;
  min-height: 55px;
}

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

.form-status {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="success"] {
  color: var(--mint-dark);
}

.form-status[data-state="error"] {
  color: var(--error);
}

.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.example-card {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.card-label span:first-child {
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--mint) 28%, var(--surface));
  color: var(--mint-dark);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-card h2 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.example-card p {
  margin: 0.45rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.example-meta span {
  margin-inline: 0.35rem;
}

.example-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.3rem 0 1.1rem;
}

.example-facts div {
  padding: 0 0.75rem;
  border-left: 1px solid var(--line);
}

.example-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.example-facts dt {
  color: var(--muted);
  font-size: 0.7rem;
}

.example-facts dd {
  margin: 0.15rem 0 0;
  color: var(--text);
  font-size: 0.82rem;
}

.example-card > a {
  font-size: 0.82rem;
  font-weight: 740;
}

.content-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.step {
  padding: 1.35rem;
  border-top: 2px solid var(--mint);
  background: var(--surface);
}

.step-number {
  color: var(--mint-dark);
  font-weight: 800;
}

.step p,
.plain-list,
.section-copy {
  color: var(--muted);
}

.stats {
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.stats strong {
  color: var(--text);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.plain-list {
  margin: 0;
  padding-left: 1.25rem;
}

.plain-list li + li {
  margin-top: 0.65rem;
}

.section-copy p:first-child {
  margin-top: 0;
}

.section-copy .button {
  margin-top: 1rem;
}

.signup-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.signup-actions .button {
  margin-top: 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.site-header .brand img {
  width: 42px;
  height: 42px;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.legal-page {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.legal-page h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.legal-page h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.page-meta,
.error-code {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-page > p:not(.page-meta, .form-status) {
  max-width: 650px;
  color: var(--muted);
}

.billing-form {
  display: grid;
  max-width: 540px;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.notice-card {
  max-width: 650px;
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.service-status {
  min-height: 1.4rem;
  margin-top: 1rem;
}

.error-code {
  font-weight: 760;
}

@media (max-width: 1100px) {
  .copy-panel-inner {
    padding: 2rem;
  }

  .theme-switch {
    gap: 0.3rem;
    padding-inline: 0.45rem;
  }

  .hero-copy {
    padding-top: 5rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-wide {
    min-width: 240px;
  }

  .hero-form-panel {
    padding-inline: 2rem;
  }
}

@media (max-width: 820px) {
  .launch-screen {
    grid-template-columns: 1fr;
  }

  .copy-panel-inner {
    min-height: min(760px, 100svh);
  }

  .hero-copy {
    padding-top: 4.5rem;
  }

  .hero-form-panel {
    padding-block: 3rem;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
  }

  .steps,
  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .copy-panel-inner {
    min-height: auto;
    padding: 1.25rem 1rem 3.25rem;
  }

  .launch-header {
    align-items: flex-start;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .theme-switch {
    min-height: 42px;
  }

  .hero-copy {
    padding: 4.5rem 0 1rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .lede {
    margin-top: 1.35rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

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

  .text-link-on-dark {
    align-self: flex-start;
  }

  .hero-form-panel {
    padding: 2rem 1rem 2.5rem;
  }

  .form-card,
  .example-card {
    border-radius: 14px;
    box-shadow: none;
  }

  .example-facts {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .example-facts div,
  .example-facts div:first-child {
    padding: 0 0 0.8rem;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }
}

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

  .button {
    transition: none;
  }
}
