:root {
  --page: #fffdfb;
  --paper: #ffffff;
  --paper-soft: #fbf8f7;
  --ink: #12103f;
  --ink-soft: #211947;
  --muted: #6c6878;
  --subtle: #918b99;
  --line: #e9e3e4;
  --line-strong: #dcd4d7;
  --coral: #ff626d;
  --coral-text: #c83f53;
  --purple: #9b68df;
  --purple-deep: #7652c6;
  --dark: #160724;
  --dark-soft: #2a123a;
  --success: #277d61;
  --accent: linear-gradient(110deg, #f85f68 0%, #d95598 52%, #8c61d7 100%);
  --dark-gradient: linear-gradient(124deg, #140620 0%, #1d0a2c 54%, #2b113a 100%);
  --font: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1336px;
  --header-height: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --phone-shadow: 0 30px 72px rgba(24, 9, 43, 0.2), 0 7px 18px rgba(24, 9, 43, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  background: var(--page);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

::selection {
  color: #fff;
  background: var(--purple-deep);
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 11px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

/* Shared editorial controls */
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 31px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 13px 28px rgba(174, 60, 113, 0.18);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 260ms var(--ease), box-shadow 260ms ease, filter 220ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 240ms var(--ease);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
  box-shadow: none;
}

.button-light {
  min-width: 290px;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.88);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.17);
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  color: var(--coral-text);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "\2192";
  color: var(--purple-deep);
  font-size: 1.3em;
  font-weight: 500;
  transition: transform 220ms var(--ease);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-bottom-color: rgba(220, 212, 215, 0.82);
  background: rgba(255, 253, 251, 0.94);
  box-shadow: 0 8px 28px rgba(24, 9, 43, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.58rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 4vw, 64px);
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a[aria-current] {
  color: var(--coral-text);
}

.site-nav a[aria-current]::after {
  transform: scaleX(1);
}

.header-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 31px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 220ms var(--ease);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease);
}

/* Genuine simulator screenshot frame. Screens already include Dynamic Island. */
.phone-frame {
  position: relative;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #66646a;
  border-radius: 13% / 6%;
  background: #111115;
  box-shadow: var(--phone-shadow);
}

.phone-frame > img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1206 / 2622;
  border-radius: 11.8% / 5.5%;
  object-fit: contain;
}

.phone-frame > figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  min-height: 694px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}

.hero-grid {
  min-height: 694px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: start;
  gap: 72px;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-left: 20px;
}

.hero h1 {
  max-width: 700px;
  color: var(--ink);
  font-size: clamp(3.75rem, 4.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.055;
}

.hero-lead {
  max-width: 590px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-mira-note {
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin-top: 35px;
}

.hero-mira-note img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(40, 18, 58, 0.13));
}

.hero-mira-note p {
  display: grid;
  gap: 5px;
}

.hero-mira-note strong {
  color: var(--coral-text);
  font-size: 1rem;
  font-weight: 650;
}

.hero-mira-note span {
  max-width: 180px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.trust-note {
  margin-top: 8px;
  margin-left: 110px;
  color: var(--subtle);
  font-size: 0.67rem;
  line-height: 1.45;
}

.phone-frame-hero {
  width: 368px;
  justify-self: end;
  margin-top: 79px;
  margin-right: 24px;
}

/* Product screenshots */
.product-section {
  position: relative;
  overflow: hidden;
  padding: 27px 0 76px;
  background: var(--paper);
}

.product-heading {
  text-align: center;
}

.product-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 2.55vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.product-heading > p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.product-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 4vw, 58px);
  margin-top: 11px;
}

.product-tab {
  position: relative;
  min-height: 42px;
  padding: 0 6px 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
  font-weight: 550;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.product-tab.is-active {
  color: var(--coral-text);
  border-bottom-color: var(--coral);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 260px);
  align-items: start;
  justify-content: center;
  column-gap: clamp(70px, 7.5vw, 116px);
  margin-top: 9px;
}

.product-focus {
  grid-column: 1;
  grid-row: 1;
  width: 260px;
  display: flex;
  flex-direction: column;
}

.phone-side-left {
  grid-column: 2;
  grid-row: 1;
}

.phone-side-right {
  grid-column: 3;
  grid-row: 1;
}

.phone-frame-primary,
.phone-frame-side {
  width: 260px;
}

.product-focus-copy {
  order: 2;
  min-height: 166px;
  margin-top: 28px;
  padding: 0 4px;
}

