@charset "UTF-8";

:root {
  --ink: #153b34;
  --pine: #247565;
  --pine-dark: #0f5e50;
  --mist: #d9eee8;
  --mist-soft: #eaf5f1;
  --paper: #f7faf9;
  --white: #ffffff;
  --cloud: #dfe9e5;
  --slate: #59706a;
  --muted: #71847e;
  --sun: #f4dc82;
  --shadow: 0 24px 70px rgba(32, 79, 69, 0.12);
  --shadow-soft: 0 14px 36px rgba(32, 79, 69, 0.08);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --content: 1240px;
  --reading: 740px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 6%, rgba(217, 238, 232, 0.55), transparent 25rem),
    var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: relative;
  z-index: 50;
  padding-top: max(18px, env(safe-area-inset-top));
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 10px 16px;
  border: 1px solid rgba(36, 117, 101, 0.12);
  border-radius: 22px;
  background: rgba(247, 250, 249, 0.86);
  box-shadow: 0 10px 30px rgba(41, 86, 76, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 11px;
  flex-shrink: 0;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(15, 94, 80, 0.18);
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-en {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.desktop-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.desktop-navigation a,
.mobile-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--slate);
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.desktop-navigation a:hover,
.desktop-navigation a[aria-current="page"],
.mobile-navigation a:hover,
.mobile-navigation a[aria-current="page"] {
  color: var(--ink);
  background: var(--mist-soft);
}

.language-switcher {
  display: flex;
  align-items: center;
  padding: 3px;
  margin-left: 12px;
  border: 1px solid var(--cloud);
  border-radius: 12px;
}

.language-switcher button {
  min-width: 44px;
  min-height: 38px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 720;
}

.language-switcher button.is-active {
  color: var(--white);
  background: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  min-height: 44px;
  padding: 0;
  margin-left: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--mist-soft);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: auto;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  transform: rotate(-45deg);
}

.mobile-navigation {
  display: none;
}

.hero {
  display: grid;
  align-items: center;
  min-height: 690px;
  padding: 58px 0 78px;
  gap: clamp(32px, 6vw, 88px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid rgba(36, 117, 101, 0.18);
  border-radius: 999px;
  color: var(--pine-dark);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 24px 0 22px;
  font-size: clamp(3rem, 6.3vw, 5.8rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.072em;
}

.hero-lede {
  max-width: 590px;
  margin: 0;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 720;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 11px 24px rgba(21, 59, 52, 0.18);
}

.button-primary:hover {
  background: var(--pine-dark);
  box-shadow: 0 14px 30px rgba(21, 59, 52, 0.22);
}

.button-secondary {
  border-color: var(--cloud);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  padding: 0;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  list-style: none;
}

.hero-proof li {
  position: relative;
  padding-left: 16px;
}

.hero-proof li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pine);
  content: "";
}

.illustration-slot {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(36, 117, 101, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 68% 18%, rgba(244, 220, 130, 0.5), transparent 24%),
    linear-gradient(145deg, #e8f5f1, #c6e4dc);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.illustration-slot::after {
  position: absolute;
  inset: 18px;
  z-index: 5;
  border: 1px solid rgba(36, 117, 101, 0.13);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
  content: "";
}

.illustration-label {
  position: absolute;
  z-index: 8;
  right: 28px;
  bottom: 26px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--pine-dark);
  background: rgba(247, 250, 249, 0.78);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-art picture,
.device-art picture,
.closing-art picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-art img,
.device-art img,
.closing-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art img {
  object-position: 56% center;
}

.device-art img {
  object-position: center;
}

.closing-art img {
  object-position: 53% center;
}

.section {
  padding: 104px 0;
}

.section-tint {
  border-top: 1px solid rgba(36, 117, 101, 0.09);
  border-bottom: 1px solid rgba(36, 117, 101, 0.09);
  background: rgba(234, 245, 241, 0.55);
}

.section-header {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.section-kicker {
  margin: 0;
  color: var(--pine);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 4.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-intro {
  max-width: 700px;
  margin: 0;
  color: var(--slate);
  font-size: 1.04rem;
}

.category-list {
  display: grid;
  border-top: 1px solid var(--cloud);
}

.category-row {
  border-bottom: 1px solid var(--cloud);
}

.category-toggle {
  display: grid;
  width: 100%;
  min-height: 136px;
  padding: 28px 4px;
  border: 0;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: padding 180ms ease, background 180ms ease;
}

.category-toggle:hover,
.category-toggle[aria-expanded="true"] {
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.52);
}

.category-toggle:focus-visible {
  outline: 3px solid rgba(33, 119, 99, 0.3);
  outline-offset: -3px;
}

.category-index {
  color: var(--pine);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
}

.category-name {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.category-examples {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
}

.category-action {
  position: relative;
  width: 28px;
  height: 28px;
  justify-self: end;
  border: 1px solid var(--cloud);
  border-radius: 50%;
}

.category-action::before,
.category-action::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--pine);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

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

.category-toggle[aria-expanded="true"] .category-action::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.calculator-panel {
  padding: 0 4px 28px;
}

.calculator-panel[hidden] {
  display: none;
}

.calculator-form {
  display: grid;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(25, 83, 70, 0.14);
  border-radius: 24px;
  gap: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 45px rgba(25, 57, 50, 0.06);
}

.calculator-heading {
  display: grid;
  gap: 8px;
}

.calculator-heading h3,
.calculator-heading p,
.calculator-feedback {
  margin: 0;
}

.calculator-heading h3 {
  font-size: 1.2rem;
}

.calculator-heading p {
  max-width: 680px;
  color: var(--slate);
  font-size: 0.9rem;
}

.calculator-form label {
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.calculator-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--cloud);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.calculator-form input:focus {
  border-color: var(--pine);
  outline: 3px solid rgba(33, 119, 99, 0.14);
}

.input-with-unit {
  position: relative;
  display: block;
}

.input-with-unit input {
  padding-right: 54px;
}

.input-with-unit > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--slate);
  font-size: 0.78rem;
  transform: translateY(-50%);
}

