:root {
  color-scheme: dark;
  --ink: #ece8ed;
  --muted: #aaa4ad;
  --page: #151318;
  --panel: #211f24;
  --panel-soft: #1b191e;
  --line: rgba(255, 255, 255, .11);
  --accent: #4f9ba5;
  --accent-bright: #78b9c1;
  --accent-soft: rgba(79, 155, 165, .14);
  --shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 4%, rgba(36, 112, 123, .17), transparent 28rem),
    var(--page);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-bright); text-underline-offset: .2em; }
a:hover { color: #a1d2d8; }
.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand img, .footer-brand img { border-radius: 10px; }
.back-link { font-size: .88rem; font-weight: 700; text-decoration: none; }

.hero { max-width: 920px; padding: clamp(80px, 11vw, 150px) 0 110px; }
.eyebrow, .section-kicker {
  color: var(--accent-bright);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow span { width: 30px; height: 2px; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1 {
  margin: 1.2rem 0 1.7rem;
  font-size: clamp(3.2rem, 8.5vw, 7.2rem);
  line-height: .93;
  letter-spacing: -.065em;
}
h1 em { color: var(--accent-bright); font-family: Georgia, serif; font-weight: 400; }
.hero-copy { max-width: 710px; color: #c9c4cc; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }
.updated { margin: 2.3rem 0 0; color: var(--muted); font-size: .82rem; }

.page-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; gap: 7vw; }
.contents { position: sticky; top: 30px; align-self: start; padding-top: 4px; }
.contents p { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contents ol { margin: 0; padding: 0; list-style: none; counter-reset: nav; }
.contents li { border-top: 1px solid var(--line); counter-increment: nav; }
.contents li:last-child { border-bottom: 1px solid var(--line); }
.contents a { display: flex; gap: .75rem; padding: .75rem 0; color: var(--muted); font-size: .82rem; text-decoration: none; }
.contents a::before { content: "0" counter(nav); color: var(--accent); font-variant-numeric: tabular-nums; }
.contents a:hover { color: var(--ink); }

.legal-copy > section:not(.summary-card):not(.closing-card) { padding: 5.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.legal-copy h2 { max-width: 690px; margin-bottom: 1.6rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; }
.legal-copy p, .legal-copy li { color: #c5c0c8; }
.legal-copy strong { color: var(--ink); }
.legal-copy ul { padding-left: 1.25rem; }
.legal-copy li { margin-bottom: .65rem; }
.section-number { margin-bottom: 1rem; color: var(--accent) !important; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }

.summary-card, .closing-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 5.5rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(145deg, #28252b, #1d1b20);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.summary-card::after, .closing-card::after {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  top: -130px;
  background: rgba(79, 155, 165, .12);
  border-radius: 50%;
  content: "";
}
.summary-card h2 { margin: .7rem 0 2.5rem; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.summary-grid div { border-top: 2px solid var(--accent); padding-top: 1rem; }
.summary-grid strong, .summary-grid span { display: block; }
.summary-grid strong { margin-bottom: .45rem; font-size: .88rem; }
.summary-grid span { color: var(--muted); font-size: .77rem; line-height: 1.5; }

.contact-card { margin: 2rem 0; padding: 1.5rem; background: var(--accent-soft); border-left: 3px solid var(--accent); font-style: normal; }
.contact-card strong { display: block; margin-bottom: .4rem; }

.data-list { border-top: 1px solid var(--line); margin: 2rem 0; }
.data-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.data-list > div > span { color: var(--accent); font-size: .72rem; font-weight: 800; }
.data-list p { margin: 0; }
.data-list strong { display: block; margin-bottom: .25rem; }

.purpose-list { padding: 0 !important; list-style: none; }
.purpose-list li { display: grid; grid-template-columns: 180px 1fr; gap: 1.4rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.purpose-list li:last-child { border-bottom: 1px solid var(--line); }
.purpose-list strong, .purpose-list span { display: block; }

.closing-card { margin: 5.5rem 0 0; scroll-margin-top: 30px; }
.closing-card h2 { margin: .6rem 0 1rem; }
.contact-button { text-transform: capitalize; display: inline-flex; gap: 1rem; margin-top: 1rem; padding: .85rem 1.1rem; color: #eefcfd; background: #24707b; border-radius: 9px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.contact-button:hover { color: white; background: #2e8290; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-button-secondary { color: var(--accent-bright); background: transparent; border: 1px solid rgba(120, 185, 193, .45); }
.contact-button-secondary:hover { color: white; background: rgba(79, 155, 165, .14); }
.direct-contact { margin: 1.4rem 0 0 !important; color: var(--muted) !important; font-size: .82rem; }

.contact-main { width: min(960px, calc(100% - 40px)); padding: clamp(60px, 9vw, 110px) 0 100px; }
.simple-legal-main { width: min(960px, calc(100% - 40px)); }
.simple-legal-hero { max-width: 880px; padding: clamp(70px, 10vw, 130px) 0 90px; }
.simple-legal-hero h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); }
.simple-legal-copy { max-width: 760px; margin-left: auto; }
.simple-legal-copy > section:not(.closing-card) { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.simple-legal-copy h2 { margin-bottom: 1.4rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.simple-legal-copy p, .simple-legal-copy li { color: #c5c0c8; }
.simple-legal-copy strong { color: var(--ink); }
.step-list { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step-list li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.step-list li > span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--accent-bright); background: var(--accent-soft); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.step-list p { margin: .15rem 0 0; }
.contact-intro { max-width: 720px; margin-bottom: 3.5rem; }
.contact-intro h1 { margin-bottom: 1.4rem; font-size: clamp(3rem, 7vw, 5.8rem); }
.contact-intro p { color: #c9c4cc; font-size: 1.1rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 660px) 220px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-form { padding: clamp(1.4rem, 4vw, 2.5rem); background: linear-gradient(145deg, #28252b, #1d1b20); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label, .field-label { color: var(--ink); font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  color: var(--ink);
  background: #17151a;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  font: inherit;
  font-size: .9rem;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.field small { color: var(--muted); font-size: .7rem; }
.check-field { display: flex; gap: .7rem; align-items: flex-start; margin-top: .4rem; color: #c5c0c8; font-size: .76rem; line-height: 1.5; }
.check-field input { flex: 0 0 auto; margin-top: .25rem; accent-color: var(--accent); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.submit-button { text-transform: capitalize; min-height: 48px; padding: .8rem 1.2rem; color: white; background: #24707b; border: 0; border-radius: 9px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.submit-button:hover { background: #2e8290; }
.form-note { margin: 0; color: var(--muted); font-size: .7rem; }
.form-alert { margin: 0 0 1.2rem; padding: .9rem 1rem; border-radius: 9px; font-size: .83rem; }
.form-alert-error { color: #ffd9dc; background: rgba(173, 54, 65, .2); border: 1px solid rgba(255, 126, 137, .26); }
.success-card { padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(145deg, #28252b, #1d1b20); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.success-card h2 { margin: .6rem 0 1rem; font-size: clamp(2rem, 5vw, 3.5rem); }
.contact-aside { padding-top: 1rem; color: var(--muted); font-size: .78rem; }
.contact-aside strong { display: block; margin-bottom: .4rem; color: var(--ink); }
.contact-aside p { margin-bottom: 1.4rem; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; margin-top: 100px; padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: .75rem; }

@media (max-width: 820px) {
  .hero { padding-bottom: 80px; }
  .page-grid { display: block; }
  .contents { display: none; }
  .summary-grid { grid-template-columns: 1fr; }
  .purpose-list li { grid-template-columns: 1fr; gap: .3rem; }
  footer { grid-template-columns: 1fr; gap: .6rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { border-top: 1px solid var(--line); padding-top: 2rem; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 74px; }
  .brand img { width: 38px; height: 38px; }
  .hero { padding: 70px 0; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .legal-copy > section:not(.summary-card):not(.closing-card) { padding: 4rem 0; }
  .summary-card, .closing-card { margin-inline: -2px; padding: 1.7rem; border-radius: 18px; }
  .data-list > div { grid-template-columns: 36px 1fr; }
  .back-link { font-size: .78rem; }
  .contact-main { width: min(100% - 28px, 960px); }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
}

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

@media print {
  :root { color-scheme: light; --ink: #111; --muted: #555; --page: white; --panel: white; --line: #ddd; --accent: #24707b; --accent-bright: #24707b; }
  body { background: white; }
  .site-header, .contents, .back-link { display: none; }
  .page-grid { display: block; }
  .hero { padding: 1cm 0; }
  .summary-card, .closing-card { box-shadow: none; break-inside: avoid; }
}
