:root {
    --idp-navy: #102a43;
    --idp-blue: #1e5a8a;
    --idp-teal: #0d7c68;
    --idp-green: #1f8f64;
    --idp-ink: #142329;
    --idp-muted: #526a74;
    --idp-line: #cfdbdf;
    --idp-soft: #edf5f4;
    --idp-focus: #f0a202;
}

html { scroll-behavior: smooth; }
body { color: var(--idp-ink); background: #f5f8f8; }
a { text-underline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--idp-navy); transform: translateY(-150%); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.site-header .brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: var(--idp-navy); white-space: nowrap; line-height: 1; }
.site-header .brand-mark { display: block; width: 34px !important; height: 34px !important; flex: 0 0 34px; overflow: visible; }
.brand-word { color: var(--idp-navy); }
.brand-word > span { color: var(--idp-teal); }
.site-header .main-nav { display: flex; align-items: center; gap: 22px; }
.site-header .main-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; white-space: nowrap; }
.nav-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .82; }
.main-nav a:hover .nav-icon, .main-nav a:focus-visible .nav-icon { opacity: 1; }
.main-nav a:hover, .main-nav a:focus-visible, .source-link:hover, .source-link:focus-visible, .related-links a:hover, .related-links a:focus-visible { color: var(--idp-blue); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; color: var(--idp-muted); font-size: 13px; }
.breadcrumbs a { color: var(--idp-muted); }
.button, .select-control, .control-group input, .calc-fields input, .upload-box { min-height: 44px; }
.button { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, .select-control:focus-visible, input:focus-visible, details summary:focus-visible, .upload-box:focus-within { outline: 3px solid var(--idp-focus); outline-offset: 2px; }
.button-primary { background: var(--idp-teal); }
.button-primary:hover:not(:disabled) { background: #075848; }
.button-secondary { border-color: #aec3c8; }
.hero h1, .page-heading h1, .editor-intro h1, .legal-page h1 { color: var(--idp-navy); }
.hero h1 { max-width: 650px; font-size: clamp(42px, 5vw, 64px); }
.hero { align-items: start !important; padding-top: 42px; padding-bottom: 58px; }
.hero-copy { align-self: start; padding-top: 12px; }
.hero-card { border-top: 4px solid var(--idp-teal); }
.feature-grid h2, .content-section h2, .faq-section h2 { color: var(--idp-navy); }
.content-section { padding: 20px 0 84px; }
.content-section > p:not(.eyebrow) { max-width: 760px; color: var(--idp-muted); font-size: 17px; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.intent-list { display: grid; gap: 10px; }
.intent-list a, .related-links a { display: block; padding: 17px 18px; border: 1px solid var(--idp-line); border-radius: 12px; background: #fff; text-decoration: none; }
.intent-list a { border-left: 4px solid var(--idp-teal); }
.intent-list strong, .intent-list span { display: block; }
.intent-list span { margin-top: 3px; color: var(--idp-muted); font-size: 13px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps-grid article { padding: 20px; border: 1px solid var(--idp-line); border-radius: 12px; background: #fff; }
.steps-grid strong { color: var(--idp-blue); }
.steps-grid p { margin-bottom: 0; color: var(--idp-muted); font-size: 14px; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; }
.related-links a { color: var(--idp-blue); font-weight: 750; }
.editor-seo { padding-top: 32px; }
.faq-section { padding-bottom: 88px; }
.faq-section h2 { max-width: 760px; margin-top: 0; font-size: 32px; letter-spacing: -.04em; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1040px; }
.faq-item { min-width: 0; border: 1px solid var(--idp-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,35,41,.04); }
.faq-item summary { display: flex; align-items: flex-start; gap: 10px; min-height: 0; padding: 15px 16px; color: var(--idp-navy); font-size: 15px; line-height: 1.45; font-weight: 750; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; display: inline-grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; margin-top: 1px; border-radius: 50%; color: var(--idp-teal); background: var(--idp-soft); font-size: 17px; line-height: 1; }
.faq-item[open] summary::before { content: '−'; }
.faq-item p { max-width: 780px; margin: 0; padding: 0 16px 16px 48px; color: var(--idp-muted); font-size: 14px; line-height: 1.6; }
.upload-icon { display: grid; place-items: center; width: 32px; height: 32px; }
.upload-icon svg { width: 24px; height: 24px; }
.face-status { color: var(--idp-muted); font-size: 11px; }
.quality-panel { background: #fbfdfd; }
.canvas-wrap { background: #d7e3e5; }
.site-footer { background: #eef3f3; }
.server-results { display: grid; gap: 7px; margin-top: 12px; padding: 12px; border: 1px solid var(--idp-line); border-radius: 12px; background: #f8fbfb; font-size: 13px; }
.server-results a { color: var(--idp-blue); font-weight: 700; }
.server-status { margin: 10px 0 0; color: var(--idp-muted); font-size: 12px; line-height: 1.45; }
.print-sheet-page img { outline: .25mm dashed #7f8c8d; outline-offset: 1mm; }
.price { display: block; margin: 12px 0 4px; color: var(--idp-navy); font-size: 36px; letter-spacing: -.04em; }
.muted { color: var(--idp-muted); font-size: 13px; }

@media (max-width: 800px) {
    .site-header .main-nav { gap: 10px; }
    .hero { padding-top: 34px; padding-bottom: 44px; }
    .hero-copy { padding-top: 0; }
    .split-section, .steps-grid, .related-links { grid-template-columns: 1fr; }
    .breadcrumbs { width: calc(100% - 40px); }
    .faq-list { grid-template-columns: 1fr; }
    .faq-section h2 { font-size: 27px; }
}

/* Passport Size Photo landing-page clone: measured from the public source page. */
:root {
    --passport-page: #eaf1f5;
    --passport-surface: #f6fafc;
    --passport-ink: #143147;
    --passport-copy: #536c7f;
    --passport-line: rgba(20,49,71,.10);
    --passport-line-strong: rgba(20,49,71,.16);
    --passport-muted: #ecf3f7;
    --passport-dark: #17384d;
    --passport-dark-soft: #234d69;
    --passport-accent: #2f78a8;
}

html, body { background: var(--passport-page); }
body { color: var(--passport-ink); font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
main { padding-top: 72px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; padding: 0 max(20px, calc((100% - 1280px) / 2)); border-bottom: 1px solid var(--passport-line); background: rgba(246,250,252,.97); box-shadow: none; }
.site-header .brand { gap: 8px; color: var(--passport-ink); font-size: 17px; font-weight: 650; letter-spacing: 0; text-decoration: none; }
.site-header .brand-word { color: var(--passport-ink); }
.brand-logo { width: 32px; height: 32px; flex: 0 0 32px; }
.brand-logo-check { stroke: var(--passport-accent); }
.site-header .main-nav { gap: 4px; color: var(--passport-ink); font-size: 14px; }
.site-header .main-nav > a, .site-header .main-nav > .mega-menu > summary { min-height: 40px; padding: 0 12px; border-radius: 9px; color: var(--passport-ink); text-decoration: none; }
.site-header .main-nav > a:hover, .site-header .main-nav > .mega-menu > summary:hover { background: var(--passport-muted); color: var(--passport-ink); }
.site-header .main-nav .nav-icon { width: 17px; height: 17px; color: var(--passport-ink); }
.site-header .main-nav .nav-chevron { width: 14px; height: 14px; }
.header-app-store { display: inline-flex !important; align-items: center; gap: 6px !important; min-height: 40px !important; padding: 5px 9px !important; border: 1px solid rgba(245,251,255,.16); border-radius: 8px !important; background: var(--passport-dark); color: #f5fbff !important; line-height: 1; }
.header-app-store small, .header-app-store strong { display: block; white-space: nowrap; }
.header-app-store small { font-size: 9px; font-weight: 500; }
.header-app-store strong { margin-top: 2px; font-size: 14px; letter-spacing: -.02em; }
.app-store-apple { font-size: 20px; line-height: 1; color: #fff; }
.header-make-photo { min-height: 44px !important; padding: 0 22px !important; border-radius: 999px !important; background: var(--passport-dark); color: #f5fbff !important; font-size: 14px; }
.header-make-photo:hover { background: var(--passport-dark-soft) !important; }

.passport-home-hero, .passport-app-section, .passport-content-section, .passport-standards-section { position: relative; overflow: hidden; }
.passport-home-hero { background: var(--passport-surface); color: var(--passport-ink); }
.passport-grid-lines { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(var(--passport-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--passport-line-strong) 1px, transparent 1px); background-size: 32px 32px; opacity: .04; }
.passport-home-container { position: relative; z-index: 1; width: min(1024px, calc(100% - 40px)); margin: 0 auto; }
.passport-home-hero .passport-home-container { padding: 64px 0 64px; }
.passport-hero-copy { max-width: 900px; margin: 0 auto 28px; text-align: center; }
.passport-hero-copy h1, .passport-section-heading h2, .passport-standards-grid > div:first-child h2 { margin: 0; color: var(--passport-ink); font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(2.15rem, 5vw, 3.45rem); font-weight: 600; line-height: .96; letter-spacing: -.04em; }
.passport-hero-copy p { max-width: 900px; margin: 22px auto 0; color: var(--passport-copy); font-size: 16px; line-height: 2; }
.passport-maker-card { position: relative; overflow: hidden; padding: 14px; border: 1px solid var(--passport-line); border-radius: 30px; background: rgba(255,255,255,.84); box-shadow: 0 24px 56px -42px rgba(14,37,55,.24); }
.passport-maker-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top left, rgba(47,120,168,.16), transparent 28%), radial-gradient(circle at 86% 12%, rgba(20,49,71,.10), transparent 22%); pointer-events: none; }
.passport-maker-inner { position: relative; }
.passport-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 6px; border: 1px solid var(--passport-line); border-radius: 24px; background: var(--passport-surface); }
.passport-tab { min-height: 48px; padding: 10px 14px; border: 0; border-radius: 16px; background: transparent; color: #6d8291; font-family: Georgia, serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.passport-tab:hover { background: var(--passport-muted); color: var(--passport-ink); }
.passport-tab.is-active { background: var(--passport-dark); color: #f5fbff; box-shadow: 0 12px 24px -18px rgba(14,37,55,.55); }
.passport-maker-subtitle { margin: 0; padding: 14px 12px 8px; color: var(--passport-copy); font-size: 14px; line-height: 1.7; }
.passport-preset { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 10px; padding: 16px 20px; border: 1px solid var(--passport-line); border-radius: 26px 26px 0 0; background: #fff; color: var(--passport-ink); text-align: left; cursor: pointer; }
.passport-preset:hover { background: var(--passport-muted); }
.passport-preset-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.passport-flag { font-size: 27px; line-height: 1; }
.passport-preset-title > span:last-child > strong, .passport-preset-title > span:last-child > span { display: block; }
.passport-preset-title > span:last-child > strong { color: #6d8291; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.passport-preset-title > span:last-child > span { display: flex; align-items: baseline; gap: 9px; margin-top: 4px; }
.passport-preset-title b { font-size: 18px; font-weight: 400; white-space: nowrap; }
.passport-preset-title em { color: var(--passport-copy); font-size: 14px; font-style: normal; white-space: nowrap; }
.passport-chevron { color: #6d8291; font-size: 23px; line-height: .6; }
.passport-preset-detail { display: flex; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--passport-line); border-top: 0; border-radius: 0 0 26px 26px; background: #fff; }
.passport-cover { width: 68px; aspect-ratio: 5 / 7; flex: 0 0 68px; overflow: hidden; border-radius: 6px; box-shadow: 0 8px 18px -12px rgba(14,37,55,.45); }
.passport-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.passport-preset-detail dl { display: grid; gap: 7px; margin: 0; color: var(--passport-copy); font-size: 14px; line-height: 1.5; }
.passport-preset-detail dl div { display: flex; gap: 10px; }
.passport-preset-detail dt { min-width: 66px; }
.passport-preset-detail dd { margin: 0; color: var(--passport-ink); font-weight: 500; }
.passport-upload-button, .passport-phone-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; cursor: pointer; }
.passport-upload-button { min-height: 52px; margin-top: 16px; border-radius: 999px; background: var(--passport-dark); color: #f5fbff; font-size: 16px; font-weight: 650; }
.passport-upload-button:hover { background: var(--passport-dark-soft); }
.passport-upload-button svg, .passport-phone-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.passport-maker-note { margin: 10px 0 0; color: var(--passport-copy); font-size: 12px; line-height: 1.7; text-align: center; }
.country-picker-open { overflow: hidden; }
.country-picker[hidden] { display: none; }
.country-picker { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 22px; }
.country-picker-backdrop { position: absolute; inset: 0; background: rgba(16,42,67,.42); backdrop-filter: blur(5px); }
.country-picker-dialog { position: relative; z-index: 1; width: min(100%, 760px); max-height: min(850px, calc(100vh - 44px)); overflow: hidden; border: 1px solid rgba(255,255,255,.82); border-radius: 32px; background: #f9fcfd; box-shadow: 0 28px 90px rgba(16,42,67,.3); }
.country-picker-close { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--passport-line); border-radius: 50%; color: var(--passport-copy); background: #fff; font-size: 29px; font-weight: 300; line-height: 1; cursor: pointer; }
.country-picker-header { padding: 34px 66px 27px 42px; border-bottom: 1px solid var(--passport-line); }
.country-picker-header h2 { margin: 0; color: var(--passport-ink); font-size: clamp(24px, 4vw, 34px); letter-spacing: -.045em; line-height: 1.1; }
.country-picker-header p { max-width: 640px; margin: 17px 0 0; color: var(--passport-copy); font-size: 16px; line-height: 1.55; }
.country-picker-body { max-height: calc(100vh - 220px); overflow-y: auto; padding: 22px 25px 28px; background: #fff; }
.country-picker-search { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 17px; border: 1px solid var(--passport-line); border-radius: 30px; color: #9db1bc; background: #f5fafb; }
.country-picker-search span { font-size: 28px; line-height: 1; }
.country-picker-search input { width: 100%; border: 0; outline: 0; color: var(--passport-ink); background: transparent; font: inherit; font-size: 17px; }
.country-picker-label { margin: 29px 17px 12px; color: var(--passport-copy); font-size: 15px; font-weight: 700; }
.country-picker-list { display: grid; gap: 4px; }
.country-picker-option { display: grid; grid-template-columns: 58px minmax(0, 1fr) 30px; gap: 13px; align-items: center; width: 100%; min-height: 82px; padding: 10px 18px; border: 2px solid transparent; border-radius: 24px; color: var(--passport-ink); background: #fff; text-align: left; cursor: pointer; }
.country-picker-option:hover, .country-picker-option:focus-visible { background: #f0f7fb; }
.country-picker-option.is-selected { border-color: #2e91ca; background: #e6f1fa; }
.country-picker-option[hidden] { display: none; }
.country-picker-flag { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--passport-line); border-radius: 50%; background: #f7fbfc; font-size: 25px; }
.country-picker-flag-fallback { color: var(--passport-dark); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.country-picker-option-copy strong, .country-picker-option-copy small { display: block; }
.country-picker-option-copy strong { font-size: 18px; line-height: 1.25; }
.country-picker-option-copy small { margin-top: 2px; color: var(--passport-copy); font-size: 16px; }
.country-picker-check { color: #2b83b5; font-size: 24px; font-weight: 900; opacity: 0; }
.country-picker-option.is-selected .country-picker-check { opacity: 1; }
.country-picker-empty { margin: 20px 0; color: var(--passport-copy); text-align: center; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 45px; }
.service-hero h1 { margin: 8px 0 18px; color: var(--idp-navy); font-size: clamp(42px, 6vw, 74px); letter-spacing: -.07em; line-height: .98; }
.service-hero .lede { max-width: 740px; margin: 0; color: var(--idp-muted); font-size: 18px; line-height: 1.6; }
.service-quick-card, .service-side-card, .service-source-box { padding: 25px; border: 1px solid var(--idp-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(16,42,67,.07); }
.service-quick-card { display: grid; gap: 10px; background: linear-gradient(145deg, #eaf5f5, #fff); }
.service-quick-card strong { color: var(--idp-navy); font-size: 21px; }
.service-quick-card span { color: var(--idp-muted); line-height: 1.5; }
.service-quick-card a { margin-top: 8px; color: var(--idp-blue); font-size: 14px; font-weight: 800; text-decoration: none; }
.service-tool-card { margin-bottom: 28px; padding: 30px; border: 1px solid var(--idp-line); border-radius: 25px; background: #fff; box-shadow: 0 22px 55px rgba(16,42,67,.08); }
.service-tool-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.service-tool-heading h2, .service-content-grid h2, .service-content-section h2 { max-width: 760px; margin: 0 0 10px; color: var(--idp-navy); font-size: clamp(28px, 4vw, 46px); letter-spacing: -.055em; line-height: 1.05; }
.service-tool-heading p:not(.eyebrow), .service-content-grid article > p:not(.eyebrow), .service-content-section > p:not(.eyebrow) { max-width: 760px; color: var(--idp-muted); line-height: 1.6; }
.service-tool-badge { flex: 0 0 auto; padding: 9px 13px; border-radius: 999px; color: #075848; background: #d9efe9; font-size: 12px; font-weight: 800; }
.service-spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 27px 0; padding: 16px 0; border-top: 1px solid var(--idp-line); border-bottom: 1px solid var(--idp-line); }
.service-spec-grid div { display: grid; gap: 5px; padding: 0 14px; border-right: 1px solid var(--idp-line); }
.service-spec-grid div:last-child { border-right: 0; }
.service-spec-grid dt { color: var(--idp-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.service-spec-grid dd { margin: 0; color: var(--idp-navy); font-size: 18px; font-weight: 800; }
.service-upload-panel { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 22px; border-radius: 18px; background: #f1f7f7; }
.service-upload-copy { display: flex; gap: 14px; align-items: flex-start; }
.service-upload-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: var(--idp-navy); font-size: 24px; }
.service-upload-copy h3 { margin: 0; color: var(--idp-navy); font-size: 21px; }
.service-upload-copy p { max-width: 650px; margin: 5px 0; color: var(--idp-muted); font-size: 14px; line-height: 1.5; }
.service-upload-copy small { color: var(--idp-muted); font-size: 11px; }
.service-upload-button { flex: 0 0 auto; white-space: nowrap; cursor: pointer; }
.service-upload-status { margin: 0; color: var(--idp-muted); font-size: 12px; line-height: 1.45; }
.service-before-after { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) minmax(150px, .7fr); gap: 14px; align-items: center; margin-bottom: 60px; }
.service-preview-card { overflow: hidden; border: 1px solid var(--idp-line); border-radius: 18px; background: #fff; }
.service-preview-card img { display: block; width: 100%; height: 190px; object-fit: cover; }
.service-preview-card--result img { object-position: center top; }
.service-preview-card div { display: grid; gap: 3px; padding: 13px 15px; }
.service-preview-card strong { color: var(--idp-navy); }
.service-preview-card span, .service-preview-note span { color: var(--idp-muted); font-size: 12px; }
.service-preview-arrow { color: var(--idp-teal); font-size: 29px; font-weight: 800; text-align: center; }
.service-preview-note { display: grid; gap: 3px; padding: 12px; }
.service-preview-note strong { color: var(--idp-navy); font-size: 18px; }
.service-preview-note p { margin: 11px 0 0; color: var(--idp-muted); font-size: 12px; line-height: 1.5; }
.service-content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 42px; padding-bottom: 62px; }
.service-content-grid--reverse { align-items: start; }
.service-steps, .service-number-list { display: grid; gap: 15px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: service-step; }
.service-steps li, .service-number-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.service-steps li::before, .service-number-list li::before { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #fff; background: var(--idp-navy); content: counter(service-step); counter-increment: service-step; font-size: 12px; font-weight: 800; }
.service-steps strong, .service-number-list strong { display: block; color: var(--idp-navy); font-size: 15px; }
.service-steps span, .service-number-list span { display: block; margin-top: 3px; color: var(--idp-muted); font-size: 14px; line-height: 1.5; }
.service-side-card h2 { font-size: 28px; }
.service-side-card ul { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; color: var(--idp-navy); font-size: 14px; }
.service-side-card li::before { margin-right: 8px; color: var(--idp-teal); content: '✓'; font-weight: 900; }
.service-side-card p:last-child { color: var(--idp-muted); font-size: 13px; line-height: 1.55; }
.service-option-grid, .service-rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.service-option-grid div, .service-rule-grid div { padding: 18px; border: 1px solid var(--idp-line); border-radius: 15px; background: #fff; }
.service-option-grid h3, .service-rule-grid h3 { margin: 0 0 7px; color: var(--idp-navy); font-size: 17px; }
.service-option-grid p, .service-rule-grid p { margin: 0; color: var(--idp-muted); font-size: 13px; line-height: 1.5; }
.service-content-section { padding-bottom: 62px; }
.service-rule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-cost-section { padding-bottom: 62px; }
.service-cost-section h2 { margin: 0 0 22px; color: var(--idp-navy); font-size: clamp(28px, 4vw, 46px); letter-spacing: -.055em; }
.service-cost-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.service-cost-grid article { min-height: 190px; padding: 19px; border: 1px solid var(--idp-line); border-radius: 15px; background: #fff; }
.service-cost-grid strong { display: block; margin-bottom: 22px; color: var(--idp-teal); font-size: 20px; letter-spacing: -.03em; }
.service-cost-grid h3 { margin: 0 0 8px; color: var(--idp-navy); font-size: 16px; }
.service-cost-grid p { margin: 0; color: var(--idp-muted); font-size: 13px; line-height: 1.5; }
.service-source-box { margin-bottom: 75px; }
.service-source-box > p:not(.eyebrow) { color: var(--idp-muted); font-size: 14px; }

@media (max-width: 760px) {
    .service-hero, .service-content-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 42px; }
    .service-tool-heading, .service-upload-panel { align-items: flex-start; flex-direction: column; }
    .service-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-spec-grid div:nth-child(2) { border-right: 0; }
    .service-before-after { grid-template-columns: 1fr 30px 1fr; }
    .service-preview-note { grid-column: 1 / -1; }
    .service-rule-grid { grid-template-columns: 1fr; }
    .service-cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Target-site maker and utility page families */
.maker-hero,.utility-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:28px;align-items:center;margin-top:42px}
.maker-hero-copy h1,.utility-hero h1{max-width:850px}
.maker-hero-card,.utility-hero-card{display:flex;align-items:center;gap:12px;padding:24px;border:1px solid var(--line,#dce5ea);border-radius:24px;background:linear-gradient(135deg,#eef6fb,#fff);box-shadow:0 18px 50px rgba(15,52,72,.08)}
.maker-hero-card{display:grid;grid-template-columns:auto 1fr}.maker-hero-card strong,.maker-hero-card span{display:block}.maker-hero-card span:not(.maker-hero-icon){color:var(--muted,#637e8d)}.maker-hero-card a{grid-column:1 / -1;color:var(--ink,#15384d);font-weight:700;text-decoration:none}
.maker-hero-icon{font-size:34px;grid-row:span 2}
.maker-tool-card,.utility-tool-card{margin-top:38px;padding:26px;border:1px solid var(--line,#dce5ea);border-radius:30px;background:#fff;box-shadow:0 20px 55px rgba(15,52,72,.08)}
.maker-tool-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:6px;border:1px solid var(--line,#dce5ea);border-radius:22px;background:#f5f9fb}.maker-tool-tabs button{border:0;background:transparent;border-radius:16px;padding:14px;color:var(--muted,#637e8d);font:inherit;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.maker-tool-tabs button.is-active{background:#163c52;color:#fff}
.maker-tool-heading,.utility-tool-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:28px 4px 20px}.maker-tool-heading h2,.utility-tool-heading h2{margin:0}.maker-tool-heading h2 span{font-size:.6em;color:var(--muted,#637e8d);font-weight:500}.maker-tool-heading p,.utility-tool-heading p{margin:10px 0 0;color:var(--muted,#637e8d)}.maker-spec-select{display:grid;gap:7px;min-width:240px;color:var(--muted,#637e8d);font-size:.85rem;font-weight:700}.maker-spec-select select{padding:12px 14px;border:1px solid var(--line,#dce5ea);border-radius:12px;background:#f7fafb;color:var(--ink,#15384d);font:inherit}
.maker-spec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:0;border:1px solid var(--line,#dce5ea);border-radius:18px;overflow:hidden;background:var(--line,#dce5ea)}.maker-spec-grid div{padding:18px;background:#f8fbfc}.maker-spec-grid dt{color:var(--muted,#637e8d);font-size:.82rem}.maker-spec-grid dd{margin:6px 0 0;color:var(--ink,#15384d);font-size:1.1rem;font-weight:750}
.maker-upload-panel,.utility-upload-panel{display:flex;align-items:center;gap:18px;margin-top:18px;padding:22px;border:1px dashed #9db7c5;border-radius:20px;background:#f5fafc}.maker-upload-panel h3,.utility-upload-panel h3{margin:0}.maker-upload-panel p,.utility-upload-panel p{margin:5px 0;color:var(--muted,#637e8d)}.maker-upload-panel small{color:var(--muted,#637e8d)}.maker-upload-panel .button,.utility-upload-panel .button{margin-left:auto;white-space:nowrap}.maker-upload-icon,.utility-upload-icon{font-size:32px;color:#257e9f}.maker-upload-status,.utility-upload-status{margin:12px 0 0;color:var(--muted,#637e8d);text-align:center}
.maker-preview-strip{display:grid;grid-template-columns:120px 40px 120px minmax(0,1fr);align-items:center;gap:18px;margin-top:28px;padding:20px;border:1px solid var(--line,#dce5ea);border-radius:24px;background:#f7fafb}.maker-preview-card{display:grid;gap:5px}.maker-preview-card img{width:120px;height:120px;object-fit:cover;border-radius:14px;background:#eaf1f5}.maker-preview-card span,.maker-preview-summary span{color:var(--muted,#637e8d);font-size:.9rem}.maker-preview-summary{padding-left:10px}.maker-preview-summary strong,.maker-preview-summary span{display:block}.maker-preview-summary p{margin-bottom:0;color:var(--muted,#637e8d)}.maker-preview-arrow{font-size:28px;color:#5b899b;text-align:center}
.maker-content-grid,.utility-content-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:28px;margin-top:42px}.maker-content-grid{scroll-margin-top:92px}.maker-steps{display:grid;gap:14px;padding:0;list-style:none;counter-reset:maker}.maker-steps li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;counter-increment:maker}.maker-steps li:before{content:counter(maker,decimal-leading-zero);grid-column:1;grid-row:1;color:#2a83a2;font-weight:800}.maker-steps strong{display:block;grid-column:2;grid-row:1}.maker-steps span{display:block;grid-column:2;grid-row:2;margin-top:5px;color:var(--muted,#637e8d)}.maker-side-card,.utility-side-card{padding:24px;border:1px solid var(--line,#dce5ea);border-radius:22px;background:#f3f8fb}.maker-side-card h2,.utility-side-card h2{margin-top:0}.maker-side-card ul{padding-left:20px;color:var(--muted,#637e8d);line-height:1.9}.maker-side-card a{color:var(--ink,#15384d);font-weight:700;text-decoration:none}.maker-detail-section{margin-top:42px}.maker-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.maker-detail-grid article{padding:20px;border:1px solid var(--line,#dce5ea);border-radius:18px;background:#fff}.maker-detail-grid h3{margin-top:0}.maker-detail-grid p{color:var(--muted,#637e8d)}
.utility-hero-card{justify-content:center}.utility-hero-card>span{font-size:24px;color:#5b899b}.utility-hero-before,.utility-hero-after{width:120px;height:150px;overflow:hidden;border-radius:16px;background:#eaf1f5}.utility-hero-card img{width:100%;height:100%;object-fit:cover}.utility-tool-heading{align-items:center}.utility-badge{padding:9px 13px;border-radius:999px;background:#e4f1f5;color:#236b85;font-weight:750;white-space:nowrap}.utility-option-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0;color:var(--muted,#637e8d)}.utility-option-row strong{margin-right:8px;color:var(--ink,#15384d)}.utility-option-row button{border:1px solid var(--line,#dce5ea);border-radius:999px;padding:9px 14px;background:#fff;color:var(--muted,#637e8d)}.utility-option-row button.is-active{border-color:#2c8db1;background:#e5f2f7;color:#1d6078}.utility-before-after{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;align-items:center;margin-top:42px;padding:26px;border-radius:24px;background:#f7fafb}.utility-preview-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.utility-preview-grid article{display:grid;gap:6px}.utility-preview-grid img{width:100%;aspect-ratio:1/1.2;object-fit:cover;border-radius:16px}.utility-preview-grid span{color:var(--muted,#637e8d)}.utility-section{padding:16px 0;border-bottom:1px solid var(--line,#dce5ea)}.utility-section h3{margin:0 0 6px}.utility-section p{margin:0;color:var(--muted,#637e8d)}
.size-guide-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:28px;align-items:center;margin-top:42px}.size-guide-hero h1{max-width:800px}.size-guide-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.size-unit-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.size-unit-tabs a{padding:8px 12px;border:1px solid var(--line,#dce5ea);border-radius:999px;color:var(--muted,#637e8d);font-size:.78rem;font-weight:750;text-decoration:none;background:#fff}.size-unit-tabs a:hover,.size-unit-tabs a.is-active{border-color:#39758b;color:#15384d;background:#eaf4f7}.size-guide-summary{padding:24px;border:1px solid var(--line,#dce5ea);border-radius:24px;background:linear-gradient(135deg,#eef6fb,#fff);color:var(--muted,#637e8d)}.size-guide-summary strong,.size-guide-summary span{display:block}.size-guide-summary strong{color:var(--ink,#15384d);font-size:1.15rem}.size-guide-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.size-guide-summary-grid b{padding:14px;border-radius:12px;background:#fff;color:var(--ink,#15384d);font-size:.9rem}
.size-guide-converter{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:24px;align-items:center;margin-top:38px;padding:26px;border:1px solid var(--line,#dce5ea);border-radius:24px;background:#fff}.size-guide-converter h2{margin-top:0}.size-guide-converter p{color:var(--muted,#637e8d)}.size-converter-fields{display:grid;grid-template-columns:1fr 20px 1fr 1fr;gap:8px;align-items:end}.size-converter-fields label,.size-country-search{display:grid;gap:7px;color:var(--muted,#637e8d);font-size:.82rem;font-weight:700}.size-converter-fields input,.size-country-search input{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line,#dce5ea);border-radius:11px;background:#f8fbfc;color:var(--ink,#15384d);font:inherit}.size-converter-result{grid-column:1 / -1;padding:16px;border-radius:15px;background:#f0f7fa}.size-converter-result strong,.size-converter-result span{display:block}.size-converter-result strong{color:var(--ink,#15384d)}.size-converter-result span{margin-top:4px;color:var(--muted,#637e8d)}
.size-country-section,.size-table-section,.size-guide-content{margin-top:42px}.size-section-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:20px}.size-section-heading h2,.size-table-section h2,.size-guide-content h2{margin-top:0}.size-section-heading p,.size-table-section>p{color:var(--muted,#637e8d)}.size-country-search{min-width:260px}.size-country-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.size-country-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line,#dce5ea);border-radius:15px;color:var(--ink,#15384d);background:#fff;text-decoration:none}.size-country-card:hover{border-color:#75aabd;background:#f5fafc}.size-country-card strong,.size-country-card small{display:block}.size-country-card small{margin-top:4px;color:var(--muted,#637e8d);font-size:.8rem}.size-country-flag{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eef5f7;color:#39758b;font-size:.72rem;font-weight:800}.size-country-empty{padding:18px;color:var(--muted,#637e8d)}
.size-selected-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:24px;align-items:center;margin-top:24px;padding:24px;border-radius:22px;background:#edf6fa}.size-selected-card h2{margin:0}.size-selected-card p{margin:8px 0 0;color:var(--muted,#637e8d)}.size-selected-card dl{display:flex;gap:24px;margin:0}.size-selected-card dt{color:var(--muted,#637e8d);font-size:.8rem}.size-selected-card dd{margin:5px 0 0;color:var(--ink,#15384d);font-weight:750}.size-table-wrap{overflow:auto;border:1px solid var(--line,#dce5ea);border-radius:18px}.size-table-wrap table{width:100%;border-collapse:collapse;min-width:620px;background:#fff}.size-table-wrap th,.size-table-wrap td{padding:13px 16px;border-bottom:1px solid var(--line,#dce5ea);text-align:left}.size-table-wrap th{background:#f3f8fa;color:var(--muted,#637e8d);font-size:.8rem}.size-table-wrap td{color:var(--ink,#15384d)}.size-table-wrap a{color:#237f9e;font-weight:700;text-decoration:none}.size-common-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:42px}.size-common-grid article,.size-guide-content-grid article{padding:22px;border:1px solid var(--line,#dce5ea);border-radius:18px;background:#fff}.size-common-grid h2{margin:0 0 8px;font-size:1.25rem}.size-common-grid p,.size-guide-content-grid p{color:var(--muted,#637e8d);line-height:1.65}.size-guide-content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.size-guide-content-grid h3{margin-top:0}
@media (max-width: 760px){.maker-hero,.utility-hero,.maker-content-grid,.utility-content-grid,.utility-before-after{grid-template-columns:1fr}.maker-tool-heading,.utility-tool-heading{display:grid;align-items:start}.maker-spec-grid{grid-template-columns:repeat(2,1fr)}.maker-upload-panel,.utility-upload-panel{display:grid}.maker-upload-panel .button,.utility-upload-panel .button{margin-left:0;width:100%;text-align:center}.maker-preview-strip{grid-template-columns:1fr 30px 1fr}.maker-preview-summary{grid-column:1 / -1;padding:0}.maker-preview-card img{width:100%;height:auto;aspect-ratio:1}.maker-detail-grid{grid-template-columns:1fr}.utility-hero-card{order:-1}}
@media (max-width: 760px){.size-guide-hero,.size-guide-converter{grid-template-columns:1fr}.size-section-heading{display:grid;align-items:start}.size-country-search{min-width:0}.size-country-grid{grid-template-columns:repeat(2,1fr)}.size-selected-card{grid-template-columns:1fr}.size-selected-card dl{justify-content:space-between}.size-common-grid,.size-guide-content-grid{grid-template-columns:1fr}.size-converter-fields{grid-template-columns:1fr 15px 1fr}.size-converter-fields label:last-child{grid-column:1 / -1}.size-guide-summary-grid{grid-template-columns:1fr 1fr}}

@media (max-width: 520px) {
    .service-hero h1 { font-size: 46px; }
    .service-tool-card { padding: 21px 16px; }
    .service-before-after { grid-template-columns: 1fr; }
    .service-preview-arrow { transform: rotate(90deg); }
    .service-cost-grid { grid-template-columns: 1fr; }
}
.passport-phone-button { min-height: 44px; margin-top: 20px; border: 1px solid var(--passport-line); border-radius: 999px; background: #fff; color: var(--passport-ink); font-size: 14px; text-decoration: none; }
.passport-phone-button:hover { background: var(--passport-muted); }
.passport-phone-button span { color: var(--passport-copy); font-weight: 400; }
.passport-benefit-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; }
.passport-benefit-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--passport-line); border-radius: 999px; background: rgba(236,243,247,.72); color: var(--passport-ink); font-size: 12px; }
.passport-benefit-pills span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--passport-accent); }
.passport-format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.passport-format-cards article { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--passport-line); border-radius: 24px; background: rgba(255,255,255,.84); box-shadow: 0 16px 40px -34px rgba(14,37,55,.18); }
.passport-format-icon { display: inline-grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 15px; background: var(--passport-dark); color: #f5fbff; font-size: 19px; }
.passport-format-cards strong { display: block; color: #6d8291; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.passport-format-cards p { margin: 6px 0 0; color: var(--passport-ink); font-size: 13px; line-height: 1.55; }

.passport-app-section { background: var(--passport-surface); }
.passport-app-grid { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 340px; overflow: hidden; border-radius: 30px; background: var(--passport-muted); box-shadow: 0 24px 56px -42px rgba(14,37,55,.24); }
.passport-app-copy { padding: 38px 48px; }
.passport-app-label { display: flex; align-items: center; gap: 14px; }
.passport-app-label img { width: 56px; height: 56px; border: 1px solid var(--passport-line); border-radius: 16px; box-shadow: 0 16px 40px -34px rgba(14,37,55,.2); }
.passport-app-label strong, .passport-app-label small { display: block; }
.passport-app-label strong { font-size: 14px; }
.passport-app-label small { margin-top: 4px; color: #6d8291; font-size: 11px; }
.passport-app-copy h2 { max-width: 520px; margin: 18px 0 0; font-size: 32px; line-height: 1.05; letter-spacing: -.025em; }
.passport-app-copy > p { max-width: 600px; margin: 12px 0 0; color: var(--passport-copy); font-size: 14px; line-height: 1.7; }
.passport-app-copy ul { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 15px 0; padding: 0; list-style: none; font-size: 13px; }
.passport-app-copy li { color: var(--passport-ink); }
.passport-dark-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 22px; border-radius: 999px; background: var(--passport-dark); color: #f5fbff; font-size: 14px; text-decoration: none; }
.passport-dark-button:hover { background: var(--passport-dark-soft); }
.passport-app-footnote { font-size: 12px !important; }
.passport-app-art { position: relative; min-height: 340px; padding: 24px; overflow: hidden; background: #224a63; }
.passport-app-art::after { content: ''; position: absolute; inset: 0 0 0 42%; background: var(--passport-dark); opacity: .35; clip-path: polygon(42% 0,100% 0,100% 100%,0 100%); }
.passport-app-art-top, .passport-app-screens, .passport-app-art p { position: relative; z-index: 1; }
.passport-app-art-top { display: flex; justify-content: space-between; color: #f5fbff; font-size: 10px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.passport-app-screens { display: flex; align-items: center; justify-content: center; gap: 8px; height: 245px; }
.passport-app-screens img { width: 31%; max-width: 140px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid #f5fbff; border-radius: 12px; box-shadow: 0 24px 56px -42px rgba(0,0,0,.82); }
.passport-app-screens img:first-child { transform: translateY(8px) rotate(-2deg); }
.passport-app-screens img:nth-child(2) { z-index: 2; transform: translateY(-8px); }
.passport-app-screens img:last-child { transform: translateY(8px) rotate(2deg); }
.passport-app-art p { position: absolute; right: 24px; bottom: 20px; left: 24px; margin: 0; color: #f5fbff; font-size: 12px; text-align: center; opacity: .78; }

.passport-standards-section { padding: 64px 0; background: var(--passport-dark); color: #f5fbff; }
.passport-standards-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 32px; align-items: start; }
.passport-standards-grid > div:first-child h2 { color: #f5fbff; }
.passport-standards-grid > div:first-child p { max-width: 420px; margin: 24px 0 0; color: #b7c8d5; font-size: 16px; line-height: 1.8; }
.passport-standard-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.passport-standard { position: relative; overflow: hidden; border: 1px solid rgba(245,251,255,.16); border-radius: 28px; background: rgba(255,255,255,.84); color: var(--passport-ink); }
.passport-standard.accepted { grid-row: span 2; }
.passport-standard img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.passport-standard.accepted img { aspect-ratio: 4 / 5; }
.passport-standard:hover img { transform: scale(1.03); }
.passport-standard h3 { margin: 0; padding: 14px 18px 18px; font-size: 16px; }
.passport-standard.accepted h3 { font-size: 20px; }
.standard-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 11px; border: 1px solid var(--passport-line); border-radius: 999px; background: rgba(255,255,255,.86); color: var(--passport-ink); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.standard-badge.rejected { top: 12px; right: 12px; left: auto; border-color: rgba(47,120,168,.18); background: rgba(47,120,168,.18); color: var(--passport-dark); }

.passport-content-section { padding: 64px 0; background: var(--passport-surface); }
.passport-section-heading { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.passport-section-heading-left { margin-left: 0; text-align: left; }
.passport-section-heading p { margin: 20px auto 0; color: var(--passport-copy); font-size: 15px; line-height: 1.8; }
.passport-section-heading-left p { margin-left: 0; }
.passport-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.passport-why-grid article { padding: 24px; border: 1px solid var(--passport-line); border-radius: 30px; background: rgba(255,255,255,.84); box-shadow: 0 16px 40px -34px rgba(14,37,55,.18); }
.passport-why-grid article > span { display: inline-grid; width: 44px; height: 44px; place-items: center; border-radius: 16px; background: var(--passport-dark); color: #f5fbff; font-size: 21px; }
.passport-why-grid h3 { margin: 20px 0 0; font-size: 21px; }
.passport-why-grid p, .passport-how-grid p { margin: 10px 0 0; color: var(--passport-copy); font-size: 14px; line-height: 1.8; }
.passport-how-section { border-top: 1px solid var(--passport-line-strong); }
.passport-how-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.passport-how-grid article { padding: 20px; border: 1px solid var(--passport-line); border-radius: 26px; background: rgba(255,255,255,.84); }
.passport-how-grid b { display: inline-grid; width: 54px; height: 54px; place-items: center; border-radius: 16px; background: var(--passport-dark); color: #f5fbff; font-size: 17px; }
.passport-how-grid small { display: block; margin-top: 18px; color: #6d8291; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.passport-how-grid h3 { margin: 8px 0 0; font-size: 18px; }
.passport-how-section > .passport-home-container > .passport-dark-button { margin-top: 36px; }
.passport-check-section { border-top: 1px solid var(--passport-line-strong); }
.passport-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.passport-check-grid a { display: block; padding: 20px; border: 1px solid var(--passport-line); border-radius: 24px; background: rgba(255,255,255,.84); color: var(--passport-ink); text-decoration: none; }
.passport-check-grid a:hover { border-color: var(--passport-accent); transform: translateY(-1px); }
.passport-check-grid strong, .passport-check-grid span { display: block; }
.passport-check-grid strong { font-size: 17px; }
.passport-check-grid span { margin-top: 10px; color: var(--passport-copy); font-size: 13px; line-height: 1.7; }
.faq-section { padding: 64px 0; background: var(--passport-surface); border-top: 1px solid var(--passport-line-strong); }
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: start; }
.faq-intro h2 { margin: 0; color: var(--passport-ink); font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(2.15rem, 5vw, 3.1rem); line-height: .96; letter-spacing: -.04em; }
.faq-intro p { margin: 22px 0 0; color: var(--passport-copy); font-size: 15px; line-height: 1.8; }
.faq-list { display: grid; gap: 12px; max-width: none; }
.faq-item { overflow: hidden; border: 1px solid var(--passport-line); border-radius: 24px; background: rgba(255,255,255,.84); box-shadow: 0 16px 40px -34px rgba(14,37,55,.18); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; color: var(--passport-ink); font-size: 16px; font-weight: 650; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > .faq-toggle { display: inline-grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid var(--passport-line); border-radius: 50%; background: var(--passport-muted); font-size: 23px; font-weight: 400; transition: transform .2s ease, background .2s ease; }
.faq-item[open] summary > .faq-toggle { transform: rotate(45deg); background: var(--passport-dark); color: #f5fbff; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--passport-copy); font-size: 14px; line-height: 1.7; }

@media (max-width: 900px) {
    main { padding-top: 64px; }
    .site-header { height: 64px; }
    .site-header .main-nav > .mega-menu, .site-header .main-nav > a:not(.header-app-store):not(.header-make-photo) { display: none; }
    .site-header .main-nav { gap: 6px; }
    .header-app-store { display: none !important; }
    .header-make-photo { min-height: 38px !important; padding: 0 15px !important; font-size: 13px !important; }
    .passport-home-hero .passport-home-container { padding-top: 34px; }
    .passport-format-cards, .passport-app-grid, .passport-standards-grid { grid-template-columns: 1fr; }
    .passport-app-copy { padding: 30px 24px; }
    .passport-app-art { min-height: 300px; }
    .passport-standards-grid { gap: 28px; }
    .passport-standard-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .passport-standard.accepted { grid-row: auto; }
    .passport-standard.accepted img { aspect-ratio: 4 / 3; }
    .passport-how-grid { grid-template-columns: repeat(2, 1fr); }
    .passport-check-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .passport-home-container { width: min(100% - 28px, 1024px); }
    .passport-hero-copy h1 { font-size: 2.45rem; }
    .passport-hero-copy p { font-size: 14px; line-height: 1.8; }
    .passport-maker-card { padding: 10px; border-radius: 24px; }
    .passport-maker-subtitle { display: none; }
    .passport-preset { padding: 14px; }
    .passport-preset-title > span:last-child > span { align-items: flex-start; flex-direction: column; gap: 0; }
    .passport-preset-title b { font-size: 16px; }
    .passport-preset-title em { font-size: 12px; }
    .passport-preset-detail { padding: 15px; }
    .passport-format-cards, .passport-why-grid, .passport-how-grid, .passport-check-grid { grid-template-columns: 1fr; }
    .passport-content-section, .passport-standards-section { padding: 48px 0; }
    .passport-section-heading h2, .passport-standards-grid > div:first-child h2 { font-size: 2.35rem; }
    .passport-standard-cards { grid-template-columns: 1fr; }
    .faq-grid { gap: 24px; }
    .passport-app-screens { height: 210px; }
    .passport-app-art { min-height: 270px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Photo-led visual language: the examples are real portrait assets, while the
   measurement and crop guidance remains an authored UI layer. */
.brand-mark--photo { position: relative; overflow: hidden !important; border-radius: 10px; background: linear-gradient(145deg, #0d7c68, #102a43); box-shadow: 0 5px 12px rgba(16,42,67,.18); }
.brand-mark--photo::before { content: ''; position: absolute; inset: 8px 6px 7px; border: 2px solid rgba(255,255,255,.95); border-radius: 5px; }
.brand-mark--photo i { position: absolute; top: 12px; left: 12px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; }
.brand-mark--photo b { position: absolute; right: 8px; bottom: 9px; width: 5px; height: 5px; border-radius: 50%; background: #f0a202; }
.idp-visual-lock { display: inline-flex; align-items: center; gap: 5px; }
.idp-visual-lock i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--idp-green); }
.photo-visual-stage { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center; gap: 6px; margin-top: 14px; padding: 16px 11px 13px; border-radius: 16px; background: #e7f1f0; }
.photo-sample { display: grid; min-width: 0; gap: 6px; justify-items: center; }
.photo-sample-label { align-self: start; width: 100%; overflow: hidden; color: var(--idp-muted); font-size: 10px; font-weight: 850; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.photo-frame { position: relative; width: min(100%, 118px); overflow: hidden; border: 4px solid #fff; background: #d9e7e7; box-shadow: 0 8px 18px rgba(16,42,67,.14); }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.photo-frame--source { aspect-ratio: 4 / 5; border-radius: 12px; transform: rotate(-2deg); }
.photo-frame--source img { filter: saturate(.92) contrast(.98); }
.photo-frame--result { aspect-ratio: 1 / 1.18; border-color: #fff; border-radius: 10px; }
.photo-frame--result img { object-position: center 18%; filter: saturate(.98) contrast(1.02); }
.face-guide--oval { position: absolute; top: 12%; right: 13%; bottom: 12%; left: 13%; border: 1.5px dashed rgba(13,124,104,.92); border-radius: 50%; }
.face-guide-line { position: absolute; right: 8%; left: 8%; height: 1px; background: rgba(13,124,104,.82); }
.face-guide-line--top { top: 28%; }
.face-guide-line--bottom { bottom: 26%; }
.photo-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 23px; max-width: 100%; padding: 4px 7px; border-radius: 999px; color: var(--idp-muted); background: rgba(255,255,255,.88); font-size: 9px; font-weight: 800; line-height: 1.2; text-align: center; }
.photo-chip--success { color: #075848; background: #d5eee7; }
.photo-connector { position: relative; display: block; width: 30px; height: 24px; }
.photo-connector::before { content: ''; position: absolute; top: 11px; right: 2px; left: 2px; height: 2px; background: var(--idp-teal); }
.photo-connector::after { content: ''; position: absolute; top: 5px; right: 1px; width: 12px; height: 12px; border-top: 2px solid var(--idp-teal); border-right: 2px solid var(--idp-teal); transform: rotate(45deg); }
.photo-connector i, .photo-connector b { position: absolute; z-index: 1; display: block; border-radius: 50%; background: #f0a202; }
.photo-connector i { top: 7px; left: 0; width: 8px; height: 8px; }
.photo-connector b { right: 0; bottom: 4px; width: 4px; height: 4px; }
.photo-visual-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; color: var(--idp-muted); font-size: 10px; line-height: 1.35; }
.photo-visual-foot strong { color: var(--idp-navy); font-size: 10px; text-align: right; }
.photo-status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--idp-green); }
.spec-card-photo { position: relative; height: 158px; margin: -20px -20px 15px; overflow: hidden; background: #dce9e8; }
.spec-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .25s ease; }
.spec-card-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,42,67,.12), rgba(16,42,67,.6)); }
.spec-card-photo .idp-flag { position: absolute; top: 13px; left: 14px; }
.spec-card-photo-label { position: absolute; right: 14px; bottom: 13px; color: #fff; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.spec-card:hover .spec-card-photo img, .spec-card:focus-visible .spec-card-photo img { transform: scale(1.04); }
.photo-proof-strip { padding: 8px 0 34px; }
.photo-proof-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.photo-proof-heading h2 { margin: 0; color: var(--idp-navy); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.photo-proof-heading p { max-width: 430px; margin: 0; color: var(--idp-muted); font-size: 14px; line-height: 1.55; }
.photo-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.photo-proof-card { position: relative; min-height: 214px; overflow: hidden; border-radius: 14px; background: #102a43; }
.photo-proof-card img { display: block; width: 100%; height: 214px; object-fit: cover; object-position: center 18%; opacity: .82; transition: transform .25s ease, opacity .25s ease; }
.photo-proof-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(16,42,67,.88)); }
.photo-proof-card figcaption { position: absolute; z-index: 1; right: 17px; bottom: 15px; left: 17px; color: #fff; }
.photo-proof-card strong, .photo-proof-card span { display: block; }
.photo-proof-card strong { font-size: 16px; }
.photo-proof-card span { margin-top: 4px; color: rgba(255,255,255,.78); font-size: 12px; }
.photo-proof-card:hover img { opacity: .96; transform: scale(1.04); }

@media (max-width: 800px) {
    .photo-proof-heading { align-items: flex-start; flex-direction: column; }
    .photo-proof-grid { grid-template-columns: 1fr; }
    .photo-proof-card, .photo-proof-card img { min-height: 190px; height: 190px; }
}

/* Original visual language for IDPicMaker. Competitor layouts informed the information hierarchy;
   all illustrations below are authored for this project and do not hotlink third-party images. */
.idp-visual { position: relative; overflow: hidden; padding: 14px 15px 12px; border: 1px solid var(--idp-line); border-radius: 18px; background: linear-gradient(145deg, #ffffff 0%, #f0f7f5 100%); box-shadow: 0 18px 42px rgba(20,35,41,.08); }
.idp-visual-topline { display: flex; align-items: center; gap: 8px; color: var(--idp-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.idp-visual-lock { margin-left: auto; color: var(--idp-green); font-size: 9px; }
.idp-flag { display: inline-grid; min-width: 32px; height: 22px; place-items: center; padding: 0 5px; color: #fff; border-radius: 5px; font-size: 9px; font-weight: 900; letter-spacing: 0; box-shadow: 0 2px 6px rgba(20,35,41,.12); }
.idp-flag--us { background: linear-gradient(#b22234 0 14%, #fff 14% 28%, #b22234 28% 42%, #fff 42% 56%, #b22234 56% 70%, #fff 70% 84%, #b22234 84%); }
.idp-flag--ca { background: linear-gradient(90deg, #d52b3f 0 28%, #fff 28% 72%, #d52b3f 72%); }
.idp-flag--gb { background: linear-gradient(32deg, transparent 42%, #fff 42% 58%, transparent 58%), linear-gradient(-32deg, transparent 42%, #fff 42% 58%, transparent 58%), #1e5a8a; }
.idp-flag--fr { background: linear-gradient(90deg, #1e5a8a 0 33%, #fff 33% 66%, #ed2939 66%); }
.idp-flag--it { background: linear-gradient(90deg, #138808 0 33%, #fff 33% 66%, #cd212a 66%); }
.idp-flag--cn { background: #de2910; }
.idp-flag--eu { background: #1e5a8a; }
.idp-flag--id { background: linear-gradient(#df2438 0 50%, #fff 50%); color: #142329; }
.idp-visual-art { display: block; width: 100%; height: auto; margin-top: 10px; }
.idp-visual-shadow { filter: drop-shadow(0 8px 10px rgba(20,35,41,.08)); }
.hero-visual-stack { display: grid; gap: 14px; align-self: start; }
.hero-card { box-shadow: none; }
.editor-intro-grid, .page-heading-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: center; }
.editor-intro-grid .idp-visual, .page-heading-grid .idp-visual { margin-top: 0; }
.spec-card-visual { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--idp-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.spec-card-visual .idp-flag { width: 34px; }
.detail-card-visual { margin-bottom: 17px; }
.page-heading-grid .page-heading-copy { min-width: 0; }
.content-visual-row { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: center; }
.content-visual-row .idp-visual { order: 2; }
.content-visual-row .content-visual-copy { order: 1; }
.feature-grid article { position: relative; }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 13px; color: var(--idp-teal); background: var(--idp-soft); border: 1px solid #c8dfda; border-radius: 12px; }
.feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.idp-icon { display: inline-grid; width: 40px; height: 40px; place-items: center; margin-bottom: 12px; color: var(--idp-teal); background: var(--idp-soft); border: 1px solid #c8dfda; border-radius: 12px; }
.idp-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.utility-label { min-width: 0; }
.utility-label > label { display: block; }
.utility-label .idp-icon { margin-bottom: 8px; }
.feature-card .idp-icon { margin-bottom: 2px; }
.legal-page { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 310px; column-gap: 38px; align-items: start; }
.legal-page .idp-visual { grid-column: 2; grid-row: 1 / span 4; }
.legal-page > :not(.idp-visual) { grid-column: 1; }
.legal-page h1 { margin-top: 0; }
.tool-hero-visual { margin-top: 12px; }

@media (max-width: 800px) {
    .editor-intro-grid, .page-heading-grid, .content-visual-row, .legal-page { grid-template-columns: 1fr; }
    .content-visual-row .idp-visual, .content-visual-row .content-visual-copy { order: initial; }
    .legal-page .idp-visual { grid-column: 1; grid-row: auto; margin-bottom: 22px; }
    .idp-visual-art { max-height: 260px; }
}

/* Passport editor workspace: flat sales-crm style with a clear three-step path. */
:root { --idp-violet: #635bda; --idp-cyan: #0891b2; --idp-panel: #f4f7f8; }
.editor-page { padding-top: 38px; }
.editor-page .editor-intro-grid { align-items: start; }
.editor-page .editor-intro { padding-top: 10px; }
.editor-page .editor-intro h1 { max-width: 700px; font-size: clamp(40px, 5vw, 64px); }
.editor-page .editor-intro p:not(.eyebrow) { max-width: 680px; }
.editor-intro-meta { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 22px; color: var(--idp-muted); font-size: 12px; font-weight: 700; }
.editor-intro-meta span { display: inline-flex; align-items: center; gap: 6px; }
.editor-intro-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--idp-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.editor-page .idp-visual { border-radius: 14px; box-shadow: none; }
.editor-layout { grid-template-columns: minmax(300px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.editor-page .control-panel, .editor-page .canvas-panel { border-radius: 14px; box-shadow: none; }
.editor-page .control-panel { padding: 20px; }
.panel-heading, .section-heading-row, .quality-heading { display: flex; align-items: center; gap: 10px; }
.panel-heading { padding-bottom: 17px; border-bottom: 1px solid var(--idp-line); }
.panel-heading h2, .section-heading-row h3, .quality-heading h2 { margin: 0; color: var(--idp-navy); font-size: 16px; letter-spacing: -.02em; }
.panel-kicker { margin: 0 0 2px; color: var(--idp-violet); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.panel-heading-icon, .section-heading-icon, .quality-heading-icon { display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #d9d8fb; border-radius: 9px; color: var(--idp-violet); background: #f2f1ff; }
.panel-heading-icon svg, .section-heading-icon svg, .quality-heading-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.control-section { padding: 18px 0 0; }
.field-hint { margin: 8px 0 0; color: var(--idp-muted); font-size: 11px; line-height: 1.45; }
.editor-page .select-control { min-height: 46px; border-color: #b9cbd0; border-radius: 9px; }
.editor-page .upload-box { min-height: 142px; margin: 18px 0; padding: 22px 14px; border-color: #a6c5cb; border-radius: 12px; background: var(--idp-panel); transition: border-color .18s ease, background-color .18s ease; }
.editor-page .upload-box:hover, .editor-page .upload-box:focus-within { border-color: var(--idp-cyan); background: #eefafd; }
.editor-page .upload-icon { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 4px; border-radius: 10px; color: var(--idp-cyan); background: #dff5fa; }
.editor-page .upload-icon svg { width: 21px; height: 21px; }
.editor-page .upload-box strong { color: var(--idp-navy); }
.editor-page .upload-box small { font-size: 11px; }
.editor-page .control-group { margin: 20px 0 16px; }
.editor-page .button-row { gap: 9px; margin-bottom: 12px; }
.editor-page .button { transition: color .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease; }
.editor-page .button-secondary:hover:not(:disabled) { border-color: var(--idp-violet); color: var(--idp-violet); background: #f8f7ff; }
.editor-page .button-quiet:hover:not(:disabled) { color: var(--idp-violet); background: #f8f7ff; }
.export-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--idp-line); }
.section-heading-row { margin-bottom: 10px; }
.export-section .button { margin-top: 8px; }
.quality-panel { margin-top: 20px; padding: 17px 0 0; }
.quality-heading { margin-bottom: 10px; }
.quality-heading-icon { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; color: var(--idp-teal); background: var(--idp-soft); border-color: #c8dfda; }
.quality-heading-icon svg { width: 16px; height: 16px; }
.editor-page .quality-panel ul { margin-top: 8px; }
.editor-page .canvas-panel { min-width: 0; padding: 0; overflow: hidden; }
.canvas-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--idp-line); background: #fff; }
.canvas-panel-header h2 { margin: 0; color: var(--idp-navy); font-size: 18px; letter-spacing: -.03em; }
.canvas-status { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--idp-muted); font-size: 11px; font-weight: 750; white-space: nowrap; }
.canvas-status i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--idp-teal); }
.editor-page .canvas-wrap { min-height: 620px; padding: 34px; border-radius: 0; background: #e9f1f2; }
.editor-page .canvas-stage { width: min(100%, 720px); max-height: none; border: 1px solid #c6d8dc; background: #f6f9f9; }
.editor-page .canvas-stage canvas { box-shadow: none; }
.canvas-empty { display: flex; flex-direction: column; align-items: center; gap: 5px; max-width: 240px; text-align: center; }
.canvas-empty strong { color: var(--idp-navy); font-size: 15px; }
.canvas-empty > span:last-child { color: var(--idp-muted); font-size: 12px; line-height: 1.45; }
.canvas-empty-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 4px; border: 1px solid #b7dfe7; border-radius: 12px; color: var(--idp-cyan); background: #e8faff; }
.canvas-empty-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.editor-page .print-controls { margin: 18px 20px 0; }
.editor-page .spec-summary { margin: 18px 20px 20px; }
.editor-seo { border-top: 1px solid var(--idp-line); }

/* Navigation, language preparation, and reusable SEO guide blocks. */
.mega-menu { position: relative; }
.mega-menu summary { display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; color: var(--idp-muted); white-space: nowrap; cursor: pointer; list-style: none; }
.mega-menu summary::-webkit-details-marker, .language-menu summary::-webkit-details-marker { display: none; }
.mega-menu summary:hover, .mega-menu summary:focus-visible, .mega-menu[open] summary { color: var(--idp-navy); }
.nav-chevron, .language-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.mega-menu[open] .nav-chevron, .language-menu[open] .language-chevron { transform: rotate(180deg); }
.mega-panel { position: absolute; z-index: 30; top: calc(100% + 12px); left: 50%; width: min(640px, calc(100vw - 40px)); padding: 16px; border: 1px solid var(--idp-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 46px rgba(16,42,67,.14); transform: translateX(-50%); }
.mega-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.mega-panel a { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px; border-radius: 10px; color: var(--idp-navy); text-decoration: none; }
.mega-panel a:hover, .mega-panel a:focus-visible { background: var(--idp-soft); }
.mega-panel a > span:last-child { min-width: 0; }
.mega-panel strong, .mega-panel small { display: block; }
.mega-panel strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mega-panel small { margin-top: 3px; color: var(--idp-muted); font-size: 11px; line-height: 1.35; }
.mega-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--idp-navy); }
.mega-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mega-panel-footer { margin-top: 10px; padding: 11px 4px 0; border-top: 1px solid var(--idp-line); }
.mega-panel-footer a { padding: 4px; color: var(--idp-teal); font-size: 12px; font-weight: 800; }
.mega-panel--compact { display: grid; gap: 4px; width: 340px; }
.mega-panel--compact > a { padding: 9px; }
.language-menu { position: relative; }
.language-menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 11px; border: 1px solid #b9cbd0; border-radius: 22px; color: var(--idp-navy); background: #fff; cursor: pointer; list-style: none; }
.language-menu summary > svg:first-child { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.language-panel { position: absolute; z-index: 30; right: 0; bottom: calc(100% + 10px); width: 250px; padding: 14px; border: 1px solid var(--idp-line); border-radius: 14px; background: #fff; box-shadow: 0 16px 38px rgba(16,42,67,.14); }
.language-panel > strong { display: block; margin: 0 10px 7px; color: var(--idp-navy); font-size: 13px; }
.language-panel a, .language-panel .is-planned { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--idp-navy); font-size: 13px; text-decoration: none; }
.language-panel a:hover, .language-panel a:focus-visible, .language-panel .is-current { background: var(--idp-soft); }
.language-panel .is-planned { color: var(--idp-muted); cursor: default; }
.language-panel .is-planned small { color: var(--idp-muted); font-size: 10px; }
.language-panel p { margin: 10px 10px 0; color: var(--idp-muted); font-size: 11px; line-height: 1.45; }
.site-footer { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.footer-links { margin-left: auto; }
.guide-section { padding: 26px 0 82px; }
.guide-section-heading { max-width: 760px; margin-bottom: 24px; }
.guide-section-heading h2 { margin: 0; color: var(--idp-navy); font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
.guide-section-heading > p:not(.eyebrow) { color: var(--idp-muted); font-size: 17px; line-height: 1.65; }
.tool-detail-section { padding-top: 4px; }
.tool-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-detail-card { min-width: 0; padding: 20px; border-left: 3px solid var(--idp-teal); background: #fff; }
.tool-detail-card h3 { margin: 0; color: var(--idp-navy); font-size: 18px; letter-spacing: -.02em; }
.tool-detail-card p { margin: 10px 0 0; color: var(--idp-muted); font-size: 15px; line-height: 1.7; }
.guide-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { min-width: 0; padding: 20px; border: 1px solid var(--idp-line); border-radius: 14px; background: #fff; }
.guide-card h3, .guide-step h3 { margin: 0; color: var(--idp-navy); font-size: 16px; letter-spacing: -.015em; }
.guide-card p, .guide-step p { color: var(--idp-muted); font-size: 14px; line-height: 1.6; }
.guide-card p { margin-bottom: 0; }
.guide-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.guide-step { display: flex; gap: 12px; min-width: 0; padding: 18px; border-top: 3px solid var(--idp-teal); background: var(--idp-soft); }
.guide-step-number { color: var(--idp-violet); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.guide-step p { margin-bottom: 0; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 18px 20px; border: 1px solid #d9d8fb; border-radius: 14px; background: #f8f7ff; }
.guide-cta strong, .guide-cta span { display: block; }
.guide-cta strong { color: var(--idp-navy); font-size: 16px; }
.guide-cta span { margin-top: 3px; color: var(--idp-muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 800px) {
    .editor-page { padding-top: 28px; }
    .editor-page .editor-intro { padding-top: 0; }
    .canvas-panel-header { align-items: flex-start; flex-direction: column; }
    .editor-page .canvas-wrap { min-height: 390px; padding: 16px; }
    .editor-page .print-controls, .editor-page .spec-summary { margin-left: 16px; margin-right: 16px; }
    .site-header .main-nav { max-width: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 6px 12px; }
    .mega-panel { position: fixed; top: 78px; left: 20px; right: 20px; width: auto; max-height: calc(100vh - 98px); overflow: auto; transform: none; }
    .mega-panel-grid, .tool-detail-grid, .guide-card-grid, .guide-step-grid { grid-template-columns: 1fr; }
    .mega-panel--compact { width: auto; }
    .site-footer { align-items: flex-start; }
    .footer-links { margin-left: 0; }
    .language-panel { right: auto; left: 0; }
    .guide-cta { align-items: flex-start; flex-direction: column; }
}

/* Homepage and editor refresh: preset-first hierarchy inspired by modern
   passport photo makers, with authored UI and local portrait examples. */
.hero--passport-maker { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 38px; }
.hero--passport-maker .hero-copy { padding-top: 28px; }
.hero--passport-maker .hero-copy h1 { max-width: 640px; font-size: clamp(40px, 5vw, 65px); }
.hero-maker-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(190px, .85fr); gap: 14px; align-items: start; }
.hero-maker-preview { display: grid; gap: 12px; min-width: 0; }
.hero-preset-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--idp-line); border-radius: 14px; background: #fff; }
.hero-preset-cover { display: grid; width: 42px; height: 58px; place-items: center; overflow: hidden; border-radius: 6px; background: #15284f; box-shadow: 0 5px 12px rgba(16,42,67,.15); }
.hero-preset-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-preset-card strong, .hero-preset-card span { display: block; }
.hero-preset-card strong { margin: 1px 0 3px; color: var(--idp-navy); font-size: 17px; }
.hero-preset-card span:not(.hero-preset-kicker) { color: var(--idp-muted); font-size: 12px; }
.hero-preset-kicker { color: var(--idp-teal); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.hero-preset-card > a { color: var(--idp-teal); font-size: 27px; font-weight: 800; text-decoration: none; }
.hero-benefits { display: grid; gap: 10px; }
.hero-benefits article { min-width: 0; padding: 14px; border: 1px solid var(--idp-line); border-radius: 14px; background: #fff; }
.hero-benefits .feature-icon { width: 34px; height: 34px; margin-bottom: 9px; border-radius: 10px; }
.hero-benefits .feature-icon svg { width: 18px; height: 18px; }
.hero-benefits .feature-number { display: block; margin-bottom: 5px; color: var(--idp-focus); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.hero-benefits h2 { margin: 0; color: var(--idp-navy); font-size: 15px; letter-spacing: -.02em; line-height: 1.2; }
.hero-benefits p { margin: 7px 0 0; color: var(--idp-muted); font-size: 12px; line-height: 1.45; }

.maker-config-card { margin: 4px 0 28px; padding: 0 28px 25px; border: 1px solid var(--idp-line); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 18px 42px rgba(20,35,41,.06); }
.maker-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 8px; border-bottom: 1px solid var(--idp-line); }
.maker-tab { min-height: 44px; border: 0; border-radius: 11px; color: var(--idp-muted); background: transparent; font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .04em; cursor: pointer; }
.maker-tab:hover, .maker-tab:focus-visible { color: var(--idp-navy); background: var(--idp-soft); }
.maker-tab.is-active { color: #fff; background: var(--idp-navy); box-shadow: 0 5px 12px rgba(16,42,67,.14); }
.maker-config-intro { margin: 20px auto 17px; color: var(--idp-muted); font-size: 15px; line-height: 1.55; text-align: center; }
.maker-preset-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 19px 21px; border: 1px solid var(--idp-line); border-radius: 17px; background: linear-gradient(135deg, #fff, #f8fbfb); }
.maker-preset-cover { display: grid; width: 64px; height: 92px; place-items: center; overflow: hidden; border-radius: 8px; background: #15284f; box-shadow: 0 8px 18px rgba(16,42,67,.15); }
.maker-preset-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.maker-preset-copy strong, .maker-preset-copy span, .maker-preset-copy small { display: block; }
.maker-preset-copy strong { margin: 2px 0 4px; color: var(--idp-navy); font-size: 24px; letter-spacing: -.03em; }
.maker-preset-copy > span:not(.panel-kicker) { color: var(--idp-muted); font-size: 16px; }
.maker-preset-copy small { margin-top: 6px; color: var(--idp-muted); font-size: 12px; }
.maker-preset-chevron { color: var(--idp-muted); font-size: 27px; }
.maker-upload-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .62fr); gap: 12px; margin-top: 18px; }
.maker-upload-primary, .maker-phone-button { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 14px 18px; border-radius: 999px; font: inherit; cursor: pointer; }
.maker-upload-primary { color: #fff; background: var(--idp-navy); box-shadow: 0 10px 18px rgba(16,42,67,.14); }
.maker-upload-primary:hover, .maker-upload-primary:focus-within { background: #183b58; }
.maker-upload-primary input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.maker-upload-primary-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; font-size: 22px; }
.maker-upload-primary strong, .maker-upload-primary small { display: block; text-align: left; }
.maker-upload-primary strong { font-size: 16px; }
.maker-upload-primary small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: 11px; }
.maker-upload-arrow { margin-left: auto; font-size: 25px; }
.maker-phone-button { justify-content: center; border: 1px solid var(--idp-line); color: var(--idp-navy); background: #fff; }
.maker-phone-button:hover, .maker-phone-button:focus-visible { border-color: var(--idp-blue); background: #f8fbfc; }
.maker-phone-button > span { color: var(--idp-blue); font-size: 23px; }
.maker-phone-button strong { font-size: 14px; }
.maker-phone-button small { color: var(--idp-muted); font-size: 13px; }
.maker-price-note { margin: 12px 0 0; color: var(--idp-muted); font-size: 12px; text-align: center; }
.qr-modal[hidden] { display: none; }
.qr-modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; }
.qr-modal-backdrop { position: absolute; inset: 0; background: rgba(16,42,67,.48); backdrop-filter: blur(4px); }
.qr-modal-card { position: relative; z-index: 1; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; width: min(100%, 720px); padding: 28px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: #f8fbfc; box-shadow: 0 24px 70px rgba(16,42,67,.28); }
.qr-modal-close { position: absolute; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--idp-line); border-radius: 50%; color: var(--idp-navy); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.qr-modal-code { display: grid; min-height: 250px; place-items: center; padding: 12px; border: 1px solid var(--idp-line); border-radius: 18px; background: #fff; }
.qr-modal-code > div { display: grid; width: 220px; height: 220px; place-items: center; }
.qr-modal-code canvas, .qr-modal-code img { display: block; width: 220px; height: 220px; image-rendering: pixelated; }
.qr-modal-code span { color: var(--idp-muted); font-size: 12px; }
.qr-modal-copy h2 { margin: 0; color: var(--idp-navy); font-size: 30px; letter-spacing: -.04em; }
.qr-modal-copy > p:not(.eyebrow) { color: var(--idp-muted); line-height: 1.55; }
.qr-modal-copy ol { display: grid; gap: 12px; margin: 20px 0; padding: 0; list-style: none; counter-reset: qr-step; }
.qr-modal-copy li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; color: var(--idp-navy); font-size: 14px; font-weight: 700; }
.qr-modal-copy li::before { counter-increment: qr-step; content: counter(qr-step); display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: var(--idp-navy); }
.qr-modal-status { padding: 12px 14px; border-radius: 12px; color: var(--idp-blue); background: #eaf3f8; font-size: 13px; font-weight: 800; }
.qr-modal-copy > small { display: block; margin-top: 10px; color: var(--idp-muted); }
.editor-page .editor-intro-grid { display: none; }
.editor-page .canvas-wrap { min-height: 520px; padding: 28px; }
.editor-page .canvas-stage { width: min(100%, 470px); margin: 0 auto; }

@media (max-width: 1050px) {
    .hero--passport-maker { grid-template-columns: 1fr; gap: 22px; }
    .hero--passport-maker .hero-copy { padding-top: 0; }
    .hero-maker-showcase { grid-template-columns: minmax(0, 1fr) 250px; }
}

@media (max-width: 800px) {
    .hero-maker-showcase, .maker-upload-actions, .qr-modal-card { grid-template-columns: 1fr; }
    .hero-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-benefits article { padding: 12px; }
    .hero-benefits p { font-size: 11px; }
    .maker-config-card { padding: 0 16px 20px; border-radius: 18px; }
    .maker-preset-card { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
    .maker-preset-cover { width: 52px; height: 75px; }
    .maker-preset-copy strong { font-size: 19px; }
    .maker-preset-copy > span:not(.panel-kicker) { font-size: 13px; }
    .maker-upload-primary, .maker-phone-button { border-radius: 16px; }
    .qr-modal-card { max-height: calc(100vh - 40px); overflow: auto; padding: 22px; }
    .qr-modal-code { min-height: 210px; }
    .qr-modal-code > div, .qr-modal-code canvas, .qr-modal-code img { width: 180px; height: 180px; }
    .hero-benefits { grid-template-columns: 1fr; }
}

/* Reference-style homepage maker: the tool is the first visual object, not a
   secondary card hidden beneath a marketing hero. */
.home-maker { padding-top: 34px; padding-bottom: 62px; }
.home-maker-heading { max-width: 820px; margin: 0 auto 24px; text-align: center; }
.home-maker-heading h1 { margin: 0; color: var(--idp-navy); font-size: clamp(42px, 6vw, 70px); letter-spacing: -.06em; }
.home-maker-heading .lede { max-width: 760px; margin: 18px auto 0; color: var(--idp-muted); font-size: 18px; line-height: 1.6; }
.home-maker-card { padding: 0 28px 28px; border: 1px solid var(--idp-line); border-radius: 26px; background: #fff; box-shadow: 0 24px 70px rgba(16,42,67,.08); }
.home-maker-card .maker-tabs { margin: 0 -1px; padding: 9px; border: 0; border-radius: 24px; background: #f1f6f7; }
.home-maker-card .maker-tab { min-height: 54px; border-radius: 17px; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; }
.home-maker-subtitle { margin: 18px auto 22px; color: var(--idp-muted); font-size: 16px; line-height: 1.55; text-align: center; }
.home-preset-card { overflow: hidden; border: 1px solid var(--idp-line); border-radius: 20px; background: linear-gradient(140deg, #fff, #f7fafb); }
.home-preset-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--idp-line); }
.home-preset-heading .idp-flag { width: 42px; height: 29px; }
.home-preset-heading strong, .home-preset-heading span { display: block; }
.home-preset-heading strong { margin-top: 3px; color: var(--idp-navy); font-size: 22px; font-weight: 750; }
.home-preset-heading > div > span:last-child { margin-top: 2px; color: var(--idp-muted); font-size: 14px; }
.home-preset-chevron { color: var(--idp-muted); font-size: 25px; letter-spacing: -.25em; }
.home-preset-detail { display: flex; align-items: center; gap: 24px; padding: 24px 38px; }
.home-preset-cover { display: grid; width: 118px; height: 168px; place-items: center; overflow: hidden; flex: 0 0 118px; border-radius: 10px; background: #15284f; box-shadow: 0 10px 20px rgba(16,42,67,.16); }
.home-preset-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-preset-detail dl { display: grid; gap: 12px; margin: 0; }
.home-preset-detail dl div { display: grid; grid-template-columns: 116px 1fr; gap: 8px; align-items: baseline; }
.home-preset-detail dt { color: var(--idp-muted); font-size: 16px; }
.home-preset-detail dd { margin: 0; color: var(--idp-navy); font-size: 18px; font-weight: 750; }
.home-upload-cta { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 66px; margin-top: 18px; border-radius: 999px; color: #fff; background: var(--idp-navy); font-size: 19px; font-weight: 750; text-decoration: none; box-shadow: 0 12px 20px rgba(16,42,67,.16); }
.home-upload-cta:hover, .home-upload-cta:focus-visible { background: #183b58; }
.home-upload-cta > span { font-size: 24px; }
.home-upload-cta b { margin-left: 8px; font-size: 24px; }
.home-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.home-maker-note { margin: 12px 0 18px; color: var(--idp-muted); font-size: 14px; text-align: center; }
.home-phone-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border: 1px solid var(--idp-line); border-radius: 999px; color: var(--idp-navy); background: #fff; text-decoration: none; }
.home-phone-cta:hover, .home-phone-cta:focus-visible { border-color: var(--idp-blue); background: #f8fbfc; }
.home-phone-cta > span:first-child { color: var(--idp-blue); font-size: 21px; }
.home-phone-cta > span:last-child { color: var(--idp-muted); }
.home-maker-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.home-maker-benefits article { padding: 17px 18px; border: 1px solid var(--idp-line); border-radius: 14px; background: #f8fbfb; }
.home-maker-benefits strong, .home-maker-benefits span { display: block; }
.home-maker-benefits strong { color: var(--idp-navy); font-size: 15px; }
.home-maker-benefits span { margin-top: 5px; color: var(--idp-muted); font-size: 12px; line-height: 1.45; }

@media (max-width: 800px) {
    .home-maker { padding-top: 24px; }
    .home-maker-card { padding: 0 14px 18px; border-radius: 19px; }
    .home-maker-card .maker-tabs { border-radius: 17px; }
    .home-maker-card .maker-tab { min-height: 45px; font-size: 12px; }
    .home-maker-heading h1 { font-size: 42px; }
    .home-maker-heading .lede { font-size: 15px; }
    .home-preset-heading { padding: 16px; }
    .home-preset-detail { align-items: flex-start; padding: 20px 16px; }
    .home-preset-cover { width: 82px; height: 118px; flex-basis: 82px; }
    .home-preset-detail dl div { grid-template-columns: 92px 1fr; }
    .home-preset-detail dt, .home-preset-detail dd { font-size: 14px; }
    .home-upload-cta { min-height: 58px; font-size: 16px; }
    .home-maker-benefits { grid-template-columns: 1fr; }
}

/* Long-form homepage sections: keep the reference site's rhythm while using
   real portrait examples and a clear, reusable IDPicMaker visual system. */
.home-app-promo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; margin-bottom: 72px; overflow: hidden; border-radius: 28px; background: #e8f2f5; }
.home-app-copy { padding: 48px 42px; }
.home-app-copy h2, .home-standards h2, .home-benefits h2, .home-howto h2, .home-check-section h2 { margin: 0; color: var(--idp-navy); font-size: clamp(29px, 4vw, 48px); letter-spacing: -.055em; line-height: 1.05; }
.home-app-copy > p:not(.eyebrow) { max-width: 530px; margin: 19px 0 22px; color: var(--idp-muted); font-size: 17px; line-height: 1.6; }
.home-app-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 25px; color: var(--idp-navy); font-size: 13px; font-weight: 750; }
.home-app-art { display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; padding: 28px; color: rgba(255,255,255,.72); background: var(--idp-navy); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; }
.home-app-art > span { font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.home-app-art > strong { color: #fff; font-size: 15px; text-align: center; }
.home-app-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; margin: 24px 0; }
.home-app-screens figure { margin: 0; transform: rotate(-3deg); }
.home-app-screens figure:nth-child(2) { transform: translateY(-14px) rotate(2deg); }
.home-app-screens figure:nth-child(3) { transform: rotate(4deg); }
.home-app-screens img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border: 5px solid rgba(255,255,255,.9); border-radius: 15px; box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.home-app-screens figcaption { margin-top: 8px; color: rgba(255,255,255,.7); font-size: 10px; text-align: center; }
.home-section-heading { align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.home-section-heading h2 { max-width: 750px; }
.home-section-heading > a { flex: 0 0 auto; color: var(--idp-teal); font-weight: 800; }
.home-standards { padding-bottom: 76px; }
.standards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.standard-card { overflow: hidden; border: 1px solid var(--idp-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(20,35,41,.045); }
.standard-photo { position: relative; aspect-ratio: 1 / .9; overflow: hidden; background: #dce9e8; }
.standard-photo::after { position: absolute; inset: 0; display: grid; place-items: start end; padding: 13px; content: ''; background: linear-gradient(180deg, rgba(16,42,67,.08), transparent 45%, rgba(16,42,67,.45)); }
.standard-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.standard-photo span { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; background: rgba(16,42,67,.52); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.standard-card--accepted .standard-photo span { background: rgba(13,124,104,.75); }
.standard-card h3, .standard-card p { margin-right: 17px; margin-left: 17px; }
.standard-card h3 { margin-top: 16px; margin-bottom: 6px; color: var(--idp-navy); font-size: 17px; }
.standard-card p { margin-top: 0; margin-bottom: 19px; color: var(--idp-muted); font-size: 13px; line-height: 1.5; }
.home-benefits, .home-howto, .home-check-section { padding-bottom: 76px; }
.home-benefits > h2, .home-howto > h2, .home-check-section > h2 { max-width: 800px; margin-bottom: 24px; }
.home-benefit-grid, .home-howto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-benefit-grid article, .home-howto-grid article { min-height: 185px; padding: 24px; border: 1px solid var(--idp-line); border-radius: 17px; background: #fff; }
.home-benefit-grid h3, .home-howto-grid h3 { margin: 0; color: var(--idp-navy); font-size: 17px; line-height: 1.25; }
.home-benefit-grid p, .home-howto-grid p { margin: 13px 0 0; color: var(--idp-muted); font-size: 14px; line-height: 1.55; }
.home-howto-grid article > span { display: block; margin-bottom: 34px; color: var(--idp-focus); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.home-howto > .button { margin-top: 24px; }
.home-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-check-grid a { display: grid; min-height: 128px; gap: 7px; padding: 20px; border: 1px solid var(--idp-line); border-radius: 15px; color: var(--idp-ink); background: #fff; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-check-grid a:hover, .home-check-grid a:focus-visible { border-color: #9fc2c7; box-shadow: 0 12px 26px rgba(20,35,41,.06); transform: translateY(-2px); }
.home-check-grid strong { color: var(--idp-navy); font-size: 16px; }
.home-check-grid span { color: var(--idp-muted); font-size: 13px; line-height: 1.45; }
.tool-action-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 6px; margin-bottom: 56px; padding: 24px 28px; border: 1px solid var(--idp-line); border-radius: 22px; background: linear-gradient(120deg, #f0f7f7, #fff); box-shadow: 0 14px 36px rgba(16,42,67,.05); }
.tool-action-cover { display: grid; width: 150px; height: 205px; place-items: center; overflow: hidden; border-radius: 11px; background: #15284f; box-shadow: 0 12px 24px rgba(16,42,67,.17); }
.tool-action-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tool-action-copy h2 { max-width: 720px; margin: 0; color: var(--idp-navy); font-size: clamp(26px, 4vw, 40px); letter-spacing: -.05em; line-height: 1.08; }
.tool-action-copy > p:not(.eyebrow) { max-width: 730px; margin: 13px 0 20px; color: var(--idp-muted); font-size: 15px; line-height: 1.55; }
.tool-action-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pricing-package { display: grid; place-items: center; padding-bottom: 74px; }
.pricing-package-card { width: min(100%, 720px); padding: 34px; border: 1px solid #9fc2c7; border-radius: 22px; background: #fff; box-shadow: 0 18px 44px rgba(16,42,67,.08); text-align: center; }
.pricing-package-card h2 { margin: 0; color: var(--idp-navy); font-size: clamp(30px, 5vw, 46px); letter-spacing: -.055em; }
.pricing-package-card > p:not(.eyebrow):not(.muted) { max-width: 570px; margin: 15px auto 22px; color: var(--idp-muted); line-height: 1.6; }
.pricing-package-price { display: grid; justify-items: center; gap: 2px; margin: 12px 0 20px; }
.pricing-package-price del { color: var(--idp-muted); font-size: 17px; }
.pricing-package-price strong { color: var(--idp-navy); font-size: 48px; letter-spacing: -.05em; }
.pricing-package-price span { color: var(--idp-muted); font-size: 13px; }
.pricing-included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; max-width: 570px; margin: 0 auto 25px; padding: 18px 0; border-top: 1px solid var(--idp-line); border-bottom: 1px solid var(--idp-line); color: var(--idp-navy); font-size: 14px; text-align: left; list-style: none; }
.pricing-included li::before { margin-right: 8px; color: var(--idp-teal); content: '✓'; font-weight: 900; }
.pricing-package-card > .button { min-width: 260px; border-radius: 999px; }

/* Browser-first requirements checker. It deliberately exposes measurable
   facts and keeps authority-level acceptance as a visible boundary. */
.checker-page { padding-top: 38px; padding-bottom: 78px; }
.checker-heading { max-width: 790px; margin-bottom: 26px; }
.checker-heading h1 { margin: 0; color: var(--idp-navy); font-size: clamp(40px, 5vw, 64px); letter-spacing: -.06em; }
.checker-heading .lede { max-width: 740px; margin-top: 16px; color: var(--idp-muted); font-size: 18px; line-height: 1.6; }
.checker-card { display: grid; grid-template-columns: minmax(290px, .7fr) minmax(0, 1.3fr); gap: 24px; padding: 24px; border: 1px solid var(--idp-line); border-radius: 24px; background: #fff; box-shadow: 0 20px 52px rgba(16,42,67,.07); }
.checker-controls { padding: 10px 8px 10px 4px; }
.checker-controls h2, .checker-results h2 { margin: 0; color: var(--idp-navy); font-size: 21px; letter-spacing: -.03em; }
.checker-controls > p, .checker-results > p { color: var(--idp-muted); font-size: 14px; line-height: 1.55; }
.checker-field { display: grid; gap: 8px; margin-top: 20px; }
.checker-field > label { color: var(--idp-navy); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.checker-field select, .checker-upload { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #b9ced3; border-radius: 12px; color: var(--idp-navy); background: #fff; font: inherit; }
.checker-upload { display: grid; place-items: center; border-style: dashed; color: var(--idp-blue); font-weight: 750; text-align: center; cursor: pointer; }
.checker-upload small { display: block; margin-top: 3px; color: var(--idp-muted); font-size: 11px; font-weight: 500; }
.checker-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.checker-privacy { margin-top: 16px; color: var(--idp-muted); font-size: 12px; line-height: 1.5; }
.checker-preview { position: relative; display: grid; min-height: 350px; place-items: center; overflow: hidden; border-radius: 18px; background: #e8f1f3; }
.checker-preview img { display: block; width: 100%; height: 100%; max-height: 480px; object-fit: contain; }
.checker-preview-empty { display: grid; place-items: center; padding: 48px; color: var(--idp-muted); text-align: center; }
.checker-preview-empty strong { display: block; margin-bottom: 8px; color: var(--idp-navy); font-size: 18px; }
.checker-guide { position: absolute; top: 12%; right: 26%; bottom: 12%; left: 26%; border: 2px dashed rgba(13,124,104,.8); border-radius: 48% 48% 43% 43%; pointer-events: none; }
.checker-results { grid-column: 1 / -1; padding: 20px 4px 4px; border-top: 1px solid var(--idp-line); }
.checker-summary { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; }
.checker-summary span { padding: 8px 11px; border-radius: 999px; color: var(--idp-muted); background: #f2f7f7; font-size: 12px; font-weight: 750; }
.checker-summary span.is-good { color: #075848; background: #d9efe9; }
.checker-summary span.is-warn { color: #825f00; background: #fff1c9; }
.checker-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.checker-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 13px; border: 1px solid var(--idp-line); border-radius: 12px; background: #fbfdfd; }
.checker-list li::before { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #fff; background: var(--idp-teal); content: '✓'; font-weight: 850; }
.checker-list li.is-warn::before { color: #825f00; background: #f8d77d; content: '!'; }
.checker-list strong, .checker-list span { display: block; }
.checker-list strong { color: var(--idp-navy); font-size: 13px; }
.checker-list span { margin-top: 3px; color: var(--idp-muted); font-size: 12px; line-height: 1.45; }

/* Shared target-site content templates: one visual system for the long-tail
   pages, while the editor remains the functional destination. */
.target-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 42px; align-items: center; padding-top: 72px; padding-bottom: 50px; }
.target-hero-copy { max-width: 760px; }
.target-hero h1 { margin: 8px 0 0; color: var(--idp-navy); font-size: clamp(42px, 6vw, 78px); letter-spacing: -.07em; line-height: .98; }
.target-hero .lede { max-width: 700px; margin: 22px 0 26px; color: var(--idp-muted); font-size: 19px; line-height: 1.58; }
.target-hero-subheading { max-width: 700px; margin: -10px 0 24px; color: var(--idp-navy); font-size: clamp(20px, 2.3vw, 29px); line-height: 1.2; letter-spacing: -.035em; }
.target-hero-card { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--idp-line); border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(16,42,67,.08); }
.target-photo-frame { height: 160px; overflow: hidden; border-radius: 13px; background: #e9f1f3; }
.target-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.target-hero-card strong, .target-hero-card span { display: block; }
.target-hero-card strong { color: var(--idp-navy); font-size: 17px; }
.target-hero-card span { margin-top: 7px; color: var(--idp-muted); font-size: 13px; line-height: 1.45; }
.target-card-grid, .directory-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; padding-bottom: 60px; }
.target-card, .directory-card, .blog-card { display: block; border: 1px solid var(--idp-line); border-radius: 18px; color: var(--idp-ink); background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.target-card { min-height: 220px; padding: 23px; }
.target-card:hover, .directory-card:hover, .blog-card:hover { border-color: #9fc2c7; box-shadow: 0 16px 34px rgba(16,42,67,.08); transform: translateY(-2px); }
.target-card-number { color: var(--idp-teal); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.target-card h2, .blog-card h2 { margin: 18px 0 9px; color: var(--idp-navy); font-size: 22px; letter-spacing: -.04em; line-height: 1.1; }
.target-card p, .blog-card > p:not(.eyebrow) { margin: 0; color: var(--idp-muted); font-size: 14px; line-height: 1.55; }
.target-card-link, .blog-card > span, .directory-card small { display: block; margin-top: 18px; color: var(--idp-blue); font-size: 13px; font-weight: 800; }
.target-sections { display: grid; gap: 0; padding-bottom: 52px; }
.target-section { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--idp-line); }
.target-section h2 { margin: 0 0 10px; color: var(--idp-navy); font-size: clamp(25px, 3vw, 38px); letter-spacing: -.05em; }
.target-section p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--idp-muted); font-size: 16px; line-height: 1.65; }
.target-cta-band { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 74px; padding: 30px 32px; border-radius: 22px; background: var(--idp-navy); }
.target-cta-band h2 { margin: 0; color: #fff; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.05em; }
.target-cta-band .eyebrow { color: #a9d5d5; }
.target-cta-band .button { flex: 0 0 auto; color: var(--idp-navy); background: #fff; }
.directory-stat { display: grid; gap: 4px; padding: 25px; border: 1px solid var(--idp-line); border-radius: 22px; background: linear-gradient(145deg, #e9f4f4, #fff); }
.directory-stat strong { color: var(--idp-navy); font-size: 64px; letter-spacing: -.08em; line-height: 1; }
.directory-stat span { color: var(--idp-muted); }
.directory-stat a { margin-top: 20px; color: var(--idp-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.directory-tools { display: grid; gap: 13px; padding-bottom: 27px; }
.directory-tools label { color: var(--idp-navy); font-size: 13px; font-weight: 800; }
.directory-tools input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #b9ced3; border-radius: 12px; color: var(--idp-navy); background: #fff; font: inherit; }
.directory-letters { display: flex; flex-wrap: wrap; gap: 7px; }
.directory-letters button { min-width: 31px; height: 31px; border: 1px solid var(--idp-line); border-radius: 8px; color: var(--idp-blue); background: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.directory-letters button.is-active, .directory-letters button:hover { color: #fff; border-color: var(--idp-navy); background: var(--idp-navy); }
.directory-card { display: grid; grid-template-columns: 48px 1fr; gap: 13px; align-items: start; min-height: 126px; padding: 18px; }
.directory-card[hidden] { display: none; }
.directory-flag { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--idp-navy); background: #e7f1f3; font-size: 11px; font-weight: 850; }
.directory-card h2 { margin: 0; color: var(--idp-navy); font-size: 17px; letter-spacing: -.02em; }
.directory-card p { margin: 5px 0 0; color: var(--idp-muted); font-size: 12px; line-height: 1.4; }
.directory-card small { margin-top: 9px; font-size: 11px; }
.directory-workflow { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 34px; align-items: start; padding: 16px 0 72px; }
.directory-workflow h2, .landing-steps-heading h2 { max-width: 620px; margin: 0 0 10px; color: var(--idp-navy); font-size: clamp(28px, 4vw, 46px); letter-spacing: -.055em; line-height: 1.05; }
.directory-workflow p:not(.eyebrow), .landing-steps-heading p:not(.eyebrow) { color: var(--idp-muted); line-height: 1.6; }
.directory-workflow-list, .landing-steps-grid { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.directory-workflow-list li, .landing-steps-grid li { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 13px; padding: 17px 18px; border: 1px solid var(--idp-line); border-radius: 15px; background: #fff; }
.directory-workflow-list li > span, .landing-steps-grid li > span { color: var(--idp-teal); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.directory-workflow-list strong, .landing-steps-grid h3 { color: var(--idp-navy); font-size: 16px; }
.directory-workflow-list p, .landing-steps-grid p { margin: 5px 0 0; color: var(--idp-muted); font-size: 13px; line-height: 1.5; }
.landing-steps { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: 34px; align-items: start; padding: 0 0 58px; }
.landing-steps-grid h3 { margin: 0; }
.blog-card { min-height: 230px; padding: 23px; }
.blog-intro { max-width: 820px; padding-top: 0; }
.blog-card .eyebrow { margin-bottom: 10px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 52px; padding-top: 70px; padding-bottom: 78px; }
.article-layout-rich { grid-template-columns: minmax(0, 790px) 290px; justify-content: space-between; }
.article-main { max-width: 790px; min-width: 0; }
.article-main h1 { margin: 9px 0 20px; color: var(--idp-navy); font-size: clamp(42px, 6vw, 72px); letter-spacing: -.07em; line-height: 1; }
.article-intro { margin-bottom: 42px; color: var(--idp-muted); font-size: 19px; line-height: 1.6; }
.article-meta { margin: -24px 0 26px; color: var(--idp-muted); font-size: 13px; }
.article-answer { margin: 0 0 24px; padding: 25px; border: 1px solid #b9dadd; border-radius: 18px; background: #f1fbfb; }
.article-answer p:not(.eyebrow) { margin: 0; color: var(--idp-navy); font-size: 17px; line-height: 1.7; }
.article-answer .article-bullets { margin-bottom: 0; }
.article-toc { display: block; margin: 0 0 18px; padding: 22px 25px; border: 1px solid var(--idp-line); border-radius: 18px; background: #fff; }
.article-toc strong { color: var(--idp-navy); }
.article-toc ol { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 22px; }
.article-toc a { color: var(--idp-blue); font-size: 14px; line-height: 1.45; text-decoration: none; }
.article-main section { padding: 25px 0; border-top: 1px solid var(--idp-line); }
.article-main h2 { margin: 0 0 10px; color: var(--idp-navy); font-size: 30px; letter-spacing: -.05em; }
.article-main section p { margin: 0; color: var(--idp-muted); font-size: 16px; line-height: 1.7; }
.article-main section p + p { margin-top: 14px; }
.article-bullets { display: grid; gap: 9px; margin: 17px 0 0; padding-left: 22px; color: var(--idp-muted); font-size: 15px; line-height: 1.6; }
.article-steps { display: grid; gap: 10px; margin: 19px 0 0; padding: 0; list-style: none; }
.article-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 17px; border: 1px solid var(--idp-line); border-radius: 14px; background: #fff; }
.article-steps li > span { color: var(--idp-teal); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.article-steps h3, .article-faq-item h3 { margin: 0; color: var(--idp-navy); font-size: 17px; }
.article-steps p { margin-top: 5px !important; font-size: 14px !important; line-height: 1.55 !important; }
.article-table-wrap { overflow-x: auto; margin-top: 18px; }
.article-table { width: 100%; border-collapse: collapse; min-width: 620px; color: var(--idp-muted); font-size: 14px; line-height: 1.5; }
.article-table th, .article-table td { padding: 12px 13px; border: 1px solid var(--idp-line); text-align: left; vertical-align: top; }
.article-table thead th { color: var(--idp-navy); background: #f5f9fa; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.article-table tbody th { color: var(--idp-navy); background: #fbfdfd; font-weight: 800; }
.article-faq-item { padding: 17px 0; border-top: 1px solid var(--idp-line); }
.article-faq-item p { margin-top: 6px !important; }
.article-source-list { display: grid; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none; }
.article-source-list a { color: var(--idp-blue); font-size: 14px; font-weight: 750; line-height: 1.5; text-decoration: none; }
.article-end-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; padding: 25px; border: 1px solid #b9dadd; border-radius: 18px; background: #f1fbfb; }
.article-end-cta h2 { margin: 0 0 8px; font-size: 25px; }
.article-end-cta p:not(.eyebrow) { font-size: 14px; }
.article-aside { align-self: start; position: sticky; top: 112px; display: grid; gap: 10px; padding: 23px; border: 1px solid var(--idp-line); border-radius: 18px; background: #fff; }
.article-aside strong { color: var(--idp-navy); font-size: 17px; }
.article-aside p { margin: 0 0 8px; color: var(--idp-muted); font-size: 13px; line-height: 1.5; }
.article-aside a { color: var(--idp-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.article-aside hr { width: 100%; margin: 8px 0; border: 0; border-top: 1px solid var(--idp-line); }

@media (max-width: 760px) {
    .target-hero, .article-layout, .directory-workflow, .landing-steps { grid-template-columns: 1fr; gap: 24px; padding-top: 42px; }
    .article-layout-rich { grid-template-columns: minmax(0, 1fr); }
    .target-hero h1, .article-main h1 { font-size: clamp(40px, 12vw, 58px); }
    .target-card-grid, .directory-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .target-section { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
    .target-cta-band { align-items: flex-start; flex-direction: column; }
    .article-aside { position: static; }
    .article-end-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
    .target-card-grid, .directory-grid, .blog-grid { grid-template-columns: 1fr; }
    .target-hero-card { grid-template-columns: 92px 1fr; }
    .target-photo-frame { height: 130px; }
}

/* Local crop, signature, and print-sheet tools. */
.cropper-hero,.signature-hero,.print-sheet-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:28px;align-items:center;margin-top:42px}.cropper-hero h1,.signature-hero h1,.print-sheet-hero h1{max-width:850px}.cropper-hero-card,.signature-hero-card,.print-sheet-hero-card{display:grid;gap:5px;padding:24px;border:1px solid var(--line,#dce5ea);border-radius:24px;background:linear-gradient(135deg,#eef6fb,#fff);box-shadow:0 18px 50px rgba(15,52,72,.08)}.cropper-hero-card strong,.signature-hero-card strong,.print-sheet-hero-card strong{margin-top:8px;color:var(--ink,#15384d)}.cropper-hero-card span,.signature-hero-card span,.print-sheet-hero-card span{color:var(--muted,#637e8d)}
.cropper-tool-card,.signature-tool-card,.print-sheet-tool-card{margin-top:38px;margin-bottom:34px;padding:28px;border:1px solid var(--line,#dce5ea);border-radius:30px;background:#fff;box-shadow:0 20px 55px rgba(15,52,72,.08)}.cropper-tool-heading,.signature-tool-heading,.print-sheet-tool-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.cropper-tool-heading h2,.signature-tool-heading h2,.print-sheet-tool-heading h2{margin:0 0 9px;color:var(--ink,#15384d);font-size:clamp(26px,4vw,42px);letter-spacing:-.05em}.cropper-tool-heading p:not(.eyebrow),.signature-tool-heading p:not(.eyebrow),.print-sheet-tool-heading p:not(.eyebrow){max-width:760px;color:var(--muted,#637e8d);line-height:1.6}.cropper-output-label,.signature-output-label,.print-sheet-output-label{padding:12px 15px;border-radius:999px;color:var(--muted,#637e8d);background:#eef6f8;white-space:nowrap}.cropper-layout,.signature-layout,.print-sheet-layout{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);gap:24px}.cropper-controls,.signature-controls,.print-sheet-controls{display:grid;gap:16px;align-content:start;padding:20px;border-radius:20px;background:#f5f9fa}.cropper-upload,.signature-upload,.print-sheet-upload{display:grid;gap:5px;padding:18px;border:1px dashed #9dbbc2;border-radius:15px;color:var(--ink,#15384d);background:#fff;cursor:pointer}.cropper-upload small,.signature-upload small,.print-sheet-upload small{color:var(--muted,#637e8d)}.cropper-upload input,.signature-upload input,.print-sheet-upload input{position:absolute;width:1px;height:1px;opacity:0}.cropper-presets,.print-sheet-presets{display:grid;gap:8px}.cropper-presets>div,.print-sheet-presets>div{display:flex;flex-wrap:wrap;gap:8px}.cropper-presets button,.print-sheet-presets button{padding:9px 11px;border:1px solid #cadde1;border-radius:999px;color:var(--ink,#15384d);background:#fff;font:inherit;font-size:12px;cursor:pointer}.cropper-presets button.is-active,.cropper-presets button:hover,.print-sheet-presets button.is-active,.print-sheet-presets button:hover{border-color:var(--idp-teal,#0d7c68);color:#fff;background:var(--idp-teal,#0d7c68)}.cropper-dimensions,.signature-dimensions,.print-sheet-dimensions{display:grid;grid-template-columns:1fr 1fr 90px;gap:9px}.cropper-dimensions label,.signature-dimensions label,.print-sheet-dimensions label{display:grid;gap:5px;color:var(--muted,#637e8d);font-size:12px;font-weight:700}.cropper-dimensions input,.cropper-dimensions select,.signature-dimensions input,.signature-dimensions select,.print-sheet-dimensions input,.print-sheet-dimensions select{width:100%;min-height:40px;padding:0 9px;border:1px solid #cadde1;border-radius:9px;color:var(--ink,#15384d);background:#fff;font:inherit}.cropper-range{display:grid;grid-template-columns:1fr auto;gap:5px;color:var(--muted,#637e8d);font-size:12px;font-weight:700}.cropper-range input{grid-column:1 / -1;width:100%;accent-color:var(--idp-teal,#0d7c68)}.cropper-range output{color:var(--ink,#15384d)}.cropper-canvas-panel,.signature-canvas-panel,.print-sheet-canvas-panel{display:grid;gap:12px;align-content:start}.cropper-canvas-wrap,.signature-canvas-wrap,.print-sheet-canvas-wrap{position:relative;display:grid;place-items:center;min-height:380px;padding:22px;border:1px solid var(--line,#dce5ea);border-radius:20px;background:linear-gradient(135deg,#eef6f8,#fff)}.cropper-canvas-wrap canvas,.signature-canvas-wrap canvas,.print-sheet-canvas-wrap canvas{display:block;max-width:100%;max-height:620px;border-radius:5px;box-shadow:0 12px 30px rgba(15,52,72,.12)}.cropper-empty,.signature-empty,.print-sheet-empty{position:absolute;max-width:260px;color:var(--muted,#637e8d);text-align:center;line-height:1.5}.cropper-output-meta,.signature-output-meta,.print-sheet-output-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted,#637e8d);font-size:12px}.cropper-status,.signature-status,.print-sheet-status{margin:0;color:var(--muted,#637e8d);font-size:12px;line-height:1.5}.signature-preset-list{display:grid;gap:8px}.signature-preset-list button{display:flex;justify-content:space-between;padding:11px 13px;border:1px solid #cadde1;border-radius:10px;color:var(--ink,#15384d);background:#fff;font:inherit;text-align:left;cursor:pointer}.signature-preset-list button.is-active{border-color:var(--idp-teal,#0d7c68);box-shadow:0 0 0 2px rgba(13,124,104,.12)}.print-sheet-preview-note{padding:12px 14px;border-radius:12px;color:var(--muted,#637e8d);background:#eef6f8;font-size:12px;line-height:1.5}.print-sheet-layout{grid-template-columns:minmax(250px,.58fr) minmax(0,1.42fr)}
@media (max-width:760px){.cropper-hero,.signature-hero,.print-sheet-hero,.cropper-layout,.signature-layout,.print-sheet-layout{grid-template-columns:1fr}.cropper-tool-heading,.signature-tool-heading,.print-sheet-tool-heading{display:grid}.cropper-output-label,.signature-output-label,.print-sheet-output-label{width:max-content}.cropper-dimensions,.signature-dimensions,.print-sheet-dimensions{grid-template-columns:1fr 1fr}.cropper-dimensions label:last-child,.signature-dimensions label:last-child,.print-sheet-dimensions label:last-child{grid-column:1 / -1}.cropper-canvas-wrap,.signature-canvas-wrap,.print-sheet-canvas-wrap{min-height:280px}.cropper-output-meta,.signature-output-meta,.print-sheet-output-meta{display:grid;gap:4px}}

/* Requirements page mirrors the target site's facts, upload card, and checklist. */
.requirements-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:38px;align-items:center;padding-top:58px;padding-bottom:36px}.requirements-hero h1{max-width:780px;margin:8px 0 16px;color:var(--idp-navy);font-size:clamp(43px,6vw,78px);letter-spacing:-.075em;line-height:.98}.requirements-hero .lede{max-width:720px;color:var(--idp-muted);font-size:19px;line-height:1.6}.requirements-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.requirements-hero-card{display:grid;grid-template-columns:1fr 150px;gap:14px;align-items:end;padding:18px;border:1px solid var(--idp-line);border-radius:26px;background:linear-gradient(145deg,#e9f3f5,#fff);box-shadow:0 20px 50px rgba(16,42,67,.08)}.requirements-photo-frame{min-height:270px;overflow:hidden;border-radius:16px;background:#dbe9eb}.requirements-photo-frame img{display:block;width:100%;height:100%;min-height:270px;object-fit:cover}.requirements-hero-stats{display:grid;gap:5px;padding-bottom:10px}.requirements-hero-stats strong{margin-top:12px;color:var(--idp-navy);font-size:15px}.requirements-hero-stats span{color:var(--idp-muted);font-size:12px}.requirements-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:10px 0 38px}.requirements-summary-grid article{display:grid;gap:5px;padding:19px;border:1px solid var(--idp-line);border-radius:17px;background:#fff}.requirements-summary-grid span,.requirements-summary-grid small{color:var(--idp-muted);font-size:12px}.requirements-summary-grid strong{color:var(--idp-navy);font-size:18px}.requirements-maker{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:28px;margin-bottom:52px;padding:30px;border:1px solid var(--idp-line);border-radius:26px;background:#edf5f7}.requirements-maker-copy h2,.requirements-section-heading h2,.requirements-compare h2{max-width:780px;margin:0 0 10px;color:var(--idp-navy);font-size:clamp(28px,4vw,46px);letter-spacing:-.055em;line-height:1.05}.requirements-maker-copy>p:not(.eyebrow),.requirements-section-heading>p:not(.eyebrow),.requirements-compare>div>p:not(.eyebrow){max-width:720px;color:var(--idp-muted);line-height:1.6}.requirements-upload{display:flex;gap:13px;align-items:center;margin-top:22px;padding:16px;border:1px solid #3293b7;border-radius:15px;color:var(--idp-navy);background:#fff;cursor:pointer;box-shadow:0 7px 20px rgba(16,42,67,.05)}.requirements-upload-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;color:#1886ab;background:#dff4fa;font-size:25px}.requirements-upload strong,.requirements-upload small{display:block}.requirements-upload small{margin-top:5px;color:var(--idp-muted);line-height:1.45}.requirements-upload input{position:absolute;width:1px;height:1px;opacity:0}.requirements-upload-status{margin:12px 0 0;color:var(--idp-muted);font-size:12px}.requirements-output-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:start}.requirements-output-list article{display:grid;gap:6px;padding:17px;border:1px solid #d5e3e6;border-radius:15px;background:#fff}.requirements-output-list strong{color:var(--idp-navy);font-size:14px}.requirements-output-list span{color:var(--idp-muted);font-size:12px;line-height:1.45}.requirements-checklist{padding-bottom:60px}.requirements-section-heading{margin-bottom:20px}.requirements-table{overflow:hidden;border:1px solid var(--idp-line);border-radius:18px;background:#fff}.requirements-table-row{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);gap:20px;padding:15px 19px;border-top:1px solid var(--idp-line);color:var(--idp-muted);font-size:14px;line-height:1.45}.requirements-table-row:first-child{border-top:0}.requirements-table-row strong{color:var(--idp-navy)}.requirements-table-head{color:var(--idp-navy);background:#edf5f7;font-weight:800}.requirements-compare{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:35px;padding-bottom:74px}.requirements-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.requirements-compare-grid article{padding:22px;border:1px solid var(--idp-line);border-radius:18px;background:#fff}.requirements-compare-grid h3{margin:0 0 13px;color:var(--idp-navy);font-size:18px}.requirements-compare-grid dl{display:grid;gap:11px;margin:0}.requirements-compare-grid dl div{display:grid;gap:3px}.requirements-compare-grid dt{color:var(--idp-muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.requirements-compare-grid dd{margin:0;color:var(--idp-navy);font-size:13px;line-height:1.45}
@media (max-width:760px){.requirements-hero,.requirements-maker,.requirements-compare{grid-template-columns:1fr}.requirements-hero-card{grid-template-columns:1fr 120px}.requirements-summary-grid{grid-template-columns:1fr 1fr}.requirements-output-list,.requirements-compare-grid{grid-template-columns:1fr}.requirements-table-row{grid-template-columns:1fr;gap:4px}.requirements-actions .button{width:100%;text-align:center}}

.about-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:36px;align-items:center;padding-top:62px;padding-bottom:50px}.about-hero h1{margin:8px 0 15px;color:var(--idp-navy);font-size:clamp(45px,7vw,82px);letter-spacing:-.08em;line-height:.96}.about-hero .lede{max-width:720px;color:var(--idp-muted);font-size:19px;line-height:1.6}.about-updated{margin-top:24px;color:var(--idp-muted);font-size:12px}.about-hero-card{display:grid;gap:9px;padding:18px;border:1px solid var(--idp-line);border-radius:25px;background:#fff;box-shadow:0 20px 50px rgba(16,42,67,.08)}.about-hero-card img{display:block;width:100%;height:300px;object-fit:cover;border-radius:17px}.about-hero-card strong{color:var(--idp-navy);font-size:17px}.about-hero-card span{color:var(--idp-muted);font-size:13px}.about-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 50px;padding-bottom:70px}.about-sections article{padding:30px 0;border-top:1px solid var(--idp-line)}.about-sections h2{margin:0 0 12px;color:var(--idp-navy);font-size:clamp(27px,3vw,40px);letter-spacing:-.055em;line-height:1.05}.about-sections p:not(.eyebrow),.about-sections li{color:var(--idp-muted);font-size:16px;line-height:1.68}.about-sections p+p{margin-top:12px}.about-sections ul{display:grid;gap:9px;margin:0;padding-left:20px}.about-sections a{color:var(--idp-blue);font-weight:700}.about-sections article:last-child{grid-column:1 / -1}
@media (max-width:760px){.about-hero,.about-sections{grid-template-columns:1fr}.about-hero{padding-top:42px}.about-hero-card img{height:230px}.about-sections article:last-child{grid-column:auto}}

@media (max-width: 900px) {
    .home-app-promo, .checker-card { grid-template-columns: 1fr; }
    .standards-grid, .home-benefit-grid, .home-howto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checker-results { grid-column: auto; }
}

@media (max-width: 600px) {
    .home-app-copy { padding: 32px 22px; }
    .home-app-art { min-height: 290px; padding: 22px 18px; }
    .home-section-heading { align-items: flex-start; flex-direction: column; }
    .standards-grid, .home-benefit-grid, .home-howto-grid, .home-check-grid, .checker-list { grid-template-columns: 1fr; }
    .home-benefit-grid article, .home-howto-grid article { min-height: auto; }
    .home-howto-grid article > span { margin-bottom: 20px; }
    .checker-page { padding-top: 24px; }
    .checker-card { padding: 14px; border-radius: 18px; }
    .checker-preview { min-height: 280px; }
    .tool-action-card { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
    .tool-action-cover { width: 92px; height: 128px; }
    .pricing-package-card { padding: 26px 19px; }
    .pricing-included { grid-template-columns: 1fr; }
    .pricing-package-price strong { font-size: 42px; }
    .country-picker { padding: 0; align-items: end; }
    .country-picker-dialog { max-height: calc(100vh - 14px); border-radius: 28px 28px 0 0; }
    .country-picker-header { padding: 27px 58px 22px 23px; }
    .country-picker-header h2 { font-size: 25px; }
    .country-picker-header p { font-size: 14px; }
    .country-picker-body { padding: 17px 13px 20px; }
    .country-picker-option { min-height: 70px; padding: 8px 12px; border-radius: 18px; }
    .country-picker-option-copy strong { font-size: 16px; }
    .country-picker-option-copy small { font-size: 14px; }
}

/* Homepage refresh: document-first hierarchy, calm utility surfaces, and a stronger first fold. */
:root {
    --passport-page: #eef4f7;
    --passport-surface: #f8fbfc;
    --passport-ink: #132f43;
    --passport-copy: #5b7280;
    --passport-line: rgba(19,47,67,.12);
    --passport-line-strong: rgba(19,47,67,.18);
    --passport-muted: #e8f0f4;
    --passport-dark: #173e57;
    --passport-dark-soft: #245b78;
    --passport-accent: #2479a7;
    --passport-mint: #197d72;
}

.passport-home-hero { background: radial-gradient(circle at 12% 16%, rgba(36,121,167,.09), transparent 27%), var(--passport-surface); }
.passport-home-hero .passport-home-container { padding-top: 72px; padding-bottom: 78px; }
.passport-hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.passport-hero-copy { max-width: 610px; margin: 0; text-align: left; }
.passport-hero-kicker, .passport-section-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--passport-mint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.passport-kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #e7a126; box-shadow: 0 0 0 5px rgba(231,161,38,.14); }
.passport-hero-copy h1 { max-width: 580px; font-size: clamp(2.9rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.passport-hero-lede { max-width: 570px; margin: 24px 0 0; color: var(--passport-copy); font-size: 17px; line-height: 1.75; }
.passport-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 28px; color: var(--passport-ink); font-size: 12px; font-weight: 700; }
.passport-hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.passport-hero-trust svg { width: 16px; height: 16px; fill: none; stroke: var(--passport-mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.passport-hero-proof { display: grid; gap: 10px; margin-top: 34px; }
.passport-hero-proof article { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; align-items: start; padding: 12px 14px; border-top: 1px solid var(--passport-line); }
.passport-hero-proof article:last-child { border-bottom: 1px solid var(--passport-line); }
.passport-hero-proof article > span { color: var(--passport-accent); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.passport-hero-proof strong, .passport-hero-proof small { display: block; }
.passport-hero-proof strong { color: var(--passport-ink); font-size: 14px; }
.passport-hero-proof small { margin-top: 3px; color: var(--passport-copy); font-size: 12px; line-height: 1.45; }
.passport-maker-card { width: 100%; box-sizing: border-box; padding: 18px; border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 28px 72px -36px rgba(19,47,67,.30); }
.passport-maker-kicker { margin: 2px 4px 13px; color: var(--passport-ink); font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.passport-tabs { background: #edf4f7; }
.passport-tab { font-family: inherit; font-size: 11px; letter-spacing: .14em; }
.passport-tab.is-active { background: var(--passport-dark); }
.passport-maker-subtitle { padding: 16px 7px 8px; }
.passport-preset { margin-top: 14px; border-radius: 20px 20px 0 0; }
.passport-preset:hover, .passport-preset:focus-visible { background: #f2f8fa; }
.passport-flag, .country-picker-flag { display: inline-grid; place-items: center; color: #fff; background: var(--passport-dark); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.passport-flag { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 8px 16px -12px rgba(19,47,67,.45); }
.passport-flag--us, .country-picker-flag--us { background: linear-gradient(145deg, #1e4e72, #b5535c); }
.passport-flag--cn, .country-picker-flag--cn { background: linear-gradient(145deg, #b92a2a, #e1a435); }
.passport-flag--ca, .country-picker-flag--ca { background: linear-gradient(145deg, #bc4b53, #e2a04a); }
.passport-flag--gb, .country-picker-flag--gb { background: linear-gradient(145deg, #315f90, #8a557c); }
.passport-flag--de, .country-picker-flag--de { background: linear-gradient(145deg, #37485c, #b97b57); }
.passport-flag--fr, .country-picker-flag--fr { background: linear-gradient(145deg, #356b91, #d27a68); }
.passport-flag--it, .country-picker-flag--it { background: linear-gradient(145deg, #347962, #c56f65); }
.passport-flag--in, .country-picker-flag--in { background: linear-gradient(145deg, #d37f42, #3b7d73); }
.passport-flag--jp, .country-picker-flag--jp { background: linear-gradient(145deg, #e09d9a, #c14d62); }
.passport-preset-title > span:last-child > strong { color: var(--passport-copy); }
.passport-preset-title b { font-size: 17px; }
.passport-preset-detail { border-radius: 0 0 20px 20px; background: #fbfdfe; }
.passport-upload-button { background: var(--passport-mint); box-shadow: 0 14px 28px -19px rgba(25,125,114,.8); }
.passport-upload-button:hover { background: #12675f; }
.passport-phone-button { border-color: var(--passport-line-strong); }
.passport-benefit-pills { margin-top: 16px; }
.passport-benefit-pills span { background: rgba(232,240,244,.7); }
.passport-format-cards { margin-top: 20px; }
.passport-format-cards article { align-items: flex-start; border-radius: 18px; background: rgba(255,255,255,.74); }
.passport-format-icon, .passport-feature-icon { display: inline-grid; place-items: center; color: #fff; background: var(--passport-dark); }
.passport-format-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
.passport-format-icon svg, .passport-feature-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.passport-format-cards strong { color: var(--passport-copy); }
.passport-standards-section { background: var(--passport-dark); }
.passport-section-kicker { justify-content: center; margin-bottom: 14px; }
.passport-section-heading-left .passport-section-kicker { justify-content: flex-start; }
.passport-why-grid article { border-radius: 20px; background: rgba(255,255,255,.9); }
.passport-feature-icon { width: 44px; height: 44px; border-radius: 14px; }
.passport-why-grid h3 { margin-top: 17px; font-size: 19px; }
.passport-how-grid article, .passport-check-grid a { border-radius: 20px; background: rgba(255,255,255,.88); }
.passport-dark-button { background: var(--passport-dark); box-shadow: 0 10px 25px -17px rgba(19,47,67,.65); }
.passport-dark-button:hover { background: var(--passport-dark-soft); }
.country-picker-flag { width: 48px; height: 48px; border-radius: 14px; font-size: 11px; }
.country-picker-option { border-radius: 18px; }
.country-picker-option.is-selected { border-color: var(--passport-accent); background: #eaf4f8; }
.maker-hero-icon, .directory-flag { display: inline-grid; place-items: center; color: #fff; background: var(--passport-dark); font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.maker-hero-icon { width: 42px; height: 42px; border-radius: 12px; }
.directory-flag { width: 42px; height: 42px; border-radius: 12px; }
.maker-phone-icon { display: inline-grid; width: 24px; height: 24px; place-items: center; }
.maker-phone-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1020px) {
    .passport-hero-layout { grid-template-columns: 1fr; max-width: 780px; }
    .passport-hero-copy { max-width: 700px; }
    .passport-hero-copy h1 { max-width: 700px; }
    .passport-maker-card { max-width: 700px; }
}

/* Local document-type and multi-photo print-sheet extensions. */
.document-type-section { padding: 18px 0 38px; }
.document-type-section .section-heading { margin-bottom: 18px; }
.document-type-section .section-heading h2 { max-width: 720px; margin: 0 0 8px; }
.document-type-section .section-heading p:not(.eyebrow) { max-width: 760px; color: var(--idp-muted); line-height: 1.6; }
.document-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.document-type-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; min-height: 132px; padding: 18px; border: 1px solid var(--idp-line); border-radius: 18px; background: #fff; color: var(--idp-ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.document-type-card:hover { border-color: #9fc2c7; box-shadow: 0 14px 30px rgba(16,42,67,.08); transform: translateY(-2px); }
.document-type-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: #fff; background: var(--idp-navy); }
.document-type-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.document-type-card strong { display: block; color: var(--idp-navy); font-size: 17px; line-height: 1.2; }
.document-type-card p { margin: 7px 0 0; color: var(--idp-muted); font-size: 13px; line-height: 1.45; }
.document-type-card small { display: block; margin-top: 11px; color: var(--idp-blue); font-size: 12px; font-weight: 800; }
.print-sheet-paper-select { display: grid; gap: 7px; margin-bottom: 14px; color: var(--idp-navy); }
.print-sheet-paper-select select { min-height: 44px; padding: 9px 12px; border: 1px solid var(--idp-line); border-radius: 12px; color: var(--idp-navy); background: #fff; font: inherit; }
.print-sheet-paper-select small { color: var(--idp-muted); font-size: 12px; }
@media (max-width: 980px) { .document-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .document-type-grid { grid-template-columns: 1fr; } .document-type-card { min-height: 0; } }

@media (max-width: 760px) {
    .passport-home-hero .passport-home-container { padding-top: 48px; padding-bottom: 54px; }
    .passport-hero-copy h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
    .passport-hero-lede { font-size: 15px; }
    .passport-hero-proof { margin-top: 26px; }
    .passport-maker-card { padding: 12px; }
    .passport-format-cards { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .passport-check-grid a:hover, .passport-standard:hover img { transform: none; }
}

/* Real local country images replace the former text/gradient code tiles. */
.passport-flag, .country-picker-flag, .maker-hero-icon, .directory-flag { overflow: hidden; padding: 0; background: #edf4f7; }
.passport-flag img, .country-picker-flag img, .maker-hero-icon img, .directory-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.passport-format-icon img, .passport-feature-icon img { display: block; width: 22px; height: 22px; object-fit: cover; border-radius: 6px; }
.passport-hero-trust img { display: block; width: 18px; height: 18px; object-fit: cover; border-radius: 5px; }
.passport-upload-button img { display: block; width: 26px; height: 26px; object-fit: cover; border-radius: 6px; }
.passport-phone-button img { display: block; width: 20px; height: 20px; object-fit: cover; border-radius: 5px; }
.maker-phone-icon img { display: block; width: 20px; height: 20px; object-fit: cover; border-radius: 5px; }
.brand-logo { display: block; object-fit: cover; border-radius: 9px; }
.editor-intro-meta img, .panel-heading-icon img, .section-heading-icon img, .quality-heading-icon img, .canvas-empty-icon img, .idp-icon img { display: block; width: 20px; height: 20px; object-fit: cover; border-radius: 5px; }
.editor-intro-meta span { display: inline-flex; align-items: center; gap: 7px; }
.upload-icon img { display: block; width: 24px; height: 24px; object-fit: cover; border-radius: 6px; }
.canvas-empty-icon img { width: 24px; height: 24px; }
.nav-chevron, .language-chevron { display: inline-block; font-size: 15px; line-height: 1; }

/* Final pass: calmer hierarchy, country-aware editor states, and automatic preview flow. */
.passport-hero-copy h1 { max-width: 520px; font-size: clamp(2.45rem, 3.7vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; }
.brand-logo { object-fit: contain; background: #fff; }
.maker-profile-selection { display: grid; gap: 4px; min-width: 250px; padding: 14px 16px; border: 1px solid var(--passport-line-strong); border-radius: 14px; background: #f7fbfc; }
.maker-profile-selection span, .maker-profile-selection small { color: var(--passport-copy); font-size: 11px; }
.maker-profile-selection strong { color: var(--passport-ink); font-size: 15px; }
.maker-profile-selection small { line-height: 1.35; }
.maker-preset-cover img { object-fit: cover; }
.auto-processing-screen, .auto-result-card { margin: 18px 0 24px; border: 1px solid var(--idp-line); border-radius: 18px; background: #edf5f8; overflow: hidden; }
.auto-processing-screen[hidden], .auto-result-card[hidden] { display: none; }
.auto-processing-screen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 18px 34px; padding: 32px; align-items: center; }
.auto-processing-copy { grid-column: 1; }
.auto-processing-copy h2, .auto-result-heading h2 { margin: 0; color: var(--idp-navy); font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.045em; }
.auto-processing-copy p:not(.panel-kicker) { max-width: 500px; margin: 10px 0 0; color: var(--idp-muted); }
.auto-processing-steps { display: grid; gap: 14px; grid-column: 1; grid-row: 2; margin: 0; padding: 0; list-style: none; }
.auto-processing-steps li { display: flex; align-items: center; gap: 13px; color: #6d8494; transition: color .2s ease, transform .2s ease; }
.auto-processing-steps li > span { display: grid; width: 38px; height: 38px; place-items: center; border: 2px solid #cddbe2; border-radius: 50%; background: #f8fbfc; font-weight: 800; }
.auto-processing-steps strong, .auto-processing-steps small { display: block; }
.auto-processing-steps strong { font-size: 16px; }
.auto-processing-steps small { margin-top: 2px; font-size: 12px; }
.auto-processing-steps li.is-active { color: var(--idp-navy); transform: translateX(4px); }
.auto-processing-steps li.is-active > span { border-color: var(--idp-violet); color: #fff; background: var(--idp-violet); box-shadow: 0 0 0 5px rgba(99,91,220,.14); }
.auto-processing-steps li.is-complete > span { border-color: var(--passport-mint); color: #fff; background: var(--passport-mint); }
.auto-processing-photo { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: min(100%, 330px); padding: 10px; border: 1px solid #d7e3e8; border-radius: 18px; background: #fff; box-shadow: 0 16px 32px -24px rgba(19,47,67,.5); }
.auto-processing-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; object-fit: cover; background: #eef2f3; }
.auto-result-card { padding: 24px; background: #f7fbfc; }
.auto-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.auto-result-badge { flex: 0 0 auto; padding: 6px 10px; border-radius: 99px; color: #08715f; background: #def4ed; font-size: 11px; font-weight: 800; }
.auto-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--idp-line); border-radius: 14px; overflow: hidden; background: #fff; }
.auto-result-grid > div { min-height: 76px; padding: 14px 16px; border-right: 1px solid var(--idp-line); }
.auto-result-grid > div:last-child { border-right: 0; }
.auto-result-grid span, .auto-result-grid strong { display: block; }
.auto-result-grid span { color: var(--idp-muted); font-size: 11px; }
.auto-result-grid strong { margin-top: 7px; color: var(--idp-navy); font-size: 15px; }
.auto-result-note { margin: 14px 0; color: var(--idp-muted); font-size: 13px; }
.auto-result-card .button { min-width: 250px; }

@media (max-width: 760px) {
    .passport-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
    .auto-processing-screen { grid-template-columns: 1fr; padding: 22px; }
    .auto-processing-copy, .auto-processing-steps, .auto-processing-photo { grid-column: 1; grid-row: auto; }
    .auto-processing-photo { justify-self: stretch; width: auto; max-width: 260px; }
    .auto-result-grid { grid-template-columns: 1fr 1fr; }
    .auto-result-grid > div:nth-child(2) { border-right: 0; }
    .auto-result-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--idp-line); }
    .auto-result-card .button { width: 100%; min-width: 0; }
}

/* IdPhotoMaker final polish: compact navigation, format-aware picker, and a
   photo-led standards row with a responsive footer. */
.site-header .main-nav .nav-item-icon { display: inline-grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; overflow: hidden; border: 1px solid rgba(19,47,67,.14); border-radius: 6px; background: #fff; }
.site-header .main-nav .nav-item-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site-header .main-nav > a, .site-header .main-nav > .mega-menu > summary { gap: 7px; }
.site-header .main-nav .nav-line-icon { display: inline-grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; color: currentColor; }
.site-header .main-nav .nav-line-icon svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header .main-nav > a:hover .nav-line-icon, .site-header .main-nav > a:focus-visible .nav-line-icon, .site-header .main-nav > .mega-menu > summary:hover .nav-line-icon { color: var(--passport-accent); }
.header-make-photo .nav-line-icon { color: #f5fbff; }
.header-make-photo:hover .nav-line-icon, .header-make-photo:focus-visible .nav-line-icon { color: #f5fbff !important; }
.brand-logo { background: transparent; }
.passport-hero-copy h1 { max-width: 680px; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.passport-hero-copy h2 { max-width: 660px; margin: 18px auto 0; color: var(--passport-dark); font-family: "Avenir Next", "Segoe UI", sans-serif; font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }

.country-picker-dialog { width: min(100%, 980px); max-height: min(900px, calc(100vh - 52px)); animation: country-picker-in .18s ease-out both; }
.country-picker-header { padding: 38px 78px 30px 48px; }
.country-picker-header h2 { font-size: clamp(27px, 3.2vw, 38px); }
.country-picker-header p { font-size: 17px; }
.country-picker-body { max-height: calc(100vh - 235px); padding: 25px 26px 32px; }
.country-picker-search { min-height: 64px; padding: 0 21px; }
.country-picker-search input { font-size: 19px; }
.country-picker-list { gap: 3px; }
.country-picker-option { min-height: 86px; padding: 11px 22px; }
.country-picker-option-copy strong { font-size: 20px; }
.country-picker-option-copy small { font-size: 17px; }
.country-picker-option.is-selected { box-shadow: inset 0 0 0 1px rgba(47,120,168,.12); }
@keyframes country-picker-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

.passport-standards-section { padding: 78px 0 64px; }
.passport-standards-grid { grid-template-columns: minmax(245px, .62fr) minmax(0, 1.38fr); gap: 48px; align-items: center; }
.passport-standards-copy .passport-section-kicker { justify-content: flex-start; margin: 0 0 16px; color: #8fc6d7; }
.passport-standards-copy h2 { max-width: 360px; font-size: clamp(2.4rem, 4.6vw, 4.35rem); line-height: .95; }
.passport-standards-grid > .passport-standards-copy p:last-child { max-width: 390px; margin: 22px 0 0; color: #b7c8d5; font-size: 16px; line-height: 1.75; }
.passport-standards-visual { overflow: hidden; border: 1px solid rgba(245,251,255,.22); border-radius: 28px; background: #e6eef2; box-shadow: 0 22px 54px -34px rgba(0,0,0,.6); }
.passport-standards-visual > img { display: block; width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.passport-standards-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 20px 18px; background: #e6eef2; color: var(--passport-ink); }
.passport-standards-caption span { color: #5c8497; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.passport-standards-caption strong { font-size: 16px; }
.passport-standard-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.passport-standard-points article { display: grid; gap: 4px; min-width: 0; padding: 17px 18px; border-top: 1px solid rgba(245,251,255,.26); }
.passport-standard-points b { color: #8fc6d7; font-size: 11px; letter-spacing: .13em; }
.passport-standard-points span { color: #f5fbff; font-size: 16px; font-weight: 700; }
.passport-standard-points small { color: #b7c8d5; font-size: 12px; line-height: 1.45; }

.site-footer { display: block; padding: 0; border-top: 0; color: #b7c8d5; background: var(--passport-dark); }
.site-footer-inner { display: grid; grid-template-columns: minmax(230px, 1.45fr) repeat(3, minmax(0, 1fr)); gap: 38px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 22px; }
.site-footer-brand { min-width: 0; }
.site-footer-logo { display: inline-flex; align-items: center; gap: 9px; color: #f5fbff; font-size: 19px; font-weight: 750; text-decoration: none; }
.site-footer-logo img { display: block; width: 34px; height: 34px; border-radius: 10px; }
.site-footer-brand p { max-width: 285px; margin: 17px 0 0; color: #d1e0e7; font-size: 13px; line-height: 1.65; }
.site-footer-brand small { display: block; max-width: 290px; margin-top: 14px; color: #8fabb9; font-size: 11px; line-height: 1.5; }
.site-footer-column { display: grid; align-content: start; gap: 10px; min-width: 0; }
.site-footer-column > strong { margin-bottom: 5px; color: #f5fbff; font-size: 13px; letter-spacing: .04em; }
.site-footer-column > a { color: #b7c8d5; font-size: 13px; text-decoration: none; }
.site-footer-column > a:hover, .site-footer-column > a:focus-visible { color: #fff; }
.site-footer-column--last { justify-items: start; }
.site-footer .language-menu summary { min-height: 38px; padding: 6px 10px; border-color: rgba(245,251,255,.24); color: #e3eff4; background: rgba(255,255,255,.07); }
.site-footer .language-panel { right: 0; bottom: calc(100% + 10px); background: #f9fcfd; }
.site-footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; margin-top: 14px; padding-top: 18px; border-top: 1px solid rgba(245,251,255,.16); color: #8fabb9; font-size: 11px; }

@media (max-width: 900px) {
    .passport-standards-grid { grid-template-columns: 1fr; gap: 30px; }
    .passport-standards-copy h2 { max-width: 620px; }
    .passport-standards-grid > .passport-standards-copy p:last-child { max-width: 620px; }
    .passport-standard-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer-inner { grid-template-columns: 1.35fr 1fr 1fr; }
    .site-footer-column--last { grid-column: 2 / -1; }
}
@media (max-width: 600px) {
    .passport-hero-copy h1 { max-width: 100%; font-size: clamp(2.45rem, 12vw, 3.6rem); }
    .passport-hero-copy h2 { font-size: 1.05rem; }
    .country-picker-dialog { max-height: calc(100vh - 14px); }
    .country-picker-header { padding: 27px 58px 22px 23px; }
    .country-picker-body { padding: 17px 13px 20px; }
    .country-picker-option { min-height: 70px; padding: 8px 12px; }
    .country-picker-option-copy strong { font-size: 16px; }
    .country-picker-option-copy small { font-size: 14px; }
    .passport-standards-caption { align-items: flex-start; flex-direction: column; gap: 5px; }
    .passport-standard-points { grid-template-columns: 1fr 1fr; }
    .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 30px 22px; padding-top: 44px; }
    .site-footer-brand { grid-column: 1 / -1; }
    .site-footer-column--last { grid-column: auto; }
    .site-footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
    .country-picker-dialog { animation: none; }
}

/* Standards cards mirror the accepted/rejected reference layout: every
   rejection keeps its own reason visible below the source photo. */
.passport-standards-grid { grid-template-columns: minmax(230px, .56fr) minmax(0, 1.44fr); align-items: start; }
.passport-standards-copy { padding-top: 18px; }
.passport-standards-copy h2 { max-width: 360px; }
.passport-standards-copy p:last-child { max-width: 370px; }
.passport-standard-cards { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(2, minmax(0, auto)); gap: 14px; }
.passport-standard { border-color: rgba(245,251,255,.18); border-radius: 28px; background: #dfe7ed; }
.passport-standard.accepted { grid-row: span 2; }
.passport-standard img, .passport-standard.accepted img { aspect-ratio: 4 / 3; }
.passport-standard.accepted img { aspect-ratio: 4 / 5; }
.passport-standard h3, .passport-standard.accepted h3 { margin: 0; padding: 15px 18px 19px; color: var(--passport-ink); font-size: 16px; line-height: 1.25; }
.passport-standard.accepted h3 { font-size: 20px; }
.standard-badge { top: 14px; right: 14px; left: auto; padding: 7px 13px; border-color: rgba(47,120,168,.2); background: rgba(226,239,247,.83); color: var(--passport-dark); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.standard-badge:not(.rejected) { right: auto; left: 14px; color: var(--passport-ink); background: rgba(255,255,255,.88); }

@media (max-width: 900px) {
    .passport-standard-cards { grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 600px) {
    .passport-standard-cards { grid-template-columns: 1fr; }
    .passport-standard.accepted { grid-row: auto; }
    .passport-standard.accepted img, .passport-standard img { aspect-ratio: 4 / 3; }
}

/* Latest homepage pass: two-format controls, country-aware document art, a
   one-row standards gallery, and semantic navigation icons. */
.passport-home-hero .passport-home-container { width: min(1180px, calc(100% - 40px)); }
.passport-hero-layout { grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); gap: clamp(34px, 4vw, 58px); }
.passport-hero-copy { max-width: none; }
.passport-hero-copy h1 { max-width: none; font-size: clamp(2.35rem, 3.3vw, 3.9rem); white-space: nowrap; }
.passport-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.passport-chevron { display: inline-grid; width: 28px; height: 28px; place-items: center; flex: 0 0 28px; color: #6d8291; font-size: 0; }
.passport-chevron svg { display: block; width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.passport-cover-frame { display: grid; width: 96px; height: 136px; flex: 0 0 96px; place-items: center; overflow: hidden; border: 1px solid rgba(16,42,67,.12); border-radius: 10px; background: #f2f6f8; box-shadow: 0 10px 20px -12px rgba(16,42,67,.42); }
.passport-cover-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.passport-standards-section { padding: 84px 0 76px; }
.passport-standards-section .passport-home-container { width: min(1180px, calc(100% - 40px)); }
.passport-standards-grid { display: block; }
.passport-standards-copy { max-width: 760px; margin: 0 auto 31px; padding: 0; text-align: center; }
.passport-standards-copy .passport-section-kicker { justify-content: center; }
.passport-standards-copy h2 { max-width: none; }
.passport-standards-grid > .passport-standards-copy p:last-child { max-width: 680px; margin: 20px auto 0; }
.passport-standard-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; }
.passport-standard.accepted { grid-row: auto; }
.passport-standard img, .passport-standard.accepted img { aspect-ratio: 4 / 3; }
.passport-standard h3, .passport-standard.accepted h3 { min-height: 52px; padding: 14px 14px 16px; font-size: 14px; }
.passport-standard.accepted h3 { font-size: 16px; }
.passport-why-grid .passport-feature-icon img, .passport-format-icon img { display: none; }
.mega-icon svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
    .passport-standard-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .passport-hero-copy h1 { font-size: clamp(2.25rem, 4vw, 3.55rem); }
}
@media (max-width: 1020px) {
    .passport-hero-copy h1 { white-space: normal; }
}
@media (max-width: 700px) {
    .passport-standard-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .passport-standard-cards { grid-template-columns: 1fr; }
    .passport-cover-frame { width: 70px; height: 98px; flex-basis: 70px; }
}

/* Local preview workspace: use the same calm, full-screen processing/result
   rhythm as the reference product while keeping every photo operation local. */
body.idphoto-workspace-open { overflow: hidden; }
.idphoto-workspace-layer { position: fixed !important; z-index: 1200; inset: 0; display: block !important; width: 100vw; height: 100vh; margin: 0 !important; padding: 0 !important; overflow: auto !important; border: 0 !important; border-radius: 0 !important; background: #eaf3f7 !important; color: var(--idp-navy); }
.idphoto-workspace-layer[hidden] { display: none !important; }
.auto-workspace-shell { width: min(1180px, calc(100% - 56px)); min-height: 100%; margin: 0 auto; padding: 28px 0 44px; box-sizing: border-box; }
.auto-workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; padding-bottom: 18px; border-bottom: 1px solid rgba(19,47,67,.12); }
.auto-workspace-header .panel-kicker { margin: 0 0 5px; color: #5d7d8e; }
.auto-workspace-subtitle { margin: 0; color: #5d7d8e; font-size: 15px; line-height: 1.45; }
.auto-workspace-close { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border: 1px solid rgba(19,47,67,.12); border-radius: 50%; color: var(--idp-navy); background: rgba(255,255,255,.82); font: 300 34px/1 Arial, sans-serif; cursor: pointer; box-shadow: 0 8px 20px -18px rgba(19,47,67,.55); }
.auto-workspace-close:hover, .auto-workspace-close:focus-visible { background: #fff; transform: translateY(-1px); }
.auto-processing-screen .auto-workspace-shell { display: flex; flex-direction: column; }
.auto-processing-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 440px); align-items: center; gap: 42px; flex: 1; min-height: calc(100vh - 150px); padding: 54px 0 30px; }
.auto-processing-copy { grid-column: 1; }
.auto-processing-copy h2 { max-width: 650px; margin: 0; color: var(--idp-navy); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.055em; }
.auto-processing-copy p:not(.panel-kicker) { max-width: 610px; margin: 14px 0 0; color: #5d7d8e; font-size: 18px; line-height: 1.65; }
.auto-processing-steps { grid-column: 1; display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.auto-processing-steps li { position: relative; display: flex; align-items: center; gap: 17px; min-height: 72px; color: #5d7d8e; transition: color .22s ease, transform .22s ease; }
.auto-processing-steps li > span { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border: 6px solid #d4e0e6; border-radius: 50%; color: #5d7d8e; background: rgba(255,255,255,.74); font-size: 18px; font-weight: 800; }
.auto-processing-steps li:not(:last-child)::after { position: absolute; width: 2px; height: 20px; margin: 71px 0 0 25px; content: ''; background: #ccdbe2; }
.auto-processing-steps li strong, .auto-processing-steps li small { display: block; }
.auto-processing-steps li strong { font-size: 23px; letter-spacing: -.02em; }
.auto-processing-steps li small { margin-top: 5px; font-size: 14px; }
.auto-processing-steps li.is-active { color: var(--idp-navy); transform: translateX(5px); }
.auto-processing-steps li.is-active > span { border-color: #c5e1ef; color: #fff; background: var(--idp-navy); box-shadow: 0 0 0 5px rgba(36,121,167,.1); }
.auto-processing-steps li.is-complete { color: #2d6175; }
.auto-processing-steps li.is-complete > span { border-color: #c9e8df; color: #fff; background: var(--passport-mint); }
.auto-processing-photo { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: min(100%, 430px); padding: 14px; border: 1px solid rgba(19,47,67,.12); border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 25px 50px -38px rgba(19,47,67,.58); }
.auto-processing-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; object-fit: cover; background: #dfe9ed; }
.auto-result-card .auto-workspace-shell { display: flex; flex-direction: column; }
.auto-result-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(34px, 7vw, 100px); flex: 1; min-height: calc(100vh - 150px); padding: 48px 0 24px; }
.auto-result-details { min-width: 0; }
.auto-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.auto-result-heading h2 { margin: 0; color: var(--idp-navy); font-size: clamp(1.9rem, 3.2vw, 2.85rem); letter-spacing: -.045em; }
.auto-result-badge { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 7px 11px; border-radius: 99px; color: #08715f; background: #def4ed; font-size: 11px; font-weight: 800; }
.auto-result-badge i { font-style: normal; font-size: 14px; }
.auto-result-grid { display: grid; grid-template-columns: 1fr; margin-top: 28px; border: 0; border-top: 1px solid rgba(19,47,67,.12); border-radius: 0; background: transparent; }
.auto-result-check { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 72px; padding: 10px 0; border-bottom: 1px solid rgba(19,47,67,.12); }
.auto-check-icon { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #c9e8df; border-radius: 50%; color: #08715f; background: #f5fffb; font-weight: 800; }
.auto-result-check div { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(130px, 1fr) auto; align-items: center; gap: 12px; }
.auto-result-check span:not(.auto-check-icon), .auto-result-check strong, .auto-result-check small { display: block; }
.auto-result-check span:not(.auto-check-icon) { color: #5d7d8e; font-size: 14px; }
.auto-result-check strong { color: var(--idp-navy); font-size: 17px; }
.auto-result-check small { color: #5d7d8e; font-size: 12px; }
.auto-result-note { max-width: 650px; margin: 22px 0 18px; color: #5d7d8e; font-size: 14px; line-height: 1.65; }
.auto-result-download { min-width: 260px; }
.auto-result-visual { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.auto-result-preview-shell { width: min(100%, 420px); padding: 14px; border: 1px solid rgba(19,47,67,.12); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 22px 44px -32px rgba(19,47,67,.6); }
.auto-result-preview-frame { position: relative; display: grid; width: 100%; min-height: 230px; place-items: center; overflow: hidden; border-radius: 15px; background: #fff; }
.auto-result-preview-frame img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.auto-result-watermark { position: absolute; top: 50%; left: 50%; color: rgba(19,47,67,.17); font-size: 22px; font-weight: 800; letter-spacing: .18em; transform: translate(-50%, -50%) rotate(-18deg); pointer-events: none; }
.auto-result-dimension { position: absolute; z-index: 1; display: grid; place-items: center; color: #fff; background: #245b78; font-size: 11px; font-weight: 700; line-height: 1; }
.auto-result-dimension-top { top: 9px; right: 18%; left: 18%; height: 2px; }
.auto-result-dimension-top::before, .auto-result-dimension-top::after { position: absolute; top: -4px; width: 2px; height: 10px; content: ''; background: #245b78; }
.auto-result-dimension-top::before { left: 0; }
.auto-result-dimension-top::after { right: 0; }
.auto-result-dimension-top { text-shadow: 0 1px 3px rgba(19,47,67,.18); }
.auto-result-dimension-top::marker { display: none; }
.auto-result-dimension-side { top: 20%; right: 9px; bottom: 20%; width: 2px; writing-mode: vertical-rl; }
.auto-result-dimension-side::before, .auto-result-dimension-side::after { position: absolute; right: -4px; width: 10px; height: 2px; content: ''; background: #245b78; }
.auto-result-dimension-side::before { top: 0; }
.auto-result-dimension-side::after { bottom: 0; }
.auto-result-help { margin: 15px 0 12px; color: #5d7d8e; font-size: 13px; text-align: center; }
.auto-result-controls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.auto-result-controls button { display: grid; min-width: 46px; height: 46px; place-items: center; padding: 0 12px; border: 1px solid rgba(19,47,67,.12); border-radius: 50%; color: var(--idp-navy); background: rgba(255,255,255,.88); font: 500 26px/1 Arial, sans-serif; cursor: pointer; }
.auto-result-controls button:hover, .auto-result-controls button:focus-visible { border-color: #8db8cb; background: #fff; }
.auto-result-controls .auto-result-reset { min-width: 172px; border-radius: 99px; color: #5d7d8e; font-size: 13px; }
.auto-result-start-over { margin-top: 14px; padding: 11px 17px; border: 1px solid rgba(19,47,67,.12); border-radius: 99px; color: var(--idp-navy); background: rgba(255,255,255,.88); font: inherit; font-size: 13px; cursor: pointer; }
.auto-result-start-over:hover, .auto-result-start-over:focus-visible { border-color: #8db8cb; background: #fff; }

@media (max-width: 820px) {
    .auto-workspace-shell { width: min(100%, calc(100% - 34px)); padding-top: 17px; }
    .auto-processing-body, .auto-result-layout { grid-template-columns: 1fr; gap: 28px; min-height: auto; padding-top: 35px; }
    .auto-processing-photo { grid-column: 1; grid-row: auto; justify-self: center; width: min(100%, 300px); order: -1; }
    .auto-processing-copy, .auto-processing-steps { grid-column: 1; }
    .auto-processing-copy { order: 1; }
    .auto-processing-steps { order: 2; margin-top: 0; }
    .auto-result-visual { order: -1; }
    .auto-result-details { width: 100%; }
}
@media (max-width: 560px) {
    .auto-workspace-header { min-height: 56px; }
    .auto-workspace-close { width: 44px; height: 44px; flex-basis: 44px; font-size: 28px; }
    .auto-processing-copy h2 { font-size: 2.35rem; }
    .auto-processing-copy p:not(.panel-kicker) { font-size: 15px; }
    .auto-processing-steps li strong { font-size: 18px; }
    .auto-result-heading { display: block; }
    .auto-result-badge { margin-top: 12px; }
    .auto-result-check { min-height: 64px; }
    .auto-result-check div { grid-template-columns: 1fr auto; gap: 3px 9px; }
    .auto-result-check strong { grid-column: 1; grid-row: 2; font-size: 15px; }
    .auto-result-check small { grid-column: 2; grid-row: 2; }
    .auto-result-check span:not(.auto-check-icon) { grid-column: 1 / -1; }
    .auto-result-download { width: 100%; min-width: 0; }
    .auto-result-controls .auto-result-reset { min-width: 140px; padding: 0 9px; }
    .auto-result-controls .auto-result-reset span { display: none; }
}

/* Result view proportions: details stay compact on the left while the photo
   sits as a measured print preview inside a white canvas on the right. */
.auto-workspace-shell { width: min(1710px, calc(100% - 80px)); }
.auto-result-layout { grid-template-columns: minmax(0, 1.2fr) minmax(480px, .8fr); gap: clamp(48px, 7vw, 110px); }
.auto-result-heading h2 { max-width: 700px; font-size: clamp(1.7rem, 2.15vw, 2.25rem); line-height: 1.12; letter-spacing: -.04em; }
.auto-result-grid { margin-top: 24px; }
.auto-result-alert { margin: 16px 0 0; padding: 12px 15px; border: 1px solid #f2b8ad; border-radius: 12px; color: #8b3028; background: #fff4f1; font-size: 13px; line-height: 1.55; }
.auto-result-check { grid-template-columns: 42px minmax(0, 1fr); min-height: 92px; padding: 13px 0; gap: 15px; }
.auto-check-icon { width: 38px; height: 38px; }
.auto-result-check div { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 5px 20px; }
.auto-result-check span:not(.auto-check-icon) { grid-column: 1; grid-row: 1; }
.auto-result-check strong { grid-column: 1; grid-row: 2; margin: 0; }
.auto-result-check small { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
.auto-result-download { width: 100%; min-width: 0; background: var(--idp-navy); }
.auto-result-download:hover, .auto-result-download:focus-visible { background: #245b78; }
.auto-result-preview-shell { width: min(100%, 570px); padding: 15px; }
.auto-result-preview-frame { aspect-ratio: 1.38 !important; min-height: 0; }
.auto-result-photo-measure { position: relative; width: auto; height: min(75%, 300px); max-height: 300px; aspect-ratio: 3 / 4; }
.auto-result-photo-measure img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.auto-result-watermark { font-size: 20px; }
.auto-result-dimension-top { top: -23px; right: 0; left: 0; height: 18px; color: #fff; background: linear-gradient(#245b78, #245b78) center 9px / 100% 2px no-repeat; }
.auto-result-dimension-top::before, .auto-result-dimension-top::after { top: 5px; }
.auto-result-dimension-side { top: 0; right: -28px; bottom: 0; width: 22px; color: #fff; background: linear-gradient(90deg, #245b78, #245b78) 7px center / 2px 100% no-repeat; }
.auto-result-dimension-side::before, .auto-result-dimension-side::after { right: 8px; }

/* The processing state uses a continuous beam plus a glow sweep so it reads
   as an active scan, not as a screenshot with a line painted over it. */
.auto-processing-photo { position: relative; overflow: hidden; }
.auto-processing-photo::before { position: absolute; z-index: 2; top: -35%; right: 0; left: 0; height: 36%; content: ''; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent 0%, rgba(88,205,235,.08) 36%, rgba(88,205,235,.34) 88%, rgba(255,255,255,.05) 100%); filter: blur(4px); transform: translateY(-120%); }
.auto-processing-photo::after { position: absolute; z-index: 3; top: 8%; right: 12px; left: 12px; height: 3px; content: ''; pointer-events: none; border-radius: 99px; opacity: 0; background: linear-gradient(90deg, transparent, #2e8fbd 16%, #b8f2fb 50%, #2e8fbd 84%, transparent); box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 18px rgba(46,143,189,.9), 0 0 42px rgba(88,205,235,.46); }
.auto-processing-photo.is-scanning::before { opacity: 1; animation: idphoto-scan-beam 2.45s linear infinite; }
.auto-processing-photo.is-scanning::after { opacity: 1; animation: idphoto-scan-line 2.45s linear infinite; }
@keyframes idphoto-scan-beam {
    0% { transform: translateY(-120%); }
    100% { transform: translateY(390%); }
}
@keyframes idphoto-scan-line {
    0% { top: 8%; opacity: .35; }
    12% { opacity: 1; }
    50% { opacity: .92; }
    88% { opacity: 1; }
    100% { top: 91%; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
    .auto-processing-photo::before { display: none; }
    .auto-processing-photo::after { top: 50%; opacity: .65; animation: none; }
}

@media (max-width: 1100px) {
    .auto-result-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, .75fr); gap: 42px; }
}
@media (max-width: 820px) {
    .auto-workspace-shell { width: min(100%, calc(100% - 34px)); }
    .auto-result-layout { grid-template-columns: 1fr; gap: 28px; }
    .auto-result-visual { order: -1; }
    .auto-result-preview-shell { width: min(100%, 520px); }
}
@media (max-width: 560px) {
    .auto-result-preview-frame { width: 100%; }
    .auto-result-photo-measure { height: min(74%, 240px); }
    .auto-result-check { min-height: 76px; }
    .auto-result-check div { gap: 3px 9px; }
}

/* Keep the generated result heading on the same compact line as the reference
   workspace; allow it to wrap only where the narrow mobile layout needs it. */
.auto-result-heading h2 { white-space: nowrap; font-size: clamp(1.85rem, 2.45vw, 2.65rem); }
@media (max-width: 560px) {
    .auto-result-heading h2 { white-space: normal; }
}

/* High-contrast workspace polish: measurements and generated-file details
   stay legible on the pale preview surface at every viewport size. */
:root {
    --idp-workspace-bg: #eaf3f7;
    --idp-workspace-surface: #ffffff;
    --idp-workspace-line: #c7d9e1;
    --idp-workspace-line-strong: #9fb9c5;
    --idp-workspace-copy: #4a6879;
    --idp-workspace-ink: #102f45;
    --idp-workspace-accent: #2b83b5;
}

#idpicmaker-app .button,
#idpicmaker-app button,
#idpicmaker-app label[for="idphoto-file"] {
    touch-action: manipulation;
}

#idpicmaker-app :focus-visible {
    outline: 3px solid #f0a202;
    outline-offset: 3px;
}

.idphoto-workspace-layer {
    background: var(--idp-workspace-bg) !important;
    color: var(--idp-workspace-ink);
}

.auto-workspace-header {
    border-bottom-color: var(--idp-workspace-line);
}

.auto-workspace-header .panel-kicker {
    color: #466879;
    letter-spacing: .18em;
}

.auto-workspace-subtitle,
.auto-result-help,
.auto-result-note {
    color: var(--idp-workspace-copy);
}

.auto-workspace-close,
.auto-result-start-over,
.auto-result-controls button {
    min-width: 44px;
    min-height: 44px;
    border-color: var(--idp-workspace-line);
    color: var(--idp-workspace-ink);
    background: #fff;
    box-shadow: 0 8px 22px -18px rgba(16,47,69,.7);
}

.auto-workspace-close:hover,
.auto-workspace-close:focus-visible,
.auto-result-start-over:hover,
.auto-result-start-over:focus-visible,
.auto-result-controls button:hover,
.auto-result-controls button:focus-visible {
    border-color: var(--idp-workspace-accent);
    background: #f8fcfd;
}

.auto-result-layout {
    align-items: start;
}

/* Once a photo is submitted, the processing/result workspace becomes the
   single focused screen. Before that state the normal editor remains visible
   so the user can choose a country, upload, and adjust controls. */
body.idphoto-workspace-open .editor-page > *:not(.auto-processing-screen):not(.auto-result-card) {
    display: none !important;
}

/* Homepage uploads open the preview workspace directly. Keep the editor
   controls in the DOM for the local crop and payment logic, but never flash
   the unused setup screen while the preview route is loading. */
#idpicmaker-app.is-direct-preview > *:not(.idphoto-workspace-layer):not(.qr-modal) {
    display: none !important;
}
#idpicmaker-app.is-direct-preview {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.auto-result-details {
    padding: 24px 26px 26px;
    border: 1px solid var(--idp-workspace-line);
    border-radius: 24px;
    background: rgba(255,255,255,.52);
}

.auto-result-heading h2 {
    color: var(--idp-workspace-ink);
    font-weight: 800;
}

.auto-result-badge {
    color: #075b4e;
    background: #d8f2e9;
    border: 1px solid #b8e4d5;
}

.auto-result-grid {
    margin-top: 24px;
    border: 1px solid var(--idp-workspace-line);
    border-radius: 16px;
    background: var(--idp-workspace-surface);
    overflow: hidden;
}

.auto-result-check {
    min-height: 78px;
    padding: 14px 16px;
    border-bottom-color: var(--idp-workspace-line);
}

.auto-result-check:last-child {
    border-bottom: 0;
}

.auto-result-check span:not(.auto-check-icon) {
    color: #486b7d;
    font-size: 13px;
    font-weight: 600;
}

.auto-result-check strong {
    color: var(--idp-workspace-ink);
    font-size: 16px;
    line-height: 1.35;
}

.auto-result-check small {
    color: #527486;
    font-size: 12px;
    line-height: 1.35;
}

.auto-check-icon {
    border-color: #a8d7c8;
    color: #075b4e;
    background: #effbf7;
}

.auto-result-alert {
    border-color: #e8a79a;
    color: #7e2e28;
    background: #fff4f1;
}

.auto-result-preview-shell {
    width: min(100%, 570px);
    padding: 18px;
    border: 1px solid var(--idp-workspace-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 48px -34px rgba(16,47,69,.58);
}

.auto-result-preview-frame {
    min-height: 340px;
    padding: 40px 52px 36px;
    overflow: visible;
    border: 1px solid #d6e3e8;
    border-radius: 18px;
    background: #fbfdfe;
}

.auto-result-photo-measure {
    width: auto;
    height: min(75%, 300px);
    max-height: 300px;
    outline: 2px dashed #5b9ccb;
    outline-offset: 7px;
    background: #fff;
}

.auto-result-photo-measure::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    border: 1px dashed rgba(43,131,181,.8);
    content: '';
    pointer-events: none;
}

.auto-result-preview-frame img {
    object-fit: contain;
}

.auto-result-dimension {
    color: transparent;
    background-color: transparent;
}

.auto-result-dimension b {
    position: absolute;
    z-index: 2;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
    background: var(--idp-workspace-ink);
    box-shadow: 0 2px 5px rgba(16,47,69,.18);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.auto-result-dimension-top {
    top: -35px;
    right: 0;
    left: 0;
    height: 24px;
    background: linear-gradient(var(--idp-workspace-accent), var(--idp-workspace-accent)) center 12px / 100% 2px no-repeat;
}

.auto-result-dimension-top b {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.auto-result-dimension-top::before,
.auto-result-dimension-top::after {
    top: 7px;
    background: var(--idp-workspace-accent);
}

.auto-result-dimension-side {
    top: 0;
    right: -47px;
    bottom: 0;
    width: 34px;
    background: linear-gradient(90deg, var(--idp-workspace-accent), var(--idp-workspace-accent)) 8px center / 2px 100% no-repeat;
}

.auto-result-dimension-side b {
    top: 50%;
    right: -3px;
    transform: translate(100%, -50%);
    writing-mode: horizontal-tb;
}

.auto-result-dimension-side::before,
.auto-result-dimension-side::after {
    right: 4px;
    background: var(--idp-workspace-accent);
}

.auto-result-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 22px;
    color: var(--idp-workspace-copy);
    font-size: 12px;
}

.auto-result-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.auto-result-legend i {
    display: inline-block;
    width: 18px;
    height: 12px;
    border: 1px dashed var(--idp-workspace-accent);
    border-radius: 3px;
}

.auto-result-legend-measure {
    height: 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--idp-workspace-accent);
}

.auto-result-help {
    max-width: 560px;
    line-height: 1.55;
}

.auto-result-download {
    min-height: 48px;
    border-radius: 12px;
    background: var(--idp-workspace-ink);
    box-shadow: 0 12px 22px -17px rgba(16,47,69,.9);
}

.auto-result-download:hover,
.auto-result-download:focus-visible {
    background: #1e5775;
}

.auto-processing-photo::before,
.auto-processing-photo::after {
    will-change: transform, top, opacity;
}

.auto-processing-photo.is-scanning::after {
    animation-play-state: running;
}

.auto-processing-steps li small {
    color: #557486;
}

@media (max-width: 820px) {
    .auto-result-details {
        padding: 20px;
    }

    .auto-result-preview-frame {
        min-height: 310px;
        padding-right: 48px;
        padding-left: 48px;
    }
}

/* Homepage hero: keep the H1 inside the copy column at wide desktop sizes. */
.passport-home-hero .passport-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 2.8vw, 3rem);
    line-height: 1.05;
    white-space: normal;
    text-wrap: balance;
}

@media (max-width: 560px) {
    .auto-result-details {
        padding: 16px;
        border-radius: 18px;
    }

    .auto-result-preview-shell {
        padding: 14px;
        border-radius: 20px;
    }

    .auto-result-preview-frame {
        min-height: 270px;
        padding: 34px 42px 30px;
    }

    .auto-result-photo-measure {
        height: min(74%, 220px);
        outline-offset: 5px;
    }

    .auto-result-dimension-side {
        right: -40px;
    }

    .auto-result-dimension-side b {
        right: -1px;
        font-size: 11px;
    }
}

/* Homepage composition pass: keep the first fold intentional at desktop
   widths, prevent title clipping, and align the benefit row with its cards. */
.passport-home-hero {
    overflow: hidden;
}

.passport-home-hero .passport-home-container {
    width: min(1280px, calc(100% - 56px));
    box-sizing: border-box;
}

.passport-hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(460px, .8fr);
    grid-template-areas:
        "copy maker"
        "benefits formats";
    align-items: start;
    column-gap: clamp(36px, 4.5vw, 72px);
    row-gap: 34px;
}

.passport-hero-copy,
.passport-maker-card,
.passport-benefit-pills,
.passport-format-cards {
    min-width: 0;
}

.passport-hero-copy { grid-area: copy; }
.passport-maker-card { grid-area: maker; }

.passport-benefit-pills {
    grid-area: benefits;
    align-self: center;
    margin-top: 0;
    padding: 4px 0;
}

.passport-format-cards {
    grid-area: formats;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: stretch;
    margin-top: 0;
    gap: 12px;
}

.passport-format-cards article {
    min-width: 0;
    min-height: 166px;
    box-sizing: border-box;
    padding: 17px 15px;
}

.passport-format-cards article > div {
    min-width: 0;
}

.passport-format-cards strong,
.passport-format-cards p {
    overflow-wrap: anywhere;
}

.passport-hero-copy h1 {
    max-width: 100%;
    margin-right: 0;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: normal;
    font-size: clamp(2.55rem, 4.15vw, 4.25rem);
    line-height: 1.01;
}

.passport-hero-copy h2 {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: clamp(1.22rem, 2vw, 1.7rem);
    line-height: 1.22;
    text-wrap: balance;
}

.passport-hero-lede {
    max-width: 690px;
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.72;
}

.passport-hero-trust {
    gap: 12px 20px;
    margin-top: 25px;
}

.passport-hero-proof {
    max-width: 700px;
    margin-top: 28px;
}

.passport-hero-proof article {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px 10px;
}

.passport-content-section .passport-home-container,
.passport-standards-section .passport-home-container {
    width: min(1180px, calc(100% - 56px));
    box-sizing: border-box;
}

.passport-section-heading {
    max-width: 820px;
}

.passport-section-heading h2,
.passport-standards-copy h2 {
    text-wrap: balance;
}

@media (min-width: 1450px) {
    .passport-hero-copy h1 {
        white-space: nowrap;
        font-size: clamp(3rem, 3.35vw, 4.25rem);
    }
}

@media (max-width: 1120px) {
    .passport-home-hero .passport-home-container {
        width: min(100% - 40px, 1000px);
    }

    .passport-hero-layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
        column-gap: 30px;
    }

    .passport-hero-copy h1 {
        font-size: clamp(2.35rem, 4.3vw, 3.55rem);
    }

    .passport-format-cards article {
        padding: 15px 12px;
    }
}

@media (max-width: 1020px) {
    .passport-hero-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "maker"
            "benefits"
            "formats";
        max-width: 780px;
        row-gap: 24px;
    }

    .passport-hero-copy,
    .passport-maker-card {
        max-width: none;
    }

    .passport-benefit-pills {
        justify-content: flex-start;
    }

    .passport-format-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .passport-home-hero .passport-home-container,
    .passport-content-section .passport-home-container,
    .passport-standards-section .passport-home-container {
        width: min(100% - 28px, 620px);
    }

    .passport-hero-copy h1 {
        font-size: clamp(2.25rem, 11vw, 3.45rem);
        text-wrap: pretty;
    }

    .passport-hero-copy h2 {
        font-size: 1.12rem;
    }

    .passport-format-cards {
        grid-template-columns: 1fr;
    }

    .passport-format-cards article {
        min-height: 0;
    }
}

/* Country pages: one visual system for the guide, picker and editor entry. */
.maker-hero,
.maker-tool-card,
.maker-preview-strip,
.maker-content-grid,
.maker-detail-section {
    width: min(1180px, calc(100% - 48px));
    box-sizing: border-box;
}

.maker-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    gap: clamp(28px, 5vw, 72px);
    margin-top: 54px;
    padding: 30px 0 24px;
}

.maker-hero-copy h1 {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--passport-ink);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(3rem, 5.4vw, 5.55rem);
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.maker-hero-subheading {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--passport-ink);
    font-size: clamp(1.2rem, 2.1vw, 1.75rem);
    line-height: 1.22;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.maker-hero-copy .lede {
    max-width: 700px;
    margin: 18px 0 0;
    color: var(--passport-copy);
    font-size: 17px;
    line-height: 1.75;
}

.maker-source-note {
    max-width: 680px;
    margin: 16px 0 0;
    padding-left: 14px;
    border-left: 3px solid var(--passport-accent);
    color: var(--passport-copy);
    font-size: 12px;
    line-height: 1.65;
}

.maker-hero-card {
    align-self: center;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 22px;
    border-color: var(--passport-line-strong);
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 22px 48px -34px rgba(19,47,67,.35);
}

.maker-hero-icon {
    width: 56px;
    height: 56px;
    grid-row: span 2;
    border-radius: 17px;
}

.maker-hero-card strong {
    color: var(--passport-ink);
    font-size: 17px;
}

.maker-hero-card span:not(.maker-hero-icon) {
    color: var(--passport-copy);
    font-size: 13px;
}

.maker-hero-card a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--passport-line);
    color: var(--passport-dark);
    font-size: 14px;
}

.maker-tool-card {
    margin-top: 20px;
    padding: clamp(18px, 3vw, 30px);
    border-color: var(--passport-line-strong);
    border-radius: 32px;
    background: rgba(255,255,255,.91);
    box-shadow: 0 28px 70px -46px rgba(19,47,67,.34);
}

.maker-tool-tabs {
    gap: 8px;
    padding: 7px;
    border-color: var(--passport-line-strong);
    background: #edf4f7;
}

.maker-tool-tabs button {
    min-height: 52px;
    border-radius: 17px;
    color: #617b8b;
    font-size: 11px;
    letter-spacing: .18em;
}

.maker-tool-tabs button.is-active {
    background: var(--passport-dark);
    box-shadow: 0 10px 22px -17px rgba(19,47,67,.9);
}

.maker-tool-heading {
    align-items: start;
    padding: 32px 4px 22px;
}

.maker-tool-heading h2 {
    color: var(--passport-ink);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    letter-spacing: -.045em;
}

.maker-tool-heading h2 span {
    color: var(--passport-copy);
    font-size: .53em;
    white-space: nowrap;
}

.maker-tool-heading p {
    max-width: 720px;
    color: var(--passport-copy);
    font-size: 14px;
    line-height: 1.7;
}

.maker-profile-selection,
.maker-spec-select select {
    border-color: var(--passport-line-strong);
    background: #f7fbfc;
}

.maker-profile-selection {
    min-width: 260px;
    padding: 15px 17px;
    border-radius: 17px;
}

.maker-spec-select {
    min-width: min(300px, 100%);
    color: var(--passport-copy);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.maker-spec-select select {
    min-height: 48px;
    appearance: none;
    padding: 10px 42px 10px 14px;
    background-image: linear-gradient(45deg, transparent 50%, var(--passport-ink) 50%), linear-gradient(135deg, var(--passport-ink) 50%, transparent 50%);
    background-position: calc(100% - 19px) 21px, calc(100% - 13px) 21px;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.maker-spec-grid {
    border-color: var(--passport-line-strong);
    border-radius: 20px;
}

.maker-spec-grid div {
    min-height: 86px;
    padding: 18px 20px;
    background: #f8fbfc;
}

.maker-spec-grid dt {
    color: var(--passport-copy);
    font-size: 12px;
}

.maker-spec-grid dd {
    color: var(--passport-ink);
    font-size: 16px;
    line-height: 1.35;
}

.maker-upload-panel {
    gap: 20px;
    margin-top: 20px;
    padding: 24px;
    border-color: #9ec9d8;
    border-radius: 22px;
    background: #f3fafc;
}

.maker-upload-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--passport-accent);
    font-size: 25px;
    line-height: 1;
}

.maker-upload-panel h3 { color: var(--passport-ink); font-size: 18px; }
.maker-upload-panel p { font-size: 14px; line-height: 1.55; }
.maker-upload-panel small { font-size: 11px; line-height: 1.5; }
.maker-upload-panel .button { border-radius: 999px; background: var(--passport-teal, #0d7c68); }

.maker-upload-status {
    margin-top: 15px;
    color: var(--passport-copy);
    font-size: 13px;
}

.maker-preview-strip {
    grid-template-columns: 150px 46px 180px minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
    padding: 20px;
    border-color: var(--passport-line-strong);
    border-radius: 26px;
    background: rgba(255,255,255,.72);
}

.maker-preview-card img {
    width: 100%;
    height: 142px;
    border-radius: 16px;
    object-position: center 18%;
    box-shadow: 0 12px 28px -24px rgba(19,47,67,.6);
}

.maker-preview-card strong { color: var(--passport-ink); font-size: 14px; }
.maker-preview-card span, .maker-preview-summary span { color: var(--passport-copy); font-size: 12px; line-height: 1.45; }
.maker-preview-arrow { color: var(--passport-accent); font-size: 34px; }
.maker-preview-summary { padding: 0 8px; }
.maker-preview-summary strong { display: block; color: var(--passport-ink); font-size: 20px; letter-spacing: -.025em; }
.maker-preview-summary p { margin-top: 10px; color: var(--passport-copy); font-size: 14px; line-height: 1.65; }

.maker-content-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 34px;
    margin-top: 46px;
}

.maker-content-grid > article,
.maker-side-card,
.maker-detail-grid article {
    border-color: var(--passport-line-strong);
    border-radius: 24px;
}

.maker-content-grid > article {
    padding: 28px;
    background: rgba(255,255,255,.55);
}

.maker-content-grid h2,
.maker-detail-section h2,
.maker-side-card h2 {
    color: var(--passport-ink);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    letter-spacing: -.045em;
}

.maker-steps { gap: 0; margin-top: 24px; }
.maker-steps li { padding: 18px 0; border-top: 1px solid var(--passport-line); }
.maker-steps li:last-child { border-bottom: 1px solid var(--passport-line); }
.maker-steps li:before { color: var(--passport-accent); }
.maker-steps strong { color: var(--passport-ink); }
.maker-steps span { color: var(--passport-copy); font-size: 13px; line-height: 1.6; }

.maker-side-card {
    padding: 26px;
    background: #eaf4f7;
    box-shadow: none;
}

.maker-side-card ul { margin: 20px 0; color: var(--passport-copy); font-size: 13px; line-height: 1.8; }
.maker-side-card a { color: var(--passport-dark); font-size: 13px; }
.maker-detail-section { margin-top: 48px; padding-bottom: 30px; }
.maker-detail-section > h2 { max-width: 760px; margin-top: 8px; }
.maker-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.maker-detail-grid article { padding: 23px; background: rgba(255,255,255,.86); box-shadow: 0 15px 34px -30px rgba(19,47,67,.4); }
.maker-detail-grid h3 { color: var(--passport-ink); font-size: 17px; line-height: 1.3; }
.maker-detail-grid p { color: var(--passport-copy); font-size: 13px; line-height: 1.75; }

/* Keep the home proof cards and requirements cards balanced instead of leaving
   an orphaned final card on wide screens. */
.passport-format-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.passport-format-cards article { min-height: 152px; }
.passport-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.size-common-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.requirements-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
    .maker-hero { grid-template-columns: 1fr; margin-top: 32px; }
    .maker-hero-card { max-width: 620px; }
    .maker-tool-heading { display: grid; align-items: start; }
    .maker-profile-selection, .maker-spec-select { width: 100%; min-width: 0; }
    .size-common-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .requirements-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .maker-hero,
    .maker-tool-card,
    .maker-preview-strip,
    .maker-content-grid,
    .maker-detail-section { width: min(100% - 28px, 620px); }
    .maker-hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
    .maker-hero-subheading { font-size: 1.2rem; }
    .maker-tool-card { padding: 14px; border-radius: 24px; }
    .maker-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .maker-spec-grid div { min-height: 74px; padding: 14px; }
    .maker-upload-panel { display: grid; padding: 20px; }
    .maker-upload-panel .button { width: 100%; margin-left: 0; text-align: center; }
    .maker-preview-strip { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); padding: 14px; }
    .maker-preview-card img { height: auto; aspect-ratio: 1; }
    .maker-preview-summary { grid-column: 1 / -1; padding: 8px 0 0; }
    .maker-content-grid > article { padding: 22px; }
    .maker-detail-grid { grid-template-columns: 1fr; }
    .passport-format-cards, .passport-why-grid, .size-common-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
    .maker-tool-tabs button { padding-inline: 8px; font-size: 10px; letter-spacing: .12em; }
    .maker-spec-grid dd { font-size: 14px; }
    .requirements-summary-grid { grid-template-columns: 1fr; }
}

/* Final product layout pass: compact editorial rhythm, three-column limits,
   and country pages that give the tool more room without oversized headings. */
.passport-hero-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr);
    grid-template-areas:
        "copy maker"
        "formats formats";
    gap: 24px clamp(28px, 4vw, 58px);
}

.passport-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.7rem, 3.7vw, 4rem);
    line-height: 1.02;
}

.passport-benefit-pills,
.passport-format-cards {
    width: 100%;
}

.passport-benefit-pills {
    padding-top: 2px;
    border-top: 1px solid var(--passport-line);
}

.passport-benefit-pills span {
    padding: 8px 14px;
    font-size: 12px;
}

.passport-format-cards {
    margin-top: 0;
    gap: 14px;
}

.passport-format-cards article {
    min-height: 0;
    min-height: 96px;
    padding: 14px 16px;
    border-radius: 18px;
    align-items: center;
}

.passport-format-cards p {
    max-width: 28ch;
}

.passport-why-grid,
.passport-how-grid,
.passport-check-grid,
.size-common-grid,
.requirements-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.passport-why-section .passport-section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.passport-why-grid article {
    padding: 22px;
    border-radius: 20px;
}

.passport-why-grid article,
.passport-how-grid article,
.passport-check-grid a,
.size-common-grid article,
.requirements-summary-grid article {
    min-width: 0;
}

.passport-standards-grid {
    display: block;
}

.passport-standards-copy {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.passport-standards-copy .passport-section-kicker {
    justify-content: center;
}

.passport-standards-copy h2 {
    max-width: none;
    font-size: clamp(2.25rem, 4.5vw, 3.9rem);
}

.passport-standard-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.passport-standard {
    min-width: 0;
}

.passport-standard.accepted {
    grid-row: span 2;
}

.passport-standard img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.passport-standard.accepted img {
    aspect-ratio: 4 / 5;
}

.maker-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
    gap: clamp(24px, 4vw, 58px);
    margin-top: clamp(28px, 5vw, 56px);
}

.maker-hero-copy h1 {
    max-width: 720px;
    font-size: clamp(2.55rem, 4.15vw, 3.85rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.maker-hero-subheading {
    max-width: 680px;
    font-size: clamp(1.12rem, 1.65vw, 1.42rem);
    line-height: 1.35;
}

.maker-hero .lede {
    max-width: 700px;
    font-size: 1.02rem;
    line-height: 1.72;
}

.maker-hero-card {
    align-self: center;
    padding: 22px;
    border-radius: 22px;
}

.maker-tool-card {
    padding: clamp(18px, 2.8vw, 30px);
    border-radius: 26px;
}

.maker-tool-heading {
    gap: 24px;
    padding: 26px 4px 20px;
}

.maker-tool-heading h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

.maker-tool-heading h2 span {
    display: inline-block;
    margin-left: 7px;
    color: var(--passport-copy);
    font-size: .55em;
    font-weight: 500;
    letter-spacing: 0;
}

.maker-profile-selection,
.maker-spec-select {
    padding: 15px 17px;
    border-radius: 15px;
    background: #f6fafb;
}

.maker-spec-grid {
    border-radius: 18px;
}

.maker-spec-grid div {
    min-height: 78px;
    padding: 16px 18px;
}

.maker-spec-grid dd {
    font-size: 15px;
}

.maker-upload-panel {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    padding: 19px 21px;
    border-radius: 18px;
}

.maker-content-grid {
    gap: 20px;
    margin-top: 34px;
}

.maker-content-grid > article,
.maker-side-card,
.maker-detail-grid article {
    border-radius: 18px;
}

.maker-content-grid > article {
    padding: 23px;
}

.maker-side-card {
    padding: 23px;
}

.maker-detail-section {
    margin-top: 38px;
}

.maker-submission-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 6px;
    margin-bottom: 62px;
    padding: 17px 19px;
    border: 1px solid #b9dce3;
    border-radius: 16px;
    background: #eef9fa;
}

.maker-submission-note-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--passport-accent);
    font-size: 15px;
    font-weight: 800;
}

.maker-submission-note .eyebrow {
    margin: 0 0 3px;
    color: var(--passport-accent);
}

.maker-submission-note p:last-child {
    margin: 0;
    color: var(--passport-copy);
    font-size: 13px;
    line-height: 1.65;
}

.faq-section {
    padding: clamp(58px, 8vw, 102px) 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    gap: clamp(28px, 6vw, 84px);
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 94px;
    max-width: 390px;
}

.faq-intro h2 {
    margin: 6px 0 0;
    font-size: clamp(2.25rem, 4.2vw, 3.7rem);
    line-height: .98;
}

.faq-intro p {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.72;
}

.faq-intro a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
    color: var(--passport-dark);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.faq-intro a:hover {
    color: var(--passport-accent);
}

.faq-list {
    gap: 9px;
}

.faq-item {
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 28px -25px rgba(14,37,55,.35);
}

.faq-item summary {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 12px;
    align-items: center;
    min-height: 66px;
    padding: 11px 14px;
    font-size: 15px;
}

.faq-index {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    color: var(--passport-accent);
    background: #eaf6f5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.faq-question {
    min-width: 0;
}

.faq-toggle {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--passport-line-strong);
    border-radius: 50%;
    color: var(--passport-dark);
    background: #f1f7f8;
    font-size: 22px;
    font-weight: 400;
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    color: #fff;
    background: var(--passport-dark);
}

.faq-answer {
    margin: 0 14px 0 60px;
    border-top: 1px solid var(--passport-line);
}

.faq-answer p {
    margin: 0;
    padding: 13px 0 17px;
    color: var(--passport-copy);
    font-size: 13px;
    line-height: 1.72;
}

@media (max-width: 1020px) {
    .passport-hero-layout {
        grid-template-columns: 1fr;
        grid-template-areas: "copy" "maker" "formats";
        max-width: 820px;
    }

    .passport-format-cards article {
        min-height: 0;
    }

    .maker-hero {
        grid-template-columns: 1fr;
    }

    .maker-hero-card {
        max-width: 620px;
    }
}

@media (max-width: 900px) {
    .passport-standard-cards,
    .passport-why-grid,
    .passport-how-grid,
    .passport-check-grid,
    .size-common-grid,
    .requirements-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .faq-intro {
        position: static;
        max-width: 640px;
    }
}

@media (max-width: 700px) {
    .passport-format-cards,
    .passport-standard-cards,
    .passport-why-grid,
    .passport-how-grid,
    .passport-check-grid,
    .size-common-grid,
    .requirements-summary-grid {
        grid-template-columns: 1fr;
    }

    .passport-standard.accepted {
        grid-row: auto;
    }

    .passport-standard.accepted img {
        aspect-ratio: 4 / 3;
    }

    .maker-hero-copy h1 {
        font-size: clamp(2.35rem, 11vw, 3.35rem);
    }

    .maker-upload-panel {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .maker-upload-panel .button {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .faq-item summary {
        grid-template-columns: 30px minmax(0, 1fr) 32px;
        gap: 9px;
        font-size: 14px;
    }

    .faq-answer {
        margin-left: 52px;
    }
}

/* Final refinement: smaller type, working passport/visa navigation, and a
   single-column FAQ that stays readable at every width. */
.site-header .main-nav {
    gap: 2px;
}

.site-header .main-nav > a,
.site-header .main-nav > .mega-menu > summary {
    padding-inline: 9px;
}

.passport-hero-copy h1 {
    max-width: 700px;
    font-size: clamp(2.4rem, 3.05vw, 3.55rem);
}

.passport-hero-copy h2 {
    max-width: 650px;
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    line-height: 1.35;
}

.maker-tool-tabs a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    color: #617b8b;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.maker-tool-tabs a:hover,
.maker-tool-tabs a:focus-visible {
    color: var(--passport-ink);
    background: var(--passport-muted);
}

.maker-tool-tabs a.is-active {
    color: #fff;
    background: var(--passport-dark);
    box-shadow: 0 10px 22px -17px rgba(19,47,67,.9);
}

.maker-hero-copy h1 {
    font-size: clamp(2.2rem, 3.45vw, 3.3rem);
}

.maker-hero-subheading {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.maker-tool-heading h2,
.maker-content-grid h2,
.maker-detail-section h2,
.maker-side-card h2 {
    font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.maker-tool-heading {
    padding-top: 25px;
    padding-bottom: 18px;
}

.maker-tool-heading p {
    font-size: 13px;
}

.maker-spec-grid div {
    min-height: 74px;
    padding: 15px 17px;
}

.maker-spec-grid dd {
    font-size: 14px;
}

.maker-upload-panel {
    gap: 16px;
    padding: 20px;
}

.maker-upload-panel h3 {
    font-size: 16px;
}

.maker-upload-panel p {
    font-size: 13px;
}

.maker-upload-panel small {
    font-size: 10px;
}

.faq-section {
    padding: clamp(56px, 8vw, 88px) 0;
}

.faq-layout {
    display: block;
    width: min(1080px, calc(100% - 40px));
}

.faq-intro {
    position: static;
    max-width: 760px;
    margin: 0 0 30px;
}

.faq-intro h2 {
    max-width: 650px;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.faq-intro p {
    max-width: 620px;
    margin-top: 14px;
    font-size: 14px;
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.faq-item {
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 15px 34px -28px rgba(14,37,55,.34);
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 18px;
    min-height: 86px;
    padding: 18px 24px;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.35;
}

.faq-item summary > .faq-index {
    display: none;
}

.faq-item summary > .faq-question {
    display: block;
    width: auto;
    height: auto;
    min-width: 0;
    flex: initial;
    border: 0;
    border-radius: 0;
    color: var(--passport-ink);
    background: transparent;
    font-size: inherit;
    font-weight: 650;
    text-align: left;
}

.faq-item summary > .faq-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid var(--passport-line-strong);
    border-radius: 50%;
    color: var(--passport-dark);
    background: #edf4f7;
    font-size: 22px;
    font-weight: 400;
}

.faq-item[open] summary > .faq-toggle {
    color: #fff;
    background: var(--passport-dark);
}

.faq-answer {
    margin: 0 24px;
    border-top: 1px solid var(--passport-line);
}

.faq-answer p {
    max-width: 760px;
    padding: 15px 0 20px;
    font-size: 14px;
}

@media (max-width: 700px) {
    .passport-hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 3.1rem);
    }

    .maker-hero-copy h1 {
        font-size: clamp(2.15rem, 10vw, 3.15rem);
    }

    .maker-tool-tabs a {
        min-height: 46px;
        padding-inline: 8px;
        font-size: 10px;
        letter-spacing: .14em;
    }

    .faq-layout {
        width: min(100% - 28px, 620px);
    }

    .faq-intro h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .faq-item summary {
        min-height: 76px;
        padding: 16px 18px;
        gap: 12px;
    }

    .faq-item summary > .faq-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .faq-answer {
        margin: 0 18px;
    }
}

/* Render guard: keep FAQ questions as one flexible text column.  The FAQ
   section used to inherit a narrow grid/flex width from the old card system,
   which pushed each question into a vertical strip and left the card empty. */
.maker-content-grid {
    align-items: start;
}

.maker-content-grid > article,
.maker-content-grid > .maker-side-card {
    align-self: start;
    min-height: 0;
}

.faq-list,
.faq-item {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.faq-item > summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.faq-item > summary > .faq-question {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--passport-ink) !important;
    transform: none !important;
    overflow-wrap: anywhere;
    text-align: left;
}

.faq-item > summary > .faq-toggle {
    display: grid !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    margin-left: auto;
    place-items: center;
}

.faq-intro h2 {
    max-width: 560px;
    font-size: clamp(1.9rem, 3.1vw, 2.65rem);
    line-height: 1.08;
}

@media (max-width: 700px) {
    .faq-item > summary {
        gap: 12px;
    }

    .faq-item > summary > .faq-toggle {
        flex-basis: 38px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .faq-intro h2 {
        font-size: clamp(1.8rem, 9vw, 2.45rem);
    }
}

/* Country maker refinement: keep the selected-country page compact and make
   Passport/Visa switching preserve the current country slug. */
.maker-hero--country {
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, .65fr);
    gap: clamp(22px, 4vw, 48px);
}

.maker-hero--country .maker-hero-copy h1 {
    max-width: 680px;
    font-size: clamp(2.45rem, 4vw, 3.55rem);
}

.maker-tool-card--country {
    max-width: 1120px;
    margin-top: 26px;
    padding: 20px 22px 22px;
    border-radius: 24px;
}

.maker-tool-card--country .maker-tool-tabs {
    margin-bottom: 0;
    padding: 5px;
    border-radius: 16px;
}

.maker-tool-card--country .maker-tool-tabs a {
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 11px;
}

.maker-tool-card--country .maker-tool-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 280px);
    align-items: center;
    gap: 22px;
    padding: 22px 2px 18px;
}

.maker-tool-card--country .maker-tool-heading h2 {
    margin: 5px 0 8px;
    font-size: clamp(1.5rem, 2.7vw, 2.05rem);
    line-height: 1.12;
}

.maker-tool-card--country .maker-tool-heading > div:first-child > p:last-child {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.55;
}

.maker-tool-card--country .maker-profile-selection {
    padding: 14px 16px;
    border: 1px solid var(--passport-line);
    border-radius: 16px;
}

.maker-tool-card--country .maker-profile-selection strong {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

.maker-tool-card--country .maker-profile-selection small {
    display: block;
    font-size: 11px;
    line-height: 1.45;
}

.maker-tool-card--country .maker-spec-grid {
    margin: 0;
    border-radius: 16px;
}

.maker-tool-card--country .maker-spec-grid div {
    min-height: 70px;
    padding: 14px 16px;
}

.maker-tool-card--country .maker-spec-grid dt {
    font-size: 11px;
}

.maker-tool-card--country .maker-spec-grid dd {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.3;
}

.maker-tool-card--country .maker-upload-panel {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 16px;
}

.maker-tool-card--country .maker-upload-panel h3 {
    font-size: 15px;
}

.maker-tool-card--country .maker-upload-panel p {
    font-size: 13px;
}

.maker-tool-card--country .maker-upload-panel small,
.maker-tool-card--country .maker-upload-status {
    font-size: 11px;
}

@media (max-width: 760px) {
    .maker-hero--country,
    .maker-tool-card--country .maker-tool-heading {
        grid-template-columns: 1fr;
    }

    .maker-tool-card--country {
        padding: 14px;
        border-radius: 20px;
    }

    .maker-tool-card--country .maker-profile-selection {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Final UI pass: align navigation controls, keep the four-step story on one
   desktop row, and make the editor use the same full country registry as the
   homepage picker. */
.site-header .main-nav {
    gap: 5px;
}

.site-header .main-nav .nav-chevron {
    display: inline-grid;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    place-items: center;
    margin-left: 1px;
    color: currentColor;
    transition: transform .18s ease;
}

.site-header .main-nav .nav-chevron svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-make-photo {
    margin-left: 16px;
}

.passport-home-hero .passport-home-container,
.passport-content-section .passport-home-container,
.passport-standards-section .passport-home-container {
    width: min(1240px, calc(100% - 56px));
}

.passport-how-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.passport-how-grid article {
    display: flex;
    min-height: 244px;
    flex-direction: column;
}

.passport-how-grid article p {
    margin-top: auto;
}

.maker-content-grid {
    align-items: stretch;
}

.maker-content-grid > article,
.maker-content-grid > .maker-side-card {
    height: 100%;
    box-sizing: border-box;
}

.maker-side-spec {
    display: grid;
    gap: 9px;
    margin: 22px 0 20px;
    padding-top: 17px;
    border-top: 1px solid var(--passport-line-strong);
}

.maker-side-spec div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.maker-side-spec span {
    color: var(--passport-copy);
    font-size: 11px;
}

.maker-side-spec strong {
    color: var(--passport-ink);
    font-size: 13px;
    text-align: right;
}

.editor-country-toggle {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 64px;
    padding: 9px 12px;
    border: 1px solid #b9cbd0;
    border-radius: 14px;
    color: var(--idp-navy);
    background: #f8fbfc;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.editor-country-toggle:hover,
.editor-country-toggle:focus-visible {
    border-color: var(--passport-accent);
    background: #eef8fb;
}

.editor-country-toggle-flag {
    display: grid;
    width: 38px;
    height: 38px;
    overflow: hidden;
    place-items: center;
    border-radius: 11px;
    background: #e8f1f4;
}

.editor-country-toggle-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-country-toggle small,
.editor-country-toggle strong {
    display: block;
}

.editor-country-toggle small {
    color: var(--idp-muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.editor-country-toggle strong {
    margin-top: 3px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editor-country-toggle-arrow {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--passport-accent);
}

.editor-country-toggle-arrow svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

/* Keep the data select available to app.js, but never let the browser render
   its native dropdown. The visible control is the homepage-style modal trigger. */
.editor-page #idphoto-spec.sr-only {
    display: none !important;
}

.maker-format-picker {
    width: min(330px, 100%);
    min-width: 280px;
}

.maker-format-picker .maker-country-toggle {
    min-height: 66px;
}

.maker-format-picker #maker-spec-select.sr-only {
    display: none !important;
}

/* Compact country picker header: keep the search and list above the fold. */
.country-picker-header {
    padding: 22px 62px 18px 30px;
}

.country-picker-header h2 {
    margin: 0;
    font-size: clamp(23px, 2.5vw, 31px);
    line-height: 1.08;
}

.country-picker-header .country-picker-description {
    max-width: none;
    margin: 7px 0 0;
    color: var(--passport-copy);
    font-size: 13px;
    line-height: 1.4;
}

.country-picker-body {
    max-height: calc(100vh - 164px);
    padding: 17px 22px 24px;
}

.country-picker-search {
    min-height: 51px;
}

.country-picker-label {
    margin-top: 18px;
}

.editor-country-picker .country-picker-dialog {
    width: min(100%, 980px);
}

.editor-country-picker .country-picker-option {
    grid-template-columns: 52px minmax(0, 1fr) 34px;
}

.editor-country-picker .country-picker-check {
    opacity: 1;
    color: var(--passport-accent);
    font-size: 20px;
}

.auto-result-photo-measure {
    overflow: visible;
}

.auto-result-head-guide {
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    display: block;
    border-top: 2px dashed rgba(47, 145, 196, .78);
    border-bottom: 2px dashed rgba(47, 145, 196, .78);
    pointer-events: none;
}

.auto-result-head-label {
    position: absolute;
    top: 50%;
    right: 6px;
    display: grid;
    min-width: 58px;
    min-height: 22px;
    place-items: center;
    padding: 0 6px;
    border-radius: 5px;
    color: #fff;
    background: #245b78;
    box-shadow: 0 4px 10px rgba(19,47,67,.14);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    transform: translate(0, -50%);
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .passport-how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .header-make-photo {
        margin-left: 4px;
    }

    .passport-home-hero .passport-home-container,
    .passport-content-section .passport-home-container,
    .passport-standards-section .passport-home-container {
        width: min(100% - 28px, 620px);
    }

    .passport-how-grid {
        grid-template-columns: 1fr;
    }

    .passport-how-grid article {
        min-height: 0;
    }

    .auto-result-head-label {
        right: 0;
        transform: translate(0, -50%);
    }

    .maker-format-picker {
        width: 100%;
        min-width: 0;
    }

    .country-picker-header {
        padding: 20px 54px 15px 22px;
    }

    .country-picker-header h2 {
        font-size: 23px;
    }

    .country-picker-body {
        max-height: calc(100vh - 140px);
        padding: 14px 13px 18px;
    }
}

/* Final workspace overrides. Keep these after the shared page rules so the
   result view remains stable when the broader editor stylesheet changes. */
.auto-check-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

.auto-result-check {
    grid-template-columns: 46px minmax(0, 1fr);
}

.auto-result-controls .auto-result-reset {
    min-width: 184px;
}

.auto-result-start-over {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    font-weight: 650;
}

.auto-result-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: min(100%, 420px);
    min-width: 0;
    min-height: 52px;
    margin-top: 18px;
    border-radius: 14px;
    font-weight: 800;
}

.auto-result-controls button svg,
.auto-result-start-over svg,
.auto-result-download svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 560px) {
    .auto-result-controls .auto-result-reset {
        min-width: 0;
        padding: 0 13px;
    }

    .auto-result-controls .auto-result-reset span {
        display: inline;
        font-size: 12px;
    }

    .auto-result-download {
        width: 100%;
    }
}

.auto-processing-steps li {
    color: #8299a6;
}

.auto-processing-steps li strong {
    color: inherit;
    font-weight: 650;
}

.auto-processing-steps li.is-active {
    color: var(--idp-workspace-ink, #102f45);
    transform: translateX(5px);
}

.auto-processing-steps li.is-active strong {
    font-weight: 800;
}

.auto-processing-steps li.is-complete {
    color: #2d7180;
    transform: none;
}

.auto-processing-steps li.is-complete > span {
    border-color: #b8e3d8;
    background: #198f80;
}

.auto-processing-steps li:not(.is-active):not(.is-complete) > span {
    border-color: #d3dfe5;
    color: #8299a6;
    background: #f7fafb;
    box-shadow: none;
}

.idphoto-upload-loading {
    position: fixed;
    z-index: 1300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

body.idphoto-upload-open {
    overflow: hidden;
}

.idphoto-upload-loading[hidden] {
    display: none;
}

.idphoto-upload-loading-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 42, 67, .48);
    backdrop-filter: blur(5px);
}

.idphoto-upload-loading-card {
    position: relative;
    width: min(100%, 420px);
    padding: 34px 32px 30px;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 70px -34px rgba(16, 42, 67, .72);
    text-align: center;
}

.idphoto-upload-loading-card .eyebrow {
    margin: 18px 0 8px;
}

.idphoto-upload-loading-card h2 {
    margin: 0;
    color: var(--idp-navy, #102a43);
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    letter-spacing: -.04em;
}

.idphoto-upload-loading-card > p:not(.eyebrow) {
    margin: 10px auto 0;
    max-width: 320px;
    color: var(--idp-muted, #5d7d8e);
    line-height: 1.55;
}

.idphoto-upload-spinner {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 4px solid #dcecf0;
    border-top-color: var(--idp-violet, #635bdc);
    border-radius: 50%;
    animation: idphoto-upload-spin .8s linear infinite;
}

.idphoto-upload-progress {
    height: 6px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8f0f3;
}

.idphoto-upload-progress span {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #635bdc, #2d9f92);
    animation: idphoto-upload-progress 1.4s ease-in-out infinite;
}

@keyframes idphoto-upload-spin {
    to { transform: rotate(360deg); }
}

@keyframes idphoto-upload-progress {
    0% { transform: translateX(-125%); }
    100% { transform: translateX(300%); }
}

@media (prefers-reduced-motion: reduce) {
    .idphoto-upload-spinner,
    .idphoto-upload-progress span {
        animation: none;
    }
}

/* Result workspace: keep the complete checklist and a genuinely useful
   measured preview in the same viewport. The previous 300px cap made the
   generated canvas look like a small thumbnail even when the output itself
   was correctly composed. */
.auto-result-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(560px, .88fr);
    align-items: start;
    gap: clamp(30px, 4vw, 72px);
    min-height: calc(100vh - 138px);
    padding: 28px 0 18px;
}

.auto-result-details {
    padding: 22px 26px 24px;
}

.auto-result-preview-shell {
    width: min(100%, 720px);
    padding: 20px;
}

.auto-result-preview-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    height: min(68vh, 650px);
    min-height: 0;
    padding: 58px 92px 68px;
    aspect-ratio: auto !important;
}

.auto-result-photo-measure {
    width: min(100%, 520px);
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
}

.auto-result-photo-measure img {
    object-fit: contain;
}

.auto-check-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #2479a7;
    background: linear-gradient(145deg, #f7fcff, #e9f8f4);
    box-shadow: inset 0 0 0 1px rgba(36,121,167,.08);
}

.auto-check-icon svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1250px) {
    .auto-result-layout {
        grid-template-columns: minmax(0, 1fr) minmax(470px, .82fr);
        gap: 28px;
    }

    .auto-result-preview-frame {
        padding-right: 70px;
        padding-left: 70px;
    }
}

@media (max-width: 820px) {
    .auto-result-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 26px;
    }

    .auto-result-preview-frame {
        height: min(76vw, 560px);
        padding: 48px 62px 58px;
    }

    .auto-result-photo-measure {
        width: min(100%, 520px);
    }
}

@media (max-width: 560px) {
    .auto-result-preview-frame {
        height: min(84vw, 420px);
        padding: 38px 44px 50px;
    }

    .auto-result-details {
        padding: 18px;
    }
}

/* Final result workspace: keep both columns at the same visual height while
   letting the checklist scroll independently on short screens. The smaller
   type preserves the complete validation summary without pushing the preview
   below the fold. */
.auto-result-layout {
    align-items: stretch;
    min-height: min(calc(100vh - 170px), 820px);
    padding-top: 18px;
    padding-bottom: 18px;
}

.auto-result-details,
.auto-result-visual {
    box-sizing: border-box;
    height: min(calc(100vh - 170px), 820px);
}

.auto-result-details {
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding: 20px 22px 22px;
}

.auto-result-heading h2 {
    font-size: clamp(1.55rem, 2.05vw, 2.15rem);
    line-height: 1.12;
}

.auto-result-grid {
    margin-top: 18px;
}

.auto-result-check {
    min-height: 68px;
    padding: 10px 14px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
}

.auto-result-check div {
    gap: 3px 14px;
}

.auto-result-check span:not(.auto-check-icon) {
    font-size: 12px;
}

.auto-result-check strong {
    font-size: 15px;
    line-height: 1.25;
}

.auto-result-check small {
    font-size: 11px;
}

.auto-check-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.auto-check-icon svg {
    width: 20px;
    height: 20px;
}

.auto-result-validation.is-review .auto-check-icon {
    color: #95611c;
    border-color: #ead3a8;
    background: #fff8e8;
}

.auto-result-visual {
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding: 18px 0;
}

.auto-result-preview-frame {
    height: min(58vh, 590px);
    padding: 52px 76px 60px;
}

.auto-result-photo-measure {
    width: min(100%, 540px);
    height: auto;
    max-height: none;
}

@media (max-width: 1250px) {
    .auto-result-details,
    .auto-result-visual {
        height: min(calc(100vh - 160px), 760px);
    }

    .auto-result-layout {
        min-height: min(calc(100vh - 160px), 760px);
    }

    .auto-result-preview-frame {
        height: min(54vh, 530px);
        padding-right: 62px;
        padding-left: 62px;
    }
}

@media (max-width: 820px) {
    .auto-result-layout {
        min-height: auto;
    }

    .auto-result-details,
    .auto-result-visual {
        height: auto;
        overflow: visible;
    }

    .auto-result-preview-frame {
        height: min(76vw, 560px);
    }
}

/* Compact paid result workspace: keep the checklist scrollable while the
   preview, controls, and paid download action remain visible together. */
@media (min-width: 821px) {
    .idphoto-workspace-layer {
        overflow: hidden !important;
    }

    .auto-workspace-shell {
        width: min(1840px, calc(100% - 56px));
        height: 100%;
        padding: 18px 0 20px;
    }

    .auto-workspace-header {
        min-height: 52px;
        padding-bottom: 12px;
    }

    .auto-workspace-subtitle {
        font-size: 13px;
    }

    .auto-workspace-close {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 28px;
    }

    .auto-result-layout {
        grid-template-columns: minmax(500px, .96fr) minmax(520px, 1.04fr);
        align-items: stretch;
        gap: clamp(24px, 3vw, 54px);
        height: calc(100% - 64px);
        min-height: 0;
        padding: 16px 0 0;
    }

    .auto-result-details {
        min-height: 0;
        overflow-y: auto;
        padding: 16px 20px 18px;
        border: 1px solid rgba(19, 47, 67, .12);
        border-radius: 20px;
        background: rgba(255, 255, 255, .38);
        scrollbar-gutter: stable;
    }

    .auto-result-heading h2 {
        font-size: clamp(1.35rem, 1.8vw, 2rem);
    }

    .auto-result-grid {
        margin-top: 14px;
    }

    .auto-result-check {
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: 58px;
        padding: 8px 0;
        gap: 10px;
    }

    .auto-check-icon {
        width: 34px;
        height: 34px;
        justify-self: center;
        align-self: center;
        border-radius: 10px;
    }

    .auto-check-icon svg {
        width: 18px;
        height: 18px;
    }

    .auto-result-check span:not(.auto-check-icon) {
        font-size: 11px;
    }

    .auto-result-check strong {
        font-size: 14px;
        line-height: 1.2;
    }

    .auto-result-check small {
        font-size: 10px;
    }

    .auto-result-check div {
        gap: 4px 12px;
    }

    .auto-result-note,
    .auto-result-alert {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 11px;
        line-height: 1.45;
    }

    .auto-result-download {
        min-height: 44px;
        font-size: 13px;
    }

    .auto-result-visual {
        min-height: 0;
        justify-content: flex-start;
        overflow: visible;
        padding: 0;
    }

    .auto-result-preview-shell {
        width: min(100%, 650px);
        padding: 12px;
        border-radius: 20px;
    }

    .auto-result-preview-frame {
        height: min(47vh, 500px);
        padding: 42px 68px 50px;
        border-radius: 14px;
    }

    .auto-result-photo-measure {
        width: min(100%, 430px);
        height: auto;
        max-height: none;
    }

    .auto-result-help {
        max-width: 650px;
        margin: 8px 0 7px;
        font-size: 11px;
        line-height: 1.4;
    }

    .auto-result-controls button {
        min-width: 44px;
        height: 44px;
    }

    .auto-result-controls .auto-result-reset {
        min-width: 166px;
        font-size: 12px;
    }

    .auto-result-start-over {
        min-height: 40px;
        margin-top: 7px;
        padding: 8px 14px;
        font-size: 12px;
    }
}

.checkout-return {
    display: grid;
    gap: 22px;
    margin-top: 18px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid #b9d6dc;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8ffff 0%, #fff 62%);
    box-shadow: 0 18px 44px rgba(16,42,67,.07);
}

.checkout-return-topline {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.checkout-return-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #08715f;
    font-weight: 800;
}

.checkout-return--cancelled .checkout-return-icon {
    background: #6c8290;
}

.checkout-return h2 {
    margin: 0;
    color: var(--idp-navy);
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.045em;
}

.checkout-return p:not(.eyebrow) {
    max-width: 720px;
    margin: 6px 0 14px;
    color: var(--idp-muted);
    line-height: 1.55;
}

.checkout-return-body {
    display: grid;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 44px);
    padding-top: 20px;
    border-top: 1px solid var(--idp-line);
}

.checkout-return-preview {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.checkout-return-preview img {
    display: block;
    width: min(100%, 190px);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid #c6dbe4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 22px rgba(16,42,67,.1);
}

.checkout-return-preview span {
    color: var(--idp-muted);
    font-size: 12px;
    text-align: center;
}

.checkout-return-actions {
    display: grid;
    justify-items: start;
    gap: 8px;
}

.checkout-return-actions-title {
    margin: 0 !important;
    color: var(--idp-navy) !important;
    font-size: 17px;
    font-weight: 800;
}

.checkout-return-actions-copy {
    margin: 0 0 8px !important;
    font-size: 14px;
}

.checkout-return .button {
    margin: 0;
}

@media (max-width: 820px) {
    .checkout-return {
        margin: 14px 17px 0;
        padding: 17px;
    }

    .checkout-return-body {
        grid-template-columns: 1fr;
    }

    .checkout-return-preview {
        justify-items: start;
    }

    .checkout-return-preview img {
        width: 150px;
    }

    .checkout-return-preview span {
        text-align: left;
    }
}

/* Requirements page refresh: calm editorial hierarchy with a clear automated
   entry point and enough contrast for the evidence-heavy content. */
.requirements-hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
    gap: clamp(28px, 5vw, 72px);
    padding-top: 64px;
    padding-bottom: 34px;
}

.requirements-hero-copy { min-width: 0; }
.requirements-hero-tag, .requirements-maker-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 11px;
    border: 1px solid rgba(13,124,104,.18);
    border-radius: 999px;
    color: #0a6657;
    background: rgba(230,248,242,.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.requirements-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #129477;
    box-shadow: 0 0 0 4px rgba(18,148,119,.12);
}

.requirements-hero h1 {
    max-width: 760px;
    margin: 8px 0 18px;
    color: var(--passport-ink);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(2.9rem, 4.8vw, 5.25rem);
    font-weight: 600;
    letter-spacing: -.075em;
    line-height: .91;
}

.requirements-hero .lede { max-width: 650px; font-size: 18px; line-height: 1.7; }
.requirements-actions { gap: 12px; margin-top: 28px; }
.requirements-actions .button { min-height: 50px; padding-inline: 20px; border-radius: 12px; }
.requirements-proof-line { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; color: var(--passport-copy); font-size: 12px; }
.requirements-proof-line span { display: inline-flex; align-items: center; gap: 6px; }
.requirements-proof-line i { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--idp-teal); font-size: 11px; font-style: normal; font-weight: 800; }

.requirements-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 18px;
    align-items: end;
    padding: 16px;
    border: 1px solid var(--passport-line-strong);
    border-radius: 30px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 28px 58px -40px rgba(19,47,67,.5);
}

.requirements-photo-visual { position: relative; min-height: 360px; overflow: hidden; border-radius: 20px; background: #dceaf0; }
.requirements-photo-visual::after { position: absolute; inset: 12px; border: 1px dashed rgba(255,255,255,.85); border-radius: 14px; content: ''; pointer-events: none; }
.requirements-photo-visual img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.requirements-measure { position: absolute; z-index: 1; padding: 6px 9px; border-radius: 8px; color: #fff; background: var(--passport-dark); box-shadow: 0 7px 18px rgba(19,47,67,.22); font-size: 11px; font-weight: 800; white-space: nowrap; }
.requirements-measure-top { top: 20px; left: 20px; }
.requirements-measure-side { right: 14px; bottom: 22px; }
.requirements-hero-card-copy { display: grid; gap: 8px; padding-bottom: 9px; }
.requirements-hero-card-copy strong { color: var(--passport-ink); font-size: 17px; line-height: 1.2; }
.requirements-hero-card-copy > span:not(.panel-kicker), .requirements-hero-card-copy small { color: var(--passport-copy); font-size: 12px; line-height: 1.45; }

.requirements-summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 10px; padding-bottom: 60px; }
.requirements-summary-grid article { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 114px; padding: 20px; border-color: var(--passport-line-strong); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 12px 30px -28px rgba(19,47,67,.5); }
.requirements-summary-grid article > div { display: grid; gap: 5px; }
.requirements-fact-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--passport-accent); background: #e8f2f6; font-size: 16px; font-weight: 850; }
.requirements-summary-grid span:not(.requirements-fact-icon), .requirements-summary-grid small { color: var(--passport-copy); font-size: 11px; }
.requirements-summary-grid strong { color: var(--passport-ink); font-size: 18px; line-height: 1.15; }

.requirements-guidance { padding-bottom: 68px; }
.requirements-section-heading { max-width: 760px; margin-bottom: 24px; }
.requirements-section-heading h2, .requirements-maker-copy h2, .requirements-compare h2, .requirements-source-panel h2 { margin: 0 0 11px; color: var(--passport-ink); font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.06em; line-height: 1; }
.requirements-section-heading > p:not(.eyebrow), .requirements-maker-copy > p:not(.eyebrow), .requirements-compare > div > p:not(.eyebrow), .requirements-source-panel p:not(.eyebrow) { max-width: 680px; color: var(--passport-copy); line-height: 1.7; }
.requirements-guidance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.requirements-guidance-grid article { min-height: 190px; padding: 21px; border: 1px solid var(--passport-line-strong); border-radius: 20px; background: rgba(255,255,255,.7); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.requirements-guidance-grid article:hover { border-color: rgba(47,120,168,.4); box-shadow: 0 15px 30px -26px rgba(19,47,67,.5); transform: translateY(-2px); }
.requirements-guidance-number { color: var(--passport-accent); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.requirements-guidance-grid h3 { margin: 28px 0 8px; color: var(--passport-ink); font-size: 17px; letter-spacing: -.025em; }
.requirements-guidance-grid p { margin: 0; color: var(--passport-copy); font-size: 13px; line-height: 1.65; }

.requirements-maker { grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: 36px; margin-bottom: 72px; padding: clamp(25px, 4vw, 44px); border: 1px solid rgba(47,120,168,.22); border-radius: 28px; background: linear-gradient(135deg, #edf7fa 0%, #f8fbfc 68%, #e9f5f2 100%); box-shadow: 0 24px 50px -42px rgba(19,47,67,.45); }
.requirements-maker-label { margin-bottom: 18px; }
.requirements-upload { position: relative; min-height: 74px; gap: 14px; margin-top: 24px; padding: 13px 16px; border-color: #2f8db1; border-radius: 16px; box-shadow: 0 12px 26px -24px rgba(19,47,67,.7); }
.requirements-upload:hover { border-color: var(--idp-teal); box-shadow: 0 15px 30px -23px rgba(13,124,104,.45); }
.requirements-upload-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; color: #fff; background: var(--passport-accent); font-size: 23px; }
.requirements-upload strong { color: var(--passport-ink); font-size: 15px; }
.requirements-upload small { color: var(--passport-copy); }
.requirements-upload-arrow { margin-left: auto; color: var(--passport-accent); font-size: 22px; font-weight: 800; }
.requirements-output-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.requirements-output-list article { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; min-height: 112px; padding: 17px; border: 1px solid var(--passport-line-strong); border-radius: 17px; background: rgba(255,255,255,.82); }
.requirements-output-list article > span { color: var(--passport-accent); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.requirements-output-list strong, .requirements-output-list small { display: block; }
.requirements-output-list strong { color: var(--passport-ink); font-size: 14px; }
.requirements-output-list small { margin-top: 5px; color: var(--passport-copy); font-size: 12px; line-height: 1.45; }
.requirements-upload-status { margin: 12px 0 0; color: var(--passport-copy); font-size: 12px; }

.requirements-checklist { padding-bottom: 68px; }
.requirements-table { border-color: var(--passport-line-strong); border-radius: 21px; box-shadow: 0 16px 34px -32px rgba(19,47,67,.55); }
.requirements-table-row { grid-template-columns: minmax(190px, .62fr) minmax(0, 1.38fr); padding: 17px 20px; border-color: var(--passport-line); font-size: 13px; }
.requirements-table-head { color: var(--passport-ink); background: var(--passport-dark); }
.requirements-table-head strong { color: #f5fbff!important; }
.requirements-table-row strong { color: var(--passport-ink); }

.requirements-compare { grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 42px; padding-bottom: 72px; }
.requirements-compare-grid { gap: 14px; }
.requirements-compare-grid article { padding: 24px; border-color: var(--passport-line-strong); border-radius: 20px; background: rgba(255,255,255,.82); }
.requirements-compare-label { display: inline-flex; margin-bottom: 17px; padding: 5px 8px; border-radius: 7px; color: #0a6657; background: #e6f8f2; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.requirements-compare-grid h3 { margin-bottom: 17px; color: var(--passport-ink); font-size: 19px; }
.requirements-compare-grid dt { color: var(--passport-copy); }
.requirements-compare-grid dd { color: var(--passport-ink); }

.requirements-source-panel { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 40px; margin-bottom: 70px; padding: 30px; border: 1px solid var(--passport-line-strong); border-radius: 24px; background: #e8f2f5; }
.requirements-source-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; align-content: start; }
.requirements-source-links a { display: grid; gap: 5px; min-height: 67px; padding: 13px 15px; border: 1px solid var(--passport-line-strong); border-radius: 13px; color: var(--passport-ink); background: rgba(255,255,255,.75); text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
.requirements-source-links a:hover, .requirements-source-links a:focus-visible { border-color: var(--passport-accent); background: #fff; }
.requirements-source-links span { color: var(--passport-copy); font-size: 10px; }
.requirements-source-links strong { font-size: 12px; line-height: 1.35; }
.requirements-source-links b { color: var(--passport-accent); }

.directory-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -5px; margin-bottom: 20px; }
.directory-switcher a { min-height: 40px; padding: 9px 14px; border: 1px solid var(--passport-line-strong); border-radius: 999px; color: var(--passport-copy); background: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; text-decoration: none; }
.directory-switcher a:hover, .directory-switcher a:focus-visible, .directory-switcher a.is-active { border-color: var(--passport-dark); color: #fff; background: var(--passport-dark); }

.site-footer { color: #d4e4eb; background: var(--passport-dark); }
.site-footer-logo { color: #fff; }
.site-footer-logo img { filter: none; }
.site-footer-brand p { color: #dcebf1; }
.site-footer-brand small, .site-footer-bottom { color: #b5ccd7; }
.site-footer-column > strong { color: #fff; }
.site-footer-column > a, .site-footer-source-links a { color: #d4e4eb; }
.site-footer-column > a:hover, .site-footer-column > a:focus-visible, .site-footer-source-links a:hover, .site-footer-source-links a:focus-visible { color: #fff; }

/* Footer brand lockup: keep the wordmark legible on the navy footer rather
   than inheriting the dark header treatment shown in the source SVG. */
.site-footer-logo { gap: 11px; color: #fff !important; }
.site-footer-logo img { width: 38px; height: 38px; border-radius: 11px; }
.site-footer-logo-word { color: #fff !important; -webkit-text-fill-color: #fff; font-size: 21px; font-weight: 850; letter-spacing: -.045em; line-height: 1; }

@media (max-width: 1020px) {
    .requirements-guidance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .requirements-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .requirements-source-panel { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 820px) {
    .requirements-hero, .requirements-maker, .requirements-compare { grid-template-columns: 1fr; }
    .requirements-hero-card { max-width: 650px; }
    .requirements-source-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .requirements-hero { padding-top: 42px; }
    .requirements-hero h1 { font-size: clamp(2.55rem, 10vw, 3.7rem); }
    .requirements-hero-card { grid-template-columns: 1fr; border-radius: 23px; }
    .requirements-photo-visual, .requirements-photo-visual img { min-height: 300px; }
    .requirements-hero-card-copy { padding: 5px 5px 4px; }
    .requirements-actions .button { width: 100%; }
    .requirements-guidance-grid, .requirements-summary-grid, .requirements-output-list, .requirements-source-links { grid-template-columns: 1fr; }
    .requirements-guidance-grid article { min-height: 0; }
    .requirements-table-row { grid-template-columns: 1fr; gap: 5px; }
    .requirements-source-panel { margin-bottom: 48px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .requirements-guidance-grid article, .requirements-source-links a, .requirements-upload { transition: none; }
}

/* Typography normalization: keep the editorial look, but use the tighter
   hierarchy of the reference utility site instead of oversized display text. */
:root {
    /* Reference typography: serif display titles with a restrained responsive scale. */
    --idp-display-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", Georgia, serif;
    --idp-ui-family: "Avenir Next", "Segoe UI", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
    --idp-page-title: clamp(2.15rem, 5vw, 3.1rem);
    --idp-section-title: clamp(1.75rem, 3.3vw, 2.35rem);
}

.hero h1,
.page-heading h1,
.editor-intro h1,
.legal-page h1,
.service-hero h1,
.target-hero h1,
.article-main h1,
.requirements-hero h1,
.checker-heading h1,
.hero--passport-maker .hero-copy h1,
.maker-hero-copy h1,
.utility-hero h1,
.home-maker-heading h1 {
    font-size: var(--idp-page-title);
    font-family: var(--idp-display-family);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.055em;
    text-wrap: balance;
    white-space: normal;
}

.passport-hero-copy h1 {
    font-family: var(--idp-display-family);
    font-size: var(--idp-page-title);
    font-weight: 600;
    line-height: 1;
    white-space: normal;
    text-wrap: balance;
}

.landing-steps-heading h2,
.directory-workflow h2,
.target-section h2,
.target-cta-band h2,
.article-main h2,
.requirements-section-heading h2,
.requirements-maker-copy h2,
.requirements-compare h2,
.requirements-source-panel h2,
.service-tool-heading h2,
.service-content-grid h2,
.service-content-section h2,
.service-cost-section h2,
.size-guide-converter h2,
.size-section-heading h2,
.size-table-section h2,
.size-guide-content h2,
.content-section > h2,
.detail-card h2,
.guide-section-heading h2,
.home-app-copy h2,
.home-standards h2,
.home-benefits h2,
.home-howto h2,
.home-check-section h2,
.tool-action-copy h2,
.pricing-package-card h2,
.faq-intro h2,
.passport-section-heading h2,
.passport-standards-grid > div:first-child h2 {
    font-size: var(--idp-section-title);
    font-family: var(--idp-ui-family);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.requirements-hero h1 {
    line-height: .98;
}

.requirements-section-heading h2,
.requirements-maker-copy h2,
.requirements-compare h2,
.requirements-source-panel h2 {
    line-height: 1.08;
}

@media (max-width: 760px) {
    :root {
        --idp-page-title: clamp(2.15rem, 9vw, 2.85rem);
        --idp-section-title: clamp(1.65rem, 7vw, 2.15rem);
    }

    .passport-hero-copy h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }
}

@media (min-width: 768px) {
    :root { --idp-page-title: 3.25rem; }
}

/* Article detail refresh: a calmer editorial reading flow with compact
   utility navigation and a CTA that closes the page without taking over it. */
.article-layout.article-layout-rich {
    grid-template-columns: minmax(0, 780px) minmax(260px, 306px);
    gap: clamp(38px, 5vw, 68px);
    align-items: start;
    padding-top: 64px;
    padding-bottom: 86px;
}

.article-main { max-width: 780px; }
.article-header { padding-bottom: 30px; }
.article-header .eyebrow { margin-bottom: 14px; color: var(--idp-teal); }
.article-main h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: var(--idp-page-title);
    line-height: 1.04;
}
.article-intro {
    max-width: 710px;
    margin: 0 0 19px;
    color: var(--idp-muted);
    font-size: 19px;
    line-height: 1.62;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin: 0;
    color: #718894;
    font-size: 12px;
    letter-spacing: .01em;
}
.article-main section.article-answer {
    position: relative;
    margin: 0 0 18px;
    padding: 23px 27px 24px 29px;
    border: 1px solid #b8dcdf;
    border-radius: 20px;
    background: linear-gradient(135deg, #f3fbfb 0%, #eaf6f7 100%);
    box-shadow: 0 14px 32px rgba(16, 73, 87, .06);
}
.article-main section.article-answer::before {
    position: absolute;
    top: 23px;
    right: 27px;
    color: #79a8ad;
    content: '01';
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
}
.article-main section.article-answer .eyebrow { margin-bottom: 14px; color: var(--idp-teal); }
.article-main section.article-answer p:not(.eyebrow) { max-width: 690px; font-size: 16px; line-height: 1.72; }
.article-main section.article-answer .article-bullets { max-width: 690px; margin-top: 22px; }
.article-toc {
    margin: 0 0 6px;
    padding: 20px 25px 21px;
    border: 1px solid var(--idp-line);
    border-radius: 18px;
    background: rgba(255,255,255,.68);
}
.article-toc strong {
    display: block;
    color: var(--idp-navy);
    font-size: 15px;
    letter-spacing: .01em;
}
.article-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 7px;
    margin-top: 13px;
}
.article-toc li { padding-left: 3px; }
.article-toc a { color: var(--idp-blue); font-size: 13px; }
.article-toc a:hover, .article-toc a:focus-visible { color: var(--idp-teal); text-decoration: underline; text-underline-offset: 3px; }
.article-main section.article-section {
    padding: 34px 0 11px;
    border-top: 1px solid var(--idp-line);
}
.article-main section.article-section h2 {
    max-width: 690px;
    margin: 0 0 13px;
    color: var(--idp-navy);
    font-size: var(--idp-section-title);
    line-height: 1.12;
}
.article-main section.article-section h2::before {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 13px;
    border-radius: 999px;
    background: var(--idp-teal);
    content: '';
}
.article-main section.article-section p { max-width: 715px; font-size: 16px; line-height: 1.75; }
.article-main section.article-section p + p { margin-top: 15px; }
.article-steps li { border-radius: 16px; box-shadow: 0 7px 18px rgba(16,42,67,.035); }
.article-faq { padding-bottom: 16px !important; }
.article-faq > .eyebrow, .article-sources > .eyebrow { margin-bottom: 9px; color: var(--idp-teal); }
.article-faq h2::before, .article-sources h2::before { display: none !important; }
.article-main section.article-end-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 46px;
    padding: 28px 30px;
    border: 1px solid #b9dadd;
    border-radius: 22px;
    background: linear-gradient(135deg, #f3fbfb, #e9f5f6);
    box-shadow: 0 14px 32px rgba(16, 73, 87, .05);
}
.article-main section.article-end-cta .eyebrow { margin-bottom: 13px; color: var(--idp-teal); }
.article-main section.article-end-cta h2 { max-width: 540px; margin: 0 0 13px; font-size: var(--idp-section-title); line-height: 1.1; }
.article-main section.article-end-cta p:not(.eyebrow) { max-width: 650px; font-size: 14px; line-height: 1.68; }
.article-main section.article-end-cta .button { min-width: 190px; text-align: center; }
.article-aside {
    top: 96px;
    gap: 11px;
    padding: 25px 23px 24px;
    border: 1px solid #cbdde1;
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(16,42,67,.055);
}
.article-aside .eyebrow { margin: 0 0 2px; color: var(--idp-teal); font-size: 10px; }
.article-aside h2 {
    margin: 0 0 2px;
    color: var(--idp-navy);
    font-family: var(--idp-ui-family);
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.025em;
}
.article-aside p:not(.eyebrow) { margin: 0 0 8px; font-size: 13px; line-height: 1.62; }
.article-aside a { display: block; padding: 3px 0; color: var(--idp-blue); font-size: 13px; line-height: 1.4; }
.article-aside a:hover, .article-aside a:focus-visible { color: var(--idp-teal); text-decoration: underline; text-underline-offset: 3px; }
.article-aside hr { margin: 12px 0 9px; }

@media (max-width: 900px) {
    .article-layout.article-layout-rich { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .article-main { max-width: 790px; }
    .article-aside { position: static; max-width: 640px; }
}

@media (max-width: 600px) {
    .article-layout.article-layout-rich { gap: 20px; padding-top: 39px; padding-bottom: 60px; }
    .article-header { padding-bottom: 22px; }
    .article-main h1 { font-size: var(--idp-page-title); }
    .article-intro { margin-bottom: 15px; font-size: 17px; line-height: 1.58; }
    .article-main section.article-answer { margin-bottom: 24px; padding: 20px 19px 22px; border-radius: 17px; }
    .article-main section.article-answer::before { top: 20px; right: 19px; }
    .article-toc { padding: 18px 19px 19px; border-radius: 16px; }
    .article-toc ol { grid-template-columns: 1fr; gap: 8px; padding-left: 21px; }
    .article-main section.article-section { padding-top: 29px; }
    .article-main section.article-section h2 { font-size: var(--idp-section-title); }
    .article-main section.article-end-cta { grid-template-columns: 1fr; gap: 21px; margin-top: 36px; padding: 24px 20px 25px; border-radius: 18px; }
    .article-main section.article-end-cta .button { width: 100%; }
    .article-aside { padding: 21px 19px; border-radius: 17px; }
}

@media (min-width: 1024px) {
    :root { --idp-page-title: 3.45rem; }
}

/* Keep the homepage H1 inside the copy column instead of letting it overlap
   the maker card at wide desktop widths. */
.passport-home-hero .passport-hero-copy h1 {
    max-width: 100%;
    font-family: var(--idp-display-family);
    font-size: var(--idp-page-title);
    font-weight: 600;
    line-height: 1.05;
    white-space: normal;
    text-wrap: balance;
}

/* Landing workflow: stack the introduction above the step cards so the
   country pages read as one clear vertical section on desktop. */
.landing-steps {
    grid-template-columns: 1fr;
    gap: 24px;
}

.landing-steps-heading {
    max-width: 760px;
}

.landing-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

@media (max-width: 700px) {
    .landing-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Use one editorial serif family consistently across the complete site UI. */
:root {
    --idp-site-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
    --idp-display-family: var(--idp-site-family);
    --idp-ui-family: var(--idp-site-family);
}

html,
body,
button,
input,
textarea,
select,
option,
*::before,
*::after {
    font-family: var(--idp-site-family);
}

/* Keep heading hierarchy consistent across every IdPhotoMaker page. */
:root {
    --idp-h1-size: var(--idp-page-title);
    --idp-h2-size: clamp(1.55rem, 2.7vw, 2rem);
    --idp-h3-size: clamp(1.15rem, 1.8vw, 1.3rem);
}

body h1,
body h2,
body h3 {
    font-family: var(--idp-site-family) !important;
    font-weight: 600;
    letter-spacing: -.035em;
}

body h1 {
    font-size: var(--idp-h1-size) !important;
    line-height: 1.08;
}

body h2 {
    font-size: var(--idp-h2-size) !important;
    line-height: 1.14;
}

body h3 {
    font-size: var(--idp-h3-size) !important;
    line-height: 1.2;
}

@media (max-width: 760px) {
    :root {
        --idp-h1-size: var(--idp-page-title);
        --idp-h2-size: clamp(1.45rem, 6vw, 1.75rem);
        --idp-h3-size: clamp(1.1rem, 5vw, 1.25rem);
    }
}

/* Keep the homepage hero title on the original single line at desktop widths. */
@media (min-width: 1021px) {
    .passport-home-hero .passport-hero-copy h1 {
        max-width: none;
        font-size: clamp(2.35rem, 3vw, 3rem) !important;
        white-space: nowrap;
        text-wrap: nowrap;
    }
}

@media (max-width: 1020px) {
    .passport-home-hero .passport-hero-copy h1 {
        white-space: normal;
        text-wrap: balance;
    }
}

/* Layout redesign: keep the proof, explanation, and action in the same
   viewport instead of placing large headings above cards that start below
   the fold. The country pages use the same editorial grid as the homepage. */
.passport-standards-section {
    padding: 68px 0 72px;
}

.passport-standards-grid {
    display: grid;
    grid-template-columns: minmax(230px, .58fr) minmax(0, 1.42fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.passport-standards-copy {
    max-width: 390px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.passport-standards-copy .passport-section-kicker {
    justify-content: flex-start;
}

.passport-standards-copy h2 {
    max-width: 390px;
    font-size: clamp(2.1rem, 4vw, 3.45rem) !important;
    line-height: 1.02;
}

.passport-standards-grid > .passport-standards-copy p:last-child {
    max-width: 360px;
    margin: 18px 0 0;
}

.passport-standard-cards {
    grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, .82fr));
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 14px;
}

.passport-standard.accepted {
    grid-row: span 2;
}

.passport-standard img,
.passport-standard.accepted img {
    aspect-ratio: 4 / 3;
}

.passport-standard.accepted img {
    aspect-ratio: 4 / 4.7;
}

.passport-why-section {
    padding: 76px 0 84px;
}

.passport-why-section .passport-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
    column-gap: clamp(32px, 7vw, 100px);
    align-items: end;
    max-width: 1000px;
    margin: 0 auto 34px;
    text-align: left;
}

.passport-why-section .passport-section-heading .passport-section-kicker {
    grid-column: 1 / -1;
    justify-content: flex-start;
}

.passport-why-section .passport-section-heading h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    line-height: 1.02;
}

.passport-why-section .passport-section-heading p:last-child {
    max-width: 360px;
    margin: 0;
    line-height: 1.65;
}

.passport-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.passport-why-grid article {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    padding: 24px;
}

.passport-why-grid article p {
    margin-top: auto;
}

.target-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: start;
    padding-top: 54px;
    padding-bottom: 30px;
}

.target-hero-copy {
    padding-top: 8px;
}

.target-hero h1 {
    max-width: 760px;
    font-size: var(--idp-h1-size) !important;
    line-height: .98;
}

.target-hero .lede {
    max-width: 700px;
    margin: 20px 0 0;
    font-size: 18px;
    line-height: 1.65;
}

.target-hero-subheading {
    max-width: 680px;
    margin: 20px 0 22px;
    font-size: clamp(1.2rem, 2.1vw, 1.7rem);
}

.target-hero-card {
    grid-template-columns: 132px minmax(0, 1fr);
    align-self: start;
    margin-top: 24px;
    padding: 18px;
    border-radius: 24px;
}

.target-photo-frame {
    height: 184px;
}

.target-card-grid {
    gap: 16px;
    padding-bottom: 46px;
}

.target-card {
    min-height: 190px;
    padding: 22px;
}

.landing-steps {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    gap: clamp(30px, 5vw, 72px);
    padding: 26px 0 62px;
    border-top: 1px solid var(--idp-line);
}

.landing-steps-heading {
    max-width: 520px;
    padding-top: 8px;
}

.landing-steps-heading h2 {
    font-size: clamp(1.9rem, 3.5vw, 3rem) !important;
}

.landing-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.landing-steps-grid li {
    min-height: 128px;
    padding: 18px;
    align-content: start;
    border-radius: 18px;
}

@media (max-width: 900px) {
    .passport-standards-grid,
    .passport-why-section .passport-section-heading,
    .target-hero,
    .landing-steps {
        grid-template-columns: 1fr;
    }

    .passport-standards-copy,
    .passport-why-section .passport-section-heading,
    .landing-steps-heading {
        max-width: 720px;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .passport-standards-copy .passport-section-kicker,
    .passport-why-section .passport-section-heading .passport-section-kicker {
        justify-content: flex-start;
    }

    .passport-why-section .passport-section-heading p:last-child {
        margin-top: 18px;
    }

    .target-hero-card {
        max-width: 620px;
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .passport-standards-section,
    .passport-why-section {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .passport-standard-cards,
    .landing-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .target-hero {
        padding-top: 38px;
    }

    .target-hero h1 {
        font-size: var(--idp-h1-size) !important;
    }

    .target-hero-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .target-photo-frame {
        height: 148px;
    }
}

@media (max-width: 480px) {
    .passport-standard-cards,
    .landing-steps-grid {
        grid-template-columns: 1fr;
    }

    .passport-standard.accepted {
        grid-row: auto;
    }

    .target-hero-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .target-photo-frame {
        height: 132px;
    }
}

/* Final polish for the two browser-first utilities. Keep the controls calm,
   make the output state obvious, and preserve exact physical dimensions. */
.print-sheet-hero {
    gap: clamp(36px, 6vw, 86px);
    /*padding-top: 54px;*/
    padding-bottom: 34px;
}
.print-sheet-hero h1 {
    max-width: 760px;
    line-height: .98;
}
.print-sheet-hero .lede {
    max-width: 700px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
}
.print-sheet-hero-card {
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
    padding: 22px;
}
.print-sheet-hero-card strong { margin-top: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.print-sheet-hero-card span { font-size: 15px; }
.print-sheet-tool-card {
    margin-top: 26px;
    padding: clamp(18px, 3vw, 32px);
    border-radius: 26px;
}
.print-sheet-tool-heading { align-items: end; }
.print-sheet-tool-heading p:not(.eyebrow) { margin-bottom: 0; }
.print-sheet-output-label { border: 1px solid #d8e7e9; font-weight: 700; }
.print-sheet-controls {
    border: 1px solid #e0ecee;
    background: linear-gradient(160deg, #f1f8f9 0%, #f8fbfc 100%);
}
.print-sheet-upload strong { font-size: 16px; }
.print-sheet-upload:focus-within,
.print-sheet-paper-select select:focus,
.print-sheet-dimensions input:focus,
.print-sheet-dimensions select:focus {
    outline: 3px solid rgba(240,162,2,.4);
    outline-offset: 2px;
}
.print-sheet-canvas-wrap {
    min-height: 440px;
    background: radial-gradient(circle at 50% 20%, #fff 0%, #f3f9fa 70%);
}
.print-sheet-canvas-wrap canvas { max-height: 680px; }
.print-sheet-preview-note { margin: 0; }
.print-sheet-status {
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(255,255,255,.72);
}
#print-sheet-print-layer { display: none; }

@media print {
    @page { margin: 0; }
    body.print-sheet-printing > :not(#print-sheet-print-layer) { display: none !important; }
    body.print-sheet-printing #print-sheet-print-layer {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: var(--print-sheet-width) !important;
        height: var(--print-sheet-height) !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    body.print-sheet-printing #print-sheet-print-layer img {
        display: block !important;
        width: var(--print-sheet-width) !important;
        height: var(--print-sheet-height) !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

.checker-page {
    padding-top: 54px;
    padding-bottom: 72px;
}
.checker-heading { max-width: 850px; margin-bottom: 30px; }
.checker-heading h1 { max-width: 820px; line-height: .98; }
.checker-heading .lede { margin-bottom: 0; }
.checker-card {
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    gap: 18px;
    padding: 18px;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(16,42,67,.09);
}
.checker-controls {
    padding: 22px 20px;
    border: 1px solid #e0ecee;
    border-radius: 20px;
    background: linear-gradient(160deg, #f1f8f9 0%, #fafdfe 100%);
}
.checker-controls h2 { font-size: 25px; }
.checker-field select, .checker-upload { box-shadow: 0 4px 14px rgba(16,42,67,.04); }
.checker-upload { min-height: 86px; border-width: 1.5px; }
.checker-upload span { font-size: 15px; }
.checker-preview {
    min-height: 420px;
    aspect-ratio: 4 / 3;
    border: 1px solid #dcebed;
    background: linear-gradient(145deg, #e6f1f3, #f6fafb);
}
.checker-preview-empty { max-width: 360px; }
.checker-image-stage {
    position: relative;
    display: block;
    width: auto;
    height: min(100%, 480px);
    max-width: 100%;
    aspect-ratio: 1 / 1;
}
.checker-image-stage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checker-image-stage[hidden], .checker-preview-empty[hidden], .checker-default-badge[hidden] { display: none !important; }
.checker-default-badge { position: absolute; top: 14px; left: 14px; z-index: 2; max-width: calc(100% - 28px); padding: 7px 10px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; color: #fff; background: rgba(16,42,67,.78); font-size: 11px; line-height: 1.35; }
.checker-guide {
    top: 10%;
    right: 28%;
    bottom: 0;
    left: 28%;
}
.checker-image-stage.is-default .checker-guide {
    top: 7%;
    right: 25%;
    bottom: 27%;
    left: 25%;
}
.checker-results {
    padding: 24px 6px 6px;
    border-top-color: #dcebed;
}
.checker-results h2 { font-size: 24px; }
.checker-list li { min-height: 78px; padding: 15px; background: #fff; box-shadow: 0 5px 16px rgba(16,42,67,.035); }

@media (max-width: 900px) {
    .checker-card { grid-template-columns: 1fr; }
    .checker-results { grid-column: auto; }
    .checker-preview { aspect-ratio: auto; }
}

@media (max-width: 760px) {
    .print-sheet-hero, .checker-page { padding-top: 34px; }
    .print-sheet-hero-card { grid-template-columns: 1fr 1fr; }
    .print-sheet-tool-card { margin-top: 16px; }
    .print-sheet-canvas-wrap { min-height: 300px; }
    .checker-controls { padding: 18px 15px; }
    .checker-preview { min-height: 300px; }
    .checker-image-stage { height: 300px; max-height: 100%; }
}