.calculator-submit {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.calculator-submit:hover {
  background: var(--pine);
}

.calculator-submit:focus-visible {
  outline: 3px solid rgba(33, 119, 99, 0.3);
  outline-offset: 3px;
}

.calculator-feedback {
  min-height: 1.5em;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 650;
}

.calculator-feedback.has-result {
  color: var(--pine);
}

.calculator-feedback.is-error {
  color: #9c433b;
}

.process-grid {
  display: grid;
  gap: 20px;
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.process-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 760;
}

.process-step h3 {
  margin: 58px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.process-step p {
  margin: 0;
  color: var(--slate);
}

.privacy-story {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.device-art {
  min-height: 520px;
}

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

.privacy-points li {
  position: relative;
  padding-left: 36px;
}

.privacy-points li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 18px;
  height: 18px;
  border: 5px solid var(--mist);
  border-radius: 50%;
  background: var(--pine);
  content: "";
}

.privacy-points strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

.privacy-points span {
  color: var(--slate);
  font-size: 0.93rem;
}

.boundary-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
}

.boundary-panel::after {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -110px;
  bottom: -170px;
  border: 1px solid rgba(217, 238, 232, 0.32);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(217, 238, 232, 0.04),
    0 0 0 108px rgba(217, 238, 232, 0.025);
  content: "";
}

.boundary-panel .section-kicker {
  color: #a9d8cd;
}

.boundary-panel h2 {
  max-width: 800px;
  margin-top: 18px;
}

.boundary-panel p {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 28px 0 0;
  color: #c9ddd8;
  font-size: 1.02rem;
}

.closing-art {
  min-height: 300px;
}

.site-footer {
  padding: 26px 0 max(28px, env(safe-area-inset-bottom));
}

.footer-inner {
  display: grid;
  padding: 40px 0 10px;
  border-top: 1px solid var(--cloud);
  gap: 28px;
}

.footer-brand p {
  max-width: 370px;
  margin: 16px 0 0;
  color: var(--slate);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--slate);
  font-size: 0.9rem;
}

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

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--cloud);
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-hero {
  padding: 92px 0 64px;
  border-bottom: 1px solid var(--cloud);
}

.legal-hero .eyebrow {
  margin-bottom: 22px;
}

.legal-lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.effective-date {
  display: inline-block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.83rem;
}

.legal-layout {
  display: grid;
  align-items: start;
  padding: 72px 0 110px;
  gap: 64px;
}

.legal-toc {
  position: sticky;
  top: 28px;
  padding: 22px;
  border: 1px solid var(--cloud);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-toc a {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--slate);
  font-size: 0.87rem;
}

.legal-toc a:hover {
  color: var(--pine);
}

.legal-content {
  width: min(100%, var(--reading));
}

.legal-section {
  scroll-margin-top: 30px;
  padding: 0 0 48px;
  margin: 0 0 48px;
  border-bottom: 1px solid var(--cloud);
}

.legal-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.legal-section h3 {
  margin: 30px 0 12px;
  font-size: 1.04rem;
}

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

.legal-section ul {
  padding-left: 1.25rem;
}

