:root {
    --ink: #10233f;
    --muted: #5e6e83;
    --blue: #1565d8;
    --green: #16845c;
    --line: #dbe5ef;
    --soft: #f4f8fc;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: #fff;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
}

a { color: var(--blue); }
.overview-hero {
    background: radial-gradient(circle at 82% 18%, rgba(52, 139, 255, .2), transparent 28%), linear-gradient(145deg, #f8fbff, #edf5fd);
    border-bottom: 1px solid var(--line);
}
.overview-nav, .hero-content, main, .overview-footer { margin: 0 auto; max-width: 1220px; }
.overview-nav { align-items: center; display: flex; justify-content: space-between; min-height: 76px; padding: 0 30px; }
.brand-lockup { align-items: center; color: var(--ink); display: inline-flex; font-size: 18px; font-weight: 800; gap: 10px; text-decoration: none; }
.brand-mark { align-items: center; background: linear-gradient(145deg, var(--blue), #0b3f91); border-radius: 10px; color: #fff; display: inline-flex; font-size: 13px; height: 36px; justify-content: center; width: 36px; }
.back-home { color: #415673; font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-content { padding: 82px 30px 74px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .13em; margin: 0 0 14px; text-transform: uppercase; }
h1 { font-size: clamp(44px, 6vw, 72px); letter-spacing: -.045em; line-height: 1.02; margin: 0; max-width: 890px; }
.lede { color: var(--muted); font-size: 19px; line-height: 1.65; margin: 25px 0; max-width: 780px; }
.principle-row { display: flex; flex-wrap: wrap; gap: 10px; }
.principle-row span { background: rgba(255,255,255,.8); border: 1px solid #d4e1ef; border-radius: 999px; color: #496078; font-size: 13px; padding: 9px 13px; }
.principle-row b { color: var(--ink); }

main { padding: 0 30px; }
.overview-section { padding: 80px 0; }
h2 { font-size: clamp(29px, 3.5vw, 43px); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 16px; }
.section-lede, .section-heading > p:last-child, .split-heading > p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-heading { margin-bottom: 38px; max-width: 760px; }
.intro-grid { align-items: center; display: grid; gap: 70px; grid-template-columns: 1.2fr .8fr; }
.important-note { background: #fff7e5; border: 1px solid #efd8a1; border-radius: 16px; padding: 27px; }
.important-note strong { color: #855600; }
.important-note p { color: #715f38; line-height: 1.6; margin-bottom: 0; }

.workflow-section { border-top: 1px solid var(--line); }
.workflow-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.workflow-grid article { border: 1px solid var(--line); border-radius: 14px; min-height: 190px; padding: 24px; }
.workflow-grid b { color: var(--blue); font-size: 12px; }
.workflow-grid h3 { font-size: 18px; margin: 24px 0 8px; }
.workflow-grid p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

.comparison-section { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; padding-top: 20px; }
.automation-card { border: 1px solid var(--line); border-radius: 20px; padding: 37px; }
.stock-automation { background: linear-gradient(145deg, #eff7ff, #fff); }
.option-automation { background: linear-gradient(145deg, #eefaf5, #fff); }
.automation-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.detail-list { border-top: 1px solid var(--line); margin-top: 25px; }
.detail-list div { border-bottom: 1px solid var(--line); display: grid; gap: 8px; padding: 17px 0; }
.detail-list strong { font-size: 14px; }
.detail-list span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.options-flow { background: #10233f; border-radius: 22px; color: #fff; padding: 58px; }
.options-flow h2 { color: #fff; }
.options-flow .eyebrow { color: #75aaff; }
.split-heading { align-items: end; display: grid; gap: 50px; grid-template-columns: 1fr 1fr; }
.options-flow .split-heading > p { color: #b8c7da; }
.selection-path { display: grid; gap: 1px; grid-template-columns: repeat(5, 1fr); margin-top: 42px; }
.selection-path div { border-left: 1px solid #38506f; display: grid; gap: 8px; padding: 7px 20px; }
.selection-path div:first-child { border-left: 0; padding-left: 0; }
.selection-path span { color: #75aaff; font-size: 12px; font-weight: 800; }
.selection-path strong { font-size: 14px; }
.selection-path small { color: #b8c7da; line-height: 1.45; }

.safeguards-section { border-bottom: 1px solid var(--line); }
.safeguard-grid { display: grid; gap: 0 40px; grid-template-columns: 1fr 1fr; }
.safeguard-grid div { border-top: 1px solid var(--line); display: grid; gap: 8px; padding: 20px 0; }
.safeguard-grid strong { font-size: 14px; }
.safeguard-grid span { color: var(--muted); font-size: 14px; line-height: 1.5; }

.history-section { display: grid; gap: 70px; grid-template-columns: .9fr 1.1fr; }
.history-points { border-top: 1px solid var(--line); }
.history-points p { border-bottom: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: 160px 1fr; margin: 0; padding: 20px 0; }
.history-points strong { font-size: 14px; }
.history-points span { color: var(--muted); font-size: 14px; line-height: 1.5; }

.pdt-section { background: #fff7e5; border: 1px solid #efd8a1; border-radius: 18px; display: grid; gap: 55px; grid-template-columns: .9fr 1.1fr; padding: 38px; }
.pdt-section h2 { font-size: 29px; }
.pdt-section p { color: #695a38; line-height: 1.65; }
.pdt-section a { color: #845800; font-weight: 750; }

.faq-section details { border-top: 1px solid var(--line); padding: 19px 0; }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; font-size: 16px; font-weight: 750; }
.faq-section details p { color: var(--muted); line-height: 1.65; max-width: 850px; }

.overview-footer { align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; padding: 30px; }
.overview-footer span { color: var(--muted); font-size: 13px; margin-right: auto; }
.overview-footer a { color: #405570; font-size: 13px; text-decoration: none; }

@media (max-width: 900px) {
    .intro-grid, .split-heading, .history-section, .pdt-section { grid-template-columns: 1fr; }
    .workflow-grid { grid-template-columns: repeat(2, 1fr); }
    .selection-path { grid-template-columns: repeat(2, 1fr); row-gap: 25px; }
    .selection-path div:nth-child(3), .selection-path div:nth-child(5) { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
    .overview-nav, .hero-content, main, .overview-footer { padding-left: 20px; padding-right: 20px; }
    .hero-content { padding-bottom: 52px; padding-top: 55px; }
    h1 { font-size: 43px; }
    .overview-section { padding: 58px 0; }
    .workflow-grid, .comparison-section, .safeguard-grid, .selection-path { grid-template-columns: 1fr; }
    .options-flow { border-radius: 0; margin-left: -20px; margin-right: -20px; padding: 45px 20px; }
    .selection-path div { border-left: 0; border-top: 1px solid #38506f; padding: 20px 0 0; }
    .selection-path div:first-child { border-top: 0; }
    .automation-card { padding: 28px 23px; }
    .history-points p { gap: 8px; grid-template-columns: 1fr; }
    .pdt-section { border-radius: 0; margin-left: -20px; margin-right: -20px; padding: 30px 20px; }
}
