:root {
    --navy: #062a43;
    --navy-deep: #031d30;
    --blue: #087ca7;
    --cyan: #00a8c6;
    --teal: #12a978;
    --ink: #102a3a;
    --muted: #5d7180;
    --line: #d9e5ea;
    --soft: #f3f8fa;
    --white: #fff;
    --warning-bg: #fff8e7;
    --warning-border: #f1d28b;
    --shadow: 0 22px 64px rgba(6, 42, 67, .12);
    --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    text-rendering: optimizeLegibility;
}

body, button, input { font-size: 16px; }

a { color: var(--blue); }

img, svg { display: block; max-width: 100%; }

.skip-link {
    background: var(--navy);
    color: var(--white);
    left: 12px;
    padding: 12px 16px;
    position: fixed;
    top: -100px;
    z-index: 1000;
}

.skip-link:focus { top: 12px; }

.shell { margin: 0 auto; max-width: 1180px; padding-left: 28px; padding-right: 28px; }
.narrow { max-width: 880px; }

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
}

.brand {
    align-items: center;
    color: var(--navy);
    display: inline-flex;
    font-size: 19px;
    font-weight: 850;
    gap: 10px;
    letter-spacing: -.04em;
    text-decoration: none;
    white-space: nowrap;
}

.brand > span:last-child > span { color: var(--cyan); }

.brand-mark {
    background: linear-gradient(145deg, var(--blue), var(--cyan));
    border-radius: 8px;
    display: grid;
    height: 34px;
    padding: 8px;
    place-items: center;
    transform: rotate(-5deg);
    width: 34px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
    background: var(--white);
    border-radius: 4px;
    content: "";
    display: block;
    height: 4px;
    width: 18px;
}

.brand-mark span { margin: 3px 0; width: 13px; }
.brand-mark::after { width: 9px; }

.primary-nav { align-items: center; display: flex; gap: 26px; justify-content: center; }

