/* Expato's own look (since 26 Nov 2026): coral -> pink -> violet gradient, light pages with night-violet bands
   (homepage hero, photo heroes, footer), real city photos with credits, system fonts. Light theme only: no dark mode.
   --grad is for buttons and the wordmark (white text passes WCAG AA on every stop); --grad-bright is decoration only
   (never under text); --brand is the solid colour for links and small text. */
:root {
  --brand: #b8286e; --brand-ink: #ffffff; --brand-soft: #fce8f1; --brand-dark: #9a1f5b; --violet: #6a45e0; --violet-soft: #efebff;
  --grad: linear-gradient(120deg, #d63a30 0%, #c42e63 48%, #6a45e0 100%);
  --grad-bright: linear-gradient(120deg, #f2665a 0%, #d9468f 45%, #7b5cf0 80%, #5b7bff 100%);
  --grad-soft: linear-gradient(135deg, #fff1ee 0%, #fbeaf3 50%, #efebff 100%);
  --night: #150d2b; --night-2: #231743; --night-line: rgba(255,255,255,.14);
  --ink: #0f0a1e; --muted: #514a63; --line: #e7e3ef; --bg: #ffffff; --sunk: #f7f5fb; --warn: #92400e; --bad: #b91c1c; --ok: #0f7b4f;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 20px; --r-sm: 14px; --wrap: 1180px;
  --shadow: 0 1px 2px rgba(21,13,43,.05), 0 8px 28px -14px rgba(21,13,43,.22);
  --shadow-lg: 0 2px 4px rgba(21,13,43,.06), 0 24px 60px -24px rgba(21,13,43,.35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.55 var(--font); letter-spacing: -.011em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 720; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 5.6vw, 66px); letter-spacing: -.045em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: 17px; font-weight: 650; margin: 0 0 .3em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; top: 12px; inset-inline-start: 12px; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 60; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
[hidden] { display: none !important; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; height: 66px; position: relative; }
.logo { font-weight: 820; font-size: 27px; letter-spacing: -.055em; color: var(--brand); text-decoration: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; padding-bottom: 3px; }
.logo:hover { opacity: .85; }
.nav { display: flex; gap: 4px; margin-left: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 520; padding: 8px 11px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sunk); color: var(--ink); }
.top-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; min-width: 210px; padding: 0 12px; border: 1px solid var(--line); background: var(--sunk); border-radius: 999px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.search-btn:hover { border-color: #d6cfe3; background: #f1eef8; }
.search-btn svg, .acct-btn svg, .ico { width: 17px; height: 17px; flex: none; }
.search-btn kbd { margin-left: auto; font: 12px var(--font); border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 1px 6px; color: var(--muted); }
.acct-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); white-space: nowrap; }
.acct-btn:hover { border-color: #cfc6e0; }
.acct-menu { position: absolute; right: 22px; top: 62px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg); display: grid; gap: 4px; min-width: 230px; z-index: 40; }
.acct-menu .meta { padding: 6px 10px 8px; margin: 0; border-bottom: 1px solid var(--line); }
.acct-menu a, .acct-menu button { display: block; text-align: left; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; font-size: 15px; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--sunk); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; height: 38px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 1080px) { .search-btn { min-width: 0; } .search-btn .lbl, .search-btn kbd { display: none; } }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; margin: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 14px 16px; border-bottom: 1px solid var(--line); gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { font-size: 17px; padding: 11px 12px; }
  .top-tools .btn-primary { display: none; }
}
@media (max-width: 420px) { .acct-btn span { display: none; } .acct-btn { padding: 0 11px; } }

