:root {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  color-scheme: light;
  /* Shared with thundercall-frontend/src/styles.css. */
  --font-display: 'Manrope', 'DM Sans', sans-serif;
  --bg: #f6f9fb;
  --surface: #ffffff;
  --surface-muted: #f0f6f9;
  --text: #152542;
  --text-soft: #536a7b;
  --border: #dce8ed;
  --border-strong: #c7d9e1;
  --primary: #2584b4;
  --primary-hover: #1c6f99;
  --primary-soft: #e4f2f8;
  --accent: #cf3438;
  --shadow: 0 18px 45px rgba(17, 28, 55, 0.04);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #091326;
  --surface: #111c37;
  --surface-muted: #0e1931;
  --text: #f7fafc;
  --text-soft: #b5cbd5;
  --border: #263754;
  --border-strong: #38506a;
  --primary: #399bc9;
  --primary-hover: #50add5;
  --primary-soft: #153c50;
  --accent: #dc3a3f;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #62b9e1; outline-offset: 5px; }
button[hidden] { display: none; }
::selection { color: #fff; background: #1c6f99; }
.container { width: min(100% - 96px, 1160px); margin-inline: auto; }
.icon { display: block; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 12px 18px; border-radius: 8px; color: var(--text); background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.hero-shell { position: relative; isolation: isolate; background: #061525; }
.hero-shell::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 708px;
  background:
    linear-gradient(180deg, rgba(2, 10, 20, 0.2), rgba(1, 9, 19, 0.1) 60%, #061525),
    linear-gradient(90deg, rgba(3, 14, 28, 0.72), rgba(4, 14, 27, 0.05)),
    url('assets/hero-storm.png') center 62% / cover no-repeat;
}
.site-header { display: flex; min-height: 128px; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid rgba(178, 204, 216, 0.15); }
.brand { display: inline-flex; width: 276px; flex-shrink: 0; align-items: center; }
.brand img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.28)); }
.header-actions { display: flex; align-items: center; gap: 30px; }
.header-actions nav { display: flex; align-items: center; gap: 32px; }
.header-actions nav a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #d4dfec; font-size: 0.88rem; font-weight: 600; transition: color 160ms ease; }
.header-actions nav a:hover { color: #fff; }
.header-actions nav .icon { width: 16px; height: 16px; color: #8ec1da; }
.theme-toggle { display: inline-grid; width: 40px; height: 40px; flex-shrink: 0; place-items: center; border: 1px solid #38506a; border-radius: 12px; color: #d4dfec; background: rgba(17, 28, 55, 0.5); cursor: pointer; transition: background 160ms ease; }
.theme-toggle:hover { background: #263754; }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle__sun, [data-theme='dark'] .theme-toggle__moon { display: none; }
[data-theme='dark'] .theme-toggle__sun { display: block; }

.hero { position: relative; display: flex; min-height: 580px; align-items: center; padding-block: 66px 100px; color: #fff; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: var(--primary-hover); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; line-height: 1.5; text-transform: uppercase; }
.eyebrow--light { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #b8d4e0; }
.eyebrow--light span { width: 25px; height: 2px; background: var(--accent); }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(3.4rem, 6.25vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.06em; }
.hero-description { max-width: 510px; margin: 26px 0 0; color: #d4dfec; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font-size: 0.9rem; font-weight: 700; transition: background 160ms ease, transform 160ms ease; }
.button--primary { color: #fff; background: #1c6f99; box-shadow: 0 10px 24px rgba(37, 132, 180, 0.2); }
.button--primary:hover { background: #185f83; transform: translateY(-1px); }
.button .icon { width: 18px; height: 18px; }
.hero-support { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: #d4dfec; font-size: 0.88rem; font-weight: 500; }
.hero-support:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.hero-support span { color: #8ec1da; font-size: 1.15rem; }
.hero-caption { position: absolute; right: 0; bottom: 48px; display: flex; align-items: center; gap: 14px; padding-left: 20px; border-left: 1px solid rgba(178, 204, 216, 0.4); color: #b8d4e0; }
.hero-caption .icon { width: 25px; height: 25px; }
.hero-caption p { margin: 0; font-size: 0.75rem; line-height: 1.7; }
.hero-caption strong { color: #edf4f9; font-weight: 500; }

.content-surface { background: radial-gradient(ellipse at 90% 0, var(--primary-soft), transparent 45%), var(--bg); }
.contact-area { padding-block: 68px 64px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.2; }
.section-heading > p { max-width: 400px; margin: 0 0 2px; color: var(--text-soft); font-size: 0.88rem; line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { display: flex; min-width: 0; flex-direction: column; padding: 32px 34px 0; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 24px; }
.card-heading { display: flex; align-items: center; gap: 16px; }
.icon-tile { display: grid; width: 48px; height: 48px; flex-shrink: 0; place-items: center; border: 1px solid var(--border); border-radius: 13px; color: var(--primary-hover); background: var(--primary-soft); }
.icon-tile .icon { width: 22px; height: 22px; }
.card-heading h3 { margin: 0; font-family: var(--font-display); font-size: 1.18rem; font-weight: 800; letter-spacing: -0.035em; }
.card-heading p { margin: 4px 0 0; color: var(--text-soft); font-size: 0.8rem; line-height: 1.5; }
.card-description { margin: 24px 0 16px; color: var(--text-soft); font-size: 0.94rem; line-height: 1.7; }
.phone-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 14px; font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; letter-spacing: -0.04em; }
.phone-link > .icon { width: 21px; height: 21px; color: var(--primary); }
.phone-link:hover { color: var(--primary-hover); }
.support-hours { margin: 7px 0 26px; color: var(--text-soft); font-size: 0.8rem; }
.support-hours span { margin-inline: 5px; }
.business-note { margin: 0 0 26px; color: var(--text-soft); font-size: 0.84rem; line-height: 1.7; }
.card-link { display: flex; min-height: 68px; align-items: center; gap: 11px; margin-top: auto; border-top: 1px solid var(--border); color: var(--primary-hover); font-size: 0.87rem; font-weight: 700; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-link > .icon { width: 18px; height: 18px; }
.card-link .link-arrow { margin-left: auto; transition: transform 160ms ease; }
.card-link:hover .link-arrow { transform: translateX(3px); }
.customer-note { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 25px 30px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-muted); }
.customer-note__icon { color: var(--primary-hover); }
.customer-note__icon .icon { width: 25px; height: 25px; }
.customer-note h3 { margin: 0 0 5px; font-family: var(--font-display); font-size: 0.96rem; font-weight: 800; letter-spacing: -0.02em; }
.customer-note p { max-width: 700px; margin: 0; color: var(--text-soft); font-size: 0.84rem; line-height: 1.65; }
.customer-note__label { flex-shrink: 0; margin-left: auto; padding-left: 24px; border-left: 1px solid var(--border-strong); color: var(--text-soft); font-size: 0.75rem; }

.site-footer { background: #0b142a; color: #b2ccd8; }
.footer-top { display: flex; min-height: 140px; align-items: center; gap: 42px; padding-block: 28px; }
.footer-brand { width: 224px; }
.footer-details { display: flex; gap: 26px; margin-left: auto; font-size: 0.84rem; }
.footer-details a, .back-to-top { display: inline-flex; min-height: 44px; align-items: center; }
.footer-details a:hover, .back-to-top:hover { color: #fff; }
.back-to-top { gap: 8px; padding-left: 28px; border-left: 1px solid #263754; font-size: 0.78rem; }
.back-to-top .icon { width: 16px; height: 16px; }
.copyright { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid #263754; color: #9bb1c2; font-size: 0.74rem; }
.copyright p { margin: 0; }

@media (min-width: 1600px) {
  .hero-shell::before { background-position: center 65%; }
}

@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero-copy { max-width: 560px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading > p { max-width: 540px; }
  .desktop-break { display: none; }
  .info-card { padding: 26px 24px 0; }
  .card-heading { gap: 12px; }
  .card-heading h3 { font-size: 1.08rem; }
  .customer-note__label { display: none; }
  .footer-top { gap: 24px; }
  .footer-details { flex-direction: column; gap: 0; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 104px; gap: 16px; }
  .brand { width: 218px; }
  .header-actions { gap: 16px; }
  .header-actions nav { gap: 18px; }
  .header-actions nav a { font-size: 0.8rem; }
  .header-actions nav .icon { display: none; }
  .hero-shell::before { height: 674px; background-position: 64% center; }
  .hero { min-height: 570px; padding-block: 55px 110px; }
  .hero h1 { font-size: clamp(2.9rem, 8.5vw, 4rem); }
  .hero-copy { max-width: 510px; }
  .hero-description { max-width: 430px; font-size: 1rem; }
  .hero-caption { right: auto; left: 0; bottom: 28px; padding-left: 14px; }
  .hero-caption .icon { width: 21px; height: 21px; }
  .hero-caption p { font-size: 0.7rem; }
  .contact-area { padding-block: 46px 40px; }
  .section-heading { margin-bottom: 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .info-card { padding: 26px 26px 0; }
  .card-heading h3 { font-size: 1.18rem; }
  .customer-note { align-items: flex-start; gap: 16px; margin-top: 18px; padding: 23px; }
  .customer-note__icon { padding-top: 2px; }
  .footer-top { flex-wrap: wrap; justify-content: space-between; gap: 16px; }
  .footer-brand { width: 220px; }
  .footer-details { margin-left: 0; }
  .back-to-top { border: 0; padding: 0; }
  .copyright { font-size: 0.7rem; }
}

@media (max-width: 520px) {
  .site-header { position: relative; flex-wrap: wrap; gap: 0; padding-block: 14px 12px; }
  .site-header > .brand { width: 226px; }
  .header-actions { width: 100%; justify-content: flex-end; }
  .header-actions nav { width: 100%; justify-content: space-between; gap: 24px; }
  .header-actions nav a { min-height: 36px; }
  .header-actions nav .icon { display: block; }
  .theme-toggle { position: absolute; top: 31px; right: 0; }
  .hero-shell::before { height: 730px; background-position: 65% center; }
  .hero { min-height: 590px; padding-block: 48px 108px; }
  .eyebrow--light { gap: 10px; font-size: 0.63rem; letter-spacing: 0.12em; }
  .hero h1 { font-size: clamp(2.6rem, 10.4vw, 3.4rem); }
  .hero-description { margin-top: 22px; font-size: 0.97rem; line-height: 1.75; }
  .hero-actions { gap: 18px; margin-top: 26px; }
  .button { min-height: 46px; gap: 12px; padding-inline: 16px; font-size: 0.82rem; }
  .hero-support { gap: 6px; font-size: 0.8rem; }
  .section-heading h2 { font-size: 1.78rem; }
  .info-card { padding-inline: 22px; }
  .card-heading { gap: 12px; }
  .card-heading h3 { font-size: 1.08rem; }
  .card-heading p { font-size: 0.74rem; }
  .icon-tile { width: 42px; height: 42px; border-radius: 11px; }
  .phone-link { font-size: 1.7rem; }
  .card-link { font-size: 0.84rem; }
  .customer-note { padding: 22px 20px; }
  .customer-note p { font-size: 0.8rem; }
  .footer-top { padding-block: 25px; }
  .footer-brand { width: 224px; flex-basis: 100%; }
  .footer-brand img { width: 224px; }
  .footer-details { font-size: 0.8rem; }
  .footer-details a { min-height: 36px; }
  .copyright { flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
