:root {
  --bg: #050505;
  --ink: #f7f0e7;
  --muted: #9d948b;
  --dim: #605955;
  --paper: #e8d8bf;
  --paper-2: #c9b79d;
  --panel: #151311;
  --panel-2: #211d19;
  --green: #d7e8c6;
  --blue: #b8c6e6;
  --rose: #e8c8bd;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(86, 66, 48, 0.22), transparent 31rem),
    linear-gradient(180deg, #080706 0%, #050505 42%, #070605 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.side-rail {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  left: 33px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 230px;
  z-index: 25;
}

.rail-item {
  align-items: center;
  display: flex;
  height: 12px;
  position: relative;
  text-decoration: none;
}

.rail-dash::before {
  background: rgba(247, 240, 231, 0.38);
  content: "";
  display: block;
  height: 2px;
  transform-origin: left center;
  transition:
    background 180ms ease,
    transform 220ms ease,
    width 220ms ease;
  width: 54px;
}

.rail-dash:nth-of-type(3)::before {
  width: 48px;
}

.rail-dash:nth-of-type(4)::before {
  width: 43px;
}

.rail-dash:nth-of-type(5)::before {
  width: 38px;
}

.rail-dash:nth-of-type(6)::before {
  width: 33px;
}

.rail-dash:nth-of-type(7)::before {
  width: 27px;
}

.rail-dash:hover::before,
.rail-dash:focus-visible::before,
.rail-dash.is-active::before {
  background: var(--ink);
  transform: scaleX(1.18);
}

.rail-icon {
  height: 26px;
  margin-bottom: 2px;
  width: 26px;
}

.rail-icon:last-child {
  margin-top: 2px;
}

.rail-ask-mark,
.rail-down-mark {
  align-items: center;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.rail-ask-mark img {
  filter: invert(1);
  height: 20px;
  opacity: 0.66;
  transition: opacity 180ms ease;
  width: auto;
}

.rail-ask:hover .rail-ask-mark img,
.rail-ask:focus-visible .rail-ask-mark img,
.rail-ask.is-active .rail-ask-mark img {
  opacity: 1;
}

.rail-principles-mark {
  display: block;
  height: 20px;
  position: relative;
  width: 20px;
}

.rail-principles-mark {
  border: 1px solid rgba(247, 240, 231, 0.44);
  border-radius: 50%;
  transition: border-color 180ms ease;
}

.rail-principles-mark::after {
  background: rgba(247, 240, 231, 0.6);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background 180ms ease;
  width: 5px;
}

.rail-principles:hover .rail-principles-mark,
.rail-principles:focus-visible .rail-principles-mark,
.rail-principles.is-active .rail-principles-mark {
  border-color: var(--ink);
}

.rail-principles:hover .rail-principles-mark::after,
.rail-principles:focus-visible .rail-principles-mark::after,
.rail-principles.is-active .rail-principles-mark::after {
  background: var(--ink);
}

.rail-updates {
  margin-top: 8px;
}

.rail-down-mark::before {
  border-bottom: 2px solid rgba(247, 240, 231, 0.66);
  border-right: 2px solid rgba(247, 240, 231, 0.66);
  content: "";
  height: 10px;
  transform: translateY(-2px) rotate(45deg);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
  width: 10px;
}

.rail-updates:hover .rail-down-mark::before,
.rail-updates:focus-visible .rail-down-mark::before,
.rail-updates.is-active .rail-down-mark::before {
  border-color: var(--ink);
  transform: translateY(1px) rotate(45deg);
}

.rail-label {
  background: rgba(5, 5, 5, 0.82);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  left: 92px;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  padding: 3px 8px 4px 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-8px, -50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.rail-item:hover .rail-label,
.rail-item:focus-visible .rail-label {
  opacity: 1;
  transform: translate(0, -50%);
}

main {
  overflow-x: clip;
  overflow-y: visible;
}

.screen {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 104px);
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 0.92fr);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(58px, 7vw, 100px) clamp(24px, 7vw, 98px) clamp(58px, 7vw, 100px)
    clamp(300px, 28vw, 380px);
}

.screen-copy {
  max-width: 720px;
  overflow-wrap: anywhere;
  opacity: 1;
}

.hero-screen {
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  position: relative;
}

.brand-mark {
  position: absolute;
  right: clamp(24px, 6vw, 84px);
  top: clamp(30px, 5vw, 54px);
}

.brand-mark img {
  filter: invert(1);
  height: 28px;
  width: auto;
}

.hero-copy {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.kicker {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(56px, 8.8vw, 118px);
  line-height: 0.94;
  margin-bottom: 30px;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 0.99;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
  margin-bottom: 16px;
}

p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 430;
  line-height: 1.62;
}

.hero-copy > p:not(.kicker),
.principles-screen .screen-copy > p:not(.kicker) {
  color: var(--ink);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.34;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-badge {
  align-items: center;
  border: 1px solid rgba(247, 240, 231, 0.28);
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  gap: 12px;
  height: 54px;
  justify-content: flex-start;
  min-width: 178px;
  padding: 8px 14px 8px 12px;
  transition:
    border-color 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.store-badge:hover {
  border-color: rgba(247, 240, 231, 0.72);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.store-badge svg {
  flex: 0 0 auto;
  height: 27px;
  width: 27px;
}

.store-badge span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.store-badge small {
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
}

.store-badge strong {
  font-size: 18px;
  font-weight: 760;
  line-height: 1.05;
}

.app-store {
  background: #000000;
  color: #ffffff;
}

.app-store svg {
  fill: #ffffff;
}

.play-store {
  background: #101010;
  color: #ffffff;
}

.play-green {
  fill: #34a853;
}

.play-blue {
  fill: #4285f4;
}

.play-yellow {
  fill: #fbbc04;
}

.play-red {
  fill: #ea4335;
}

.preview-screen.is-reversed {
  grid-template-columns: minmax(0, 0.92fr) minmax(310px, 0.82fr);
}

.preview-screen.is-reversed .phone-shot {
  order: 2;
}

.phone-shot {
  background: var(--panel);
  color: var(--ink);
  min-height: min(70vh, 680px);
  opacity: 1;
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  width: min(100%, 430px);
}

.phone-shot.is-slider-ready {
  aspect-ratio: 430 / 735;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(155deg, #22201d 0%, #070706 43%, #24211e 100%);
  border: 1px solid rgba(247, 240, 231, 0.18);
  border-radius: 44px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -18px 34px rgba(0, 0, 0, 0.46),
    0 34px 86px rgba(0, 0, 0, 0.46);
  min-height: 0;
  overflow: visible;
  padding: 0;
  width: min(100%, 370px);
}

.phone-shot.is-slider-ready > :not(.preview-slider) {
  display: none;
}

.phone-shot.is-slider-ready::before {
  background: rgba(5, 5, 5, 0.82);
  border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16);
  content: "";
  height: 5px;
  left: 50%;
  position: absolute;
  top: 9px;
  transform: translateX(-50%);
  width: 72px;
  z-index: 3;
}

.phone-shot.is-slider-ready::after {
  border: 1px solid rgba(247, 240, 231, 0.1);
  border-radius: 32px;
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.035);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.preview-slider,
.preview-slide {
  position: absolute;
}

.preview-slider {
  background: #0c0b0a;
  border-radius: 32px;
  inset: 14px;
  overflow: hidden;
}

.preview-slide {
  height: 100%;
  inset: 0;
  object-fit: contain;
  opacity: 0;
  width: 100%;
}

.preview-slide.is-active {
  opacity: 1;
}

.shot-top {
  color: currentColor;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 42px;
  text-transform: uppercase;
}

.shot-chat {
  background: var(--paper);
  color: #12100e;
}

.chat-line {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  margin-top: 14px;
  padding: 18px;
}

.chat-line.is-user {
  background: rgba(5, 5, 5, 0.08);
}

.chat-line.is-app {
  background: #111111;
  color: var(--ink);
}

.chat-line.is-note {
  background: rgba(105, 92, 76, 0.18);
}

.date-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 34px;
}

.date-strip span {
  aspect-ratio: 1;
  background: var(--panel-2);
}

.date-strip .active {
  background: var(--paper);
}

.today-card,
.drawer-line,
.candidate-card,
.lookbook-page {
  background: var(--panel-2);
  color: var(--ink);
  padding: 22px;
}

.today-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 18px;
}

.today-card p {
  margin-bottom: 0;
}

.closet-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 24px;
}

.closet-grid span {
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(247, 240, 231, 0.18), rgba(247, 240, 231, 0.03)),
    var(--panel-2);
}