.legal-section a,
.support-card a {
  color: var(--pine-dark);
  text-decoration: underline;
  text-decoration-color: rgba(36, 117, 101, 0.3);
  text-underline-offset: 4px;
}

.support-grid {
  display: grid;
  gap: 20px;
  margin: 48px 0 0;
}

.support-card {
  padding: 28px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.support-card h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.support-card p {
  margin: 0;
  color: var(--slate);
}

.faq-list {
  border-top: 1px solid var(--cloud);
}

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

.faq-question {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 0;
  border: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
  gap: 20px;
  font-weight: 700;
}

.faq-question::after {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--pine);
  border-bottom: 2px solid var(--pine);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  content: "";
}

.faq-item.is-open .faq-question::after {
  transform: rotate(225deg);
}

.faq-answer {
  display: none;
  padding: 0 44px 22px 0;
  color: var(--slate);
}

.faq-answer p {
  margin: 0;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.notice {
  padding: 20px 22px;
  border-left: 3px solid var(--pine);
  border-radius: 0 16px 16px 0;
  color: var(--slate);
  background: var(--mist-soft);
}

.notice strong {
  color: var(--ink);
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  }

  .category-toggle {
    grid-template-columns: 52px minmax(180px, 0.75fr) minmax(260px, 1.25fr) 36px;
  }

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

  .calculator-heading,
  .calculator-feedback {
    grid-column: 1 / -1;
  }

  .calculator-submit {
    align-self: end;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .privacy-story {
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(320px, 1.5fr) repeat(2, minmax(150px, 0.6fr));
  }

  .footer-meta {
    grid-column: 1 / -1;
  }

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

@media (min-width: 900px) and (max-width: 1199px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6vw, 4.6rem);
  }
}

@media (min-width: 1024px) {
  .section-header {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    align-items: end;
  }

  .section-header .section-kicker {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 210px minmax(0, var(--reading));
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .hero-copy {
    grid-column: 1 / span 5;
  }

  .hero-art {
    grid-column: 6 / span 7;
  }

}

@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 74px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-art {
    min-height: min(70vw, 540px);
  }
}

@media (max-width: 767px) {
  .site-shell {
    width: min(calc(100% - 40px), var(--content));
  }

  .site-header {
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .header-inner {
    min-height: 64px;
    padding: 8px 10px 8px 12px;
    border-radius: 18px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-en {
    display: none;
  }

  .desktop-navigation {
    display: none;
  }

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

  .language-switcher button {
    min-width: 40px;
    min-height: 38px;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-navigation {
    position: fixed;
    z-index: 45;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    padding: calc(98px + env(safe-area-inset-top)) 24px 32px;
    background: rgba(247, 250, 249, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-navigation[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-navigation a {
    justify-content: flex-start;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid var(--cloud);
    border-radius: 0;
    font-size: 1.08rem;
  }

  .hero {
    padding: 58px 0 66px;
    gap: 34px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(2.75rem, 14vw, 4rem);
    line-height: 1.02;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-proof {
    display: grid;
    gap: 7px;
  }

  .illustration-slot {
    min-height: min(105vw, 430px);
    border-radius: 28px;
  }

  .section {
    padding: 74px 0;
  }

  .section-header {
    margin-bottom: 34px;
  }

  .category-toggle {
    grid-template-columns: 36px 1fr;
    gap: 8px 10px;
  }

  .category-examples {
    grid-column: 2;
  }

  .category-action {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .category-name,
  .category-examples {
    padding-right: 44px;
  }

  .calculator-panel {
    padding-bottom: 20px;
  }

  .process-step {
    min-height: 220px;
  }

  .device-art {
    min-height: 430px;
  }

  .closing-art {
    min-height: 190px;
  }

  .boundary-panel {
    border-radius: 28px;
  }

  .footer-inner {
    padding-top: 32px;
  }

  .footer-meta {
    display: grid;
  }

  .legal-hero {
    padding: 72px 0 52px;
  }

  .legal-layout {
    padding: 54px 0 80px;
    gap: 40px;
  }

  .legal-toc {
    position: static;
  }

  .legal-section {
    padding-bottom: 38px;
    margin-bottom: 38px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 1rem;
    line-height: 1.78;
  }
}

@media (max-width: 374px) {
  .site-shell {
    width: min(calc(100% - 32px), var(--content));
  }

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

  .language-switcher button {
    min-width: 36px;
    padding-inline: 5px;
  }

  .hero h1 {
    font-size: 2.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-toc,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .legal-layout {
    display: block;
    padding: 0;
  }

  .legal-content {
    width: 100%;
  }
}
