.seo-page { background: #071426; color: #edf4f8; }
.seo-page .seo-hero { padding: clamp(82px, 10vw, 132px) 0 clamp(72px, 8vw, 110px); }
.seo-page .seo-hero .container { max-width: 960px; }
.seo-page .seo-hero h1 { max-width: 880px; font-size: clamp(2.65rem, 6vw, 5rem); }
.seo-page .seo-hero > .container > p:not(.eyebrow) { max-width: 760px; margin-top: 24px; color: #b8c7d2; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.seo-back-link { display: inline-flex; margin-bottom: 28px; color: #9db0bd; font-size: 0.82rem; font-weight: 750; text-decoration: none; }
.seo-back-link:hover { color: #fff; }
.seo-highlight-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 30px 0 0; list-style: none; }
.seo-highlight-list li { padding: 8px 12px; border: 1px solid #33495e; border-radius: 999px; color: #d7e1e8; font-size: 0.76rem; font-weight: 700; }
.seo-grid-section { padding: 88px 0 108px; background: #0d1d31; }
.seo-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.seo-card { min-height: 300px; display: flex; flex-direction: column; padding: 30px; border: 1px solid #263a4d; border-radius: 24px; color: inherit; background: #0a1728; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.seo-card:hover { border-color: #3b5d67; background: #0c1c30; transform: translateY(-2px); }
.seo-card > span { color: #73e4d1; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.seo-card h2 { margin-top: 24px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.seo-card p { margin-top: 14px; color: #a9bac7; }
.seo-card strong { margin-top: auto; padding-top: 28px; color: #73e4d1; font-size: 0.82rem; }
.seo-story { padding: 96px 0; background: #0d1d31; color: #edf4f8; }
.seo-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #263a4d; border-radius: 26px; background: #263a4d; }
.seo-story-grid article { min-height: 340px; padding: 34px 30px; background: #0a1728; }
.seo-story-grid article > span { color: #73e4d1; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; }
.seo-story-grid h2 { margin-top: 48px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.seo-story-grid p { margin-top: 16px; color: #a9bac7; }
.seo-faq { padding: 92px 0; }
.seo-faq .container { max-width: 900px; }
.seo-faq-list { border-top: 1px solid #263a4d; }
.seo-faq-list details { border-bottom: 1px solid #263a4d; }
.seo-faq-list summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; color: #edf4f8; font-weight: 800; cursor: pointer; list-style: none; }
.seo-faq-list summary::-webkit-details-marker { display: none; }
.seo-faq-list summary span { color: #73e4d1; font-size: 1.3rem; transition: transform 160ms ease; }
.seo-faq-list details[open] summary span { transform: rotate(45deg); }
.seo-faq-list p { max-width: 760px; padding: 0 38px 24px 0; color: #a9bac7; }
.seo-final { padding: 82px 0; }
.seo-final .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.seo-final h2 { max-width: 700px; font-size: clamp(2rem, 4vw, 3.35rem); }
.seo-crosslink { padding: 76px 0; }
.seo-crosslink .container { max-width: 900px; }
.seo-crosslink h2 { max-width: 760px; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.seo-crosslink p { max-width: 680px; margin-top: 16px; color: #a9bac7; }
.calculator-section { padding: 88px 0 104px; background: #eef4f4; color: #071426; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr); gap: 22px; align-items: stretch; }
.calculator-card, .calculator-result { padding: clamp(26px, 4vw, 38px); border: 1px solid #d5e0e2; border-radius: 26px; background: #fff; box-shadow: 0 18px 48px rgb(20 47 56 / 0.08); }
.calculator-card > div:first-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calculator-card .eyebrow { grid-column: 1 / -1; }
.calculator-card label { display: grid; gap: 7px; color: #526274; font-size: 0.78rem; font-weight: 750; }
.calculator-card input, .calculator-card select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #bacacd; border-radius: 12px; background: #fbfdfd; color: #071426; font: inherit; font-size: 16px; }
.calculator-card input:focus-visible, .calculator-card select:focus-visible { outline: 3px solid rgb(34 199 173 / 0.25); border-color: #0c8f82; }
.calculator-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.calculator-reset { min-height: 44px; padding: 8px 10px; border: 0; background: transparent; color: #526274; font-weight: 750; cursor: pointer; }
.calculator-local-note { margin-top: 18px; color: #71838e; font-size: 0.78rem; }
.calculator-result { display: flex; flex-direction: column; gap: 14px; background: #0a1728; color: #edf4f8; border-color: #263a4d; }
.calculator-result .eyebrow { color: #73e4d1; }
.calculator-result > div:not(.calculator-formula) { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 18px 0; border-bottom: 1px solid #263a4d; }
.calculator-result > div > span { color: #a9bac7; font-size: 0.82rem; }
.calculator-result > div > strong { color: #fff; font-family: "Sora", "Manrope", system-ui, sans-serif; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.calculator-formula { margin-top: auto; padding-top: 20px; }
.calculator-formula span { color: #73e4d1; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.calculator-formula p { margin-top: 8px; color: #a9bac7; font-size: 0.86rem; }

@media (max-width: 900px) {
  .seo-story-grid { grid-template-columns: 1fr; }
  .seo-story-grid article { min-height: 0; }
  .seo-story-grid h2 { margin-top: 26px; }
  .calculator-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .seo-card-grid { grid-template-columns: 1fr; }
  .seo-card { min-height: 0; }
  .seo-final .container { align-items: flex-start; flex-direction: column; }
  .calculator-card > div:first-child { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .seo-page .seo-hero { padding-top: 64px; }
  .seo-highlight-list { display: grid; }
  .seo-card, .calculator-card, .calculator-result { border-radius: 21px; }
  .calculator-actions { align-items: stretch; flex-direction: column; }
  .calculator-actions .button { width: 100%; }
}