.drawer-line {
  font-weight: 700;
}

.shot-map {
  overflow: hidden;
}

.map-dot {
  background: var(--paper);
  border-radius: 50%;
  height: 74px;
  position: absolute;
  width: 74px;
}

.map-dot.a {
  left: 18%;
  top: 26%;
}

.map-dot.b {
  right: 22%;
  top: 34%;
}

.map-dot.c {
  left: 34%;
  bottom: 22%;
}

.map-dot.d {
  right: 18%;
  bottom: 16%;
}

.map-path {
  background: rgba(247, 240, 231, 0.18);
  height: 240px;
  left: 50%;
  position: absolute;
  top: 42%;
  transform: translate(-50%, -50%) rotate(24deg);
  width: 2px;
}

.candidate-card {
  align-items: center;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  height: 260px;
  justify-content: center;
  margin-bottom: 18px;
}

.compare-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.compare-row span {
  background: var(--panel-2);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 16px;
}

.lookbook-page {
  align-items: end;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  height: 430px;
  line-height: 1.05;
}

.principles-screen {
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.82fr);
}

.principles-icon {
  border-radius: 50%;
  height: clamp(170px, 24vw, 280px);
  justify-self: center;
  opacity: 0;
  position: relative;
  transform: scale(0.96);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
  width: clamp(170px, 24vw, 280px);
}

