:root {
    --blue: #143b6b;
    --blue-dark: #0d2b50;
    --cyan: #21b7c9;
    --green: #64c66a;
    --orange: #ff8a3d;
    --slate: #3a4655;
    --muted: #6f7b88;
    --line: #dfe7ee;
    --soft: #f4f7f9;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(20, 59, 107, .10);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--slate);
    background: var(--soft);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223,231,238,.9);
}
.header-inner {
    min-height: 68px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--blue); }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.brand-name { font-size: 1.2rem; letter-spacing: -.03em; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a { font-weight: 700; color: var(--blue-dark); }
.nav-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--blue); }

.btn { min-height: 44px; padding: 10px 18px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; border: 1px solid transparent; }
.btn-primary { background: var(--cyan); color: var(--blue-dark); }
.btn-primary:hover { filter: brightness(.96); }
.btn-secondary { border-color: var(--blue); color: var(--blue); background: white; }
.btn-ghost { color: var(--blue); background: white; border-color: var(--line); }
.btn-large { min-height: 52px; padding-inline: 22px; }

.hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 18px 48px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 44px;
}
.eyebrow, .box-kicker { margin: 0 0 10px; color: var(--cyan); font-weight: 900; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; }
h1, h2, h3 { color: var(--blue-dark); line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.hero-copy { max-width: 700px; font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.current-cycle { margin-top: 28px; padding: 14px 16px; max-width: 430px; display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.current-cycle strong, .current-cycle span { display: block; }
.current-cycle span { color: var(--muted); font-size: .9rem; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(100,198,106,.18); }
.hero-visual { background: linear-gradient(155deg, var(--blue-dark), var(--blue)); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.process-card { display: flex; align-items: center; gap: 14px; color: white; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 16px; }
.process-card span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-dark); background: var(--cyan); font-weight: 900; }
.process-line { height: 22px; width: 2px; margin-left: 33px; background: rgba(255,255,255,.35); }

.boxes-section, .plans-section, .faq-section { max-width: 1180px; margin: 0 auto; padding: 28px 18px; }
.info-box { margin-bottom: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.box-header { padding: 28px 24px 18px; }
.box-header h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.tab-list { display: flex; gap: 8px; overflow-x: auto; padding: 0 18px 14px; scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.tab-list button { flex: 0 0 auto; min-height: 42px; padding: 8px 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.tab-list button[aria-selected="true"] { color: var(--blue-dark); background: rgba(33,183,201,.12); border-color: rgba(33,183,201,.35); }
.tab-list button:focus-visible { outline: 3px solid rgba(33,183,201,.35); outline-offset: 2px; }
.tab-panels { padding: 26px 24px 30px; min-height: 190px; }
.tab-panels p:first-child { margin-top: 0; }
.lead { font-size: 1.08rem; color: var(--slate); }
.inline-action { border: 0; background: transparent; color: var(--blue); font-weight: 900; padding: 10px 0; cursor: pointer; }
.formula-flow, .step-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0; }
.formula-flow span, .step-strip span { padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--blue-dark); font-weight: 800; }
.formula-flow b { color: var(--cyan); }
.check-list { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 10px; }
.two-columns { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mini-grid, .comparison-grid, .status-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.mini-grid > div, .comparison-grid > div, .status-grid > div, .example-card, .cycle-card { padding: 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.mini-grid p { margin-bottom: 0; }
.comparison-grid small, .status-grid span { display: block; color: var(--muted); }
.comparison-grid strong, .status-grid strong { color: var(--blue-dark); }
.status-grid .active { background: rgba(100,198,106,.12); border-color: rgba(100,198,106,.45); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline li { display: flex; gap: 14px; }
.timeline li > span { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 900; }
.timeline p { margin: 2px 0 0; color: var(--muted); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(100,198,106,.16); color: #2e7b34; font-weight: 900; font-size: .8rem; }
.badge-muted { background: #e8edf1; color: var(--muted); }
.muted { opacity: .8; }
.section-heading { margin: 20px 0 24px; }
.section-heading > p:last-child { color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; color: var(--blue-dark); font-weight: 850; }
.final-cta { margin: 48px auto; max-width: 900px; padding: 48px 24px; text-align: center; background: var(--blue-dark); color: white; border-radius: 28px; }
.final-cta h2 { color: white; }
.final-cta p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.site-footer { margin-top: 60px; padding: 40px 18px; background: #0a213d; color: rgba(255,255,255,.78); display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.site-footer > * { max-width: 1180px; }
.site-footer nav { display: grid; gap: 8px; }
.footer-brand { color: white; }
.site-footer small { grid-column: 1 / -1; }

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .main-nav { position: fixed; inset: 68px 12px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav > a { padding: 13px 10px; }
    .nav-actions { margin-top: 10px; display: grid; }
    .hero { grid-template-columns: 1fr; padding-top: 46px; gap: 28px; }
    .hero-visual { padding: 20px; }
    .box-header { padding: 24px 18px 16px; }
    .tab-panels { padding: 22px 18px 26px; min-height: 170px; }
    .mini-grid, .comparison-grid, .status-grid, .two-columns { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer small { grid-column: auto; }
}

@media (max-width: 520px) {
    .header-inner { min-height: 62px; }
    .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
    .brand-name { font-size: 1.05rem; }
    .main-nav { inset: 62px 10px auto; }
    .hero { padding: 38px 14px 28px; }
    h1 { font-size: 2.55rem; }
    .hero-actions { display: grid; }
    .hero-actions .btn { width: 100%; }
    .current-cycle { align-items: flex-start; }
    .boxes-section, .plans-section, .faq-section { padding-inline: 12px; }
    .info-box { border-radius: 18px; }
    .tab-list { padding-inline: 12px; }
    .tab-list button { min-height: 40px; padding-inline: 12px; }
    .formula-flow { align-items: stretch; flex-direction: column; }
    .formula-flow b { text-align: center; }
    .step-strip { display: grid; grid-template-columns: 1fr 1fr; }
    .final-cta { margin: 34px 12px; border-radius: 22px; }
}