.product-focus-copy > p:first-child {
  color: var(--coral-text);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-focus-copy h3 {
  margin-top: 7px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

.product-focus-copy > p:last-child {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.phone-frame-primary {
  order: 1;
}

.phone-frame-primary.is-changing > img {
  animation: screen-change 380ms var(--ease);
}

.product-disclaimer {
  max-width: 780px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.73rem;
  line-height: 1.55;
  text-align: center;
}

@keyframes screen-change {
  from {
    opacity: 0.28;
    transform: scale(0.985);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* Mira */
.mira-section {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  padding: 55px 0 38px;
  color: #fff;
  background:
    radial-gradient(circle at 73% 86%, rgba(155, 104, 223, 0.16), transparent 33%),
    var(--dark-gradient);
}

.mira-layout {
  min-height: 557px;
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(400px, 1fr);
  align-items: center;
  gap: clamp(52px, 6vw, 94px);
}

.mira-copy {
  padding-left: 4px;
}

.mira-copy h2 {
  max-width: 690px;
  color: #fff;
  font-size: clamp(3.2rem, 4.1vw, 3.95rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.055;
}

.mira-lead {
  max-width: 590px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.55;
}

.mira-modes {
  display: flex;
  align-items: stretch;
  margin-top: 27px;
}

.mira-mode {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 38px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 180ms ease, opacity 180ms ease;
}

.mira-mode:first-child {
  padding-left: 0;
}

.mira-mode:last-child {
  padding-right: 0;
  border-right: 0;
}

.mira-mode svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mira-mode:nth-child(2) svg {
  stroke: var(--purple);
}

.mira-mode.is-active {
  color: #fff;
}

.mira-mode:not(.is-active) {
  opacity: 0.72;
}

.mira-transcript {
  max-width: 620px;
  display: grid;
  gap: 13px;
  margin-top: 23px;
}

.transcript-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
}

.transcript-avatar,
.transcript-line > img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.transcript-avatar {
  display: grid;
  place-items: center;
  color: var(--purple);
  background: rgba(155, 104, 223, 0.17);
}

.transcript-avatar svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.transcript-line > img {
  border: 1px solid rgba(255, 98, 109, 0.38);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
}

.transcript-line p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
  line-height: 1.48;
}

.transcript-user p {
  color: rgba(255, 255, 255, 0.82);
}

.transcript-mira p {
  color: rgba(255, 255, 255, 0.96);
}

.mira-disclosure {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.69rem;
  line-height: 1.45;
}

.mira-safety {
  max-width: 620px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.81rem;
  line-height: 1.45;
}

.mira-visual {
  display: grid;
  place-items: center;
}

.mira-visual img {
  width: min(510px, 38vw);
  height: auto;
  filter: drop-shadow(0 34px 31px rgba(0, 0, 0, 0.38));
  transition: opacity 180ms ease, transform 280ms var(--ease);
}

.mira-visual img.is-changing {
  opacity: 0.22;
  transform: translateY(6px) scale(0.975);
}

.mira-section :focus-visible,
.closing-section :focus-visible {
  outline-color: #ff8990;
}

/* Privacy */
.privacy-section {
  padding: 40px 0 38px;
  background: var(--paper);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  align-items: stretch;
  gap: 50px;
}

.privacy-copy {
  padding: 2px 49px 4px 0;
  border-right: 1px solid var(--line-strong);
}

.privacy-copy h2 {
  max-width: 365px;
  color: var(--ink);
  font-size: clamp(3rem, 3.7vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.07;
}

.privacy-copy > p {
  max-width: 355px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.privacy-links {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.privacy-list {
  align-self: center;
  border-top: 1px solid var(--line);
}

.privacy-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 58px minmax(210px, 0.74fr) minmax(270px, 1.26fr);
  align-items: center;
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-deep);
  background: linear-gradient(145deg, #f4eff9, #fff5f3);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.privacy-row h3 {
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.privacy-row p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

/* FAQ */
.faq-section {
  padding: 63px 0 42px;
  background: var(--paper);
}

.faq-heading {
  margin-bottom: 23px;
}

.faq-heading h2 {
  color: var(--ink);
  font-size: clamp(3rem, 3.7vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.faq-list {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "one two"
    "three four";
  align-items: start;
  column-gap: 80px;
}

.faq-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line-strong);
  transform: translateX(-0.5px);
}

.faq-one { grid-area: one; }
.faq-two { grid-area: two; }
.faq-three { grid-area: three; }
.faq-four { grid-area: four; }

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item h3 {
  font-size: inherit;
}

.faq-item button {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 24px;
  padding: 12px 8px 12px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-number {
  color: var(--coral);
  font-size: 2.55rem;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.faq-toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  max-width: 590px;
  padding: 0 32px 25px 96px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* Closing band */
.closing-section {
  min-height: 288px;
  overflow: hidden;
  padding: 49px 0 39px;
  color: #fff;
  background: var(--dark-gradient);
}

.closing-inner {
  min-height: 200px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 50px;
}

.closing-copy h2 {
  color: #fff;
  font-size: clamp(2.9rem, 3.7vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.closing-copy p {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.closing-copy .button {
  margin-top: 28px;
}

.closing-art {
  position: relative;
  min-height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.closing-mark {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 21px 22px rgba(0, 0, 0, 0.24));
}

.closing-mira {
  width: 205px;
  height: 205px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.32));
}

/* Footer */
.site-footer {
  padding: 23px 0 24px;
  background: var(--paper);
}

.footer-main {
  min-height: 102px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
}

.brand-footer {
  font-size: 2rem;
}

.brand-footer img {
  width: 52px;
  height: 52px;
}

.footer-brand > p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px clamp(28px, 3.4vw, 54px);
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.69rem;
  line-height: 1.5;
}

.footer-bottom p:first-child {
  max-width: 650px;
}

/* Reusable legal-document surfaces */
.legal-main {
  padding: calc(var(--header-height) + 70px) 0 100px;
  background: var(--paper);
}

.legal-shell {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
}

.legal-hero {
  width: 100%;
  max-width: none;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-strong);
}

.legal-hero > .container,
body.legal-page .legal-layout {
  width: min(calc(100% - 48px), 1120px);
}

.legal-eyebrow {
  margin-bottom: 14px;
  color: var(--coral-text);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-title {
  color: var(--ink);
  font-size: clamp(2.7rem, 5.3vw, 4.7rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.legal-intro {
  max-width: 780px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 25px;
  color: var(--subtle);
  font-size: 0.78rem;
}

.legal-meta > div {
  min-width: 180px;
  flex: 1 1 210px;
  display: grid;
  align-content: start;
  gap: 4px;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.legal-meta > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.legal-meta dt {
  color: var(--subtle);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.48;
}

.legal-meta a {
  color: var(--coral-text);
  text-underline-offset: 3px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 70px;
  margin-top: 45px;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.legal-sidebar nav {
  display: grid;
  gap: 8px;
}

.legal-sidebar a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.legal-content {
  min-width: 0;
  max-width: 790px;
}

.legal-content section + section {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  color: var(--ink);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.legal-content h3 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.legal-content p {
  margin-top: 15px;
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 1.35rem;
}

.legal-content a {
  color: var(--coral-text);
  font-weight: 650;
  text-underline-offset: 3px;
}

.legal-callout {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 3px solid var(--coral);
  background: var(--paper-soft);
}

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 22px;
  border-block: 1px solid var(--line-strong);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-content th,
.legal-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  color: var(--ink);
  font-weight: 700;
}

/* Legal pages: shared contract used by KVKK and terms documents */
body.legal-page {
  color: var(--ink);
  background: var(--paper);
}

body.legal-page .legal-main {
  padding: 70px 0 100px;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 212, 215, 0.88);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 28px rgba(24, 9, 43, 0.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.legal-header-inner {
  width: min(calc(100% - 48px), 1336px);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.legal-back::before {
  content: "\2190";
  color: var(--coral-text);
  font-size: 1.28em;
  line-height: 1;
  transition: transform 220ms var(--ease);
}

.legal-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-notice {
  max-width: 910px;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  gap: 18px;
  margin-top: 27px;
  padding: 18px 21px 18px 0;
  color: var(--muted);
  background: var(--paper-soft);
  font-size: 0.88rem;
  line-height: 1.62;
}

.legal-notice::before {
  content: "";
  width: 5px;
  height: 100%;
  grid-row: 1 / -1;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
}

.legal-notice > * {
  grid-column: 2;
}

.legal-toc {
  position: sticky;
  top: 108px;
  padding: 0 27px 4px 0;
  border-right: 1px solid var(--line);
}

.legal-toc-title {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc nav,
.legal-toc ul,
.legal-toc ol {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.42;
  text-decoration: none;
  transition: color 180ms ease;
}

.legal-toc a span {
  display: inline-block;
  width: 28px;
  color: var(--coral-text);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.legal-document {
  min-width: 0;
  max-width: 800px;
}

.legal-section {
  position: relative;
  padding-left: 76px;
}

.legal-section + .legal-section {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-section-number {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--coral);
  font-size: 1.95rem;
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1;
}

.legal-section + .legal-section .legal-section-number {
  top: 43px;
}

.legal-section h2 {
  color: var(--ink);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.legal-section h3 {
  margin-top: 27px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.legal-section p {
  margin-top: 14px;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 1.35rem;
}

.legal-section a,
.legal-sources a,
.legal-contact-card a {
  color: var(--coral-text);
  font-weight: 650;
  text-underline-offset: 3px;
}

.legal-callout h3 {
  margin: 0;
  font-size: 1.03rem;
}

.legal-callout p {
  margin-top: 7px;
  font-size: 0.91rem;
  line-height: 1.62;
}

.legal-callout-accent {
  border-left-color: var(--purple-deep);
  background: linear-gradient(105deg, rgba(255, 98, 109, 0.07), rgba(155, 104, 223, 0.09));
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table-wrap:focus-visible {
  outline-offset: 3px;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  background: var(--paper-soft);
  font-weight: 700;
}

.legal-sources {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.legal-sources h2,
.legal-sources h3 {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.legal-sources ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.legal-sources li,
.legal-sources p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.legal-contact-card {
  margin-top: 48px;
  padding: 28px 30px;
  border: 1px solid rgba(155, 104, 223, 0.2);
  border-radius: 14px;
  color: #fff;
  background: var(--dark-gradient);
}

.legal-contact-card h2,
.legal-contact-card h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.legal-contact-card p {
  max-width: none;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  line-height: 1.6;
}

.legal-contact-card p:first-of-type {
  padding-top: 0;
}

.legal-contact-card p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-contact-card span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-contact-card strong {
  min-width: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.legal-contact-card a {
  color: #ff9ca2;
}

.legal-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 58px;
  padding: 24px 0;
  border-block: 1px solid var(--line-strong);
}

.legal-next > span {
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal-next a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  text-decoration: none;
  transition: color 180ms ease;
}

.legal-next a span {
  color: var(--coral-text);
  font-size: 1.25em;
  transition: transform 220ms var(--ease);
}

.legal-footer {
  border-top: 1px solid var(--line);
  background: var(--page);
}

.legal-footer .footer-bottom {
  min-height: 48px;
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 660ms var(--ease), transform 660ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    box-shadow: 0 17px 36px rgba(174, 60, 113, 0.24);
    filter: saturate(1.05);
    transform: translateY(-2px);
  }

  .button:hover svg {
    transform: translateX(4px);
  }

  .button-secondary:hover,
  .header-action:hover {
    color: #fff;
    background: var(--ink);
  }

  .text-link:hover::after {
    transform: translateX(4px);
  }

  .site-nav a:hover,
  .footer-nav a:hover,
  .legal-sidebar a:hover,
  .legal-toc a:hover,
  .legal-back:hover {
    color: var(--coral-text);
  }

  .legal-back:hover::before {
    transform: translateX(-3px);
  }

  .legal-next a:hover {
    color: var(--coral-text);
  }

  .legal-next a:hover span {
    transform: translateX(4px);
  }

  .site-nav a:hover::after {
    transform: scaleX(1);
  }

  .product-tab:hover {
    color: var(--coral-text);
  }

  .mira-mode:hover {
    opacity: 1;
  }

  .faq-item button:hover .faq-question {
    color: var(--coral-text);
  }
}

/* Compact desktop and tablet landscape */
@media (max-width: 1199px) {
  :root {
    --container: 1119px;
  }

  .container {
    width: min(calc(100% - 80px), var(--container));
  }

  .header-inner {
    gap: 24px;
  }

  .site-nav {
    gap: 32px;
  }

  .header-action {
    padding-inline: 22px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 34px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5.5vw, 4rem);
  }

  .hero-lead {
    max-width: 560px;
  }

  .phone-frame-hero {
    width: 330px;
    margin-right: 0;
  }

  .product-gallery {
    grid-template-columns: repeat(3, 250px);
    column-gap: clamp(42px, 5vw, 70px);
  }

  .product-focus,
  .phone-frame-primary,
  .phone-frame-side {
    width: 250px;
  }

  .mira-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
    gap: 40px;
  }

  .mira-mode {
    padding-inline: 27px;
  }

  .mira-visual img {
    width: min(440px, 38vw);
  }

  .privacy-layout {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 42px;
  }

  .privacy-copy {
    padding-right: 40px;
  }

  .privacy-copy h2 {
    font-size: 3rem;
  }

  .privacy-row {
    grid-template-columns: 54px minmax(185px, 0.82fr) minmax(220px, 1.18fr);
    gap: 20px;
  }

  .faq-list {
    column-gap: 56px;
  }
}

/* Tablet and mobile navigation */
@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-padding-top: 84px;
  }

  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand {
    font-size: 1.38rem;
  }

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

  .menu-toggle {
    display: flex;
  }

  .site-header.is-menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 2px;
    padding: 9px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(24, 9, 43, 0.14);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 220ms var(--ease), visibility 0s linear 220ms;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 13px;
    border-radius: 8px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-header.is-menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 220ms var(--ease), visibility 0s linear 0s;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
  }

  .hero-copy {
    max-width: 700px;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 8.2vw, 4.2rem);
  }

  .phone-frame-hero {
    width: 326px;
    justify-self: center;
    margin: 0;
  }

  .product-section {
    padding-top: 42px;
  }

  .product-gallery {
    grid-template-columns: repeat(3, 200px);
    column-gap: 28px;
  }

  .product-focus,
  .phone-frame-primary,
  .phone-frame-side {
    width: 200px;
  }

  .product-focus-copy {
    min-height: 190px;
  }

  .mira-section {
    min-height: 0;
    padding: 76px 0 62px;
  }

  .mira-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .mira-copy {
    max-width: 700px;
  }

  .mira-visual {
    grid-row: 2;
  }

  .mira-visual img {
    width: min(390px, 65vw);
  }

  .privacy-section {
    padding: 70px 0 54px;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .privacy-copy {
    max-width: 690px;
    padding: 0;
    border-right: 0;
  }

  .privacy-copy h2,
  .privacy-copy > p {
    max-width: 650px;
  }

  .privacy-links {
    grid-template-columns: repeat(2, max-content);
    gap: 14px 28px;
  }

  .privacy-row {
    grid-template-columns: 54px minmax(180px, 0.72fr) minmax(240px, 1.28fr);
  }

  .faq-list {
    grid-template-columns: 1fr;
    grid-template-areas:
      "one"
      "two"
      "three"
      "four";
    column-gap: 0;
  }

  .faq-list::before {
    display: none;
  }

  .closing-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
  }

  .closing-art {
    gap: 8px;
  }

  .closing-mark {
    width: 112px;
    height: 112px;
  }

  .closing-mira {
    width: 170px;
    height: 170px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-sidebar {
    position: static;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-header-inner {
    width: min(calc(100% - 48px), 1336px);
    min-height: 68px;
  }

  body.legal-page .legal-main {
    padding: 52px 0 78px;
  }

  .legal-hero > .container,
  body.legal-page .legal-layout {
    width: min(calc(100% - 48px), 1120px);
  }

  .legal-toc {
    position: static;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc nav,
  .legal-toc ul,
  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 24px;
  }

  .legal-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 24px;
  }
}

/* Phones */
@media (max-width: 620px) {
  .container,
  .legal-shell {
    width: calc(100% - 32px);
  }

  .site-nav {
    right: 16px;
    left: 16px;
  }

  .hero-grid {
    gap: 28px;
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.25rem);
    letter-spacing: -0.055em;
    line-height: 1.04;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-mira-note {
    margin-top: 27px;
  }

  .hero-mira-note img {
    width: 80px;
    height: 80px;
  }

  .trust-note {
    margin-left: 98px;
  }

  .phone-frame-hero {
    width: min(278px, 78vw);
  }

  .product-section {
    padding: 38px 0 58px;
  }

  .product-heading h2 {
    font-size: 2.12rem;
  }

  .product-tabs {
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 3px;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    flex: 0 0 auto;
  }

  .product-gallery {
    display: block;
    margin-top: 18px;
  }

  .phone-frame-side {
    display: none;
  }

  .product-focus {
    width: 100%;
    align-items: center;
  }

  .phone-frame-primary {
    width: min(252px, 75vw);
  }

  .product-focus-copy {
    width: min(100%, 430px);
    min-height: 0;
    margin-top: 24px;
    padding: 0;
    text-align: center;
  }

  .product-focus-copy h3 {
    font-size: 1.45rem;
  }

  .product-focus-copy > p:last-child {
    font-size: 0.9rem;
  }

  .product-disclaimer {
    margin-top: 28px;
    text-align: left;
  }

  .mira-section {
    padding: 65px 0 55px;
  }

  .mira-copy h2,
  .privacy-copy h2,
  .faq-heading h2,
  .closing-copy h2 {
    font-size: clamp(2.45rem, 10.5vw, 3.1rem);
  }

  .mira-lead {
    font-size: 1rem;
  }

  .mira-modes {
    width: 100%;
  }

  .mira-mode {
    min-width: 0;
    flex: 1 1 0;
    flex-direction: column;
    gap: 6px;
    padding: 4px 11px;
    font-size: 0.75rem;
    text-align: center;
  }

  .mira-mode:first-child {
    padding-left: 0;
  }

  .mira-mode:last-child {
    padding-right: 0;
  }

  .mira-mode svg {
    width: 25px;
    height: 25px;
  }

  .mira-transcript {
    margin-top: 25px;
  }

  .transcript-line {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 12px;
  }

  .transcript-avatar,
  .transcript-line > img {
    width: 42px;
    height: 42px;
  }

  .transcript-line p {
    font-size: 0.91rem;
  }

  .mira-visual img {
    width: min(310px, 83vw);
  }

  .privacy-section {
    padding-top: 58px;
  }

  .privacy-links {
    grid-template-columns: 1fr;
  }

  .privacy-row {
    min-height: 0;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px 16px;
    padding: 21px 0;
  }

  .privacy-number {
    width: 46px;
    height: 46px;
  }

  .privacy-row p {
    grid-column: 2;
    font-size: 0.88rem;
  }

  .faq-section {
    padding: 54px 0 37px;
  }

  .faq-heading {
    margin-bottom: 17px;
  }

  .faq-item button {
    min-height: 76px;
    grid-template-columns: 52px minmax(0, 1fr) 24px;
    gap: 12px;
    padding-right: 2px;
  }

  .faq-number {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 2px 22px 64px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  .closing-section {
    padding: 47px 0 30px;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .closing-copy p {
    font-size: 0.96rem;
  }

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

  .closing-art {
    min-height: 165px;
    justify-content: flex-end;
  }

  .closing-mark {
    width: 105px;
    height: 105px;
  }

  .closing-mira {
    width: 155px;
    height: 155px;
  }

  .site-footer {
    padding-top: 30px;
  }

  .brand-footer {
    font-size: 1.65rem;
  }

  .brand-footer img {
    width: 46px;
    height: 46px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 22px;
  }

  .footer-nav a {
    align-items: flex-start;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .footer-bottom {
    margin-top: 18px;
    font-size: 0.65rem;
  }

  .legal-main {
    padding: calc(var(--header-height) + 45px) 0 72px;
  }

  .legal-header-inner {
    width: calc(100% - 32px);
  }

  body.legal-page .legal-main {
    padding: 40px 0 64px;
  }

  .legal-hero > .container,
  body.legal-page .legal-layout {
    width: calc(100% - 32px);
  }

  .legal-back {
    font-size: 0.8rem;
  }

  .legal-hero {
    padding-bottom: 30px;
  }

  .legal-title {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .legal-intro {
    font-size: 1rem;
  }

  .legal-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-meta > div {
    min-width: 0;
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-meta > div:last-child {
    border-bottom: 0;
  }

  .legal-notice {
    gap: 14px;
    padding-right: 14px;
  }

  .legal-layout {
    margin-top: 32px;
  }

  .legal-sidebar nav {
    grid-template-columns: 1fr;
  }

  .legal-toc nav,
  .legal-toc ul,
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-section {
    padding-left: 0;
  }

  .legal-section-number {
    position: static;
    display: block;
    margin-bottom: 10px;
    font-size: 1.55rem;
  }

  .legal-section + .legal-section .legal-section-number {
    position: static;
  }

  .legal-contact-card {
    padding: 23px 20px;
    border-radius: 11px;
  }

  .legal-contact-card p {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .legal-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 44px;
  }

  .legal-next a {
    text-align: left;
  }

  .legal-content section + section {
    margin-top: 35px;
    padding-top: 32px;
  }

  .legal-content th,
  .legal-content td {
    min-width: 150px;
    padding: 12px;
  }
}

@media (max-width: 370px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .brand {
    font-size: 1.25rem;
  }

  .mira-mode {
    font-size: 0.69rem;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .phone-frame,
  .header-action,
  .button,
  .menu-toggle {
    border: 1px solid ButtonText;
  }

  .faq-toggle::before,
  .faq-toggle::after,
  .site-nav a::after {
    background: ButtonText;
  }
}
