:root {
  --ink: #33261f;
  --ink-soft: #55443b;
  --muted: #7d6b61;
  --faint: #a89286;
  --paper: #f0e8e1;
  --surface: #fbf6f2;
  --surface-raised: #ffffff;
  --surface-soft: #f6ede7;
  --plate: #ecdbd2;
  --line: rgba(51, 38, 31, 0.09);
  --forest: #b5806b;
  --forest-dark: #8a5f4d;
  --mint: #ecdbd2;
  --lime: #e0c48f;
  --danger: #c9776a;
  --button-ink: #fbf6f2;
  --shadow: 0 20px 50px rgba(51, 38, 31, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece3dc;
    --ink-soft: #c8b9b0;
    --muted: #a08f85;
    --faint: #7d6b61;
    --paper: #1b1614;
    --surface: #241d1a;
    --surface-raised: #2b2220;
    --surface-soft: #2b2220;
    --plate: #332722;
    --line: rgba(255, 255, 255, 0.08);
    --forest: #c79581;
    --forest-dark: #e1b7a6;
    --mint: #332722;
    --lime: #a08454;
    --danger: #d98d7d;
    --button-ink: #241d1a;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--button-ink);
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-180%);
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--forest-dark) 70%, transparent);
  outline-offset: 4px;
}

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

.wrap {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding-inline: 24px;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1.5px dashed var(--forest);
  border-radius: 50%;
}

.brand-mark svg {
  width: 16px;
  height: 16px;
}

.brand-mark::after {
  position: absolute;
  right: -2px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

nav.header-links {
  display: flex;
  flex: 1 1 auto;
  gap: 26px;
  font-size: 13px;
  font-weight: 500;
}

nav.header-links a {
  text-decoration: none;
  color: var(--muted);
}

nav.header-links a:hover {
  color: var(--forest-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--button-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  nav.header-links {
    display: none;
  }
}

/* language switcher */
.lang-switch {
  position: relative;
}

.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-soft);
  background: var(--surface-raised);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch[open] summary {
  border-color: var(--forest);
}

.lang-switch .lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 4px;
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.lang-switch .lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.lang-switch .lang-menu a:hover {
  background: var(--surface-soft);
}

.lang-switch .lang-menu a.is-active {
  color: var(--forest-dark);
  background: var(--mint);
  font-weight: 600;
}

/* eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px 6px 8px;
  border-radius: 99px;
  color: var(--forest-dark);
  background: var(--plate);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: 60px;
  padding: 72px 0 90px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 0 60px;
    text-align: center;
  }

  .hero .eyebrow {
    margin-inline: auto;
  }
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero p.lede {
  max-width: 460px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero p.lede {
    margin-inline: auto;
  }
}

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

@media (max-width: 900px) {
  .cta-row {
    justify-content: center;
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  border: 0;
  color: var(--button-ink);
  background: var(--ink);
}

.btn-primary:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 20%, transparent);
}

.btn-secondary {
  border: 1.5px dashed var(--forest);
  color: var(--forest-dark);
  background: transparent;
}

.platform-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* phone mockup */
.phone {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 44px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  padding: 22px 18px 26px;
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.phone-topbar .brand {
  font-size: 12px;
}

.phone-topbar .brand-mark {
  width: 24px;
  height: 24px;
}

.phone-topbar .brand-mark svg {
  width: 11px;
  height: 11px;
}

.phone-pill {
  padding: 4px 9px;
  border-radius: 99px;
  color: var(--forest-dark);
  background: var(--plate);
  font-family: var(--mono);
  font-size: 9px;
}

.phone-card {
  display: flex;
  min-height: 210px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 18px;
  padding: 24px 14px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 35%, var(--surface-soft), transparent 60%),
    var(--surface-raised);
  text-align: center;
}

.phone-icon {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--plate);
}

.phone-icon::before {
  position: absolute;
  inset: -9px;
  border: 1px dashed color-mix(in srgb, var(--forest) 45%, transparent);
  border-radius: 50%;
  content: "";
}

.phone-icon svg {
  width: 30px;
  height: 30px;
}

.phone-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.phone-card span {
  color: var(--muted);
  font-size: 11px;
}

.phone-progress {
  height: 4px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--plate);
  overflow: hidden;
}

.phone-progress i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 99px;
  background: var(--forest);
}

.phone-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  color: var(--button-ink);
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

/* generic sections */
section {
  padding: 70px 0;
}

.section-head {
  max-width: 560px;
  margin: 0 0 44px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

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

@media (max-width: 800px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.principle-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.principle-card .num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--forest);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.principle-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 30px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest-dark);
  background: var(--plate);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* features */
.features-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  overflow: hidden;
}

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

@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.features-grid .feature-row:nth-child(even) {
  border-right: 0;
}

@media (max-width: 700px) {
  .feature-row {
    border-right: 0 !important;
  }
}

.feature-row svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--forest-dark);
}

.feature-row strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 500;
}

.feature-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* privacy band */
.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--plate);
}

@media (max-width: 800px) {
  .privacy-band {
    grid-template-columns: 1fr;
    padding: 32px 26px;
    text-align: center;
  }
}

.privacy-band h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.privacy-band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-raised);
  font-size: 12px;
  color: var(--ink-soft);
}

.privacy-list svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--forest-dark);
}

/* languages row */
.lang-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lang-chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface-raised);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-decoration: none;
}

.lang-chip.is-active {
  border-color: var(--forest);
  color: var(--forest-dark);
  background: var(--mint);
}

/* final cta */
.final-cta {
  display: grid;
  place-items: center;
  gap: 20px;
  padding: 70px 26px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--button-ink);
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.final-cta p {
  margin: 0;
  max-width: 420px;
  color: color-mix(in srgb, var(--button-ink) 70%, transparent);
  font-size: 14px;
  line-height: 1.6;
}

.final-cta .btn-primary {
  background: var(--button-ink);
  color: var(--ink);
}

/* footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--forest-dark);
}

.footer-note {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

/* legal pages */
main.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}

main.legal a {
  color: var(--forest-dark);
  text-decoration: none;
}

main.legal a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

main.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 7vw, 42px);
}

.updated {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

main.legal .lede {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

main.legal section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

main.legal section h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

main.legal section p,
main.legal section li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

main.legal section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-note {
  margin-top: 50px;
  padding: 18px 20px;
  border: 1px dashed var(--forest);
  border-radius: 16px;
  color: var(--muted);
  background: var(--surface-raised);
  font-size: 12px;
  line-height: 1.6;
}

main.legal footer {
  margin-top: 50px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding-inline: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 36px !important;
  }

  section {
    padding-block: 52px;
  }

  .footer-row,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
