:root {
  color-scheme: light;
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #8e8e93;
  --body: #3a3a3c;
  --link: #007aff;
  --line: #e5e5ea;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 18px;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  font-size: 14px;
  font-weight: 600;
}

main {
  flex: 1;
  padding: 12px 0 56px;
}

h1 {
  font-size: 32px;
  letter-spacing: -0.7px;
  margin: 28px 0 8px;
}

.updated, .lede {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px;
}

.lede { font-weight: 500; line-height: 1.5; }

h2 {
  font-size: 18px;
  margin: 28px 0 8px;
  letter-spacing: -0.2px;
}

p, li {
  color: var(--body);
  line-height: 1.55;
  margin: 0 0 12px;
  font-size: 16px;
}

ul { margin: 0 0 12px; padding-left: 20px; }

.hero {
  background: var(--card);
  border-radius: 22px;
  padding: 28px 24px;
  margin-top: 20px;
}

.hero h1 { margin: 0 0 8px; font-size: 34px; }
.hero p { margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.card {
  display: block;
  background: var(--card);
  border-radius: 18px;
  padding: 18px 16px;
  color: var(--text);
  text-decoration: none;
}

.card:hover { text-decoration: none; }
.card strong { display: block; font-size: 16px; margin-bottom: 6px; }
.card span { color: var(--muted); font-size: 14px; line-height: 1.4; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p { color: var(--muted); font-size: 13px; margin: 0 0 6px; }

nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
  pointer-events: none;
}

/* Contact page */
.contact-page {
  max-width: 640px;
}

.contact-intro h1 {
  margin-bottom: 10px;
}

.contact-intro .lede {
  margin-bottom: 22px;
}

.contact-card,
.contact-form {
  display: block;
  background: var(--card);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);
}

.contact-card-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}

.contact-email {
  display: block;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  word-break: break-word;
}

.contact-email:hover {
  color: var(--link);
  text-decoration: none;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 560px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
  }

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.1px;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
  background: #fafafa;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aeaeb2;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  background: #fff;
  border-color: #d2d2d7;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--link);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.contact-form select {
  padding-right: 40px;
  cursor: pointer;
  background-image: none;
}

a.contact-submit,
.contact-submit {
  display: block;
  width: 100%;
  margin-top: 0;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  background: var(--text);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
  box-sizing: border-box;
}

a.contact-submit:hover,
.contact-submit:hover {
  opacity: 0.92;
  text-decoration: none;
  color: #fff;
}

.contact-submit:disabled {
  opacity: 1;
  cursor: default;
}

.contact-submit.is-sent {
  background: #1b7a45;
}

.contact-submit:active {
  transform: scale(0.985);
}

.contact-secondary {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.contact-secondary:hover {
  background: #fafafa;
}

.form-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sent-banner {
  background: #e8f8ef;
  color: #1b7a45;
  border-radius: 16px;
  padding: 16px 18px;
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 1.45;
}

.sent-banner a {
  color: #1b7a45;
  text-decoration: underline;
}

.error-banner {
  background: #ffecec;
  color: #b42318;
  border-radius: 16px;
  padding: 16px 18px;
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 1.45;
}

.status-pill {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #0a4fad;
  font-size: 13px;
  font-weight: 700;
}

.waitlist-form {
  margin-top: 16px;
}

.optional {
  color: var(--muted);
  font-weight: 600;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #1c1c1e;
}

.contact-submit.is-waiting:disabled {
  opacity: 0.45;
  cursor: wait;
}

@media (max-width: 720px) {
  h1, .hero h1 { font-size: 28px; }
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  nav { width: 100%; }
  .contact-card,
  .contact-form { padding: 22px 18px; }
}

/* Waiting list product page */
.landing {
  --paper: #f3f0e8;
  --ink: #171717;
  --soft: #5f5a53;
  --line: #e4dfd6;
  --card: #fffdf9;
  background: var(--paper);
  color: var(--ink);
}

.landing a { color: inherit; }
.landing a:hover { text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.land-bar {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.land-logo {
  font-weight: 760;
  letter-spacing: -0.4px;
  font-size: 18px;
}

.land-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.land-lang,
.land-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

.land-lang {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.landing a.land-bar-btn {
  background: #171717;
  color: #fff;
}

.land-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 28px 0 18px;
}

.land-eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ead9a4;
  color: #8a5a10;
  font-size: 13px;
  font-weight: 700;
}

.landing h1 {
  margin: 0 0 14px;
  max-width: 11ch;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -1.6px;
  font-weight: 760;
}

.land-lead {
  margin: 0 0 22px;
  max-width: 46ch;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.5;
}

.land-form { scroll-margin-top: 20px; }

.land-join {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(40, 30, 10, 0.05);
}

.land-join input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.land-join:focus-within {
  border-color: #171717;
  box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.08);
}

.land-join input:focus { outline: none; }

.land-join button {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  min-height: 48px;
  background: #171717;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.land-join button:disabled { opacity: 0.65; cursor: wait; }

.land-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  max-width: 280px;
  font-size: 13px;
  font-weight: 650;
}

.land-name em {
  color: var(--soft);
  font-style: normal;
  font-weight: 550;
}

.land-name input,
.landing .land-form input[type="text"] {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}

.land-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  max-width: 52ch;
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.land-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #171717;
}

.land-consent a { text-decoration: underline; }

.land-note {
  margin: 10px 0 0;
  color: #8a847b;
  font-size: 13px;
}

.landing .sent-banner,
.landing .error-banner { margin-bottom: 12px; }

.phone {
  justify-self: end;
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 36px;
  background: #1c1c1c;
  box-shadow: 0 30px 70px rgba(40, 30, 10, 0.16);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.land-points {
  width: min(1120px, calc(100% - 40px));
  margin: 36px auto 0;
  padding: 8px 0 8px;
  border-top: 1px solid var(--line);
}

.land-points ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 18px 0;
  padding: 0;
}

.land-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.land-points li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e7f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23167a45' stroke-width='2' d='M3 8.2 6.2 11.4 13 4.6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.land-steps {
  width: min(1120px, calc(100% - 40px));
  margin: 10px auto 0;
  padding: 42px 0 20px;
}

.land-kicker {
  margin: 0 0 8px;
  color: #8a847b;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.8px;
  max-width: 16ch;
}

.land-steps ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
}

.land-steps li {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
}

.land-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.land-steps span {
  display: block;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.45;
}

.land-foot {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  color: #8a847b;
  font-size: 13px;
}

.land-foot p { margin: 0 0 6px; color: #8a847b; font-size: 13px; }
.land-foot a { text-decoration: underline; }

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

@media (max-width: 860px) {
  .land-hero,
  .land-points ul,
  .land-steps ol { grid-template-columns: 1fr; }
  .phone { justify-self: center; }
  .landing h1 { max-width: none; }
  .land-hero { padding-top: 8px; gap: 28px; }
}
