:root {
  color-scheme: light;
  --background: #f8fbff;
  --background-cool: #e7f3ff;
  --background-mist: #fdfefe;
  --background-glow: rgba(175, 220, 255, 0.42);
  --background-glow-soft: rgba(213, 236, 255, 0.52);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --text: #15253a;
  --text-muted: #607188;
  --legal-text: #34475e;
  --line: rgba(43, 112, 184, 0.17);
  --line-strong: rgba(43, 112, 184, 0.3);
  --primary: #2487e6;
  --primary-deep: #1269be;
  --primary-soft: #e3f3ff;
  --store-button-start: #36a5ef;
  --store-button-end: #1c82d8;
  --store-button-line: rgba(255, 255, 255, 0.3);
  --store-button-shine: rgba(255, 255, 255, 0.22);
  --store-button-shadow: rgba(24, 116, 191, 0.28);
  --voice-warm: #ffd767;
  --voice-warm-soft: #fff3c2;
  --voice-ink: #12385d;
  --focus: #f09b32;
  --shadow: 0 24px 64px rgba(30, 89, 145, 0.12);
  --voice-shadow: 0 18px 44px rgba(30, 89, 145, 0.1);
  --content-width: 72rem;
  --legal-width: 50rem;
  --radius-large: 2rem;
  --radius-medium: 1.25rem;
  font-family:
    "Avenir Next", "Hiragino Sans", "Yu Gothic", "BIZ UDPGothic", sans-serif;
  font-synthesis: none;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      ellipse at 50% 5%,
      var(--background-glow) 0,
      transparent 42rem
    ),
    radial-gradient(
      circle at 7% 72%,
      var(--background-glow-soft) 0,
      transparent 30rem
    ),
    linear-gradient(
      135deg,
      var(--background-mist),
      var(--background-cool) 52%,
      var(--background)
    );
  background-attachment: fixed;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    ellipse at 94% 32%,
    var(--surface) 0,
    transparent 32rem
  );
  content: "";
  pointer-events: none;
}

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

a {
  color: var(--primary-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible {
  border-radius: 0.35rem;
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.25rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.35;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface-solid);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: var(--surface-solid);
  transform: translateY(0);
}

.home-page {
  display: grid;
  min-height: 100vh;
  grid-template-rows: 1fr auto;
}

.home-main {
  display: grid;
  min-height: 82vh;
  padding: clamp(3.5rem, 9vh, 7rem) 1.5rem 3rem;
  place-items: center;
}

.home-hero {
  display: grid;
  width: min(100%, 48rem);
  justify-items: center;
  text-align: center;
}

.home-brand {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  animation: brand-arrival 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  color: var(--text);
}

.home-icon-link {
  display: block;
  border-radius: 27%;
  text-decoration: none;
}

.home-icon-link:focus-visible {
  border-radius: 27%;
}

.home-brand img {
  width: clamp(9.5rem, 27vw, 13.5rem);
  height: auto;
  filter: drop-shadow(0 1.5rem 1.8rem rgba(35, 127, 214, 0.22));
  transition:
    filter 240ms ease,
    transform 240ms ease;
}

.home-icon-link:hover img {
  filter: drop-shadow(0 1.8rem 2rem rgba(35, 127, 214, 0.28));
  transform: translateY(-0.2rem);
}

.home-brand h1 {
  position: relative;
  margin: 0.25rem 0 0;
  padding-bottom: 0.65rem;
  color: var(--voice-ink);
  font-family:
    "Hiragino Maru Gothic ProN", "Yu Gothic", "BIZ UDPGothic", sans-serif;
  font-size: clamp(2.25rem, 6.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-shadow:
    0 1px 0 var(--surface-solid),
    0 0.65rem 1.6rem rgba(30, 89, 145, 0.14);
}

.home-brand h1::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2.8rem;
  height: 0.2rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--store-button-start),
    var(--primary-deep)
  );
  content: "";
  opacity: 0.72;
  transform: translateX(-50%);
}

.app-store-button {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 0.9rem;
  min-width: 12.5rem;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--store-button-line);
  border-radius: 1.25rem;
  background: linear-gradient(
    145deg,
    var(--store-button-start),
    var(--store-button-end)
  );
  box-shadow:
    0 0.9rem 1.8rem var(--store-button-shadow),
    inset 0 1px 0 var(--store-button-shine);
  color: var(--surface-solid);
  text-decoration: none;
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}

.app-store-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    var(--store-button-shine) 48%,
    transparent 72%
  );
  content: "";
  opacity: 0;
  transform: translateX(-45%);
  transition:
    opacity 220ms ease,
    transform 420ms ease;
}

.app-store-button:hover {
  box-shadow:
    0 1.15rem 2.2rem var(--store-button-shadow),
    inset 0 1px 0 var(--store-button-shine);
  color: var(--surface-solid);
  transform: translateY(-0.18rem);
}

.app-store-button:hover::before {
  opacity: 1;
  transform: translateX(45%);
}

.app-store-button:focus-visible {
  border-radius: 1.25rem;
}

.app-store-button:active {
  box-shadow:
    0 0.6rem 1.25rem var(--store-button-shadow),
    inset 0 1px 0 var(--store-button-shine);
  transform: translateY(0.05rem);
}

.app-store-button__apple {
  z-index: 1;
  width: 1.8rem;
  height: 2.15rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.app-store-button__label {
  display: grid;
  z-index: 1;
  justify-items: start;
  line-height: 1.05;
}

.app-store-button__label small {
  margin-bottom: 0.3rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.app-store-button__label strong {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-links {
  display: grid;
  width: min(100%, 32rem);
  gap: 0.75rem;
  margin-top: 2.75rem;
  animation: home-links-arrival 650ms 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-links a {
  display: flex;
  min-height: 4.15rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 0.5rem 1.4rem rgba(30, 89, 145, 0.045);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(1rem);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.home-links a:hover {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, var(--surface), var(--primary-soft));
  box-shadow: 0 0.75rem 1.75rem rgba(30, 89, 145, 0.09);
  color: var(--primary-deep);
  transform: translateY(-0.1rem);
}

.home-links a::after {
  color: var(--primary);
  content: "→";
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease;
}

.home-links a:hover::after {
  transform: translateX(0.2rem);
}

.home-links a:focus-visible {
  border-radius: 1rem;
}

.home-links a:active {
  box-shadow: 0 0.35rem 1rem rgba(30, 89, 145, 0.07);
  transform: translateY(0.05rem);
}

.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.home-page .site-footer {
  border-top: 0;
  text-align: center;
}

.home-page .footer-inner {
  justify-content: center;
}

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

.footer-links,
.legal-nav,
.language-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 251, 255, 0.84);
  backdrop-filter: blur(1rem);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 2rem), var(--content-width));
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  margin-inline: auto;
}

.header-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.header-brand:hover {
  color: var(--text);
}

.header-brand img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 25%;
}

.legal-nav {
  justify-content: flex-end;
  font-size: 0.9rem;
}

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

