:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  color: #152641;
  background: #f3f6fa;
  --navy: #101e35;
  --blue: #2856db;
  --blue-light: #a9c5ff;
  --muted: #52637b;
  --line: #dbe4ee;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #4c79e9;
  outline-offset: 4px;
}
.shell { width: min(1200px, 100% - 64px); margin-inline: auto; }
.site-header { color: white; background: var(--navy); border-bottom: 1px solid #ffffff20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.18rem; font-weight: 790; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 8px; background: #d8e6ff; color: #173d89; }
.wordmark small { margin-left: 3px; color: var(--blue-light); font-size: .86rem; font-weight: 650; }
.main-links { display: flex; gap: 30px; color: #d8e4f7; font-size: .9rem; font-weight: 650; }
.main-links a, .footer-inner a { text-decoration: none; }
.main-links a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 5px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; text-align: center; text-decoration: none; font-size: .91rem; font-weight: 725; cursor: pointer; }
.action-primary { color: white; background: var(--blue); }
.action-primary:hover { background: #1945bf; }
.action:disabled { cursor: wait; opacity: .7; }
.action-outline { color: white; border-color: #8296b18c; background: transparent; }
.action-outline:hover { background: #ffffff12; }
.action-secondary { color: #183b84; background: #edf3ff; border-color: #d6e3ff; }
.action-secondary:hover { background: #e0ebff; }

.hero { background: var(--navy); color: white; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(28px, 5vw, 68px); align-items: center; padding-block: clamp(38px, 5.2vw, 70px); }
.hero h1 { max-width: 12ch; font-size: clamp(3rem, 5.1vw, 5rem); line-height: .99; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 span { color: var(--blue-light); }
.hero p { max-width: 42ch; margin-top: 21px; color: #d1def2; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-image { display: block; width: 100%; height: clamp(290px, 34vw, 438px); object-fit: cover; object-position: 61% center; border: 1px solid #ffffff30; border-radius: 16px; background: #253d5d; }

.section { padding-block: clamp(44px, 6vw, 82px); }
.section-heading { margin-bottom: 26px; }
h2 { font-size: clamp(1.95rem, 3.65vw, 3.15rem); line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
.section-heading p { margin-top: 10px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.plan-card { display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; border: 1px solid var(--line); border-top: 3px solid #b4c7df; border-radius: 13px; background: white; padding: clamp(16px, 2.45vw, 28px); box-shadow: 0 8px 23px #142a4e0b; }
.plan-operation { border-top-color: var(--blue); box-shadow: 0 8px 25px #214aad14; }
.plan-card h3 { font-size: 1.5rem; letter-spacing: -.035em; }
.plan-card p { color: var(--muted); font-size: .94rem; min-height: 3em; }
.plan-limits { font-size: .9rem; }
.plan-limits div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-block: 10px; }
.plan-limits dt { color: #435775; }
.plan-limits dd { font-weight: 770; white-space: nowrap; }
.plan-card .action { justify-content: space-between; }

.features { background: #e9eff7; border-block: 1px solid #dae5f2; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feature-grid section { border-top: 2px solid #8cabee; padding-top: 15px; }
.feature-grid h3, .additional h3 { font-size: 1.08rem; line-height: 1.3; }
.feature-grid p, .additional li { color: #425573; font-size: .93rem; }
.feature-grid p { margin-top: 7px; }
.additional { display: grid; grid-template-columns: minmax(155px, .8fr) minmax(0, 2.2fr); gap: 12px 26px; margin-top: 32px; border-top: 1px solid #cdd9e9; padding-top: 21px; }
.additional ul { margin: 0; padding-left: 18px; }
.additional li + li { margin-top: 5px; }
.additional strong { color: #263c60; }

.quote-box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(22px, 5vw, 60px); border-radius: 16px; background: var(--navy); padding: clamp(20px, 4vw, 48px); }
.quote-copy { color: white; }
.quote-copy p, .quote-box noscript { margin-top: 12px; color: #d1def2; }
.quote-form { display: grid; justify-items: start; gap: 15px; min-width: 0; background: white; border-radius: 12px; padding: clamp(15px, 2.6vw, 23px); }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-width: 0; gap: 12px; margin: 0; padding: 0; border: 0; }
.quote-form label { display: grid; gap: 5px; color: #263c60; font-size: .88rem; font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea { color: inherit; min-width: 0; width: 100%; min-height: 42px; border: 1px solid #aebfd7; border-radius: 7px; background: white; padding: 8px 10px; font-weight: 450; }
.quote-result { display: grid; justify-items: start; width: 100%; gap: 8px; border-top: 1px solid var(--line); padding-top: 13px; }
.quote-result textarea { resize: vertical; }
.quote-status { color: #1b6848; font-size: .88rem; font-weight: 650; }
.quote-status[data-error] { color: #9e2926; }
.quote-status:empty { display: none; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 76px; font-size: .9rem; font-weight: 710; }
.footer-inner a { color: #23499a; }

@media (max-width: 940px) {
  .hero h1 { font-size: clamp(2.6rem, 6vw, 3.8rem); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 750px) {
  .shell { width: calc(100% - 36px); }
  .main-links { display: none; }
  .hero-inner, .quote-box { grid-template-columns: minmax(0, 1fr); }
  .hero-image { height: clamp(220px, 56vw, 345px); }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-card { gap: 10px; }
  .plan-card p { min-height: 0; }
  .additional { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .wordmark { font-size: 1rem; gap: 6px; }
  .wordmark small { margin-left: 0; font-size: .77rem; }
  .header-inner .action { min-height: 42px; padding-inline: 9px; font-size: .79rem; gap: 4px; }
  .feature-grid, .quote-fields { grid-template-columns: minmax(0, 1fr); }
}
