:root {
  --primary: #8057C7;
  --primary-deep: #6A45B0;
  --plum: #3A2463;
  --night: #1E1430;
  --ink: #241B33;
  --muted: #554D63;
  --lilac: #F4F0FB;
  --lilac-2: #E9E0F7;
  --line: #D9CCF2;
  --paper: #FFFFFF;
  --soft-on-dark: #D9CCF2;
  --head: "Libre Bodoni", Georgia, "Times New Roman", serif;
  --body: "Commissioner", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; color: var(--plum); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--primary-deep); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--plum); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; color: #fff; }

/* masthead */
.strip { background: var(--plum); color: var(--soft-on-dark); font-size: .84rem; letter-spacing: .04em; }
.strip .wrap { padding-top: 7px; padding-bottom: 7px; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.45rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--body); font-weight: 600; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--primary-deep); margin-top: 5px; }
.nav { display: flex; gap: 6px 24px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--primary-deep); text-decoration: underline; }
.btn { display: inline-block; background: var(--primary-deep); color: #fff; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: var(--radius); border: 2px solid var(--primary-deep); line-height: 1.2; }
.btn:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.btn-light { background: #fff; color: var(--plum); border-color: #fff; }
.btn-light:hover { background: var(--lilac-2); border-color: var(--lilac-2); color: var(--plum); }
.textlink { font-weight: 600; }

/* hero */
.hero { background: var(--lilac); padding: 76px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 26px; }
.record { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.record-head { background: var(--plum); color: #fff; padding: 16px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.record-head span:last-child { color: var(--soft-on-dark); letter-spacing: .04em; text-transform: none; font-weight: 400; }
.record ul { list-style: none; margin: 0; padding: 6px 24px 10px; }
.record li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.record li:last-child { border-bottom: 0; }
.record li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border: 3px solid var(--primary); border-radius: 50%; }
.record strong { display: block; color: var(--plum); }
.record li span { color: var(--muted); font-size: .98rem; }

/* vitals strip */
.vitals { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.vitals ul { list-style: none; margin: 0 auto; padding: 0 28px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.vitals li { padding: 22px 18px; border-left: 1px solid var(--line); }
.vitals li:first-child { border-left: 0; padding-left: 0; }
.vitals b { display: block; font-family: var(--head); font-style: italic; font-size: 1.7rem; color: var(--primary-deep); line-height: 1.1; }
.vitals span { font-size: .92rem; color: var(--muted); }

/* sections */
.section { padding: 88px 0; }
.kicker { font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 12px; }
.overview .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.overview .cols p:first-child { font-size: 1.2rem; color: var(--ink); }
.overview .cols p { color: var(--muted); }

.services { background: #fff; padding-top: 24px; }
.svc-intro { max-width: 40em; margin-bottom: 40px; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 40px; }
.svc { position: relative; padding-top: 26px; }
.svc::before { content: ""; position: absolute; top: 0; left: 0; height: 6px; border-radius: 3px; background: var(--primary); width: 64px; }
.svc:nth-child(2)::before { width: 104px; }
.svc:nth-child(3)::before { width: 44px; }
.svc:nth-child(4)::before { width: 88px; }
.svc:nth-child(5)::before { width: 120px; background: var(--plum); }
.svc:nth-child(6)::before { width: 56px; }
.svc .checks { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-deep); font-weight: 600; margin-bottom: 6px; }
.svc p:last-child { color: var(--muted); }

.reasons { background: var(--lilac); }
.quad { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--primary-deep); border-radius: 16px; background: #fff; overflow: hidden; margin-top: 34px; }
.quad > div { padding: 34px 36px; }
.quad > div:nth-child(odd) { border-right: 1px solid var(--line); }
.quad > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.quad p { color: var(--muted); margin: 0; }

.cycle-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.cycle-steps li { position: relative; padding-top: 70px; }
.cycle-steps li::after { content: ""; position: absolute; top: 25px; left: 52px; right: -22px; height: 2px; background: var(--line); }
.cycle-steps li:last-child::after { display: none; }
.cycle-steps .n { position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--primary-deep); color: var(--primary-deep); font-family: var(--head); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; background: #fff; }
.cycle-steps li:last-child .n { background: var(--primary-deep); color: #fff; }
.cycle-steps h3 { font-size: 1.15rem; }
.cycle-steps p { color: var(--muted); font-size: .98rem; margin: 0; }
.return { margin-top: 34px; border: 2px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; height: 26px; position: relative; }
.return-note { text-align: center; margin: 12px 0 0; font-family: var(--head); font-style: italic; font-size: 1.15rem; color: var(--plum); }

.cta { background: var(--plum); color: #fff; padding: 72px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: var(--soft-on-dark); margin: 0; max-width: 38em; }
.cta a.plain { color: #fff; }
.cta-actions { display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; }

/* footer */
.footer { background: var(--night); color: var(--soft-on-dark); padding: 64px 0 28px; font-size: .96rem; }
.footer a { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand-name small { color: var(--soft-on-dark); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer h2 { font-family: var(--body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.tagline { margin-top: 16px; max-width: 24em; }
.legal { border-top: 1px solid #3F3158; margin-top: 44px; padding-top: 22px; font-size: .88rem; }
.legal p { max-width: 70em; }

/* inner pages */
.page-head { background: var(--lilac); padding: 64px 0 52px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); max-width: 40em; font-size: 1.12rem; margin: 0; }
.doc { padding: 56px 0 84px; }
.doc .wrap { max-width: 820px; }
.doc h2 { font-size: 1.6rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.stamp { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; color: var(--primary-deep); background: #fff; margin-bottom: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.mailcard { border: 2px solid var(--primary-deep); border-radius: 16px; padding: 30px 32px; background: #fff; }
.mailcard a { font-size: 1.2rem; font-weight: 600; word-break: break-word; }
.touch { background: var(--lilac); border-radius: 16px; padding: 34px 34px 30px; border: 1px solid var(--line); }
.touch h2 { margin-top: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--plum); }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #8F86A0; border-radius: 8px; background: #fff; color: var(--ink); }
.field input:focus { border-color: var(--primary-deep); outline: 3px solid var(--line); }
.touch button { font: inherit; cursor: pointer; }
#gt-done { background: #fff; border-left: 4px solid var(--primary-deep); padding: 16px 18px; border-radius: 8px; margin: 0; }
.faq { margin-top: 64px; }
.faq h2 { font-size: 1.3rem; margin-top: 1.4em; }
.notfound { padding: 96px 0; }

@media (max-width: 980px) {
  .hero .wrap, .overview .wrap, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cycle-steps { grid-template-columns: 1fr; gap: 0; }
  .cycle-steps li { padding: 0 0 28px 76px; min-height: 80px; }
  .cycle-steps li::after { top: 54px; left: 25px; right: auto; bottom: 0; width: 2px; height: auto; }
  .cycle-steps li:last-child::after { display: none; }
  .return { display: none; }
  .return-note { text-align: left; padding-left: 76px; margin-top: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .vitals ul { padding: 0 16px; grid-template-columns: 1fr 1fr; }
  .vitals li { padding: 16px 12px; }
  .vitals li:nth-child(3) { border-left: 0; padding-left: 0; }
  .vitals li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .nav { margin-left: 0; width: 100%; gap: 6px 16px; order: 3; }
  .masthead .btn { order: 2; }
  .masthead .btn { padding: 10px 16px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 60px 0; }
  .services { padding-top: 16px; }
  .svc-grid { grid-template-columns: 1fr; gap: 34px; }
  .quad { grid-template-columns: 1fr; }
  .quad > div { padding: 26px 22px; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .quad > div:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .record ul, .record-head { padding-left: 18px; padding-right: 18px; }
  .touch, .mailcard { padding: 24px 20px; }
  .strip { font-size: .78rem; }
}
