:root {
    --civi-navy: #183d70;
    --civi-navy-deep: #102b50;
    --civi-ink: #172c4b;
    --civi-red: #b22234;
    --civi-red-deep: #8f1727;
    --civi-blue-soft: #e9f3fb;
    --civi-cream: #fcf6e5;
    --civi-blush: #fdf0f0;
    --civi-paper: #fbfcfe;
    --civi-muted: #66748a;
    --civi-line: #dce4ee;
    --civi-shadow: 0 28px 70px rgba(13, 39, 73, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.civimigo-page { margin: 0; color: var(--civi-ink); background: var(--civi-paper); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.6; }
body.civimigo-page img { display: block; max-width: 100%; }
body.civimigo-page a { color: inherit; }
.civi-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.civi-hero { position: relative; min-height: 860px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--civi-navy); padding: calc(var(--nav-height, 76px) + 64px) 0 90px; }
.civi-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.12), transparent 26rem), radial-gradient(circle at 18% 94%, rgba(178,34,52,.38), transparent 29rem), linear-gradient(120deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(30deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, auto, 76px 76px, 76px 76px; }
.civi-hero::after { content: "★"; position: absolute; top: 17%; right: 7%; color: rgba(255,255,255,.06); font-size: clamp(9rem, 18vw, 18rem); line-height: 1; }
.civi-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); gap: clamp(50px, 9vw, 125px); align-items: center; }
.civi-hero__copy { max-width: 700px; }
.civi-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; color: rgba(255,255,255,.72); text-decoration: none; font-size: .82rem; font-weight: 800; }
.civi-back span { transition: transform .2s ease; }.civi-back:hover { color: #fff; }.civi-back:hover span { transform: translateX(-4px); }
.civi-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 13px 7px 7px; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.civi-eyebrow img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 5px 14px rgba(0,0,0,.22); }
.civi-hero h1 { max-width: 720px; margin: 0; font: 800 clamp(3rem, 6.1vw, 5.7rem)/.98 "Manrope", system-ui, sans-serif; letter-spacing: -.068em; text-wrap: balance; }
.civi-hero__lead { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: clamp(1.04rem, 1.7vw, 1.24rem); line-height: 1.65; }