.screen.is-inview .principles-icon {
  opacity: 1;
  transform: scale(1);
}

.principles-icon::before,
.principles-icon::after {
  border: 1px solid rgba(247, 240, 231, 0.36);
  border-radius: 50%;
  content: "";
  inset: 0;
  position: absolute;
}

.principles-icon::after {
  inset: 26%;
}

.footer-signup {
  color: var(--ink);
  display: grid;
  gap: clamp(58px, 8vw, 112px);
  min-height: 72vh;
  overflow-wrap: anywhere;
  padding: clamp(58px, 7vw, 96px) clamp(22px, 4vw, 64px) clamp(58px, 7vw, 96px)
    clamp(300px, 28vw, 380px);
}

.newsletter-block {
  max-width: 620px;
}

.newsletter-block h2 {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.18;
  margin-bottom: 22px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(220px, 460px) 154px;
  max-width: 614px;
}

.newsletter-form input,
.newsletter-form button {
  border: 0;
  border-radius: 0;
  font: inherit;
  min-height: 50px;
}

.newsletter-form input {
  background: rgba(247, 240, 231, 0.12);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  outline: none;
  padding: 0 16px;
}

.newsletter-form input::placeholder {
  color: rgba(247, 240, 231, 0.48);
}

.newsletter-form input:focus {
  background: rgba(247, 240, 231, 0.18);
}