.legal-nav a[aria-current="page"],
.language-links a[aria-current="page"] {
  color: var(--primary-deep);
  font-weight: 700;
}

.language-links {
  gap: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line-strong);
}

.legal-main {
  width: min(calc(100% - 2rem), var(--legal-width));
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) 0 5rem;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-hero::after {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  border: 2rem solid var(--primary-soft);
  border-radius: 50%;
  content: "";
  opacity: 0.7;
}

.legal-kicker {
  margin-bottom: 0.75rem;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: -0.035em;
}

.legal-summary {
  position: relative;
  z-index: 1;
  max-width: 39rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.legal-meta {
  display: flex;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.legal-content {
  margin-top: 2rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.legal-main--source {
  padding-top: clamp(2rem, 6vw, 4rem);
}

.legal-source {
  margin-top: 0;
  box-shadow: var(--shadow);
}

.legal-source > h1 {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--voice-ink);
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: -0.035em;
}

.legal-source h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(1.2rem, 4vw, 1.55rem);
}

.legal-source p,
.legal-source li {
  color: var(--legal-text);
}

.legal-source ul,
.legal-source ol {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.4rem;
}

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

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

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
}

.section-number {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.legal-section h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.legal-section p,
.legal-section li {
  color: var(--legal-text);
}

.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.35rem;
}

.legal-note {
  padding: 1rem 1.2rem;
  border-left: 0.25rem solid var(--primary);
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
  background: var(--primary-soft);
}

.service-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.65);
}

.service-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.voices-main {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.voices-hero {
  display: grid;
  position: relative;
  overflow: hidden;
  min-height: 27rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.6fr) minmax(14rem, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: linear-gradient(
    125deg,
    var(--surface-solid),
    var(--primary-soft)
  );
  box-shadow: var(--shadow);
}

.voices-hero::before {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 4.5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--voice-warm);
  content: "";
}