.store-options { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.store-option { min-width: 190px; display: grid; justify-items: start; gap: 7px; }
.store-link, .store-unavailable { height: 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; }
.store-link { transition: transform .2s ease, box-shadow .2s ease; }
.store-link:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.24); }
.store-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.store-link img, .store-unavailable img { width: auto; height: 54px; }
.store-unavailable { opacity: .48; filter: saturate(.5); }
.store-caption { padding-left: 3px; color: rgba(255,255,255,.66); font-size: .72rem; font-weight: 700; }
.store-caption--soon { display: inline-flex; align-items: center; gap: 6px; color: #f2d3d7; }
.store-caption--soon::before { content: ""; width: 6px; height: 6px; background: #e66f7e; border-radius: 50%; }
.civi-hero__note { display: flex; align-items: center; gap: 9px; margin: 25px 0 0; color: rgba(255,255,255,.6); font-size: .75rem; }
.civi-hero__note span { color: #e26a79; font-size: .6rem; }

.civi-hero__visual { position: relative; min-height: 620px; display: grid; place-items: center; }
.civi-hero__visual::before { content: ""; position: absolute; inset: 9% 3% 8%; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; transform: rotate(-10deg); }
.civi-hero__visual::after { content: ""; position: absolute; width: 310px; height: 310px; background: rgba(178,34,52,.22); border-radius: 50%; filter: blur(1px); }
.phone-frame { position: relative; z-index: 2; overflow: hidden; background: #05070a; border: 9px solid #08111f; border-radius: 52px; box-shadow: 0 35px 80px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.14); }
.phone-frame--hero { width: min(330px, 82vw); transform: rotate(2.5deg); }
.phone-frame img { width: 100%; height: auto; }
.phone-frame__speaker { position: absolute; z-index: 3; top: 11px; left: 50%; width: 86px; height: 25px; background: #05070a; border-radius: 999px; transform: translateX(-50%); }
.hero-seal { position: absolute; z-index: 4; width: 112px; height: 112px; display: grid; place-content: center; color: var(--civi-ink); background: var(--civi-cream); border: 5px solid rgba(255,255,255,.96); border-radius: 50%; box-shadow: 0 17px 35px rgba(0,0,0,.24); text-align: center; transform: rotate(-5deg); }
.hero-seal strong, .hero-seal span { display: block; }.hero-seal strong { color: var(--civi-red); font: 800 1.75rem "Manrope", sans-serif; line-height: 1; }.hero-seal span { max-width: 80px; margin-top: 5px; font-size: .64rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .06em; }
.hero-seal--top { top: 5%; right: 0; }.hero-seal--bottom { bottom: 4%; left: 0; background: var(--civi-blue-soft); transform: rotate(5deg); }

.civi-facts { background: #fff; border-bottom: 1px solid var(--civi-line); }
.civi-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.civi-facts__grid > div { min-height: 112px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 20px; border-right: 1px solid var(--civi-line); }
.civi-facts__grid > div:last-child { border-right: 0; }
.civi-facts strong { color: var(--civi-navy); font: 800 2rem "Manrope", sans-serif; line-height: 1; }.civi-facts strong i { font-size: 1.65rem; }.civi-facts span { max-width: 115px; color: var(--civi-muted); font-size: .76rem; font-weight: 700; line-height: 1.35; }

.civi-section { padding: clamp(78px, 9vw, 125px) 0; }
.civi-kicker { margin: 0 0 15px; color: var(--civi-red); font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.civi-section__intro h2, .civi-section__heading h2, .civi-languages h2, .civi-edition h2, .civi-download h2 { margin: 0; font: 800 clamp(2.25rem, 4.8vw, 4rem)/1.06 "Manrope", system-ui, sans-serif; letter-spacing: -.057em; text-wrap: balance; }
.civi-section__intro > p:last-child, .civi-section__heading > p:last-child, .civi-languages__grid > div > p { margin: 19px 0 0; color: var(--civi-muted); font-size: 1.02rem; }
.civi-section__heading { max-width: 760px; margin-bottom: 47px; }.civi-section__heading--center { margin-inline: auto; text-align: center; }

.civi-path { background: var(--civi-blue-soft); }
.civi-path__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr); gap: clamp(52px, 9vw, 120px); align-items: center; }
.path-steps { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: civi-steps; }
.path-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; background: rgba(255,255,255,.83); border: 1px solid rgba(24,61,112,.13); border-radius: 22px; box-shadow: 0 12px 30px rgba(19,55,99,.06); }
.path-steps li:not(:last-child)::after { content: ""; position: absolute; left: 44px; bottom: -15px; width: 2px; height: 16px; background: repeating-linear-gradient(to bottom, var(--civi-red) 0 3px, transparent 3px 7px); }
.path-steps li > span { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--civi-navy); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.path-steps h3 { margin: 0 0 5px; font: 800 1.05rem "Manrope", sans-serif; }.path-steps p { margin: 0; color: var(--civi-muted); font-size: .9rem; }

.civi-inside { background: #fff; }
.screen-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.screen-card { display: flex; min-width: 0; flex-direction: column; padding: 18px; background: var(--civi-paper); border: 1px solid var(--civi-line); border-radius: 27px; box-shadow: 0 14px 34px rgba(17,48,86,.07); }
.screen-card__phone { position: relative; overflow: hidden; aspect-ratio: 442 / 735; background: #fff; border: 5px solid var(--civi-ink); border-radius: 31px 31px 18px 18px; }
.screen-card__phone img { width: 100%; height: auto; }
.screen-card > div:last-child { padding: 19px 5px 5px; }.screen-card > div:last-child > span { color: var(--civi-red); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }.screen-card h3 { margin: 4px 0 5px; font: 800 1.05rem "Manrope", sans-serif; }.screen-card p { margin: 0; color: var(--civi-muted); font-size: .82rem; }
.screen-card--path { background: #f3f7fc; }.screen-card--library { background: var(--civi-cream); }.screen-card--progress { background: var(--civi-blue-soft); }.screen-card--practice { background: var(--civi-blush); }

.civi-tools { background: #f3f6fa; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-grid article { min-height: 245px; padding: 28px; background: #fff; border: 1px solid var(--civi-line); border-radius: 24px; }
.tool-grid i { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: var(--civi-navy); background: var(--civi-blue-soft); border-radius: 15px; font-size: 1.1rem; }.tool-grid article:nth-child(2) i, .tool-grid article:nth-child(6) i { color: var(--civi-red); background: var(--civi-blush); }.tool-grid article:nth-child(3) i { background: var(--civi-cream); }
.tool-grid h3 { margin: 22px 0 8px; font: 800 1.13rem "Manrope", sans-serif; }.tool-grid p { margin: 0; color: var(--civi-muted); font-size: .88rem; }

.civi-languages { color: #fff; background: var(--civi-navy-deep); }
.civi-languages__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(50px, 10vw, 130px); align-items: center; }
.civi-languages .civi-kicker { color: #f1949f; }.civi-languages__grid > div > p { color: rgba(255,255,255,.7); }.civi-languages__grid > div > .civi-fine-print { color: rgba(255,255,255,.47); font-size: .8rem; }
.language-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.language-list li { min-height: 68px; display: flex; align-items: center; gap: 13px; padding: 12px 15px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; font-size: .86rem; font-weight: 700; }.language-list li:last-child { grid-column: 1 / -1; }.language-list span { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; background: var(--civi-red); border-radius: 12px; font-size: .67rem; font-weight: 800; }

.civi-edition { padding: clamp(80px, 10vw, 135px) 0; color: var(--civi-ink); background: var(--civi-cream); }
.civi-edition__grid { display: grid; grid-template-columns: minmax(210px, .45fr) minmax(0, 1.55fr); gap: clamp(48px, 9vw, 120px); align-items: center; }
.edition-mark { position: relative; width: 210px; height: 210px; display: grid; place-content: center; color: #fff; background: var(--civi-navy); border: 13px solid #fff; border-radius: 50%; box-shadow: 0 25px 60px rgba(23,44,75,.18); text-align: center; }.edition-mark::after { content: ""; position: absolute; inset: 11px; border: 2px dashed rgba(255,255,255,.38); border-radius: 50%; }.edition-mark span, .edition-mark i { position: relative; z-index: 1; }.edition-mark span { font: 800 2.45rem "Manrope", sans-serif; line-height: 1; }.edition-mark i { margin-top: 8px; color: #f3a2ab; font-size: 1.1rem; }
.civi-edition__grid > div:last-child > p:not(.civi-kicker) { margin: 20px 0 0; color: #5d6878; font-size: 1rem; }
.edition-notice { display: grid; grid-template-columns: auto 1fr; gap: 13px; margin-top: 25px; padding: 17px 19px; background: rgba(255,255,255,.72); border: 1px solid #eadfbf; border-radius: 17px; }.edition-notice i { margin-top: 4px; color: var(--civi-red); }.edition-notice p { margin: 0; color: #5d6878; font-size: .82rem; }
.civi-text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--civi-navy); font-weight: 800; text-decoration: none; }.civi-text-link span { transition: transform .2s ease; }.civi-text-link:hover span { transform: translate(3px,-3px); }

.civi-faq { background: #fff; }
.civi-faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(480px, 1.3fr); gap: clamp(48px, 9vw, 120px); align-items: start; }
.faq-list { border-top: 1px solid var(--civi-line); }
.faq-list details { border-bottom: 1px solid var(--civi-line); }.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; cursor: pointer; font: 800 1rem "Manrope", sans-serif; list-style: none; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--civi-navy); background: var(--civi-blue-soft); border-radius: 50%; transition: transform .2s ease; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list details p { margin: -5px 42px 22px 0; color: var(--civi-muted); font-size: .9rem; }

.civi-download { padding: 0 0 clamp(75px, 9vw, 120px); background: #fff; }
.civi-download__panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(30px, 5vw, 56px); overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--civi-navy), var(--civi-navy-deep)); border-radius: 34px; box-shadow: var(--civi-shadow); }
.civi-download__panel > img { width: 112px; height: 112px; border: 5px solid rgba(255,255,255,.85); border-radius: 26px; box-shadow: 0 16px 32px rgba(0,0,0,.24); }.civi-download__copy > p { margin: 0 0 7px; color: #f49ca6; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.civi-download h2 { max-width: 480px; font-size: clamp(1.8rem, 3.5vw, 3rem); }.store-options--compact { justify-content: flex-end; flex-wrap: nowrap; margin: 0; }.store-options--compact .store-option { min-width: 158px; }.store-options--compact .store-link img, .store-options--compact .store-unavailable img { height: 48px; }

.civi-footer { padding: 45px 0; color: rgba(255,255,255,.67); background: #091b33; }
.civi-footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }.civi-footer__brand { display: flex; align-items: center; gap: 13px; }.civi-footer__brand img { width: 48px; height: 48px; border-radius: 13px; }.civi-footer__brand strong, .civi-footer__brand span { display: block; }.civi-footer__brand strong { color: #fff; font: 800 1.05rem "Manrope", sans-serif; }.civi-footer__brand span { font-size: .77rem; }.civi-footer nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }.civi-footer nav a { color: rgba(255,255,255,.74); font-size: .8rem; font-weight: 700; text-decoration: none; }.civi-footer nav a:hover { color: #fff; }.civi-footer__grid > p { max-width: 760px; margin: 0; font-size: .72rem; }.civi-footer__grid > span { justify-self: end; font-size: .72rem; }

@media (max-width: 1080px) {
    .civi-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: 50px; }
    .screen-gallery { grid-template-columns: repeat(2, 1fr); }.screen-card { display: grid; grid-template-columns: minmax(180px, .8fr) 1fr; align-items: center; }.screen-card__phone { max-height: 440px; }
    .civi-download__panel { grid-template-columns: auto 1fr; }.civi-download__panel .store-options { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 900px) {
    .civi-hero { padding-bottom: 70px; }.civi-hero__grid { grid-template-columns: 1fr; }.civi-hero__copy { max-width: 760px; }.civi-hero__visual { width: min(590px, 100%); margin: 0 auto; }
    .civi-facts__grid { grid-template-columns: 1fr 1fr; }.civi-facts__grid > div:nth-child(2) { border-right: 0; }.civi-facts__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--civi-line); }
    .civi-path__grid, .civi-languages__grid, .civi-faq__grid { grid-template-columns: 1fr; }
    .tool-grid { grid-template-columns: 1fr 1fr; }.civi-section__heading--center { text-align: left; }
    .civi-edition__grid { grid-template-columns: 1fr; }.edition-mark { width: 175px; height: 175px; }.edition-mark span { font-size: 2rem; }
    .civi-footer__grid { grid-template-columns: 1fr; }.civi-footer nav { justify-content: flex-start; }.civi-footer__grid > span { justify-self: start; }
}
@media (max-width: 650px) {
    .civi-shell { width: min(100% - 28px, 1180px); }
    .civi-hero { padding-top: calc(var(--nav-height, 68px) + 46px); }.civi-hero h1 { font-size: clamp(2.65rem, 14vw, 4.15rem); }.civi-hero__lead { font-size: 1rem; }
    .store-options { align-items: stretch; flex-direction: column; }.store-option { width: 100%; min-width: 0; }.store-link, .store-unavailable { justify-content: flex-start; }
    .civi-hero__visual { min-height: 540px; }.hero-seal { width: 96px; height: 96px; }.hero-seal--top { right: 2%; }.hero-seal--bottom { left: 1%; }.phone-frame--hero { width: min(285px, 76vw); }
    .civi-facts__grid > div { min-height: 95px; justify-content: flex-start; padding: 18px; }.civi-facts strong { font-size: 1.6rem; }
    .civi-path__grid { gap: 36px; }.path-steps li { padding: 19px; }
    .screen-gallery { grid-template-columns: 1fr; }.screen-card { grid-template-columns: minmax(150px, .72fr) 1fr; }.screen-card__phone { max-height: 390px; }
    .tool-grid { grid-template-columns: 1fr; }.tool-grid article { min-height: auto; }
    .language-list { grid-template-columns: 1fr; }.language-list li:last-child { grid-column: auto; }
    .edition-mark { margin: 0 auto; }.civi-faq__grid { gap: 32px; }
    .civi-download__panel { grid-template-columns: 1fr; border-radius: 25px; }.civi-download__panel .store-options { grid-column: auto; }.store-options--compact { flex-direction: column; }.civi-download__panel > img { width: 88px; height: 88px; }
}
@media (max-width: 430px) {
    .civi-hero__visual { min-height: 490px; }.phone-frame { border-width: 7px; border-radius: 43px; }.phone-frame__speaker { top: 8px; width: 70px; height: 21px; }
    .hero-seal { width: 84px; height: 84px; border-width: 4px; }.hero-seal strong { font-size: 1.35rem; }.hero-seal span { font-size: .54rem; }
    .civi-facts__grid { grid-template-columns: 1fr; }.civi-facts__grid > div { border-right: 0; border-bottom: 1px solid var(--civi-line); }.civi-facts__grid > div:last-child { border-bottom: 0; }
    .screen-card { grid-template-columns: 1fr; }.screen-card__phone { max-height: 470px; }.screen-card > div:last-child { padding-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .civi-back span, .store-link, .civi-text-link span, .faq-list summary span { transition: none; }
}