/* ---------- search dialog ---------- */
.search-dlg { border: 0; padding: 0; border-radius: 22px; width: min(640px, calc(100% - 24px)); margin: 10vh auto auto; box-shadow: var(--shadow-lg); }
.search-dlg::backdrop { background: rgba(21,13,43,.45); backdrop-filter: blur(3px); }
.search-box { position: relative; }
.search-box .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 20px 20px 48px; font-size: 19px; }
.search-box input:focus { outline: none; }
.results { list-style: none; margin: 0; padding: 8px; max-height: 60vh; overflow: auto; }
.results li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.results li a:hover, .results li a[aria-selected="true"] { background: var(--sunk); }
.results .r-kind { font-size: 12px; font-weight: 650; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 2px 9px; }
.results .r-kind.k-country { color: #4b33b8; background: var(--violet-soft); }
.results .r-kind.k-page { color: var(--muted); background: var(--sunk); }
.results .r-sub { color: var(--muted); font-size: 14px; margin-left: auto; text-align: right; }
.results .empty { padding: 14px 12px; color: var(--muted); }
.search-hint { font-size: 13px; color: var(--muted); padding: 10px 20px 14px; border-top: 1px solid var(--line); margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font: inherit; font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; line-height: 1.2; white-space: nowrap; }
.btn-primary { background: var(--grad); color: var(--brand-ink); box-shadow: 0 8px 22px -10px rgba(196,46,99,.7); }
.btn-primary:hover { background: var(--grad); filter: brightness(.93); color: var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #d9d3e5; }
.btn-ghost:hover { background: var(--sunk); color: var(--ink); border-color: #c9c0da; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-danger { background: #fff; color: var(--bad); border-color: #f1c4c4; }
.btn-danger:hover { background: #fff5f5; color: var(--bad); }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* ---------- heroes ---------- */
.hero { position: relative; padding: 64px 0 56px; background: var(--grad-soft); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-bright); }
.hero .lede { font-size: clamp(18px, 2.1vw, 22px); color: #2a2340; max-width: 720px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-sm { padding: 40px 0 44px; }
.hero-sm h1 { font-size: clamp(34px, 4.8vw, 56px); }
.hero .checked { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }

/* night hero with a city photo (city guides and country pages) */
.hero-photo { background: var(--night); color: #fff; padding: 56px 0 52px; min-height: 420px; display: flex; align-items: flex-end; }
.hero-photo > img, .hero-photo > .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-photo > .hero-bg { background: radial-gradient(60% 80% at 85% 10%, rgba(123,92,240,.55), transparent 60%), radial-gradient(50% 70% at 10% 100%, rgba(214,58,48,.45), transparent 60%), var(--night); }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,13,43,.25) 0%, rgba(21,13,43,.55) 45%, rgba(21,13,43,.92) 100%); }
.hero-photo .wrap { position: relative; z-index: 2; width: 100%; }
.hero-photo::after { z-index: 2; }
.hero-photo h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-photo h1 .grad { background: linear-gradient(120deg, #ff8a7a, #f272b0 45%, #a996ff); -webkit-background-clip: text; background-clip: text; }
.hero-photo .lede { color: rgba(255,255,255,.9); }
.hero-photo .eyebrow { color: #ffb3cf; }
.hero-photo .crumbs, .hero-photo .crumbs a, .hero-photo .checked { color: rgba(255,255,255,.78); }
.hero-photo .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.hero-photo .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.photo-credit { position: absolute; right: 14px; top: 10px; z-index: 2; font-size: 11.5px; color: rgba(255,255,255,.7); margin: 0; }
.photo-credit a { color: rgba(255,255,255,.85); }

/* homepage hero */
.home-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: 72px 0 84px; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 65% at 78% 30%, rgba(123,92,240,.5), transparent 72%), radial-gradient(40% 55% at 8% 100%, rgba(214,58,48,.38), transparent 72%); pointer-events: none; }
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-bright); }
.home-hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.home-hero h1 { color: #fff; font-size: clamp(40px, 5.8vw, 72px); }
.home-hero h1 .grad { background: linear-gradient(120deg, #ff8a7a, #f272b0 45%, #a996ff); -webkit-background-clip: text; background-clip: text; }
.home-hero .lede { color: rgba(255,255,255,.86); font-size: clamp(18px, 2vw, 21px); max-width: 600px; }
.home-hero .eyebrow { color: #ffb3cf; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 560px; margin-top: 26px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); cursor: text; border: 0; width: 100%; font: inherit; text-align: left; }
.hero-search .ico { color: var(--muted); width: 20px; height: 20px; }
.hero-search .ph { flex: 1; color: var(--muted); font-size: 17px; }
.hero-search .btn { padding: 12px 20px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.75); align-items: center; }
.hero-quick a { color: #fff; text-decoration: none; border: 1px solid var(--night-line); background: rgba(255,255,255,.06); border-radius: 999px; padding: 5px 12px; }
.hero-quick a:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--night-line); }
.hero-stats div { display: grid; }
.hero-stats strong { font-size: 30px; font-weight: 760; letter-spacing: -.04em; line-height: 1.1; }
.hero-stats span { font-size: 14px; color: rgba(255,255,255,.7); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px 170px; gap: 12px; }
.mosaic a { position: relative; border-radius: 20px; overflow: hidden; display: block; box-shadow: 0 20px 50px -24px rgba(0,0,0,.7); }
.mosaic a:first-child { grid-row: span 2; }
.mosaic a:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.mosaic a::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.mosaic span { z-index: 1; }
@media (max-width: 960px) {
  .home-hero .wrap { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: 130px 130px 130px; }
}
@media (max-width: 560px) { .mosaic { display: none; } .home-hero { padding: 48px 0 56px; } }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.tight { padding: 44px 0; }
.section.alt { background: var(--sunk); }
.section .intro { font-size: 19px; color: var(--muted); max-width: 720px; margin-bottom: 30px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.sec-head h2, .sec-head .intro { margin-bottom: 0; }
.sec-head .intro { margin-top: 8px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.grid-3 { display: grid; gap: 18px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: #e9c6da; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .tag, .tag { display: inline-block; font-size: 12px; font-weight: 650; background: var(--brand-soft); color: var(--brand-dark); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag.later { background: var(--violet-soft); color: #4b33b8; }
.tag.live { background: #e3f6ec; color: var(--ok); }
.link-card { display: block; color: var(--ink); text-decoration: none; }
.link-card:hover { color: var(--ink); transform: translateY(-2px); }
.link-card h3 { color: var(--ink); }
.link-card .more { color: var(--brand); font-weight: 650; font-size: 15px; }
.feature .ico-tile { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.feature .ico-tile svg { width: 24px; height: 24px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 54px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps-h { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.steps-h li { padding: 58px 0 0; }
.steps-h li::before { top: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 15px; font-size: 15px; }
.pills a { text-decoration: none; }
.pills-h { margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 13px; height: 7px; border-left: 2.5px solid #c42e63; border-bottom: 2.5px solid var(--violet); transform: rotate(-45deg); }
.note { font-size: 14px; color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }

/* ---------- city and country cards ---------- */
.cities { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.cities.big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.city-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--night); box-shadow: var(--shadow); isolation: isolate; }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; z-index: -2; }
.city-card:hover img { transform: scale(1.05); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,13,43,0) 35%, rgba(21,13,43,.85) 100%); z-index: -1; }
.city-card.no-photo { background: radial-gradient(70% 90% at 90% 0%, rgba(123,92,240,.85), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(214,58,48,.75), transparent 60%), linear-gradient(135deg, #3a1d4f, var(--night)); }
.city-card.no-photo::before { content: attr(data-initial); position: absolute; right: 14px; top: 6px; font-size: 76px; font-weight: 800; letter-spacing: -.06em; color: rgba(255,255,255,.12); line-height: 1; }
.city-card .cc-body { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.city-card h3 { color: #fff; font-size: 21px; margin: 0; }
.city-card .cc-sub { font-size: 14px; color: rgba(255,255,255,.82); }
.city-card .cc-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.city-card .cc-chips span { font-size: 11.5px; font-weight: 650; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 1px 8px; backdrop-filter: blur(4px); }
.city-card:hover { color: #fff; }
.city-card.sm { aspect-ratio: 3 / 2; }
.city-card.sm h3 { font-size: 18px; }
.country-block { margin-bottom: 44px; }
.country-block .cb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.country-block h3 { font-size: 26px; margin: 0; }
.country-block .cb-head a { font-weight: 650; font-size: 15px; }
.region-h { font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin: 8px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.country-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.country-tile { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 650; }
.country-tile:hover { border-color: #e9c6da; box-shadow: var(--shadow); color: var(--ink); }
.country-tile span { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.country-tiles + .region-h { margin-top: 30px; }

/* ---------- forms ---------- */
.tabs { display: inline-flex; background: var(--sunk); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.tabs button { border: 0; background: none; font: inherit; font-size: 15px; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); font-weight: 650; color: var(--brand); }
.form { display: grid; gap: 14px; max-width: 680px; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .lbl { font-size: 14px; font-weight: 650; }
input, select, textarea { font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid #cfc8dd; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); outline: 3px solid rgba(106,69,224,.18); outline-offset: 0; }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: auto; margin-top: 4px; accent-color: #c42e63; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-err, .auth-err { color: var(--bad); font-size: 15px; min-height: 1px; }
.form-ok { background: var(--grad-soft); border: 1px solid #f3c3d8; border-radius: var(--r); padding: 18px 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }

/* ---------- sign-up dialog ---------- */
.auth-dlg { border: 0; border-radius: 22px; padding: 0; max-width: 460px; width: calc(100% - 24px); box-shadow: var(--shadow-lg); }
.auth-dlg::backdrop { background: rgba(21,13,43,.45); backdrop-filter: blur(3px); }
.auth-box { padding: 30px 26px 24px; position: relative; }
.auth-box h2 { font-size: 28px; }
.auth-box .stack { display: grid; gap: 12px; }
.dlg-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 26px; cursor: pointer; line-height: 1; color: var(--muted); }
.auth-switch { font-size: 15px; margin: 14px 0 0; }
.meta { color: var(--muted); font-size: 15px; }
.g-or { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0; }

/* ---------- legal and plain pages ---------- */
.page { padding: 52px 0 80px; }
.page .wrap { max-width: 800px; }
.page h2 { font-size: 26px; margin-top: 1.6em; }
.page li { margin-bottom: .4em; }
body.plain { background: var(--sunk); min-height: 100vh; display: grid; place-items: center; }
.narrow { max-width: 440px; margin: 16px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: rgba(255,255,255,.72); padding: 64px 0 36px; font-size: 14.5px; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-bright); }
.foot a { color: rgba(255,255,255,.82); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot h3 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot .logo { font-size: 30px; background: linear-gradient(120deg, #ff8a7a, #f272b0 45%, #a996ff); -webkit-background-clip: text; background-clip: text; }
.foot-brand p { margin: 12px 0 0; max-width: 340px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--night-line); font-size: 13.5px; }
.foot .disclaimer { margin: 0; max-width: 720px; }

/* ---------- guide pages ---------- */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.wrap.narrowish { max-width: 860px; }
.quick { position: relative; z-index: 2; margin-top: -34px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick-grid > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.quick-grid > div:last-child { border-right: 0; }
.quick-grid dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.quick-grid dd { margin: 0; font-size: 17px; font-weight: 650; }
.quick-grid dd a { text-decoration: none; }
@media (max-width: 700px) { .quick-grid > div { border-right: 0; border-bottom: 1px solid var(--line); } }
.toc { position: sticky; top: 66px; z-index: 20; background: rgba(255,255,255,.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.toc .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.toc a { flex: none; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.toc a:hover { border-color: #e2b6cc; color: var(--brand); }
.facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.facts li { background: #fff; border: 1px solid var(--line); border-left: 4px solid #c42e63; border-radius: 14px; padding: 15px 18px; }
.facts li p { margin: 0; }
.src { font-size: 13px; color: var(--muted); margin: 6px 0 0 !important; }
.src a { color: var(--brand); }
.phase { margin: 28px 0 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.steps-sm li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 18px 15px 62px; }
.steps-sm li::before { left: 16px; top: 15px; width: 30px; height: 30px; font-size: 14px; }
.steps-sm li p { margin: 0 0 .4em; }
.steps-sm li.origin { border-color: #d8ccff; background: #faf8ff; }
.sub { margin-top: 10px; padding: 11px 13px; background: var(--grad-soft); border-radius: 12px; }
.sub p { margin: 0 0 .3em; font-size: 15px; }
.fee { font-weight: 650; }
.doclist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.doclist li { border-bottom: 1px solid var(--line); padding: 9px 0 11px; }
.doclist .tag, .plan-sec .tag { display: inline-block; font-size: 12px; font-weight: 650; background: var(--brand-soft); color: var(--brand-dark); padding: 2px 9px; border-radius: 999px; margin: 0 0 0 6px; vertical-align: 2px; }
.callout { background: var(--grad-soft); border: 1px solid #f3c3d8; border-radius: 14px; padding: 15px 18px; margin: 0 0 18px; }
.callout p { margin: 0; }
.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; background: var(--night); color: #fff; border-radius: 26px; padding: 36px 38px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 100%, rgba(123,92,240,.6), transparent 70%), radial-gradient(35% 90% at 0% 0%, rgba(214,58,48,.4), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: .25em; color: #fff; }
.cta-band p { margin: 0; max-width: 580px; color: rgba(255,255,255,.82); }
.srclist { padding-left: 22px; font-size: 15px; }
.srclist li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.fees, table.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
.fees th, .fees td, .cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees thead th, .cmp thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--sunk); }
.fees tbody th, .cmp tbody th { font-weight: 650; }
.fees .fee-note td { font-size: 14px; color: var(--muted); padding-top: 0; }
.fees tr:last-child td, .cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 650; }
.no { color: var(--muted); }

/* ---------- move plan tool ---------- */
.plan-grid { display: grid; grid-template-columns: 350px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-form { position: sticky; top: 84px; display: grid; gap: 18px; }
@media (max-width: 900px) { .plan-form { position: static; } }
.plan-form fieldset { border: 0; padding: 0; margin: 0; }
.plan-form legend { font-size: 14px; font-weight: 650; margin-bottom: 8px; padding: 0; }
.plan-form .note { margin: 4px 0 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; border: 1px solid #cfc8dd; border-radius: 999px; padding: 7px 14px; font-size: 15px; background: #fff; }
.seg input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.seg input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.kids { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; }
.kids select { width: auto; }
.plan-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.plan-sec { margin-top: 32px; }
.plan-sec > h3 { font-size: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.plan-sec .count, .count { font-size: 13.5px; font-weight: 650; color: var(--brand-dark); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.doc-check .check { font-size: 16px; }
.step-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: 14px; color: var(--muted); }
.step-check input { width: auto; accent-color: #c42e63; margin-top: 3px; }
.steps-sm li.done { background: #f6fbf8; border-color: #cfe9db; }
.steps-sm li.done::before { background: var(--ok); content: "✓"; }
.own { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.own label { font-size: 14px; font-weight: 650; }
.own label a { font-weight: 400; margin-left: 4px; }
.total { font-size: 19px; margin-top: 14px; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }
.plan-actions .note { flex-basis: 100%; margin: 4px 0 0; }
.progress { display: grid; gap: 6px; margin: 16px 0 4px; }
.bar { height: 9px; background: #eee9f5; border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 999px; transition: width .3s; }
.progress-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.date-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin-top: 14px; }
.date-row .field { max-width: 220px; }
.countdown { font-weight: 650; color: var(--brand-dark); }
.saved { font-size: 13px; color: var(--ok); font-weight: 600; }

/* ---------- my move ---------- */
.mm-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.mm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mm-card .city-card { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 7; }
.mm-body { padding: 18px 20px 20px; display: grid; gap: 10px; flex: 1; }
.mm-body p { margin: 0; }
.mm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.empty-state { text-align: center; padding: 48px 24px; background: var(--sunk); border: 1px dashed #d6cfe3; border-radius: var(--r); }
.acct-panel { display: grid; gap: 14px; }
.acct-panel dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.acct-panel dt { color: var(--muted); }
.acct-panel dd { margin: 0; font-weight: 600; }
.confirm-box { border: 1px solid #f1c4c4; background: #fff8f8; border-radius: 14px; padding: 16px; display: grid; gap: 10px; }

/* ---------- tools ---------- */
.tool-grid { display: grid; grid-template-columns: 350px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-form { position: sticky; top: 84px; display: grid; gap: 16px; }
@media (max-width: 900px) { .tool-form { position: static; } }
.big-total { font-size: clamp(34px, 5vw, 52px); font-weight: 780; letter-spacing: -.045em; line-height: 1; margin: 6px 0 8px; }
.sum-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; margin: 18px 0 8px; }
.sum-cards > div { background: var(--sunk); border-radius: 16px; padding: 16px 18px; }
.sum-cards span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.sum-cards strong { font-size: 24px; letter-spacing: -.03em; }
.cmp-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .cmp-pick { grid-template-columns: 1fr; } }
.cmp th[scope="col"] { min-width: 200px; }
.cmp thead th { font-size: 15px; text-transform: none; letter-spacing: -.01em; color: var(--ink); }
.cmp thead th a { text-decoration: none; }
.cmp tbody th { width: 190px; font-size: 14px; color: var(--muted); }
.cmp td .src { font-size: 12px; }

/* ---------- India page: country comparison ---------- */
.city-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.city-row { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.city-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.city-head h3 { margin: 0 8px 0 0; }
.city-row .tag { margin: 0; }
.city-row .tag.warn { background: #fef3c7; color: var(--warn); }
.city-row p { margin: 0 0 .4em; }

/* ---------- photo credits ---------- */
.credits { columns: 2 280px; column-gap: 32px; padding-left: 20px; }
.credits li { break-inside: avoid; margin-bottom: 8px; }

@media print {
  .top, .foot, .toc, .plan-form, .tool-form, .plan-actions, .hero .ctas, .cta-band, .skip, .photo-credit { display: none !important; }
  .plan-grid, .tool-grid { display: block; }
  .hero, .hero-photo { background: none; color: var(--ink); padding: 0; min-height: 0; }
  .hero-photo > img, .hero-photo::before, .hero-photo > .hero-bg { display: none; }
  .hero-photo h1, .hero-photo .lede { color: var(--ink); text-shadow: none; }
  .hero::after { display: none; }
  a { color: inherit; }
}
@media (max-width: 600px) {
  .cities, .cities.big { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-card { aspect-ratio: 4 / 5; border-radius: 16px; }
  .city-card.sm { aspect-ratio: 1; }
  .city-card .cc-chips { display: none; }
  .city-card h3 { font-size: 17px; }
  .city-card .cc-body { left: 12px; right: 12px; bottom: 10px; }
  .city-card .cc-sub { font-size: 12.5px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo { min-height: 0; }
  .section { padding: 52px 0; }
}

/* ---------- other languages (/ar/ right to left, /fr/, /pt/) ---------- */
.lang-note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.foot .langs a[aria-current="page"] { color: #fff; font-weight: 650; }
[dir="rtl"] body, [dir="rtl"] { letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .steps li { padding-left: 0; padding-right: 54px; }
[dir="rtl"] .steps li::before { left: auto; right: 0; }
[dir="rtl"] .checks li { padding-left: 0; padding-right: 32px; }
[dir="rtl"] .checks li::before { left: auto; right: 4px; }
[dir="rtl"] .hero-search { padding: 6px 20px 6px 6px; text-align: right; }
[dir="rtl"] .city-card.no-photo::before { right: auto; left: 14px; }
[dir="rtl"] .mosaic span { left: auto; right: 12px; }
[dir="rtl"] .acct-menu { right: auto; left: 22px; }
[dir="rtl"] .search-btn kbd { margin-left: 0; margin-right: auto; }

/* "How to do this" under each step (tools/howto.py) */
.howto { margin-top: 10px; border: 1px solid var(--line, #e6e1ef); border-radius: 12px; background: #fff; }
.howto summary { cursor: pointer; padding: 9px 13px; font-weight: 600; font-size: 15px; color: #b8286e; list-style: none; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 700; }
.howto[open] summary::before { content: "–"; }
.howto-body { padding: 0 14px 12px; }
.howto-body h5 { margin: 8px 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.howto-body ul { margin: 0 0 6px; padding-left: 1.2em; }
.howto-body li { font-size: 15px; margin: 3px 0; }
.steps .howto-body li, .steps-sm .howto-body li { counter-increment: none; position: static; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; list-style: disc; }
.steps .howto-body li::before { content: none; }
.stage-list { display: grid; gap: 22px; counter-reset: st; }
.stage { padding: 22px 24px; background: #fff; border-radius: 18px; box-shadow: 0 1px 3px rgba(21,13,43,.08); }
.stage h2 { margin-top: 0; }
.stage h2 .num { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 10px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 18px; vertical-align: middle; }
.stage .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .stage .cols { grid-template-columns: 1fr; } }
[dir="rtl"] .steps .howto-body li { padding-right: 0; }