.voices-hero__copy {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  animation: voices-arrival 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.voices-kicker,
.voices-empty__kicker {
  margin-bottom: 0.8rem;
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.voices-hero h1 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
  color: var(--voice-ink);
  font-family:
    "Hiragino Maru Gothic ProN", "Yu Gothic", "BIZ UDPGothic", sans-serif;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.voices-introduction {
  max-width: 38rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.voices-introduction p:last-child {
  margin-bottom: 0;
}

.voices-hero__mark {
  display: grid;
  position: relative;
  width: min(100%, 16rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
  background: var(--voice-warm);
  box-shadow: 1.1rem 1.1rem 0 var(--surface-solid);
  animation: voices-mark-arrival 800ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform: rotate(4deg);
}

.voices-hero__mark::after {
  position: absolute;
  right: 0.8rem;
  bottom: -1rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--voice-warm);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  content: "";
  transform: rotate(-8deg);
}

.voices-hero__mark span {
  color: var(--voice-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 15vw, 10rem);
  line-height: 0.5;
  transform: translateY(1rem);
}

.voices-hero__mark i {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary-deep);
  opacity: 0.35;
}

.voices-hero__mark i:nth-of-type(1) {
  top: 18%;
  right: 22%;
}

.voices-hero__mark i:nth-of-type(2) {
  right: 13%;
  bottom: 35%;
}

.voices-hero__mark i:nth-of-type(3) {
  bottom: 18%;
  left: 24%;
}

.voices-grid {
  display: grid;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
}

.voice-card {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: var(--voice-shadow);
  animation: voices-arrival 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.voice-card:nth-child(2n) {
  margin-top: 1.5rem;
}

.voice-card__number {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.voice-card h2 {
  margin-bottom: 1.2rem;
  color: var(--voice-ink);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.voice-card__body blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.voice-card__body blockquote p::before {
  color: var(--voice-warm);
  content: "“";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 0;
  vertical-align: -0.35em;
}

.voice-card__body > p:last-child {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: normal;
}

.voices-empty {
  display: flex;
  width: min(100%, 46rem);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 3rem);
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-large);
  background: var(--surface);
  animation: voices-arrival 650ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.voices-empty__mark {
  flex: 0 0 auto;
  color: var(--voice-warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 13vw, 8rem);
  line-height: 0.6;
}

.voices-empty p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.not-found-main {
  display: grid;
  min-height: 78vh;
  padding: 4rem 1.5rem;
  place-items: center;
  text-align: center;
}

.not-found-card {
  width: min(100%, 30rem);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.not-found-card img {
  width: 5rem;
  height: auto;
  margin: 0 auto 1.25rem;
  border-radius: 25%;
}

.not-found-code {
  margin-bottom: 0.4rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.not-found-card p {
  color: var(--text-muted);
}

.not-found-card .language-links {
  justify-content: center;
  margin-top: 1.25rem;
  padding-left: 0;
  border-left: 0;
}

.home-link {
  display: inline-flex;
  margin-top: 0.7rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.home-link:hover {
  background: var(--primary);
  color: #ffffff;
}

@keyframes brand-arrival {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.98);
  }

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

@keyframes voices-arrival {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes voices-mark-arrival {
  from {
    opacity: 0;
    transform: rotate(-4deg) scale(0.88);
  }

  to {
    opacity: 1;
    transform: rotate(4deg) scale(1);
  }
}

@keyframes home-links-arrival {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 44rem) {
  .site-header {
    position: static;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.85rem;
  }

  .legal-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .language-links {
    margin-left: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-main {
    min-height: 82vh;
    padding-top: 3rem;
  }

  .home-links {
    width: 100%;
  }

  .home-links a {
    min-height: 3.85rem;
    padding-inline: 1rem;
  }

  .legal-main {
    padding-top: 1.5rem;
  }

  .voices-main {
    padding-top: 1.5rem;
  }

  .voices-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .voices-hero__mark {
    width: min(58vw, 12rem);
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .voice-card:nth-child(2n) {
    margin-top: 0;
  }
}

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

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

/* Editorial product pages */

:root {
  --paper: #fffef9;
  --paper-blue: #edf7ff;
  --paper-deep: #d9edff;
  --ink-blue: #0b3158;
  --ink-soft: #4e6680;
  --accent-coral: #ff785f;
  --accent-coral-soft: #ffe4dd;
  --accent-yellow: #ffd765;
  --accent-yellow-soft: #fff4ca;
  --accent-mint: #75d2b4;
  --accent-mint-soft: #dff8ef;
  --accent-lilac: #b8a7ec;
  --accent-lilac-soft: #eee9ff;
  --accent-night: #102d4f;
  --accent-night-soft: #274d75;
  --white-translucent: rgba(255, 255, 255, 0.76);
  --white-faint: rgba(255, 255, 255, 0.48);
  --night-translucent: rgba(8, 29, 52, 0.72);
  --night-line: rgba(255, 255, 255, 0.38);
  --editorial-shadow: 0 2rem 5rem rgba(16, 70, 120, 0.13);
  --paper-shadow: 0 1.25rem 3rem rgba(17, 65, 108, 0.12);
  --marketing-width: 78rem;
  --story-width: 63rem;
}

.content-page {
  background:
    radial-gradient(
      circle at 88% 8rem,
      var(--accent-yellow-soft) 0,
      transparent 23rem
    ),
    radial-gradient(circle at 4% 42rem, var(--paper-deep) 0, transparent 30rem),
    linear-gradient(180deg, var(--background-mist), var(--background));
}

.content-page::before {
  display: none;
}

.content-page .site-header__inner {
  width: min(calc(100% - 2rem), var(--marketing-width));
}

.content-page .site-header {
  background: var(--white-translucent);
}

.content-page .site-footer {
  width: min(calc(100% - 2rem), var(--marketing-width));
  margin-top: clamp(4rem, 10vw, 9rem);
}

.page-kicker,
.feature-number {
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-kicker {
  margin-bottom: 1rem;
}

.feature-number {
  margin-bottom: 1.15rem;
}

.text-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.25rem);
}

.primary-link {
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: var(--ink-blue);
  color: var(--surface-solid);
}

.primary-link:hover {
  background: var(--primary-deep);
  color: var(--surface-solid);
}

.editorial-hero {
  display: grid;
  width: min(calc(100% - 2rem), var(--marketing-width));
  min-height: min(51rem, calc(100vh - 4.75rem));
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.9fr);
  gap: clamp(3rem, 8vw, 8rem);
  margin-inline: auto;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(0rem, 2vw, 2rem);
}

.editorial-hero__copy {
  position: relative;
  z-index: 2;
  animation: editorial-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.editorial-hero h1 {
  color: var(--ink-blue);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.editorial-hero h1 {
  max-width: 11ch;
  margin-bottom: 2rem;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 1.04;
}

.editorial-hero__lead {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 2;
}

.idea-orbit {
  position: relative;
  width: min(100%, 33rem);
  aspect-ratio: 1;
  justify-self: center;
  animation: orbit-arrival 850ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.idea-orbit__ring {
  position: absolute;
  inset: 10%;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.idea-orbit__ring::before,
.idea-orbit__ring::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.idea-orbit__ring::before {
  inset: 9%;
  border: 1px solid var(--white-faint);
  background: var(--white-faint);
}

.idea-orbit__ring::after {
  top: 0.4rem;
  right: 3rem;
  width: 1rem;
  height: 1rem;
  background: var(--accent-coral);
  box-shadow:
    -18rem 17rem 0 var(--accent-mint),
    -14rem -0.6rem 0 var(--accent-yellow);
}

.idea-orbit__core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 36%;
  padding: 1.2rem;
  border: 1px solid var(--white-translucent);
  border-radius: 31%;
  background: var(--white-faint);
  box-shadow: var(--editorial-shadow);
  transform: translate(-50%, -50%) rotate(3deg);
  backdrop-filter: blur(1rem);
}

.idea-orbit__core img {
  border-radius: 24%;
}

.idea-note {
  position: absolute;
  z-index: 4;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--paper-shadow);
  color: var(--ink-blue);
  font-size: clamp(0.74rem, 2vw, 0.95rem);
  font-weight: 700;
  line-height: 1.6;
}

.idea-note--one {
  top: 11%;
  left: -1%;
  width: 10rem;
  transform: rotate(-7deg);
}

.idea-note--two {
  top: 18%;
  right: -1%;
  background: var(--accent-yellow-soft);
  transform: rotate(6deg);
}

.idea-note--three {
  right: 7%;
  bottom: 12%;
  background: var(--accent-mint-soft);
  transform: rotate(-4deg);
}

.feature-story {
  display: grid;
  width: min(calc(100% - 2rem), var(--marketing-width));
  min-height: 41rem;
  align-items: center;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(25rem, 1.2fr);
  gap: clamp(3rem, 9vw, 9rem);
  margin: clamp(3rem, 10vw, 8rem) auto;
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--line);
  border-radius: clamp(2rem, 5vw, 4rem);
  background: var(--white-translucent);
  box-shadow: var(--editorial-shadow);
  backdrop-filter: blur(1.25rem);
}

.feature-story--wide {
  background:
    linear-gradient(120deg, var(--paper), var(--paper-blue) 55%, transparent),
    var(--surface-solid);
}

.feature-story--reverse {
  grid-template-columns: minmax(25rem, 1.2fr) minmax(18rem, 0.8fr);
  background:
    radial-gradient(circle at 20% 25%, var(--white-faint), transparent 18rem),
    var(--accent-yellow-soft);
}

.feature-story--reverse .feature-copy {
  grid-column: 2;
}

.feature-story--reverse .feature-visual {
  grid-row: 1;
  grid-column: 1;
}

.feature-copy h2,
.mini-feature h2,
.privacy-feature h2,
.premium-strip h2,
.developer-note h1 {
  color: var(--ink-blue);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.feature-copy > p:not(.feature-number),
.mini-feature__copy > p:not(.feature-number),
.privacy-feature__copy > p:not(.feature-number),
.premium-strip > p,
.developer-note > div > p:not(.feature-number) {
  color: var(--ink-soft);
  line-height: 1.95;
}

.feature-points {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-points li::before {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-mint-soft);
  color: var(--primary-deep);
  content: "✓";
  font-size: 0.72rem;
  place-items: center;
}

.feature-visual {
  position: relative;
  min-height: 30rem;
}

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

.phone-frame {
  position: relative;
  width: min(100%, 19rem);
  height: 36rem;
  overflow: hidden;
  padding: 0.85rem;
  border: 0.42rem solid var(--ink-blue);
  border-radius: 3.2rem;
  background: linear-gradient(165deg, var(--paper-deep), var(--paper));
  box-shadow:
    1.5rem 2rem 0 var(--accent-mint),
    var(--editorial-shadow);
  transform: rotate(2deg);
}

.phone-frame__speaker {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  left: 50%;
  width: 5.8rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--ink-blue);
  transform: translateX(-50%);
}

.composer-sheet {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  left: 0.6rem;
  height: 86%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2.25rem 2.25rem 2.6rem 2.6rem;
  background: var(--white-translucent);
  box-shadow: 0 -0.8rem 2rem var(--white-faint);
  backdrop-filter: blur(1rem);
}

.composer-sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-deep);
  font-size: 0.68rem;
}

.composer-sheet__top strong {
  color: var(--ink-blue);
  font-size: 0.74rem;
}

.composer-sheet__text {
  margin: 3.5rem 0 0.4rem;
  color: var(--ink-blue);
  font-size: 1.25rem;
  line-height: 1.8;
}

.composer-sheet__cursor {
  display: block;
  width: 0.12rem;
  height: 1.4rem;
  background: var(--primary);
  animation: cursor-blink 1s steps(2, start) infinite;
}

.composer-sheet__tags {
  display: flex;
  position: absolute;
  right: 1.1rem;
  bottom: 4.6rem;
  left: 1.1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.composer-sheet__tags span,
.memo-chip {
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.62rem;
  font-weight: 800;
}

.composer-sheet__saved {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  color: var(--ink-soft);
  font-size: 0.63rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.composer-sheet__saved i {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: var(--accent-mint);
}

.visual-caption {
  position: absolute;
  right: 2%;
  bottom: 2%;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--ink-blue);
  color: var(--surface-solid);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-visual--cards {
  min-height: 31rem;
}

.memo-card {
  position: absolute;
  width: min(90%, 24rem);
  min-height: 15rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: var(--white-translucent);
  box-shadow: var(--paper-shadow);
  backdrop-filter: blur(1rem);
}

.memo-card__time {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.memo-card p {
  color: var(--ink-blue);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.6;
}

.memo-chip {
  display: inline-block;
  margin-top: 1rem;
}

.memo-chip--green {
  background: var(--accent-mint-soft);
  color: var(--ink-blue);
}

.memo-chip--yellow {
  background: var(--accent-yellow-soft);
  color: var(--ink-blue);
}

.memo-card--back {
  top: 0;
  right: 0;
  opacity: 0.7;
  transform: rotate(7deg) scale(0.88);
}

.memo-card--middle {
  top: 5.5rem;
  left: 0;
  opacity: 0.87;
  transform: rotate(-5deg) scale(0.94);
}

.memo-card--front {
  z-index: 2;
  right: 5%;
  bottom: 0;
  transform: rotate(1.5deg);
}

.feature-duo {
  display: grid;
  width: min(calc(100% - 2rem), var(--marketing-width));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(3rem, 10vw, 8rem) auto;
}

.mini-feature {
  display: grid;
  min-height: 48rem;
  align-content: space-between;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--paper-shadow);
}

.mini-feature h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.mini-feature--search {
  background: var(--accent-mint-soft);
}

.mini-feature--photos {
  background: var(--accent-lilac-soft);
}

.search-demo {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--white-translucent);
  box-shadow: var(--paper-shadow);
  transform: rotate(-2deg);
}

.search-demo__bar {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--ink-blue);
  font-size: 0.82rem;
}

.search-demo__bar span {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.65rem;
  border: 0.12rem solid var(--primary);
  border-radius: 50%;
  vertical-align: -0.08rem;
}

.search-demo__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0;
}

.search-demo__filters span {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.58rem;
  font-weight: 800;
}

.search-demo__result {
  display: grid;
  gap: 1.8rem;
  padding: 1.2rem;
  border-radius: 1.25rem;
  background: var(--paper);
  color: var(--ink-blue);
}

.search-demo__result span {
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.photo-pile {
  position: relative;
  min-height: 21rem;
}

.photo-tile {
  position: absolute;
  width: 44%;
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 0.55rem solid var(--paper);
  background: var(--paper-blue);
  box-shadow: var(--paper-shadow);
}

.photo-tile--sky {
  top: 1rem;
  left: 3%;
  background:
    radial-gradient(
      circle at 70% 22%,
      var(--accent-yellow) 0 8%,
      transparent 9%
    ),
    linear-gradient(150deg, var(--paper-blue) 55%, var(--accent-mint) 56%);
  transform: rotate(-8deg);
}

.photo-tile--sky i {
  position: absolute;
  right: -10%;
  bottom: 12%;
  width: 75%;
  height: 32%;
  border-radius: 50% 50% 0 0;
  background: var(--accent-night-soft);
}

.photo-tile--desk {
  top: 0;
  right: 5%;
  background: var(--accent-yellow-soft);
  transform: rotate(7deg);
}

.photo-tile--desk i {
  position: absolute;
  border-radius: 999px;
  background: var(--accent-coral);
}

.photo-tile--desk i:nth-child(1) {
  top: 26%;
  left: 22%;
  width: 58%;
  height: 11%;
  transform: rotate(-20deg);
}

.photo-tile--desk i:nth-child(2) {
  top: 47%;
  left: 15%;
  width: 68%;
  height: 10%;
  background: var(--primary);
  transform: rotate(12deg);
}

.photo-tile--desk i:nth-child(3) {
  right: 18%;
  bottom: 19%;
  width: 45%;
  height: 10%;
  background: var(--accent-mint);
  transform: rotate(-8deg);
}

.photo-tile--note {
  right: 28%;
  bottom: 0;
  width: 38%;
  padding-top: 2.5rem;
  background: var(--paper);
  color: var(--ink-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.8;
  text-align: center;
  transform: rotate(1deg);
}

.feature-story--widget {
  background: var(--accent-night);
}

.feature-story--widget .feature-number,
.feature-story--widget .feature-copy h2 {
  color: var(--surface-solid);
}

.feature-story--widget .feature-copy > p:not(.feature-number) {
  color: var(--paper-deep);
}

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

.lockscreen {
  display: grid;
  width: min(100%, 22rem);
  min-height: 34rem;
  align-content: start;
  justify-items: center;
  padding: 3.5rem 1.5rem;
  border: 0.35rem solid var(--night-line);
  border-radius: 3.4rem;
  background:
    radial-gradient(circle at 30% 70%, var(--accent-lilac), transparent 35%),
    radial-gradient(circle at 75% 30%, var(--primary), transparent 38%),
    linear-gradient(160deg, var(--accent-night-soft), var(--accent-night));
  box-shadow: 1.3rem 1.5rem 0 var(--primary);
  color: var(--surface-solid);
  transform: rotate(-2deg);
}

.lockscreen__date {
  font-size: 0.8rem;
  font-weight: 700;
}

.lockscreen__time {
  margin-top: 0.2rem;
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 1;
}

.lockscreen__widgets {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.lockscreen-widget {
  display: grid;
  min-width: 3.4rem;
  min-height: 3.4rem;
  border: 1px solid var(--night-line);
  border-radius: 1rem;
  background: var(--night-translucent);
  color: var(--surface-solid);
  font-size: 1.4rem;
  place-items: center;
  backdrop-filter: blur(0.8rem);
}

.lockscreen-widget--wide {
  display: flex;
  min-width: 9rem;
  align-items: center;
  gap: 0.65rem;
  padding-inline: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.lockscreen-widget--wide i {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--ink-blue);
  font-size: 1rem;
  font-style: normal;
  place-items: center;
}

.privacy-feature {
  display: grid;
  width: min(calc(100% - 2rem), 65rem);
  align-items: center;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(20rem, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  margin: clamp(5rem, 12vw, 10rem) auto;
}

.privacy-feature__mark {
  display: grid;
  position: relative;
  width: min(100%, 21rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 46% 54% 54% 46% / 58% 42% 58% 42%;
  background: var(--accent-mint-soft);
  transform: rotate(-4deg);
}

.privacy-feature__mark span {
  width: 42%;
  height: 35%;
  margin-top: 12%;
  border-radius: 1.2rem;
  background: var(--ink-blue);
}

.privacy-feature__mark span::before {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 28%;
  height: 28%;
  border: 0.75rem solid var(--ink-blue);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  content: "";
  transform: translateX(-50%);
}

.privacy-feature__mark i {
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent-coral);
  box-shadow:
    -6rem 4rem 0 var(--accent-yellow),
    6.5rem -4.5rem 0 var(--primary);
}

.privacy-feature__note {
  margin-top: 1.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

.premium-strip {
  display: grid;
  width: min(calc(100% - 2rem), var(--marketing-width));
  align-items: center;
  grid-template-columns: 1fr 0.8fr 0.65fr;
  gap: clamp(2rem, 6vw, 5rem);
  margin: clamp(5rem, 12vw, 10rem) auto;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: clamp(2rem, 5vw, 4rem);
  background: var(--accent-lilac-soft);
}

.premium-strip h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.export-tickets {
  display: grid;
  gap: 0.7rem;
}

.export-tickets span {
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-lilac);
  border-radius: 0.75rem;
  background: var(--paper);
  box-shadow: 0.35rem 0.35rem 0 var(--accent-lilac);
  color: var(--ink-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
}

.export-tickets span:nth-child(2) {
  transform: rotate(2deg);
}

.download-cta {
  display: grid;
  width: min(calc(100% - 2rem), 62rem);
  justify-items: center;
  margin: clamp(6rem, 14vw, 12rem) auto 0;
  text-align: center;
}

.download-cta > img {
  width: clamp(6rem, 15vw, 9rem);
  margin-bottom: 2rem;
  border-radius: 24%;
  box-shadow: var(--editorial-shadow);
  transform: rotate(-3deg);
}

.download-cta h2 {
  margin-bottom: 2.5rem;
  color: var(--ink-blue);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

/* Story page */

.story-main {
  display: grid;
  width: min(calc(100% - 2rem), var(--story-width));
  min-height: clamp(34rem, 72vh, 48rem);
  align-items: center;
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.story-article {
  width: min(100%, 58rem);
  margin-inline: auto;
}

.developer-note {
  display: grid;
  align-items: center;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4rem);
  margin: 0;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: 2.5rem;
  background: var(--paper-blue);
  box-shadow: var(--paper-shadow);
}

.developer-note__stamp {
  display: grid;
  width: 9rem;
  aspect-ratio: 1;
  place-items: center;
  border: 0.18rem solid var(--primary);
  border-radius: 50%;
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  transform: rotate(-8deg);
}

.developer-note h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

@keyframes editorial-rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbit-arrival {
  from {
    opacity: 0;
    transform: rotate(-4deg) scale(0.92);
  }

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

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 64rem) {
  .content-page .site-header__inner {
    flex-wrap: wrap;
    padding-block: 0.65rem;
  }

  .content-page .legal-nav {
    flex: 1 1 34rem;
  }

  .editorial-hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
  }

  .feature-story {
    gap: 3rem;
    padding: clamp(2.5rem, 5vw, 4rem);
  }
}

@media (max-width: 50rem) {
  .editorial-hero,
  .feature-story,
  .feature-story--reverse,
  .privacy-feature,
  .premium-strip {
    grid-template-columns: 1fr;
  }

  .editorial-hero {
    min-height: 0;
    padding-top: 5rem;
  }

  .editorial-hero__copy {
    text-align: center;
  }

  .editorial-hero h1,
  .editorial-hero__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .idea-orbit {
    width: min(92vw, 31rem);
  }

  .feature-story {
    min-height: 0;
  }

  .feature-story--reverse .feature-copy,
  .feature-story--reverse .feature-visual {
    grid-row: auto;
    grid-column: auto;
  }

  .feature-story--reverse .feature-visual {
    order: 2;
  }

  .feature-duo {
    grid-template-columns: 1fr;
  }

  .mini-feature {
    min-height: 42rem;
  }

  .privacy-feature__copy {
    text-align: center;
  }

  .premium-strip {
    text-align: center;
  }

  .export-tickets {
    width: min(100%, 18rem);
    justify-self: center;
  }
}

@media (max-width: 44rem) {
  .content-page .site-header__inner {
    flex-wrap: nowrap;
  }

  .content-page .legal-nav {
    flex: initial;
  }

  .feature-story,
  .mini-feature {
    border-radius: 2rem;
  }

  .feature-story {
    padding: 2rem 1.4rem;
  }

  .feature-visual {
    min-height: 27rem;
  }

  .phone-frame {
    height: 32rem;
  }

  .memo-card {
    min-height: 13rem;
  }

  .feature-duo {
    width: min(calc(100% - 2rem), var(--marketing-width));
  }

  .mini-feature {
    min-height: 0;
    padding: 2.25rem 1.5rem;
  }

  .photo-pile {
    min-height: 18rem;
  }

  .lockscreen {
    min-height: 30rem;
  }

  .privacy-feature,
  .premium-strip {
    padding-inline: 1rem;
  }

  .premium-strip {
    padding: 2.5rem 1.5rem;
  }

  .developer-note {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .developer-note__stamp {
    width: 7rem;
  }
}

@media (max-width: 28rem) {
  .editorial-hero h1 {
    font-size: 3rem;
  }

  .idea-note--one {
    left: 1%;
    width: 8.5rem;
  }

  .idea-note--two {
    right: 1%;
  }

  .phone-frame {
    width: 16rem;
    height: 30rem;
  }
}

/* Home landing page */

.home-page {
  display: block;
}

.home-page .home-main {
  display: grid;
  min-height: 82vh;
  padding: clamp(3.5rem, 9vh, 7rem) 1.5rem 3rem;
  place-items: center;
}

.home-footer {
  width: min(calc(100% - 2rem), var(--marketing-width));
}

.home-section-heading h2,
.home-concept-section h2,
.home-private-section h2,
.home-download-section h2 {
  color: var(--ink-blue);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.home-chapter {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
  padding-inline: max(1rem, calc((100vw - var(--marketing-width)) / 2));
  border-block: 1px solid var(--line-strong);
  background: var(--white-faint);
  color: var(--ink-soft);
  text-transform: uppercase;
}

.home-chapter span {
  color: var(--primary-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-chapter p {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.home-chapter::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.home-flow-section,
.home-features-section,
.home-private-section {
  width: min(calc(100% - 2rem), var(--marketing-width));
  margin-inline: auto;
  padding: clamp(5rem, 11vw, 9rem) clamp(0rem, 2vw, 2rem);
}

.home-section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 8vw, 8rem);
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}

.home-section-heading .page-kicker {
  grid-row: 1;
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.home-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.08;
}

.home-section-heading > p:not(.page-kicker) {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 2;
}

.home-flow-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.home-flow-list li {
  position: relative;
  min-height: 28rem;
  padding: 2rem clamp(1.5rem, 3vw, 2.75rem);
  border-right: 1px solid var(--line-strong);
}

.home-flow-list li:first-child {
  border-left: 1px solid var(--line-strong);
}

.home-flow-list li > span {
  color: var(--primary-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-flow-list h3 {
  margin-bottom: 0.8rem;
  color: var(--ink-blue);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.home-flow-list li > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.9;
}

.home-flow-list__symbol {
  display: grid;
  width: 8rem;
  height: 8rem;
  margin: 3rem auto;
  border-radius: 50%;
  background: var(--paper-blue);
  color: var(--primary-deep);
  font-size: 3rem;
  font-weight: 300;
  place-items: center;
}

.home-flow-list li:nth-child(2) .home-flow-list__symbol {
  background: var(--accent-yellow-soft);
}

.home-flow-list li:nth-child(3) .home-flow-list__symbol {
  background: var(--accent-mint-soft);
}

.home-flow-list__symbol--sort {
  align-content: center;
  gap: 0.5rem;
}

.home-flow-list__symbol--sort i {
  display: block;
  width: 3.5rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent-coral);
}

.home-flow-list__symbol--sort i:nth-child(2) {
  width: 2.5rem;
  background: var(--primary);
}

.home-flow-list__symbol--sort i:nth-child(3) {
  width: 3rem;
  background: var(--accent-mint);
}

.home-section-heading--center {
  display: block;
  text-align: center;
}

.home-section-heading--center h2 {
  margin-inline: auto;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.25rem);
}

.home-feature-card {
  display: grid;
  min-height: 31rem;
  align-content: space-between;
  gap: 3rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--paper-shadow);
}

.home-feature-card h3 {
  margin-bottom: 1rem;
  color: var(--ink-blue);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
}

.home-feature-card > div > p:not(.feature-number) {
  max-width: 31rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.home-feature-card--instant {
  background: var(--paper-blue);
}

.home-feature-card--organize {
  background: var(--accent-yellow-soft);
}

.home-feature-card--find {
  background: var(--accent-mint-soft);
}

.home-feature-card--widget {
  background: var(--accent-lilac-soft);
}

.home-feature-card__cursor {
  display: grid;
  position: relative;
  width: 80%;
  min-height: 8rem;
  align-content: center;
  gap: 1rem;
  justify-self: end;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--white-translucent);
  box-shadow: var(--paper-shadow);
  transform: rotate(-2deg);
}

.home-feature-card__cursor span {
  display: block;
  width: 68%;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--line-strong);
  box-shadow: 0 1.5rem 0 var(--line);
}

.home-feature-card__cursor i {
  width: 0.14rem;
  height: 1.5rem;
  margin-top: 1rem;
  background: var(--primary);
}

.home-feature-card__chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  min-height: 9rem;
  justify-content: center;
}

.home-feature-card__chips span {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0.35rem 0.35rem 0 var(--accent-yellow);
  color: var(--ink-blue);
  font-size: 0.75rem;
  font-weight: 800;
  transform: rotate(-3deg);
}

.home-feature-card__chips span:nth-child(2) {
  background: var(--accent-mint-soft);
  transform: rotate(2deg);
}

.home-feature-card__chips span:nth-child(3) {
  background: var(--paper-blue);
  transform: rotate(-1deg);
}

.home-feature-card__search {
  align-self: end;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  box-shadow: var(--paper-shadow);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.home-feature-card__search span {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.75rem;
  border: 0.13rem solid var(--primary);
  border-radius: 50%;
  vertical-align: -0.1rem;
}

.home-feature-card__widget {
  display: flex;
  width: min(100%, 17rem);
  align-items: center;
  gap: 1rem;
  justify-self: center;
  padding: 1rem;
  border: 1px solid var(--night-line);
  border-radius: 1.4rem;
  background: var(--night-translucent);
  box-shadow: var(--paper-shadow);
  color: var(--surface-solid);
}

.home-feature-card__widget span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--ink-blue);
  font-size: 1.4rem;
  place-items: center;
}

.home-feature-card__widget strong {
  font-size: 0.82rem;
}

.home-wide-link {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  border-block: 1px solid var(--line-strong);
  color: var(--ink-blue);
  font-weight: 800;
  text-decoration: none;
}

.home-wide-link span {
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.home-wide-link:hover span {
  transform: translateX(0.3rem);
}

.home-chapter--light {
  border-color: var(--night-line);
  background: var(--accent-night);
  color: var(--paper-deep);
}

.home-chapter--light span {
  color: var(--accent-yellow);
}

.home-chapter--light::after {
  background: var(--night-line);
}

.home-concept-section {
  display: grid;
  min-height: 46rem;
  align-items: center;
  grid-template-columns: minmax(19rem, 0.8fr) minmax(22rem, 1fr);
  gap: clamp(4rem, 10vw, 10rem);
  padding: clamp(5rem, 11vw, 9rem)
    max(1rem, calc((100vw - var(--marketing-width)) / 2));
  background: var(--accent-night);
}

.home-concept-section__copy {
  max-width: 39rem;
}

.home-concept-section .page-kicker {
  color: var(--accent-yellow);
}

.home-concept-section h2 {
  margin-bottom: 1.75rem;
  color: var(--surface-solid);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.08;
}

.home-concept-section__copy > p:not(.page-kicker) {
  color: var(--paper-deep);
  line-height: 2;
}

.text-link--light,
.text-link--light:hover {
  color: var(--surface-solid);
}

.home-concept-paper {
  display: grid;
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 0.9;
  place-items: center;
  justify-self: center;
  padding: 2rem;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 2rem,
      var(--line) 2rem calc(2rem + 1px)
    ),
    var(--paper);
  box-shadow:
    1.4rem 1.4rem 0 var(--accent-coral),
    var(--editorial-shadow);
  color: var(--ink-blue);
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  transform: rotate(-4deg);
}

.home-concept-paper i {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.home-concept-paper i:nth-of-type(1) {
  top: 1.7rem;
  right: 1.7rem;
  background: var(--accent-coral);
}

.home-concept-paper i:nth-of-type(2) {
  bottom: 2rem;
  left: 2rem;
  background: var(--accent-mint);
}

.home-concept-paper i:nth-of-type(3) {
  right: 2.5rem;
  bottom: 3.5rem;
  background: var(--accent-yellow);
}

.home-private-section {
  display: grid;
  min-height: 42rem;
  align-items: center;
  grid-template-columns: minmax(22rem, 1fr) minmax(17rem, 0.55fr);
  gap: clamp(3rem, 10vw, 9rem);
}

.home-private-section__copy {
  max-width: 45rem;
}

.home-private-section h2 {
  margin-bottom: 1.75rem;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.15;
}

.home-private-section__copy > p:not(.page-kicker) {
  color: var(--ink-soft);
  line-height: 2;
}

.home-private-mark {
  display: grid;
  position: relative;
  width: min(100%, 21rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
  background: var(--accent-mint-soft);
  transform: rotate(4deg);
}

.home-private-mark > span {
  width: 42%;
  height: 34%;
  margin-top: 11%;
  border-radius: 1.15rem;
  background: var(--ink-blue);
}

.home-private-mark > span::before {
  position: absolute;
  top: 23%;
  left: 50%;
  width: 27%;
  height: 28%;
  border: 0.72rem solid var(--ink-blue);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  content: "";
  transform: translateX(-50%);
}

.home-private-mark > i {
  position: absolute;
  top: 16%;
  right: 15%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent-coral);
  box-shadow: -13rem 11rem 0 var(--accent-yellow);
}

.home-private-mark small {
  position: absolute;
  right: 9%;
  bottom: 12%;
  color: var(--primary-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.home-download-section {
  display: grid;
  width: min(calc(100% - 2rem), 64rem);
  justify-items: center;
  margin-inline: auto;
  padding: clamp(6rem, 13vw, 11rem) 0;
  text-align: center;
}

.home-download-section__icons {
  display: flex;
  position: relative;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.home-download-section__icons img {
  position: relative;
  z-index: 2;
  width: clamp(6rem, 14vw, 9rem);
  border-radius: 24%;
  box-shadow: var(--editorial-shadow);
  transform: rotate(-3deg);
}

.home-download-section__icons span,
.home-download-section__icons i {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-yellow);
}

.home-download-section__icons i {
  width: 1rem;
  height: 1rem;
  background: var(--accent-coral);
}

.home-download-section h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.1;
}

.home-download-section > p:not(.page-kicker) {
  margin-bottom: 2.5rem;
  color: var(--ink-soft);
  line-height: 2;
}

.home-page .home-footer {
  margin-top: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
  text-align: left;
}

.home-page .home-footer .footer-inner {
  justify-content: space-between;
}

@media (max-width: 50rem) {
  .home-section-heading,
  .home-concept-section,
  .home-private-section {
    grid-template-columns: 1fr;
  }

  .home-section-heading .page-kicker {
    grid-row: auto;
    grid-column: auto;
    margin-bottom: 0;
  }

  .home-flow-list {
    grid-template-columns: 1fr;
  }

  .home-flow-list li,
  .home-flow-list li:first-child {
    min-height: 0;
    border-right: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    border-left: 1px solid var(--line-strong);
  }

  .home-flow-list__symbol {
    margin-block: 2rem;
  }

  .home-concept-paper {
    order: 2;
  }

  .home-private-section__copy {
    text-align: center;
  }
}

@media (max-width: 44rem) {
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card {
    min-height: 27rem;
    padding: 2.25rem 1.5rem;
    border-radius: 2rem;
  }

  .home-chapter {
    min-height: 4rem;
  }

  .home-chapter p {
    letter-spacing: 0.1em;
  }

  .home-concept-section {
    padding-block: 5rem;
  }

  .home-page .home-footer .footer-inner {
    align-items: flex-start;
  }
}

/* Shared footer and contact page */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white-translucent);
  box-shadow: inset 0 1px 0 var(--surface-solid);
}

.language-switcher a {
  min-width: 2.65rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.language-switcher a:hover {
  color: var(--primary-deep);
  transform: translateY(-0.05rem);
}

.language-switcher a[aria-current="page"] {
  background: var(--surface-solid);
  box-shadow: 0 0.3rem 0.85rem rgba(30, 89, 145, 0.12);
  color: var(--primary-deep);
}

.site-header .language-switcher {
  margin-left: 0.35rem;
}

.not-found-card .language-switcher {
  margin-top: 1.25rem;
}

.site-footer,
.home-page .site-footer,
.content-page .site-footer {
  width: 100%;
  margin-top: clamp(4rem, 9vw, 8rem);
  padding: 0;
  border-top: 1px solid var(--line-strong);
  background:
    radial-gradient(
      circle at 12% 12%,
      var(--background-glow-soft),
      transparent 25rem
    ),
    rgba(242, 249, 255, 0.82);
  color: var(--text-muted);
  text-align: left;
  backdrop-filter: blur(1rem);
}

.home-page .home-footer {
  margin-top: 0;
  padding-top: 0;
}

.footer-inner,
.home-page .site-footer .footer-inner,
.home-page .home-footer .footer-inner {
  display: grid;
  width: min(calc(100% - 3rem), var(--marketing-width));
  align-items: start;
  grid-template-columns: minmax(15rem, 1.35fr) minmax(9rem, 0.7fr) minmax(
      9rem,
      0.7fr
    );
  gap: clamp(2.5rem, 6vw, 7rem);
  margin-inline: auto;
  padding: clamp(3.25rem, 7vw, 6rem) 0 clamp(2.75rem, 6vw, 4.5rem);
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.footer-brand__link:hover {
  color: var(--primary-deep);
}

.footer-brand__copyright {
  margin: 0;
  font-size: 0.76rem;
}

.contact-main {
  width: min(calc(100% - 2rem), 66rem);
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 8rem) 0 0;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.6fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.contact-hero h1 {
  margin-bottom: 1.25rem;
  color: var(--ink-blue);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.contact-hero p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 2;
}

.contact-hero__note {
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.5rem 1.5rem 1.5rem 0.35rem;
  background: var(--white-translucent);
  box-shadow: var(--paper-shadow);
}

.contact-hero__note span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--primary-deep);
  font-size: 1.5rem;
}

.contact-hero__note p {
  font-size: 0.84rem;
  line-height: 1.8;
}

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

.contact-card {
  display: grid;
  position: relative;
  min-height: 13rem;
  align-content: space-between;
  gap: 2.5rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line-strong);
  border-radius: 1.75rem;
  background: var(--white-translucent);
  box-shadow: 0 0.8rem 2rem rgba(30, 89, 145, 0.07);
  color: var(--text);
  text-decoration: none;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.contact-card::after {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--primary);
  content: "↗";
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.contact-card:hover {
  background: var(--surface-solid);
  box-shadow: var(--editorial-shadow);
  color: var(--primary-deep);
  transform: translateY(-0.2rem);
}

.contact-card:hover::after {
  transform: translate(0.12rem, -0.12rem);
}

.contact-card__mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 1rem;
  font-weight: 900;
  place-items: center;
}

.contact-card:nth-child(2) .contact-card__mark {
  background: var(--accent-yellow-soft);
  color: #8a6500;
}

.contact-card:nth-child(3) .contact-card__mark {
  background: var(--accent-mint-soft);
  color: #247a62;
}

.contact-card:nth-child(4) .contact-card__mark {
  background: var(--accent-coral-soft);
  color: #a33f2d;
}

.contact-card h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
}

.contact-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

@media (max-width: 54rem) {
  .footer-inner,
  .home-page .site-footer .footer-inner,
  .home-page .home-footer .footer-inner {
    grid-template-columns: minmax(14rem, 1fr) repeat(2, minmax(8rem, 0.55fr));
    gap: 2.5rem;
  }
}

@media (max-width: 44rem) {
  .site-header .language-switcher {
    margin-left: auto;
  }

  .footer-inner,
  .home-page .site-footer .footer-inner,
  .home-page .home-footer .footer-inner {
    width: min(calc(100% - 2.5rem), var(--marketing-width));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 1.5rem;
  }

  .contact-hero {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 11.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-switcher a,
  .contact-card,
  .contact-card::after {
    transition: none;
  }
}

/* Legal document pages: keep the reading surface quiet and direct. */

.legal-page {
  --legal-background: #fbfcfd;
  --legal-border: #d9e2ea;
  background: var(--legal-background);
}

.legal-page::before {
  display: none;
}

.legal-page .site-header {
  position: static;
  border-bottom-color: var(--legal-border);
  background: var(--legal-background);
  backdrop-filter: none;
}

.legal-page .site-header__inner {
  width: min(calc(100% - 2rem), 64rem);
  min-height: 4.25rem;
}

.legal-page .legal-nav {
  gap: 0.35rem 1rem;
}

.legal-page .site-header .language-switcher,
.legal-page .site-footer .language-switcher {
  border-color: var(--legal-border);
  background: transparent;
  box-shadow: none;
}

.legal-page .language-switcher a[aria-current="page"] {
  background: var(--primary-soft);
  box-shadow: none;
}

.legal-page .legal-main {
  width: min(calc(100% - 2rem), 56rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-page .legal-content,
.legal-page .legal-source {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-page .legal-source > h1 {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text);
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
}

.legal-page .legal-source h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  padding-top: 0;
  border-top: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.legal-page .legal-source h2:first-of-type {
  margin-top: 0;
}

.legal-page .legal-source p,
.legal-page .legal-source li {
  color: var(--text);
  line-height: 1.85;
}

.legal-page .legal-source ul,
.legal-page .legal-source ol {
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.legal-page .site-footer {
  margin-top: 0;
  border-top-color: var(--legal-border);
  background: transparent;
  backdrop-filter: none;
}

.legal-page .site-footer .footer-inner {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 44rem) {
  .legal-page .site-header__inner {
    min-height: auto;
  }

  .legal-page .legal-main {
    padding-top: 2rem;
  }

  .legal-page .legal-source > h1 {
    margin-bottom: 2rem;
  }

  .legal-page .legal-source h2 {
    margin-top: 2.25rem;
  }
}

/* Keep the shared footer vertical even when older page rules are present. */

.home-page .site-footer .footer-inner,
.content-page .site-footer .footer-inner,
.legal-page .site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(3rem, 7vw, 5rem) 0 0;
  text-align: center;
}

.home-page .home-footer,
.content-page .site-footer,
.legal-page .site-footer {
  border-top: 0;
}

/* Footer order: links, identity, divider, then language controls. */

.site-footer {
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-footer .footer-inner {
  display: flex;
  width: min(calc(100% - 3rem), var(--marketing-width));
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(3rem, 7vw, 5rem) 0 0;
  text-align: center;
}

.site-footer .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 0;
}

.site-footer .footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a[aria-current="page"] {
  color: var(--primary-deep);
}

.site-footer .footer-identity {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.site-footer .footer-brand__link {
  color: var(--text);
  font-family:
    "Hiragino Maru Gothic ProN", "Yu Gothic", "BIZ UDPGothic", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.site-footer .footer-brand__link:hover {
  color: var(--primary-deep);
}

.site-footer .footer-brand__tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.site-footer .footer-brand__copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.site-footer .footer-language {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.1rem 0 2rem;
  border-top: 1px solid var(--line-strong);
}

.site-footer .footer-language .language-switcher {
  margin: 0;
}

/* Keep the contact page as quiet as the app's link list. */

.contact-page {
  background: var(--background);
}

.contact-page .site-header {
  background: var(--background);
  backdrop-filter: none;
}

.contact-page .site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  background: transparent;
  backdrop-filter: none;
}

/* Pages with only support links use a two-column footer. */

.home-page .footer-inner,
.content-page .footer-inner,
.legal-page .footer-inner {
  grid-template-columns: minmax(15rem, 1.35fr) minmax(9rem, 0.7fr);
}

/* Contact page: one quiet, app-like list of destinations. */

.contact-page .contact-main {
  width: min(calc(100% - 2rem), 40rem);
  padding-top: clamp(3rem, 8vw, 5.5rem);
}

.contact-page .contact-hero {
  display: block;
  margin-bottom: 2rem;
}

.contact-page .contact-hero h1 {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.04em;
}

.contact-page .contact-hero p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.contact-page .contact-hero .contact-hero__note {
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.contact-page .contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-page .contact-card {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
  backdrop-filter: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.contact-page .contact-card::after {
  display: none;
}

.contact-page .contact-card:hover {
  border-color: var(--line-strong);
  background: var(--primary-soft);
  box-shadow: none;
  color: var(--primary-deep);
  transform: none;
}

.contact-page .contact-card__text {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 0.75rem;
}

.contact-page .contact-card h2 {
  flex: 0 0 auto;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-page .contact-card p {
  overflow: hidden;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-page .contact-card__arrow {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.contact-page .contact-card:hover .contact-card__arrow {
  transform: translateX(0.15rem);
}

@media (max-width: 36rem) {
  .contact-page .contact-card {
    min-height: 3.85rem;
    padding-inline: 1rem;
  }

  .contact-page .contact-card__text {
    display: block;
  }

  .contact-page .contact-card p {
    margin-top: 0.15rem;
  }
}

/* Legal document pages: keep the reading surface quiet and direct. */

.legal-page {
  --legal-background: #fbfcfd;
  --legal-border: #d9e2ea;
  background: var(--legal-background);
}

.legal-page::before {
  display: none;
}

.legal-page .site-header {
  position: static;
  border-bottom-color: var(--legal-border);
  background: var(--legal-background);
  backdrop-filter: none;
}

.legal-page .site-header__inner {
  width: min(calc(100% - 2rem), 64rem);
  min-height: 4.25rem;
}

.legal-page .legal-nav {
  gap: 0.35rem 1rem;
}

.legal-page .site-header .language-switcher,
.legal-page .site-footer .language-switcher {
  border-color: var(--legal-border);
  background: transparent;
  box-shadow: none;
}

.legal-page .language-switcher a[aria-current="page"] {
  background: var(--primary-soft);
  box-shadow: none;
}

.legal-page .legal-main {
  width: min(calc(100% - 2rem), 56rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-page .legal-content,
.legal-page .legal-source {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-page .legal-source > h1 {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text);
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
}

.legal-page .legal-source h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  padding-top: 0;
  border-top: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.legal-page .legal-source h2:first-of-type {
  margin-top: 0;
}

.legal-page .legal-source p,
.legal-page .legal-source li {
  color: var(--text);
  line-height: 1.85;
}

.legal-page .legal-source ul,
.legal-page .legal-source ol {
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.legal-page .site-footer {
  margin-top: 0;
  border-top-color: var(--legal-border);
  background: transparent;
  backdrop-filter: none;
}

.legal-page .site-footer .footer-inner {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 44rem) {
  .legal-page .site-header__inner {
    min-height: auto;
  }

  .legal-page .legal-main {
    padding-top: 2rem;
  }

  .legal-page .legal-source > h1 {
    margin-bottom: 2rem;
  }

  .legal-page .legal-source h2 {
    margin-top: 2.25rem;
  }
}
