/* PassportHut design system v2 (2026-10-25)
   Idea: the site is a travel document. Security-paper background, guilloche lines,
   passport navy ink, a teal "verified" colour and a stamp red for visa-required.
   Loaded after the legacy style.css on every page. */
:root{
  --ph-ink:#10233F; --ph-text:#34445A; --ph-muted:#617084;
  --ph-paper:#F3F5F1; --ph-card:#FFFFFF; --ph-line:#D8E0DA; --ph-line-2:#E7ECE8;
  --ph-teal:#1F6F66; --ph-teal-bg:#E5F1EE; --ph-blue:#0A5FC2; --ph-blue-dk:#084A97;
  --ph-red:#A8322D; --ph-red-bg:#FBEDEC; --ph-amber:#8A5800; --ph-amber-bg:#FFF4DF;
  --ph-display:"Bricolage Grotesque","IBM Plex Sans",system-ui,sans-serif;
  --ph-body:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --ph-mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  /* legacy names used by step-3 pages */
  --phc-navy:var(--ph-ink);--phc-blue:var(--ph-blue);--phc-ink:var(--ph-ink);--phc-muted:var(--ph-muted);--phc-line:var(--ph-line);--phc-soft:var(--ph-paper);--phc-green:var(--ph-teal)
}
html body{font-family:var(--ph-body);color:var(--ph-text);background:var(--ph-paper);-webkit-font-smoothing:antialiased}
body h1,body h2,body h3{font-family:var(--ph-display);color:var(--ph-ink);letter-spacing:-.01em}
:focus-visible{outline:3px solid #7FB3EE;outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------- Header ---------- */
.ph-topbar.topbar{position:sticky;top:0;z-index:50;height:auto;min-height:68px;display:flex;align-items:center;gap:20px;padding:10px clamp(16px,4vw,56px);background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(6px);border-bottom:1px solid var(--ph-line)}
.ph-topbar .brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex:0 0 auto;min-width:0}
.ph-topbar .brand-logo.image-logo{width:40px;height:40px;border:0;border-radius:0}
.ph-topbar .brand-logo img{width:100%;height:100%;object-fit:contain;display:block}
.ph-topbar .brand-copy b{font-family:var(--ph-display);font-size:22px;color:var(--ph-ink);font-weight:800;letter-spacing:-.02em}
.ph-topbar .brand-copy b span{color:var(--ph-blue)}
.ph-topbar .brand-copy small{font-size:10.5px;font-weight:600;color:var(--ph-muted);letter-spacing:0}
.ph-topbar .main-nav{flex:1;display:flex;justify-content:flex-end;gap:4px;font-size:14.5px;font-weight:500}
.ph-topbar .main-nav a{padding:9px 11px;border-radius:8px;color:var(--ph-ink);text-decoration:none;white-space:nowrap;border:0}
.ph-topbar .main-nav a:hover{background:var(--ph-paper)}
.ph-topbar .main-nav a.active{color:var(--ph-blue);border:0;background:#EAF2FC}
.ph-topbar .menu-toggle{display:none;margin-left:auto;border:1px solid var(--ph-line);background:#fff;color:var(--ph-ink);border-radius:9px;padding:8px 12px;font-size:15px;font-weight:600;font-family:var(--ph-body)}
@media(max-width:1100px){
  .ph-topbar .menu-toggle{display:block}
  .ph-topbar.topbar{flex-wrap:wrap}
  .ph-topbar .main-nav{display:none;order:3;flex:0 0 100%!important;width:100%;flex-direction:column;gap:0;padding:6px 0 4px;border-top:1px solid var(--ph-line-2)}
  .ph-topbar .main-nav.open{display:flex}
  .ph-topbar .main-nav a{padding:13px 4px!important;border-radius:0;border-bottom:1px solid var(--ph-line-2)}
  .ph-topbar .main-nav a.active{background:none}
}
@media(max-width:560px){.ph-topbar .brand-copy small{display:none}.ph-topbar .brand-copy b{font-size:20px}}

/* ---------- Footer ---------- */
.ph-footer.ph-footer-v2{background:var(--ph-ink)!important;color:#D5DEE8!important;padding:26px clamp(16px,4vw,56px) 18px!important;display:block!important;margin:0}
.ph-footer-v2 .ph-footer-row{display:flex;align-items:center;gap:22px;width:100%;flex-wrap:wrap;row-gap:14px}
.ph-footer-v2 .ph-footer-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;text-decoration:none}
.ph-footer-v2 .ph-footer-brand .brand-logo{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border:0!important;border-radius:0!important;background:none!important;padding:0!important}
.ph-footer-v2 .ph-footer-brand .brand-logo img{display:block;width:100%;height:100%;object-fit:contain}
.ph-footer-v2 .ph-footer-brand .brand-copy b{display:block;font-family:var(--ph-display);font-size:20px;line-height:1;color:#fff;font-weight:800}
.ph-footer-v2 .ph-footer-brand .brand-copy b span{color:#6FB0FF}
.ph-footer-v2 .ph-footer-brand .brand-copy small{display:block;margin-top:4px;font-size:10.5px;color:#9FB0C2;font-weight:500}
.ph-footer-v2 nav{display:flex!important;flex-wrap:wrap!important;gap:6px 18px!important;margin-left:auto!important}
.ph-footer-v2 nav a{color:#fff!important;font-size:13.5px;text-decoration:none;opacity:.9}
.ph-footer-v2 nav a:hover{opacity:1;text-decoration:underline}
.ph-footer-v2 .ph-footer-copy{color:#AFC0D0;font-size:12.5px}
.ph-footer-v2 .ph-footer-disclaimer{white-space:normal!important;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1);color:#9FB0C2;font-size:12.5px;line-height:1.55;max-width:900px}
@media(max-width:900px){.ph-footer-v2 nav{order:3;width:100%;margin-left:0!important}}

/* ---------- Page header (content pages) ---------- */
.ph-main{background:var(--ph-paper);min-height:60vh;display:block}
.result-hero{position:relative;background:var(--ph-paper) url(/assets/img/guilloche.svg) right -40px bottom -20px/720px auto no-repeat;color:var(--ph-ink);padding:clamp(34px,6vw,64px) clamp(16px,6vw,90px) clamp(26px,4vw,40px);border-bottom:1px solid var(--ph-line)}
.result-hero h1{margin:0 0 12px;font-size:clamp(32px,4.6vw,52px);line-height:1.05;letter-spacing:-.025em;color:var(--ph-ink);max-width:820px;font-weight:800}
.result-hero p{margin:0;max-width:680px;font-size:clamp(16px,1.6vw,18.5px);line-height:1.6;color:var(--ph-text)}
.result-hero .ph-eyebrow{display:inline-block;margin-bottom:12px;font-size:14px;font-weight:600;color:var(--ph-teal);letter-spacing:0;text-transform:none}
.result-wrap{padding:clamp(22px,4vw,40px) clamp(16px,6vw,90px) 64px}
.result-wrap>.content{max-width:1120px;margin:0 auto;background:var(--ph-card);border:1px solid var(--ph-line);border-radius:14px;padding:clamp(20px,3.4vw,40px);color:var(--ph-text);line-height:1.65}
.result-wrap>.content.bare{background:transparent;border:0;padding:0}
.content h2{font-size:clamp(22px,2.3vw,28px);line-height:1.2;margin:30px 0 10px;font-weight:700}
.content h2:first-child,.content>section:first-child h2{margin-top:0}
.content h3{font-size:19px;margin:18px 0 6px;font-weight:700}
.content p,.content li{color:var(--ph-text);font-size:16.5px;max-width:72ch}
.content a{color:var(--ph-blue);font-weight:600;text-underline-offset:3px}
.content ul,.content ol{padding-left:22px}
.content li{margin:4px 0}
.content label{display:block;font-weight:600;color:var(--ph-ink);font-size:14px}
.content input,.content select,.content textarea{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid #C9D4CD;border-radius:9px;font:inherit;font-size:15.5px;color:var(--ph-ink);background:#fff}
.content input:focus,.content select:focus,.content textarea:focus{outline:3px solid #BBD6F5;border-color:var(--ph-blue)}
.content button,.ph-btn2{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border:0;border-radius:9px;background:var(--ph-blue);color:#fff!important;font:inherit;font-weight:600;font-size:15.5px;cursor:pointer;text-decoration:none!important}
.content button:hover,.ph-btn2:hover{background:var(--ph-blue-dk)}
.content button.ph-light,.ph-btn2.ph-light{background:#E9F0F8;color:var(--ph-ink)!important}

/* cards, tags, lists */
.ph-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin:18px 0}
.ph-card2{display:block;background:var(--ph-card);border:1px solid var(--ph-line);border-radius:12px;padding:20px;text-decoration:none!important;color:var(--ph-text)!important;font-weight:400!important}
a.ph-card2:hover{border-color:var(--ph-blue)}
a.ph-card2:hover h3{text-decoration:underline;text-underline-offset:3px}
.ph-card2 h3{margin:6px 0 6px;font-size:19px;color:var(--ph-ink)}
.ph-card2 p{margin:0;color:var(--ph-muted);font-size:15px;line-height:1.55}
.ph-card2 .ph-more{display:inline-block;margin-top:12px;color:var(--ph-blue);font-weight:600;font-size:14.5px}
.ph-tag{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;padding:3px 9px;border-radius:6px;background:#ECF0EE;color:var(--ph-text);text-transform:none;letter-spacing:0}
.ph-tag.ok{background:var(--ph-teal-bg);color:var(--ph-teal)}
.ph-flag-img{width:28px;height:20px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(16,35,63,.12);vertical-align:middle;background:#fff}
.ph-flag-img[src$="/np.svg"]{object-fit:contain;box-shadow:none;background:none}
.ph-section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ph-note{margin-top:22px;padding:14px 16px;border-radius:10px;background:#EEF2EF;border-left:3px solid var(--ph-teal);color:var(--ph-text);font-size:15px}
.ph-route-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ph-route-list a{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--ph-line);border-radius:8px;background:#fff;color:var(--ph-ink)!important;font-weight:500!important;font-size:14.5px;text-decoration:none}
.ph-route-list a:hover{border-color:var(--ph-blue)}
.ph-route-list a.v{border-color:#A9D3C9;background:var(--ph-teal-bg)}
.ph-route-list a.v::after{content:"✓";color:var(--ph-teal);font-weight:800}
.ph-country{background:var(--ph-card);border:1px solid var(--ph-line);border-radius:12px;padding:20px;margin-bottom:14px}
.ph-country h2{margin:0;display:flex;align-items:center;gap:10px;font-size:22px;flex-wrap:wrap}
.ph-country h2 small{font-family:var(--ph-body);font-size:14px;font-weight:500;color:var(--ph-muted)}

/* tools */
.ph-tool{background:var(--ph-card);border:1px solid var(--ph-line);border-radius:14px;padding:clamp(18px,3vw,30px);margin-bottom:20px}
.ph-tool h2{margin-top:0}
.ph-trip{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:10px}
.ph-trip>*{min-width:0}
.ph-trip button{background:var(--ph-red-bg);color:var(--ph-red)!important;padding:11px 13px}
.ph-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px;margin:12px 0}
.ph-row>*{min-width:0}
.ph-result{margin-top:16px;padding:16px 18px;border-radius:10px;background:#EEF4FB;border:1px solid #CFE0F3;color:var(--ph-ink)}
.ph-result.warn{background:var(--ph-amber-bg);border-color:#EED7A8}
.ph-result.bad{background:var(--ph-red-bg);border-color:#EFC9C6}
.ph-result b.big{display:block;font-family:var(--ph-display);font-size:32px;line-height:1.1;color:var(--ph-ink);margin-bottom:4px}
.ph-meter{height:10px;border-radius:999px;background:#DFE6E1;overflow:hidden;margin:12px 0 6px}
.ph-meter i{display:block;height:100%;background:linear-gradient(90deg,var(--ph-teal),#C08A1E 75%,var(--ph-red));border-radius:999px}
.ph-small{font-size:13.5px;color:var(--ph-muted)}
@media(max-width:640px){.ph-trip{grid-template-columns:1fr 1fr}.ph-trip button{grid-column:1/-1}}
@media(max-width:400px){.ph-trip{grid-template-columns:1fr}}

/* blog article */
.ph-article{max-width:760px;margin:0 auto;background:var(--ph-card);border:1px solid var(--ph-line);border-radius:14px;padding:clamp(20px,4vw,44px)}
.ph-article p,.ph-article li{font-size:17.5px;line-height:1.7;color:var(--ph-text)}
.ph-article h2{font-size:24px;margin:28px 0 8px}
.ph-article a{color:var(--ph-blue);font-weight:600}
.ph-article .ph-byline{font-size:14px;color:var(--ph-muted);margin-bottom:18px}
.ph-source-box{margin-top:26px;padding:14px 16px;border-radius:10px;background:var(--ph-teal-bg);font-size:15px;color:var(--ph-ink)}

/* "kept current" freshness line used on several pages */
.ph-fresh{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ph-teal);font-weight:500}
.ph-fresh::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ph-teal);box-shadow:0 0 0 3px var(--ph-teal-bg);flex:0 0 8px}

/* ---------- Homepage ---------- */
.hp{background:var(--ph-paper)}
.hp-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,72px);align-items:center;padding:clamp(36px,6vw,80px) clamp(16px,6vw,90px) clamp(40px,6vw,72px);background:url(/assets/img/guilloche.svg) left -120px bottom -10px/900px auto no-repeat}
.hp-hero h1{font-size:clamp(40px,6.2vw,76px);line-height:.98;letter-spacing:-.035em;margin:0 0 20px;font-weight:800;max-width:11ch}
.hp-hero .hp-lead{font-size:clamp(17px,1.7vw,20px);line-height:1.6;max-width:34em;margin:0 0 22px;color:var(--ph-text)}
.hp-proof{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.hp-proof li{font-size:15px;color:var(--ph-text)}
.hp-proof b{color:var(--ph-ink)}

/* the passport-style checker */
.hp-pass{position:relative;background:#FBFCFA;border:1px solid #C9D6CF;border-radius:16px;box-shadow:0 1px 0 #fff inset,0 24px 50px -30px rgba(16,35,63,.45);overflow:hidden}
.hp-pass::before{content:"";position:absolute;inset:0;background:url(/assets/img/guilloche.svg) center 30%/560px auto repeat-x;opacity:.55;pointer-events:none}
.hp-pass-head{position:relative;display:flex;justify-content:space-between;align-items:baseline;padding:16px 22px 12px;border-bottom:1px solid var(--ph-line)}
.hp-pass-head b{font-family:var(--ph-display);font-size:19px;color:var(--ph-ink)}
.hp-pass-head span{font-size:13px;color:var(--ph-muted)}
.hp-pass-body{position:relative;padding:8px 22px 20px}
.hp-field{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;border-bottom:1px dashed #CBD6CF}
.hp-field span{font-size:13.5px;color:var(--ph-muted);font-weight:500}
.hp-field select{width:100%;min-width:0;border:0;background:transparent;font:600 18px/1.3 var(--ph-display);color:var(--ph-ink);padding:6px 26px 6px 0;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ph-ink) 50%),linear-gradient(135deg,var(--ph-ink) 50%,transparent 50%);background-position:calc(100% - 12px) 55%,calc(100% - 6px) 55%;background-size:6px 6px;background-repeat:no-repeat;cursor:pointer}
.hp-field select:focus{outline:3px solid #BBD6F5;border-radius:6px}
.hp-submit{display:flex;width:100%;justify-content:center;margin-top:18px;padding:15px 18px;border:0;border-radius:10px;background:var(--ph-blue);color:#fff;font:600 17px var(--ph-body);cursor:pointer}
.hp-submit:hover{background:var(--ph-blue-dk)}
.hp-mrz{position:relative;margin:0;padding:12px 22px 14px;background:#EEF2EE;border-top:1px solid var(--ph-line);font:500 clamp(10.5px,1.25vw,13.5px)/1.55 var(--ph-mono);letter-spacing:.12em;color:#4A5B70;white-space:pre;overflow:hidden}
@media(max-width:980px){.hp-hero{grid-template-columns:1fr}.hp-hero h1{max-width:none}}
@media(max-width:520px){.hp-field{grid-template-columns:1fr;gap:2px}.hp-pass-head,.hp-pass-body{padding-left:16px;padding-right:16px}.hp-mrz{padding-left:16px;letter-spacing:.06em}}

.hp-band{padding:clamp(36px,5vw,64px) clamp(16px,6vw,90px);border-top:1px solid var(--ph-line)}
.hp-band.white{background:#fff}
.hp-band-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.hp-band-head h2{font-size:clamp(26px,3vw,36px);margin:0;font-weight:800;letter-spacing:-.02em}
.hp-band-head p{margin:6px 0 0;color:var(--ph-muted);max-width:60ch}
.hp-band-head a{color:var(--ph-blue);font-weight:600;text-underline-offset:3px}

/* verified routes as a register: destination rows with passport stamps */
.hp-register{border-top:2px solid var(--ph-ink)}
.hp-reg-row{display:grid;grid-template-columns:minmax(200px,1.1fr) minmax(0,1fr) minmax(0,2fr);gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid var(--ph-line)}
.hp-reg-dest{display:flex;align-items:center;gap:12px;font:700 20px var(--ph-display);color:var(--ph-ink)}
.hp-reg-dest .ph-flag-img{width:34px;height:24px}
.hp-reg-type{font-size:14.5px;color:var(--ph-muted)}
.hp-stamps{display:flex;flex-wrap:wrap;gap:8px}
.hp-stamp{display:inline-flex;align-items:center;gap:7px;padding:6px 11px 6px 8px;border:1.5px solid var(--ph-teal);border-radius:7px;color:var(--ph-teal)!important;font-weight:600;font-size:14px;text-decoration:none;background:#fff;transform:rotate(-1.2deg)}
.hp-stamp:nth-child(2n){transform:rotate(1deg)}
.hp-stamp:hover{background:var(--ph-teal);color:#fff!important}
.hp-stamp .ph-flag-img{width:22px;height:15px}
@media(max-width:760px){.hp-reg-row{grid-template-columns:1fr;gap:8px}}

/* kept-current facts */
.hp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--ph-line);border-radius:12px;background:#fff;overflow:hidden}
.hp-fact{padding:20px 22px;border-right:1px solid var(--ph-line)}
.hp-fact:last-child{border-right:0}
.hp-fact b{display:block;font:800 30px/1.1 var(--ph-display);color:var(--ph-ink);margin-bottom:6px}
.hp-fact p{margin:0;font-size:14.5px;color:var(--ph-text);line-height:1.5}
.hp-fact small{display:block;margin-top:8px;color:var(--ph-muted);font-size:12.5px}
@media(max-width:820px){.hp-facts{grid-template-columns:1fr}.hp-fact{border-right:0;border-bottom:1px solid var(--ph-line)}.hp-fact:last-child{border-bottom:0}}

/* updates list */
.hp-updates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.hp-update{text-decoration:none;color:inherit;display:block;padding-top:14px;border-top:3px solid var(--ph-ink)}
.hp-update time,.hp-update .ph-tag{font-size:13px}
.hp-update h3{font-size:20px;line-height:1.25;margin:8px 0 6px}
.hp-update p{margin:0;color:var(--ph-muted);font-size:15px;line-height:1.55}
.hp-update:hover h3{color:var(--ph-blue);text-decoration:underline;text-underline-offset:3px}
@media(max-width:820px){.hp-updates{grid-template-columns:1fr}}

/* tools strip */
.hp-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hp-tool{display:block;padding:20px;border:1px solid var(--ph-line);border-radius:12px;background:var(--ph-paper);text-decoration:none;color:inherit}
.hp-tool:hover{border-color:var(--ph-blue)}
.hp-tool b{display:block;font:700 19px var(--ph-display);color:var(--ph-ink);margin-bottom:6px}
.hp-tool span{font-size:15px;color:var(--ph-muted);line-height:1.5}
@media(max-width:820px){.hp-tools{grid-template-columns:1fr}}

/* verified page strip: automatic re-check note */
.ph-recheck{display:block;margin-top:3px;font-size:12.5px;opacity:.85}