.newsletter-form button {
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.newsletter-form button:hover {
  background: var(--paper);
  color: #111111;
}

.newsletter-note,
.newsletter-status {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 13px 0 0;
}

.newsletter-note a,
.footer-policy-links a,
.footer-email {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.newsletter-status {
  color: var(--muted);
  min-height: 20px;
}

.social-links {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.social-links a {
  align-items: center;
  color: rgba(247, 240, 231, 0.86);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  transition:
    color 180ms ease,
    transform 180ms ease;
  width: 24px;
}

.social-links a:hover {
  color: var(--paper);
  transform: translateY(-1px);
}

.social-links svg {
  fill: currentColor;
  height: 20px;
  width: 20px;
}

.footer-about-block {
  align-items: start;
  border-bottom: 1px solid rgba(247, 240, 231, 0.16);
  border-top: 1px solid rgba(247, 240, 231, 0.16);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(280px, 0.92fr) minmax(220px, 0.42fr);
  padding: clamp(28px, 4vw, 42px) 0;
}

.footer-about-block h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  margin-bottom: 20px;
  max-width: 820px;
}

.brand-origin {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  gap: 8px 12px;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 0 0 18px;
}

.footer-origin {
  align-content: center;
  display: grid;
  gap: 6px;
  justify-self: start;
  margin: 0;
  max-width: 340px;
}

.brand-origin span:first-child {
  color: var(--ink);
}

.brand-origin span + span::before {
  color: rgba(247, 240, 231, 0.34);
  content: "/";
  margin-right: 12px;
}

.footer-origin span + span::before {
  content: none;
  margin: 0;
}

.footer-about-block p:not(.kicker):not(.brand-origin) {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  max-width: 760px;
}

.footer-policy-links {
  align-items: center;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  padding-bottom: 4px;
}

.footer-policy-links a {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  align-items: start;
  color: var(--muted);
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.42fr);
  min-height: 168px;
  padding: 34px clamp(22px, 4vw, 64px) 42px;
}

.footer-identity {
  align-content: start;
  display: grid;
  gap: 18px;
  justify-self: start;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
  justify-self: start;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
}

.footer-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-end;
  justify-self: end;
  text-align: right;
}

