body { margin: 0; }
[hidden] { display: none !important; }

.site { container-type: inline-size; background: var(--ground); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
:where(.site a) { color: inherit; }
.wrap { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--space-14); }

/* Nav */
.nav { position: relative; z-index: 2; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: 20px; }
.logo { display: block; height: 32px; width: auto; }
.links { display: flex; gap: 28px; }
.links a { font: 500 14px/1 var(--font-sans); color: var(--ink-muted); text-decoration: none; }
.links a:hover { color: var(--ink); }
.menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--chrome); color: var(--ink); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 72px 176px; }
.hero-art { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: end; }
.hero h1 { margin: 0; font: 700 76px/1 var(--font-sans); letter-spacing: -.05em; text-wrap: balance; }
.caret { display: inline-block; width: .42em; height: .78em; margin-left: .08em; vertical-align: -.04em; border-radius: 2px; background: linear-gradient(90deg, var(--sig-blue), var(--sig-violet) 50%, var(--sig-pink)); }
.lead { margin: 28px 0 0; font: 400 19px/1.6 var(--font-sans); color: var(--ink-muted); max-width: 50ch; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: 36px; }

/* Sections */
.sec { border-top: 1px solid var(--line); padding-block: var(--space-24); }
.sec-head { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-11); }
.sec-head h2, .h2 { margin: 0; font: 700 52px/1.05 var(--font-sans); letter-spacing: -.045em; }
.sec-head p { margin: 0; font: 400 19px/1.6 var(--font-sans); color: var(--ink-muted); max-width: var(--measure); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.grid3 > * { min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 56px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: var(--space-8); }
.sub { display: flex; flex-direction: column; gap: var(--space-3); }
.sub h3 { margin: 0; font: 650 22px/1.3 var(--font-sans); letter-spacing: -.02em; }
.sub p { margin: 0; font: 400 16px/1.6 var(--font-sans); color: var(--ink-muted); max-width: var(--measure); }
.bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.bullets li { position: relative; padding-left: 20px; font: 400 16px/1.6 var(--font-sans); color: var(--ink-muted); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 1px; background: var(--ink-muted); }

/* Why Vertexa */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); }
.why > div { border-top: 1px solid var(--line-strong); padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.why h3 { margin: 0; font: 650 20px/1.3 var(--font-sans); letter-spacing: -.02em; }
.why p { margin: 0; font: 400 16px/1.6 var(--font-sans); color: var(--ink-muted); }

/* Care plans */
.care { margin-top: 56px; display: flex; flex-direction: column; gap: var(--space-5); }
.care .note { margin: 0; font: 400 16px/1.6 var(--font-sans); color: var(--ink-muted); max-width: var(--measure); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.contact .sec-head { margin-bottom: 0; }
.panel { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-6); }
.privacy { margin: 0; font: 400 14px/1.55 var(--font-sans); color: var(--ink-muted); }
.form-foot { display: flex; flex-direction: column; gap: var(--space-5); }
.after { margin-top: var(--space-6); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); font: 400 14px/1.5 var(--font-sans); color: var(--ink-muted); }
.foot .logo { height: 26px; }
.foot-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }

@container (max-width: 640px) {
  .wrap { padding-inline: var(--space-5); }
  .nav .wrap { padding-block: 14px; }
  .logo { height: 28px; }
  .links { display: none; }
  .menu { display: inline-flex; }
  .hero { padding-block: 36px 132px; }
  .hero-art { height: 220px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: 44px; letter-spacing: -.045em; }
  .lead { font-size: 17px; margin-top: 20px; }
  .ctas { margin-top: 28px; }
  .ctas > * { flex: 1 1 140px; }
  .sec { padding-block: var(--space-16); }
  .sec-head { margin-bottom: var(--space-8); }
  .sec-head h2, .h2 { font-size: 36px; letter-spacing: -.04em; }
  .sec-head p { font-size: 17px; }
  .grid3, .why, .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .why { gap: var(--space-6); }
  .split, .care { margin-top: 40px; gap: 40px; }
  .contact { gap: var(--space-8); }
  .panel { padding: var(--space-5); }
  .vx-price b { font-size: 44px; }
}

/* Scheme-specific logos */
.logo--light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo--dark { display: none; }
  :root:not([data-theme="dark"]) .logo--light { display: block; }
}
:root[data-theme="light"] .logo--dark { display: none; }
:root[data-theme="light"] .logo--light { display: block; }

/* Phone navigation disclosure */
.menu:focus-visible, .links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

@container (width < 640px) {
  .nav:not([data-ready]) .wrap { flex-wrap: wrap; gap: var(--space-3); }
  .nav:not([data-ready]) .links { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
  .nav:not([data-ready]) .menu { display: none; }
  .js .nav[data-open] .links {
    position: absolute;
    inset: 100% 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line-strong);
  }
  .js .nav[data-open] .links a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 48px;
    padding-inline: var(--space-5);
    color: var(--ink);
    font-size: 16px;
  }
  .js .nav[data-open] .links a + a { border-top: 1px solid var(--line); }
  .js .nav[data-open] .links a:focus-visible { outline-offset: -2px; }
}

@container (width = 640px) {
  .nav .links { display: flex; }
  .nav .menu { display: none; }
}

/* The verification widget only occupies space while it needs interaction. */
#cTurnstile { display: none; }
#cTurnstile.is-open {
  display: block;
  width: 300px;
  max-width: 100%;
  min-height: 65px;
  margin-bottom: var(--space-3);
}

/* Fit the mock's two-column layout where the desktop type would clip. */
@container (640px < width < 1024px) {
  .hero h1 { font-size: clamp(44px, 7cqi, 76px); }
  .vx-price { flex-wrap: wrap; }
  .vx-price b { font-size: clamp(32px, 5.5cqi, 52px); }
}

/* A long address in a status message wraps instead of overflowing the box at narrow widths. */
.vx-msg-body a { overflow-wrap: anywhere; }
