:root {
  --ink: #10244a;
  --muted: #60718f;
  --brand: #1478ff;
  --brand-dark: #0754ce;
  --paper: #f5f8ff;
  --card: #ffffff;
  --line: #d8e4f5;
  --warm: #e9f2ff;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 3%, rgba(20, 120, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 4% 42%, rgba(25, 146, 255, 0.07), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  width: min(1120px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(23, 53, 56, 0.13);
}

.brand span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand strong {
  display: block;
  max-width: min(42vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.language-switcher {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.language-switcher button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--ink);
  color: white;
  box-shadow: 0 3px 10px rgba(23, 53, 56, 0.18);
}

.language-switcher button:focus-visible,
.language-control select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(20, 120, 255, 0.32);
  outline-offset: 3px;
}

.language-control {
  position: relative;
  flex: 0 0 auto;
}

.language-control::after {
  content: "⌄";
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  color: var(--brand-dark);
  font-size: 13px;
  pointer-events: none;
  transform: translateY(-57%);
}

.language-control select {
  min-height: 42px;
  max-width: 210px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  appearance: none;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(18, 75, 154, 0.07);
}

[dir="rtl"] .language-control select {
  padding: 0 16px 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: center;
  padding: 92px 0 100px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(52px, 7.6vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.primary-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  box-shadow: 0 13px 28px rgba(7, 84, 206, 0.22);
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.text-link {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
}

.contact-card {
  min-height: 310px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(20, 120, 255, 0.24);
  border-radius: 28px;
  background: linear-gradient(145deg, #168cff, #074dc8 72%, #063b9d);
  color: white;
  box-shadow: 0 28px 70px rgba(7, 73, 180, 0.24);
}

.contact-symbol {
  width: 54px;
  height: 54px;
  margin: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 300;
}

.card-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card a {
  overflow-wrap: anywhere;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.contact-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.65;
}

.faq-section {
  padding: 100px 0 112px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

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

.faq-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.faq-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.faq-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.faq-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-section {
  margin-bottom: 100px;
  padding: 56px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-radius: 28px;
  background: var(--warm);
}

.contact-section h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.5vw, 52px);
}

.contact-section p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mail-address {
  flex: 0 0 auto;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 750;
  overflow-wrap: anywhere;
}

footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.footer-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-inner strong {
  font-size: 14px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner a {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 24px;
}

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

.policy-hero {
  padding: 82px 0 62px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  max-width: 850px;
  font-size: clamp(48px, 7vw, 82px);
}

.policy-summary {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.policy-date {
  margin: 0;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.34fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 104px);
  padding: 72px 0 110px;
}

.policy-toc {
  position: sticky;
  top: 28px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
}

.policy-toc p {
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.policy-toc a:hover {
  color: var(--ink);
}

.policy-content {
  min-width: 0;
}

.policy-section {
  padding: 0 0 48px;
  scroll-margin-top: 24px;
}

.policy-section + .policy-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 4vw, 40px);
}

.policy-section h3 {
  margin: 26px 0 10px;
  font-size: 18px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  line-height: 1.8;
}

.policy-section ul {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

.policy-section li + li {
  margin-top: 10px;
}

.policy-highlight {
  margin: 0 0 46px;
  padding: 28px;
  border: 1px solid rgba(20, 120, 255, 0.2);
  border-radius: 22px;
  background: var(--warm);
}

.policy-highlight strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.policy-highlight p {
  margin: 0;
}

.inline-link {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-contact {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--warm);
}

.page-loading,
noscript {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

[dir="rtl"] .contact-card a,
[dir="rtl"] .mail-address,
[dir="rtl"] .footer-links a[href^="mailto:"] {
  direction: ltr;
  text-align: end;
}

@media (max-width: 800px) {
  .site-header,
  .page-shell,
  .policy-shell,
  .footer-inner {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 82px;
  }

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 68px 0 80px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .contact-card {
    min-height: 285px;
  }

  .faq-section {
    padding: 78px 0 84px;
  }

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

  .contact-section {
    margin-bottom: 70px;
    padding: 36px 28px;
    align-items: start;
    flex-direction: column;
  }

  .footer-inner {
    min-height: 180px;
    padding: 34px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-links {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }

  .policy-hero {
    padding: 62px 0 50px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 52px 0 78px;
  }

  .policy-toc {
    position: static;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .language-switcher button {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .language-control select {
    max-width: 145px;
    min-height: 38px;
    padding-inline-start: 12px;
    font-size: 12px;
  }

  .brand strong {
    max-width: 42vw;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .contact-card,
  .faq-card {
    padding: 26px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 20px;
  }
}

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

  .primary-button {
    transition: none;
  }
}