.language-picker {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

.language-icon {
  fill: none;
  flex: 0 0 auto;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 16px;
}

.language-toggle {
  align-items: center;
  background: rgba(247, 240, 231, 0.08);
  border: 1px solid rgba(247, 240, 231, 0.24);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 9px;
  min-height: 36px;
  min-width: 166px;
  padding: 7px 12px;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible,
.language-toggle[aria-expanded="true"] {
  background: rgba(247, 240, 231, 0.12);
  border-color: rgba(247, 240, 231, 0.56);
  outline: none;
}

.language-toggle [data-language-current] {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-caret {
  border-bottom: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  flex: 0 0 auto;
  opacity: 0.72;
}

.language-menu {
  background:
    linear-gradient(145deg, rgba(247, 240, 231, 0.08), rgba(247, 240, 231, 0.02)),
    rgba(7, 6, 5, 0.98);
  border: 1px solid rgba(247, 240, 231, 0.2);
  bottom: calc(100% + 8px);
  display: grid;
  gap: 1px;
  left: 0;
  max-height: min(58vh, 390px);
  min-width: 212px;
  overflow-y: auto;
  padding: 6px;
  position: absolute;
  scrollbar-color: rgba(247, 240, 231, 0.38) rgba(247, 240, 231, 0.06);
  scrollbar-width: thin;
  z-index: 40;
}

.language-menu[hidden] {
  display: none;
}

.language-menu::-webkit-scrollbar {
  width: 8px;
}

.language-menu::-webkit-scrollbar-track {
  background: rgba(247, 240, 231, 0.06);
}

.language-menu::-webkit-scrollbar-thumb {
  background: rgba(247, 240, 231, 0.34);
}

.language-menu button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(247, 240, 231, 0.74);
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  padding: 9px 11px;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
  width: 100%;
}

.language-menu button:hover,
.language-menu button:focus-visible {
  background: rgba(247, 240, 231, 0.1);
  color: var(--ink);
  outline: none;
}

.language-menu button.is-active {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-email {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.footer-email:hover,
.footer-policy-links a:hover,
.newsletter-note a:hover,
.language-picker:hover {
  color: var(--ink);
}

.coming-soon {
  background: var(--panel);
  border: 0;
  border-radius: 0;
  color: var(--ink);
  max-width: 460px;
  padding: 34px;
}

.coming-soon::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.coming-soon h2 {
  font-size: 34px;
}

.modal-close {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 12px;
}

.subpage {
  min-height: 100vh;
}

.page-return {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  left: clamp(22px, 4vw, 46px);
  line-height: 1;
  position: fixed;
  text-decoration: none;
  top: clamp(24px, 5vw, 46px);
  z-index: 20;
}

.legal-page {
  align-content: start;
  display: grid;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1120px;
  padding: clamp(58px, 8vw, 96px) 24px;
}

.legal-page .brand {
  display: inline-block;
  margin-bottom: clamp(42px, 6vw, 64px);
}

.legal-page .brand img {
  filter: invert(1);
  height: 26px;
}

.legal-page h1 {
  font-size: clamp(44px, 6vw, 70px);
  margin-bottom: 24px;
}

.legal-hero {
  border-bottom: 1px solid rgba(247, 240, 231, 0.16);
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  margin-bottom: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(28px, 5vw, 54px);
}

.legal-lede {
  color: var(--ink);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  max-width: 760px;
}

.legal-meta {
  align-self: end;
  display: grid;
  gap: 10px;
}

.meta-card,
.legal-card,
.help-card {
  background:
    linear-gradient(145deg, rgba(247, 240, 231, 0.1), rgba(247, 240, 231, 0.025)),
    rgba(21, 19, 17, 0.86);
  border: 1px solid rgba(247, 240, 231, 0.14);
  padding: 18px;
}

.meta-card {
  display: grid;
  gap: 5px;
}

.meta-card span,
.legal-card span,
.help-card span {
  color: var(--muted);
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-card strong {
  color: var(--ink);
  font-size: 15px;
}

.legal-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(32px, 5vw, 54px);
}

.legal-card {
  min-height: 184px;
}

.legal-card h2,
.help-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  margin: 12px 0 10px;
}

.legal-card p,
.help-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.legal-sections {
  display: grid;
  gap: 0;
}

.legal-page section {
  border-top: 1px solid rgba(247, 240, 231, 0.12);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  padding: 26px 0;
}

.legal-page h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
}

.legal-page section p {
  margin-bottom: 13px;
}

.legal-page section p:last-child {
  margin-bottom: 0;
}

.legal-sections.is-localized section {
  grid-template-columns: 42px minmax(180px, 0.32fr) minmax(0, 1fr);
}

.legal-section-number {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  padding-top: 5px;
}

.legal-sections.is-localized h2 {
  font-size: clamp(20px, 2vw, 25px);
}

.help-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(32px, 5vw, 54px);
}

.help-card {
  min-height: 210px;
}

.contact-band {
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: clamp(30px, 5vw, 54px);
  padding: 22px;
}

.contact-band p {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.35;
  margin: 0;
}

.contact-band a {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 750;
  white-space: nowrap;
}

.legal-page a {
  color: var(--ink);
  font-weight: 750;
}

html:not([lang="en"]) h1 {
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1;
}

html[lang="ko"] h1,
html[lang="ko"] h2 {
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

html[lang="ar"] h1,
html[lang="hi"] h1,
html[lang="th"] h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.08;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .side-rail {
  left: auto;
  right: 33px;
}

html[dir="rtl"] .rail-dash::before {
  transform-origin: right center;
}

html[dir="rtl"] .rail-label {
  left: auto;
  padding: 3px 0 4px 8px;
  right: 92px;
  transform: translate(8px, -50%);
}

html[dir="rtl"] .rail-item:hover .rail-label,
html[dir="rtl"] .rail-item:focus-visible .rail-label {
  transform: translate(0, -50%);
}

@media (max-width: 1280px) {
  html[dir="rtl"] .rail-label {
    display: none;
  }
}

html[dir="rtl"] .screen {
  padding-left: clamp(300px, 28vw, 380px);
  padding-right: clamp(24px, 7vw, 98px);
}

html[dir="rtl"] .brand-mark {
  left: clamp(24px, 6vw, 84px);
  right: auto;
}

html[dir="rtl"] .store-badge span {
  text-align: right;
}

html[dir="rtl"] .footer-signup {
  padding-left: clamp(300px, 28vw, 380px);
  padding-right: clamp(22px, 4vw, 64px);
}

html[dir="rtl"] .footer-actions {
  justify-content: flex-start;
  justify-self: start;
}

html[dir="rtl"] .language-toggle,
html[dir="rtl"] .language-menu button {
  text-align: right;
}

html[dir="rtl"] .language-menu {
  left: auto;
  right: 0;
}

html[dir="rtl"] .page-return {
  left: auto;
  right: clamp(22px, 4vw, 46px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .side-rail {
    gap: 9px;
    left: 18px;
    width: 62px;
  }

  html[dir="rtl"] .side-rail {
    left: auto;
    right: 18px;
  }

  .rail-dash::before,
  .rail-dash:nth-of-type(n)::before {
    width: 28px;
  }

  .rail-label {
    display: none;
  }

  .hero-screen,
  .screen,
  .preview-screen.is-reversed,
  .principles-screen {
    gap: clamp(30px, 6vw, 58px);
    grid-template-columns: 1fr;
    padding: clamp(56px, 7vw, 82px) clamp(28px, 5vw, 54px) clamp(56px, 7vw, 82px)
      96px;
  }

  html[dir="rtl"] .screen {
    padding-left: clamp(28px, 5vw, 54px);
    padding-right: 96px;
  }

  .preview-screen.is-reversed .phone-shot {
    order: 0;
  }

  .phone-shot {
    min-height: min(64svh, 540px);
    width: min(100%, 430px);
  }

  .footer-signup {
    padding-left: 96px;
    padding-right: clamp(28px, 5vw, 54px);
  }

  html[dir="rtl"] .footer-signup {
    padding-left: clamp(28px, 5vw, 54px);
    padding-right: 96px;
  }

  .footer-about-block {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-policy-links {
    align-self: start;
    padding-bottom: 0;
    justify-content: flex-start;
  }

  .legal-hero,
  .legal-summary,
  .help-grid,
  .legal-page section {
    grid-template-columns: 1fr;
  }

  .legal-sections.is-localized section {
    grid-template-columns: 1fr;
  }

  .legal-meta {
    align-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    align-items: flex-start;
    justify-self: start;
    text-align: left;
  }
}

@media (min-width: 900px) and (max-width: 1080px) and (orientation: landscape) {
  .preview-screen,
  .preview-screen.is-reversed {
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  }

  .preview-screen.is-reversed .phone-shot {
    order: 2;
  }

  .preview-screen .phone-shot {
    width: 100%;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (min-width: 721px) {
  .screen {
    gap: clamp(24px, 4vw, 44px);
    min-height: 100svh;
    padding-bottom: 32px;
    padding-top: 32px;
  }

  .hero-screen,
  .principles-screen,
  .footer-signup {
    min-height: auto;
  }

  .preview-screen,
  .preview-screen.is-reversed {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  }

  .preview-screen.is-reversed .phone-shot {
    order: 2;
  }

  .phone-shot {
    align-self: center;
    height: min(72svh, 390px);
    min-height: 300px;
    padding: 22px;
    width: 100%;
  }

  .phone-shot.is-slider-ready {
    height: min(72svh, 390px);
    min-height: 0;
    width: auto;
  }

  .shot-top {
    margin-bottom: 24px;
  }

  .date-strip {
    margin-bottom: 22px;
  }

  .screen-copy {
    max-width: none;
  }

  h1 {
    font-size: clamp(42px, 7vw, 78px);
    margin-bottom: 20px;
  }

  h2 {
    font-size: clamp(34px, 4.7vw, 58px);
    margin-bottom: 18px;
  }

  .hero-copy > p:not(.kicker),
  .principles-screen .screen-copy > p:not(.kicker) {
    font-size: clamp(18px, 2vw, 23px);
  }

  .store-row {
    margin-top: 22px;
  }

  .footer-signup {
    gap: 40px;
    padding-bottom: 40px;
    padding-top: 40px;
  }

  .legal-page {
    padding-bottom: 36px;
    padding-top: 36px;
  }

  .language-menu {
    max-height: min(72svh, 320px);
  }
}

@media (max-width: 720px) {
  .side-rail {
    align-items: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(18, 16, 14, 0.68);
    border: 1px solid rgba(247, 240, 231, 0.2);
    border-radius: 999px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
    flex-direction: row;
    gap: 8px;
    left: 50%;
    max-width: calc(100vw - 32px);
    padding: 9px 12px;
    top: auto;
    transform: translateX(-50%);
    width: auto;
  }

  html[dir="rtl"] .side-rail {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .rail-dash::before {
    width: 18px;
  }

  .rail-dash:nth-of-type(n)::before {
    width: 18px;
  }

  .rail-item {
    height: 22px;
  }

  .rail-icon {
    height: 22px;
    margin: 0;
    width: 22px;
  }

  .rail-ask-mark,
  .rail-down-mark {
    height: 20px;
    width: 20px;
  }

  .rail-ask-mark img {
    height: 18px;
  }

  .rail-principles-mark {
    height: 18px;
    width: 18px;
  }

  .rail-updates {
    margin-top: 0;
  }

  .rail-label {
    display: none;
  }

  .screen {
    padding: 58px 28px 108px;
  }

  html[dir="rtl"] .screen {
    padding: 58px 28px 108px;
  }

  .brand-mark {
    position: static;
    margin-bottom: 54px;
  }

  .brand-mark img,
  .legal-page .brand img {
    height: 23px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 64px);
    margin-bottom: 24px;
  }

  h2 {
    font-size: clamp(32px, 9.8vw, 50px);
    margin-bottom: 20px;
  }

  .hero-copy > p:not(.kicker),
  .principles-screen .screen-copy > p:not(.kicker) {
    font-size: 19px;
  }

  .phone-shot {
    min-height: 480px;
    width: 100%;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .store-row {
    display: grid;
  }

  .store-badge {
    width: min(100%, 220px);
  }

  .footer-signup {
    padding: 58px 28px 108px;
  }

  html[dir="rtl"] .footer-signup {
    padding: 58px 28px 108px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    min-height: 48px;
  }

  .footer-policy-links {
    justify-content: flex-start;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 720px) {
  .side-rail {
    display: none;
  }

  .screen {
    gap: 28px;
    min-height: auto;
    padding: 30px 28px;
  }

  html[dir="rtl"] .screen {
    padding: 30px 28px;
  }

  .brand-mark {
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 58px);
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(32px, 8.5vw, 48px);
    margin-bottom: 16px;
  }

  p {
    font-size: 15px;
  }

  .hero-copy > p:not(.kicker),
  .principles-screen .screen-copy > p:not(.kicker) {
    font-size: 18px;
  }

  .phone-shot,
  .phone-shot.is-slider-ready {
    height: min(72svh, 320px);
    min-height: 260px;
    padding: 18px;
  }

  .footer-signup {
    min-height: auto;
    padding: 34px 28px;
  }

  html[dir="rtl"] .footer-signup {
    padding: 34px 28px;
  }

  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .legal-page {
    padding: 34px 28px;
  }
}

@media (max-width: 480px) {
  .screen {
    padding-left: 26px;
    padding-right: 26px;
  }

  html[dir="rtl"] .screen {
    padding-left: 26px;
    padding-right: 26px;
  }

  .footer-signup {
    padding-left: 26px;
    padding-right: 26px;
  }

  html[dir="rtl"] .footer-signup {
    padding-left: 26px;
    padding-right: 26px;
  }

  h1 {
    font-size: clamp(38px, 12.5vw, 56px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .phone-shot {
    min-height: 420px;
    padding: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-identity,
  .footer-copy,
  .footer-actions {
    justify-self: start;
  }

  .language-picker {
    align-items: center;
    flex-direction: row;
  }

  .footer-policy-links {
    gap: 13px;
  }
}
