:root {
  color-scheme: light;
  --brand: #c9413a;
  --brand-dark: #9f2f2a;
  --brand-soft: #fbeae8;
  --success: #147a52;
  --success-soft: #e7f4ed;
  --link: #075fbd;
  --background: #f5f7f5;
  --surface: #ffffff;
  --ink: #1d2420;
  --secondary: #68716b;
  --hairline: #dce3de;
  --page: min(1120px, calc(100% - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand: #f16b63;
    --brand-dark: #ff827a;
    --brand-soft: #3b2220;
    --success: #55c991;
    --success-soft: #173528;
    --link: #72b7ff;
    --background: #101311;
    --surface: #1a1e1b;
    --ink: #f1f4f2;
    --secondary: #a9b2ac;
    --hairline: #303632;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: contain;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(7, 95, 189, 0.32);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 222, 0.85);
  background: rgba(245, 247, 245, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: var(--page);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  min-height: 620px;
  padding: 96px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 8vw, 76px);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 5vw, 42px);
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--secondary);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.pause-card {
  min-height: 360px;
  padding: 44px;
  border: 1px solid var(--hairline);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}

.pause-mark {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 34px;
  font-weight: 900;
}

.pause-card strong {
  display: block;
  font-size: 32px;
  line-height: 1.25;
}

.pause-card p {
  margin: 10px 0 0;
  color: var(--secondary);
}

.section {
  padding: 88px 0;
}

.section-intro {
  max-width: 680px;
  color: var(--secondary);
  font-size: 18px;
}

.grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--surface);
}

.card-number {
  width: 40px;
  height: 40px;
  margin-bottom: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
}

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

.trust {
  padding: 44px;
  border-radius: 28px;
  background: var(--success-soft);
}

.trust .eyebrow {
  color: var(--success);
}

.legal-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 0 96px;
}

.document-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}

.legal-layout h1 {
  font-size: clamp(36px, 7vw, 56px);
}

.updated {
  margin: 20px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.document-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--secondary);
  font-size: 18px;
}

.legal-section {
  padding-top: 40px;
}

.legal-section h2 {
  font-size: 25px;
}

.legal-section h3 {
  margin-top: 28px;
}

.legal-section li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 14px 14px 0;
  background: var(--brand-soft);
}

.company-card {
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: var(--surface);
}

.company-card h2 {
  margin-bottom: 24px;
}

.company-name-suffix {
  white-space: nowrap;
}

.company-label {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.company-facts {
  margin: 0;
}

.company-facts div {
  min-height: 52px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
}

.company-facts dt {
  color: var(--secondary);
}

.company-facts dd {
  margin: 0;
  font-weight: 650;
}

.document-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.document-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--surface);
}

.field + .field {
  margin-top: 20px;
}

label,
legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.help,
.count {
  margin: 6px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.count {
  text-align: right;
}

.consent {
  margin: 22px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--secondary);
  font-size: 14px;
}

.consent input {
  width: 22px;
  min-height: 22px;
  margin: 2px 0 0;
}

.form button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-status {
  min-height: 28px;
  margin-top: 14px;
  font-weight: 650;
}

.form-status.error {
  color: #a41f1a;
}

.form-status.success {
  color: var(--success);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.site-footer {
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 32px 0 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 40px);
  }

  .nav {
    min-height: 56px;
    padding: 6px 0;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .legal-page .site-header {
    position: static;
  }

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

  .pause-card {
    min-height: 300px;
    padding: 30px;
  }

  .section {
    padding: 64px 0;
  }

  .grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .trust,
  .form {
    padding: 22px;
  }

  .legal-layout {
    padding: 36px 0 max(72px, env(safe-area-inset-bottom));
  }

  .legal-layout h1 {
    font-size: 36px;
  }

  .document-header {
    padding-bottom: 24px;
  }

  .document-lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .legal-section {
    padding-top: 32px;
  }

  .legal-section h2 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .legal-section + .legal-section,
  .legal-section h2:not(:first-child) {
    margin-top: 8px;
  }

  .company-card {
    padding: 20px;
  }

  .company-card h2 {
    font-size: 20px;
  }

  .company-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .footer-inner {
    flex-direction: column;
  }

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

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