/* CivilStack website — civilstack.net (always light, like the app's light mode)
   Layout idea: a calm engineering sheet — navy ink on cool paper, a green "pass" accent, ruled hairlines,
   real calculation output as the one decorative detail. */
:root {
  --paper: #f4f6fb;
  --surface: #ffffff;
  --ink: #111c3d;
  --muted: #56607a;
  --line: #dde3ef;
  --brand: #1c3078;
  --brand-2: #2a44a8;
  --green: #1f9d63;
  --green-soft: #e3f4ec;
  --band: #14235a;
  --band-ink: #eef2ff;
  --shadow: 0 1px 2px rgba(17, 28, 61, .06), 0 10px 30px rgba(17, 28, 61, .08);
  --f-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --r: 14px;
  --wrap: 1180px;
  color-scheme: light;
}
html[lang="ar"] { --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; --f-display: "IBM Plex Sans Arabic", "Archivo", Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.6 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 99; }
.skip:focus { inset-inline-start: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 11px; font: 600 15.5px/1.2 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s, background .12s, color .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: #14235a; }
.btn-light:hover { color: #14235a; background: #e8edff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 1.22rem/1 "Archivo", var(--f-body); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand .mark { width: 30px; height: 30px; }
.brand.big { font-size: 2rem; }
.brand.big .mark { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 4px 16px; margin-inline-start: auto; flex-wrap: nowrap; white-space: nowrap; }
.nav > a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav > a[aria-current="page"] { border-color: var(--green); }
.nav > a:hover { color: var(--brand); }
.nav > a.btn { color: #fff; border-bottom: 0; padding: 8px 14px; }
.langs { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 9px; padding: 2px; background: var(--surface); }
.langs a { font-size: 13px; padding: 4px 8px; border-radius: 7px; text-decoration: none; color: var(--muted); }
.langs a[aria-current="true"] { background: var(--brand); color: #fff; }
.menu-btn { display: none; margin-inline-start: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font: 600 14px var(--f-body); color: var(--ink); }
@media (max-width: 1200px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; white-space: normal; position: absolute; inset-inline: 0; top: 66px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; flex-direction: column; align-items: stretch; gap: 4px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav > a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .langs { align-self: flex-start; margin: 10px 0; }
}

/* hero */
.hero { padding: 56px 0 30px; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.kicker { font-weight: 600; color: var(--green); font-size: 14px; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="ar"] .kicker { text-transform: none; letter-spacing: 0; font-size: 15px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.hero-vis { position: relative; }
.hero-vis img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calcsheet { position: absolute; inset-inline-start: -26px; bottom: -26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; width: min(420px, 86%); direction: ltr; }
.cs-cell { padding: 9px 12px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12.5px; line-height: 1.35; }
.cs-cell span { display: block; color: var(--muted); }
.cs-cell b { font-weight: 500; color: var(--ink); }
.cs-cell:nth-child(2n) { border-inline-end: 0; }
.cs-cell:nth-last-child(-n+2) { border-bottom: 0; }
.cs-cell:last-child b { color: var(--green); font-weight: 600; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 40px; } .calcsheet { inset-inline-start: 10px; bottom: -22px; } }

.codes { padding: 34px 0 6px; }
.codes-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 14px; }
.codes-l { font-size: 13px; color: var(--muted); font-weight: 600; }
.codes ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font: 500 14px var(--f-mono); color: var(--ink); direction: ltr; }
.stats-s { padding: 22px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat b { display: block; font: 800 2.2rem/1 "Archivo", var(--f-body); color: var(--brand); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sections */
.sec { padding: 64px 0; }
.sec.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-h { max-width: 760px; margin-bottom: 30px; }
.sec-h p { color: var(--muted); font-size: 1.05rem; }
.more { margin-top: 22px; font-weight: 600; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.area p { color: var(--muted); font-size: 15px; margin: 0; }
.ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 14px; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.flow.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow li { padding: 0 18px 0 0; border-top: 2px solid var(--line); position: relative; padding-top: 22px; }
html[dir="rtl"] .flow li { padding: 22px 0 0 18px; }
.flow .n { position: absolute; top: -15px; inset-inline-start: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 14px/28px var(--f-body); text-align: center; }
.flow p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .flow, .flow.four { grid-template-columns: 1fr 1fr; row-gap: 34px; } }
@media (max-width: 560px) { .flow, .flow.four { grid-template-columns: 1fr; } }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shot { margin: 0; }
.shot img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.shot figcaption b { color: var(--ink); display: block; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }
.whys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.why { border-inline-start: 3px solid var(--green); padding-inline-start: 16px; }
.why p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .whys { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .whys { grid-template-columns: 1fr; } }
.band { background: var(--band); color: var(--band-ink); padding: 54px 0; }
.band-in { display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: #fff; }
.band p { color: #c7d0f0; max-width: 60ch; margin: 0; }

/* page heads */
.phead { padding: 54px 0 26px; }
.phead .lead { max-width: 70ch; }
.sp { height: 60px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding-bottom: 20px; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.col h2 { margin-top: 1.2em; }
.col h2:first-child { margin-top: 0; }
.ticks, .dots { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticks li, .dots li { position: relative; padding-inline-start: 28px; margin-bottom: 9px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .45em; width: 13px; height: 7px; border-left: 2.2px solid var(--green); border-bottom: 2.2px solid var(--green); transform: rotate(-45deg); }
.dots li::before { content: ""; position: absolute; inset-inline-start: 6px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* features */
.feats { display: grid; gap: 30px; padding-bottom: 60px; }
.feat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.feat:nth-child(even) .feat-txt { order: 2; }
.feat-img { margin: 0; }
.feat-img img { border-radius: 10px; border: 1px solid var(--line); }
.feat .ticks li { font-size: 15.5px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; padding: 22px; } .feat:nth-child(even) .feat-txt { order: 0; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.plan .sub { color: var(--muted); font-size: 14.5px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 3px; direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .price { justify-content: flex-end; }
.price .cur { font-size: 1.2rem; color: var(--muted); }
.price b { font: 800 2.6rem/1 "Archivo", var(--f-body); font-variant-numeric: tabular-nums; }
.price b.q { font-size: 1.7rem; }
.price .per { color: var(--muted); font-size: 14px; margin-inline-start: 4px; }
.billed { color: var(--muted); font-size: 13px; margin: 4px 0 6px; }
.fprice { font-size: 13.5px; background: var(--green-soft); color: var(--ink); border-radius: 8px; padding: 6px 10px; margin-bottom: 16px; }
.fprice b { color: var(--green); unicode-bidi: isolate; direction: ltr; display: inline-block; }
.fprice.none { background: none; }
.plan .ticks { flex: 1; font-size: 15px; }
@media (max-width: 1020px) { .plans { grid-template-columns: 1fr 1fr; row-gap: 26px; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.fbox { margin-top: 30px; background: var(--band); color: var(--band-ink); border-radius: 18px; padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; align-items: center; }
.fbox h2 { color: #fff; margin: 0; }
.fbox p { color: #c7d0f0; margin: 0; grid-column: 1; }
.fbox .btn { grid-column: 2; grid-row: 1 / span 2; background: #fff; color: #14235a; }
@media (max-width: 700px) { .fbox { grid-template-columns: 1fr; } .fbox .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; } }
.notes { color: var(--muted); font-size: 14px; margin-top: 20px; padding-inline-start: 18px; }

/* founding / partners */
.seats { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.seats b { font: 800 3.4rem/1 "Archivo", var(--f-body); color: var(--green); }
.seats span { color: var(--muted); }
.card-f { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 90px; }
@media (max-width: 900px) { .card-f { position: static; } }
.pnums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pnum { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pnum b { display: block; font: 800 2.4rem/1.1 "Archivo", var(--f-body); color: var(--brand); margin-bottom: 6px; }
html[lang="ar"] .pnum b { font-family: var(--f-display); }
.pnum span { color: var(--muted); }
@media (max-width: 700px) { .pnums { grid-template-columns: 1fr; } }
.example { background: var(--green-soft); border-radius: 14px; padding: 18px 20px; }
.example p { margin: 0; }

/* forms */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 5px; }
.fld-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.fld label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.fld .err { border-color: #c2413b; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.form-msg { margin: 0; font-size: 14px; color: var(--muted); flex: 1; min-width: 200px; }
.form-msg.ok { color: var(--green); }
.form-msg.bad { color: #c2413b; }

/* about, faq, legal */
.prose p { font-size: 1.05rem; max-width: 66ch; }
.facts { margin: 0 0 24px; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding-bottom: 6px; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }

/* footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 18px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 12px; max-width: 34ch; }
.f-h { font: 600 13px var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
html[lang="ar"] .f-h { text-transform: none; letter-spacing: 0; font-size: 14px; }
.foot-in a { display: block; color: var(--ink); text-decoration: none; font-size: 14.5px; padding: 3px 0; }
.foot-in a:hover { color: var(--brand); }
.foot-in .brand { display: inline-flex; }
.f-langs { display: flex; gap: 12px; margin-top: 10px; }
.f-langs a { display: inline; color: var(--muted); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .foot-in { grid-template-columns: 1fr 1fr; } }

/* language picker (root) */
.pick { min-height: 100vh; display: grid; place-items: center; }
.pick-in { text-align: center; padding: 40px 20px; }
.pick-tag { color: var(--muted); margin: 10px 0 30px; }
.picks { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.lp { display: flex; flex-direction: column; gap: 4px; min-width: 180px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.lp b { font-size: 1.2rem; }
.lp span { color: var(--muted); font-size: 14px; }
.lp:hover { border-color: var(--brand); }

/* ---- detailed site additions ---- */
.stats.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .stats.six { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; } }
@media (max-width: 560px) { .stats.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rep { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.rep p { color: var(--muted); font-size: 1.05rem; }
.rep-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: r; }
.rep-l li { counter-increment: r; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.rep-l li::before { content: counter(r); min-width: 24px; height: 24px; border-radius: 7px; background: var(--green-soft); color: var(--green); font: 700 13px/24px var(--f-body); text-align: center; }
@media (max-width: 900px) { .rep { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .rep-l { grid-template-columns: 1fr; } }
.dives { display: grid; gap: 64px; }
.dive { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.dive:nth-child(even) .dive-txt { order: 2; }
.dn { display: inline-block; font: 600 13px var(--f-mono); color: var(--green); border: 1px solid var(--green); border-radius: 6px; padding: 2px 7px; margin-bottom: 12px; direction: ltr; }
.dive h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.dive-txt > p { color: var(--muted); }
.dive-img { position: relative; padding-bottom: 34px; }
.dive-img img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dive-img .inset { position: absolute; width: 46%; bottom: 0; inset-inline-end: -14px; border: 4px solid var(--surface); }
@media (max-width: 900px) { .dive { grid-template-columns: 1fr; gap: 24px; } .dive:nth-child(even) .dive-txt { order: 0; } .dive-img .inset { inset-inline-end: 8px; } }
.verify { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.verify p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 900px) { .verify { grid-template-columns: 1fr; } }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.role-sub { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 30px; position: sticky; top: 66px; z-index: 5; background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line); }
.jump a { font-size: 14px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }
.jump a span { color: var(--muted); font-variant-numeric: tabular-nums; margin-inline-start: 4px; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }
.mod-sec { scroll-margin-top: 140px; margin-bottom: 44px; }
.mod-sec h2 { display: flex; align-items: center; gap: 12px; }
.mod-sec h2 .ic { margin: 0; flex: none; }
.mod-sec h2 small { font: 500 14px var(--f-body); color: var(--muted); }
.mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mods li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.mods h3 { font-size: 1rem; margin-bottom: 4px; }
.mods p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mods { grid-template-columns: 1fr; } }
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ctab { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctab td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctab tr:last-child td { border-bottom: 0; }
.ctab td.code { color: var(--muted); font: 500 13px var(--f-mono); white-space: nowrap; text-align: end; direction: ltr; }
@media (max-width: 560px) { .ctab td.code { white-space: normal; } }
.mods.calcs h3 { font-size: .98rem; }
.mods .code { font: 500 12.5px/1.45 var(--f-mono); color: var(--muted); direction: ltr; text-align: start; margin-top: 4px; overflow-wrap: anywhere; }
[dir="rtl"] .mods .code { text-align: right; }
/* savings */
.save { background: var(--surface); border-block: 1px solid var(--line); }
.save-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.stab { width: 100%; border-collapse: collapse; font-size: 15px; }
.stab th { text-align: start; font-size: 13px; color: var(--muted); font-weight: 600; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.stab td { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.stab tr:last-child td { border-bottom: 0; }
.stab .num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.stab .num span { font-weight: 400; color: var(--muted); font-size: 13px; }
.save-calc { background: var(--band); color: #fff; border-radius: 18px; padding: 26px; display: grid; gap: 12px; }
.save-calc label { font-weight: 600; color: #c7d0f0; font-size: 14px; }
.su { display: flex; gap: 14px; align-items: center; }
.su input { flex: 1; accent-color: #3fc489; }
.su output { font: 800 1.6rem/1 "Archivo", var(--f-body); min-width: 2ch; text-align: center; }
.sv-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 10px; color: #c7d0f0; }
.sv-row b { color: #fff; font-variant-numeric: tabular-nums; }
.sv-row .sv-sep { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.5); }
.sv-big span { display: block; color: #c7d0f0; font-size: 14px; margin-top: 4px; }
.sv-big b { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1.1 "Archivo", var(--f-body); color: #3fc489; font-variant-numeric: tabular-nums; }
.sv-big small { color: #c7d0f0; font-size: 14px; }
.sv-big small span { display: inline; color: #fff; font-weight: 600; }
.sv-sep, .sv-cs, .sv-save, .sv-3y { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 900px) { .save-in { grid-template-columns: 1fr; } }

/* --- CivilStack Mobile and launch status (2026-11-23) --- */
.status { display: inline-flex; align-items: center; gap: 8px; background: var(--green-soft); color: #14603f; font-weight: 600; font-size: 13.5px; padding: 5px 12px; border-radius: 99px; margin: 0 0 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.notice { background: #fff7e6; border: 1px solid #f0d49a; color: #5a4312; border-radius: 12px; padding: 14px 18px; margin: 0 0 26px; font-size: 15px; }
.notice.soft { background: var(--surface); border-color: var(--line); color: var(--muted); margin: 22px 0 0; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.phones.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 470px; justify-self: center; width: 100%; }
.phones figure { margin: 0; }
.phone { border: 7px solid #111c3d; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.phone img { width: 100%; }
.phones figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.mob { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.mob-sec .mob { grid-template-columns: 1.1fr .9fr; }
.mob .btns { margin-top: 22px; }
.tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.tester-form { margin-top: 30px; max-width: 860px; }
@media (max-width: 900px) { .mob, .mob-sec .mob { grid-template-columns: 1fr; } .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
@media (max-width: 1440px) and (min-width: 1201px) { .nav { gap: 4px 12px; } .nav > a { font-size: 14.5px; } .langs a { padding-inline: 7px; } }
.hero { overflow-x: clip; }