.primary-nav a,
.login-link {
    color: #3b5664;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav a[aria-current="page"],
.login-link:hover,
.login-link:focus { color: var(--blue); }

.account-actions { align-items: center; display: flex; gap: 16px; }

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 9px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.button:hover,
.button:focus { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 16px; }
.button-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 10px 24px rgba(8, 124, 167, .2); color: var(--white); }
.button-secondary { background: var(--white); border-color: #aecbd6; color: var(--navy); }
.button-dark { background: var(--navy); color: var(--white); }
.button-light { background: var(--white); color: var(--navy); }
.button-outline-light { border-color: rgba(255,255,255,.48); color: var(--white); }

.breadcrumb-wrap { padding-bottom: 0; padding-top: 20px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { color: #71838d; font-size: 12px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }

.hero {
    background:
        radial-gradient(circle at 9% 12%, rgba(0, 168, 198, .17), transparent 32%),
        radial-gradient(circle at 92% 72%, rgba(18, 169, 120, .1), transparent 27%),
        linear-gradient(135deg, #f7fcfd, #edf7fa);
    border: 1px solid #d6e8ee;
    border-radius: 30px;
    display: grid;
    gap: 58px;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
    margin-top: 20px;
    min-height: 540px;
    overflow: hidden;
    padding: 70px 64px;
    position: relative;
}

.hero::after {
    background-image: radial-gradient(rgba(8, 124, 167, .24) 1px, transparent 1px);
    background-size: 18px 18px;
    content: "";
    height: 180px;
    opacity: .45;
    position: absolute;
    right: 25px;
    top: 22px;
    width: 180px;
}

.hero-content,
.hero-card { position: relative; z-index: 1; }
.hero-content { align-self: center; }

.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .16em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

h1, h2, h3 {
    color: var(--ink);
    letter-spacing: -.035em;
    margin-top: 0;
}

h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12; margin-bottom: 18px; }
h3 { font-size: 21px; line-height: 1.3; margin-bottom: 12px; }

p { color: var(--muted); line-height: 1.75; }
.lead { font-size: 19px; max-width: 730px; }
.microcopy { color: #6d7f88; font-size: 12px; margin: 12px 0 0; }
.hero-actions, .cta-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.pills { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 28px 0 0; padding: 0; }
.pills li { background: rgba(255,255,255,.84); border: 1px solid #d1e4ea; border-radius: 999px; color: #395663; font-size: 12px; font-weight: 750; padding: 9px 13px; }

.hero-card {
    align-self: center;
    background: var(--white);
    border: 1px solid #d3e3e9;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.hero-card-label { align-items: center; display: flex; font-size: 14px; font-weight: 800; justify-content: space-between; }
.badge { background: #e6f8f1; border-radius: 999px; color: #087353; font-size: 10px; font-weight: 850; letter-spacing: .08em; padding: 7px 10px; text-transform: uppercase; }
.price { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; padding-bottom: 22px; }
.price-prefix { color: var(--muted); flex-basis: 100%; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.price strong { color: var(--navy); font-size: 42px; letter-spacing: -.05em; }
.price span:last-child { color: var(--muted); font-size: 13px; }

.check-list, .plain-list { list-style: none; margin: 0; padding: 0; }
.check-list li { color: #3b5664; font-size: 14px; line-height: 1.5; padding: 8px 0 8px 27px; position: relative; }
.check-list li::before { color: var(--teal); content: "✓"; font-weight: 900; left: 0; position: absolute; }
.hero-card .button { margin-top: 24px; width: 100%; }

.section { padding: 94px 0; }
.section-compact { padding: 70px 0; }
.section-soft { background: var(--soft); border-bottom: 1px solid #e3edef; border-top: 1px solid #e3edef; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #c6d7df; }
.section-heading { max-width: 750px; }
.section-heading.centered { margin: 0 auto 46px; text-align: center; }

.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 29px; }
.info-card.featured { border-color: #72bdcf; box-shadow: 0 16px 44px rgba(6, 42, 67, .09); }
.info-card p:last-child { margin-bottom: 0; }
.card-number, .icon-box { align-items: center; background: #eaf7fa; border-radius: 10px; color: var(--blue); display: inline-flex; font-size: 13px; font-weight: 900; height: 42px; justify-content: center; margin-bottom: 20px; width: 42px; }
.text-link { font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link::after { content: " →"; }

.split { align-items: center; display: grid; gap: 72px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split.reverse > :first-child { order: 2; }
.feature-list { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-item { border-top: 1px solid var(--line); padding-top: 18px; }
.feature-item h3 { font-size: 17px; margin-bottom: 7px; }
.feature-item p { font-size: 14px; margin: 0; }

.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.comparison { border-collapse: collapse; min-width: 700px; width: 100%; }
.comparison caption { background: var(--white); color: var(--ink); font-size: 19px; font-weight: 850; padding: 22px; text-align: left; }
.comparison th, .comparison td { border-top: 1px solid var(--line); color: #3d5765; padding: 17px 20px; text-align: left; vertical-align: top; }
.comparison th { background: #f6fafb; color: var(--ink); font-size: 13px; }
.comparison td { font-size: 14px; line-height: 1.55; }
.comparison strong { color: var(--navy); }
.comparison .button { white-space: nowrap; }

.notice {
    align-items: flex-start;
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 13px;
    display: flex;
    gap: 14px;
    margin-top: 24px;
    padding: 18px 20px;
}
.notice-mark { background: #f2c25d; border-radius: 999px; color: #6f4a00; flex: 0 0 25px; font-size: 13px; font-weight: 900; line-height: 25px; text-align: center; }
.notice p { color: #664f1f; font-size: 13px; margin: 0; }

.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 3px solid #bde0e8; counter-increment: step; padding: 25px 10px 0 0; }
.steps li::before { color: var(--cyan); content: "0" counter(step); display: block; font-size: 13px; font-weight: 900; letter-spacing: .12em; margin-bottom: 14px; }

.architecture { align-items: stretch; display: grid; gap: 28px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.architecture div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 13px; padding: 22px 18px; position: relative; text-align: center; }
.architecture div:not(:last-child)::after { color: #70d2e3; content: "→"; font-size: 22px; position: absolute; right: -23px; top: calc(50% - 14px); }
.architecture strong { color: var(--white); display: block; font-size: 15px; margin-bottom: 8px; }
.architecture span { color: #bdd3dc; font-size: 12px; line-height: 1.5; }

.cost-stack { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cost-card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 30px; }
.cost-card .price { margin-bottom: 15px; }
.cost-card .price strong { font-size: 34px; }

.fit-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fit-card { border-radius: 15px; padding: 30px; }
.fit-card.good { background: #ebf9f4; border: 1px solid #b7e5d5; }
.fit-card.caution { background: #fff8e9; border: 1px solid #f2d899; }
.fit-card ul { margin: 16px 0 0; padding-left: 20px; }
.fit-card li { color: #405866; line-height: 1.65; margin: 8px 0; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 21px; }
.faq-list summary { color: var(--ink); cursor: pointer; font-weight: 800; list-style: none; padding: 20px 34px 20px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--blue); content: "+"; font-size: 24px; line-height: 1; position: absolute; right: 0; top: 17px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { font-size: 14px; margin: 0; padding: 0 30px 21px 0; }

.final-cta {
    align-items: center;
    background: linear-gradient(135deg, var(--navy), #07557a);
    border-radius: 22px;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 90px;
    margin-top: 90px;
    padding: 48px 52px;
}
.final-cta h2 { color: var(--white); font-size: clamp(28px, 3vw, 42px); margin-bottom: 10px; max-width: 690px; }
.final-cta p { color: #c9dbe3; margin: 0; }
.final-cta .cta-actions { flex: 0 0 auto; margin: 0; }

.site-footer { background: var(--navy-deep); color: var(--white); padding-top: 66px; }
.footer-grid { display: grid; gap: 45px; grid-template-columns: 1.65fr 1fr 1.25fr 1fr; }
.brand-light { color: var(--white); }
.footer-intro p { color: #9db6c2; font-size: 13px; max-width: 360px; }
.site-footer h2 { color: var(--white); font-size: 13px; letter-spacing: .1em; margin-bottom: 18px; text-transform: uppercase; }
.site-footer a:not(.brand) { color: #afc4ce; display: block; font-size: 13px; margin: 11px 0; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-bottom: 27px; padding-top: 20px; }
.footer-bottom p { color: #879faa; font-size: 11px; margin: 0; }

@media (max-width: 1040px) {
    .header-inner { gap: 18px; grid-template-columns: auto 1fr; }
    .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; padding-bottom: 14px; }
    .account-actions { justify-self: end; }
    .hero { gap: 35px; padding: 55px 42px; }
    .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .architecture { grid-template-columns: 1fr; }
    .architecture div:not(:last-child)::after { bottom: -24px; left: calc(50% - 8px); right: auto; top: auto; transform: rotate(90deg); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .hero { grid-template-columns: 1fr; }
    .hero-card { max-width: 520px; }
    .card-grid, .card-grid.two { grid-template-columns: 1fr; }
    .split, .split.reverse { gap: 42px; grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: initial; }
    .steps { grid-template-columns: 1fr; }
    .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .shell { padding-left: 18px; padding-right: 18px; }
    .site-header { position: static; }
    .header-inner { min-height: 68px; }
    .account-actions .login-link { display: none; }
    .primary-nav { gap: 20px; }
    .primary-nav a { white-space: nowrap; }
    .breadcrumb-wrap { padding-top: 14px; }
    .hero { border-radius: 20px; margin-top: 14px; padding: 44px 24px; }
    .hero::after { opacity: .25; }
    h1 { font-size: clamp(37px, 11vw, 50px); }
    .lead { font-size: 17px; }
    .hero-actions, .cta-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button, .cta-actions .button { width: 100%; }
    .hero-card { padding: 24px; }
    .section, .section-compact { padding: 68px 0; }
    .feature-list, .cost-stack, .fit-grid { grid-template-columns: 1fr; }
    .card-grid.four { grid-template-columns: 1fr; }
    .final-cta { border-radius: 0; margin-bottom: 0; margin-top: 64px; padding: 42px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { padding-top: 52px; }
}

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