/* US website (RoadProf, 4 Dec 2026): what the Spanish copy did not have. Same blue and greys. */

/* text logo (no icon until there is a real logo) */
.logo .wm, .foot-brand .wm { font-size: 23px; }
.foot-brand .wm { font-size: 20px; }

/* language picker: a short code instead of a flag; the list holds links to / and /es */
.lang-code { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 4px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 40, 80, .14); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: var(--ink); }
.lang-menu a { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a.on { font-weight: 600; }
.lang-menu a.on::after { content: 'check'; font-family: 'Material Symbols Rounded'; margin-left: auto; color: var(--blue); font-size: 18px; }
.en-tag { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }

/* hero: a sample question in a soft tile instead of a photo */
.hero-q { position: relative; padding: 34px 30px; border-radius: 36px; background: var(--blue-soft); min-width: 0; }
.hero-q .q { background: #fff; border-radius: 26px; box-shadow: 0 18px 40px rgba(20, 40, 80, .12); border: 0; max-width: 520px; margin: 0 auto; }
.hero-q .q-media { aspect-ratio: 2 / 1; }
.hero-q .q-media img { object-fit: contain; background: #EEF2F7; }
.hero-q .same { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--text); text-align: center; }
.hero-q .same .ms { font-size: 18px; color: var(--blue); }
@media (max-width: 600px) { .hero-q { padding: 16px 12px; border-radius: 26px; } }

/* personal path: a drawn app screen in the phone (no screenshots yet) */
.ap { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 26px 14px 14px; background: #F4F7FB; font-size: 12.5px; color: var(--ink); }
.ap-top { display: flex; justify-content: space-between; align-items: center; }
.ap-top b { font-size: 15px; }
.ap-top span { font-size: 11px; font-weight: 600; color: var(--blue-d); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px; }
.ap-ready { background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 1px 0 var(--line); }
.ap-ready small { display: block; font-size: 11px; color: var(--muted); }
.ap-ready b { font-size: 22px; }
.ap-bar { height: 7px; border-radius: 4px; background: #E6EAF0; margin-top: 6px; overflow: hidden; }
.ap-bar i { display: block; height: 100%; width: 64%; background: var(--blue); border-radius: 4px; }
.ap-step { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 1px 0 var(--line); }
.ap-step .ms { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: var(--soft); color: var(--muted); flex: none; }
.ap-step.done .ms { background: var(--good-soft); color: var(--good); }
.ap-step.now { box-shadow: 0 0 0 2px var(--blue); }
.ap-step.now .ms { background: var(--blue); color: #fff; }
.ap-step b { display: block; font-size: 12.5px; font-weight: 600; }
.ap-step small { font-size: 11px; color: var(--muted); }

/* three state cards */
.state-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.state-card { border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.state-card:hover { border-color: #C9DDF2; box-shadow: 0 12px 28px rgba(20, 40, 80, .08); }
.state-card .st-code { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-d); font-weight: 700; font-size: 17px; }
.state-card b { font-size: 18px; font-weight: 600; }
.state-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.state-card li { display: flex; gap: 8px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.state-card li .ms { font-size: 18px; color: var(--good); margin-top: 1px; }
.state-card .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--blue-d); }
.state-card .more .ms { font-size: 18px; }
@media (max-width: 860px) { .state-grid { grid-template-columns: minmax(0, 1fr); } }

/* "by state" box inside a guide */
.by-state { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.by-state > div { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.by-state small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d); }
.by-state p { font-size: 15px !important; line-height: 1.55 !important; }
.doc .by-state b { color: var(--ink); }
@media (max-width: 700px) { .by-state { grid-template-columns: minmax(0, 1fr); } }
.same-all { display: flex; gap: 10px; align-items: flex-start; border-radius: 16px; background: var(--good-soft); padding: 14px 16px; }
.same-all .ms { color: var(--good); font-size: 22px; margin-top: 1px; }
.same-all p { font-size: 15.5px !important; color: #135E36 !important; }

/* pictures inside a guide */
.fig { margin: 0; border-radius: 18px; overflow: hidden; background: #EEF2F7; }
.fig img { display: block; width: 100%; height: auto; }
.fig figcaption { padding: 10px 14px 12px; font-size: 14px; color: var(--text); background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; }
.sign-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.sign-row img { height: 72px; width: auto; }
.vid-stage .vid-img[src$=".svg"] { object-fit: contain; background: #EEF2F7; }

/* sign pictures are PNGs of different shapes: keep them inside the box */
.sign .rs { width: 80px; height: 72px; }
.sign-big .rs { width: 130px; height: 130px; }
