/* ==========================================================================
   HelveCAD by Popety.io — Site styles (landing + order)
   Brand: Dark Blue #132b3b, Light Blue #2babe3, Browns #6c3e42 #b3594f #b69082
   Fonts: Poppins (UI), JetBrains Mono (technical values)
   Variable names from landing.css are kept: viewers.css and order.css use them.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --dark-blue: #132b3b;
    --light-blue: #2babe3;
    --light-blue-hover: #1e96cc;
    --text-blue: #1a8cc0;          /* blue for text on white (AA) */
    --dark-brown: #6c3e42;
    --medium-brown: #b3594f;
    --light-brown: #b69082;
    --white: #ffffff;
    --off-white: #f0e9e6;
    --paper: #faf7f5;
    --sky: #eaf6fc;
    --gray-100: #f0e9e6;
    --gray-200: #e4eaee;
    --gray-300: #ccd5db;
    --gray-600: #5a6b77;
    --gray-700: #3d4f5c;
    --dark-2: #1d3b50;
    --dark-line: #2c4658;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --shadow-sm: 0 1px 3px rgba(19,43,59,0.08);
    --shadow-md: 0 8px 30px rgba(19,43,59,0.08);
    --shadow-lg: 0 24px 60px rgba(19,43,59,0.12);
    --radius: 10px;
    --radius-lg: 20px;
    --transition: 0.2s ease;
    --grid-bg: linear-gradient(rgba(19,43,59,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(19,43,59,0.05) 1px, transparent 1px);
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--gray-700);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--dark-blue); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
a { color: var(--text-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--dark-blue); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
code, .mono { font-family: var(--mono); }

:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 2px; }

.container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }

[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--dark-blue); color: var(--white); border-radius: var(--radius); }
.skip-link:focus { top: 16px; color: var(--white); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1;
    border: 1.5px solid transparent; border-radius: 12px;
    cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--light-blue); color: var(--dark-blue); }
.btn-primary:hover { background: var(--light-blue-hover); color: var(--dark-blue); }
.btn-dark { background: var(--dark-blue); color: var(--white); }
.btn-dark:hover { background: #0c1f2b; color: var(--white); }
.btn-outline { background: var(--white); color: var(--dark-blue); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--dark-blue); color: var(--dark-blue); }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 1000; padding: 16px 0; }
.site-header.is-floating { position: fixed; left: 0; right: 0; }
.site-header.is-solid { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 0; }

.site-nav {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    height: 64px; padding: 0 12px 0 20px;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px;
    box-shadow: var(--shadow-md);
}
.site-header.is-solid .site-nav { border: 0; border-radius: 0; box-shadow: none; height: 72px; padding: 0 24px; max-width: 1248px; margin: 0 auto; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--dark-blue); }
.brand:hover { color: var(--dark-blue); }
.brand svg { width: 30px; height: 32px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 600; font-size: 19px; }
.brand-sub { font-size: 11px; color: var(--gray-600); margin-top: 3px; }

.site-nav-links { display: flex; align-items: center; gap: 2px; }
.site-nav-links a { padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--gray-700); }
.site-nav-links a:hover, .site-nav-links a[aria-current="page"] { background: var(--off-white); color: var(--dark-blue); }

.site-nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; }
.lang-switch a { padding: 8px 7px; border-radius: 6px; color: var(--gray-600); }
.lang-switch a[aria-current="true"] { color: var(--dark-blue); font-weight: 600; }
.lang-switch a:hover { color: var(--dark-blue); background: var(--off-white); }
.site-nav-actions .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

.nav-toggle {
    display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section { padding: 120px 0; }
.section-sand { background: var(--off-white); }
.section-paper { background: var(--paper); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-dark { background: var(--dark-blue); color: #c6d3dc; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow { display: block; font-family: var(--mono); font-size: 13px; color: var(--medium-brown); margin-bottom: 18px; }
.section-dark .eyebrow { color: #d9a79e; }
.section-title { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.section-lead { font-size: 17px; font-weight: 300; line-height: 1.65; margin-top: 18px; max-width: 520px; }
.section-head-center { text-align: center; margin: 0 auto 52px; }
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative; overflow: hidden;
    padding: 150px 0 0;
    background-color: var(--paper); background-image: var(--grid-bg); background-size: 48px 48px;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 999px;
    font-size: 13px; font-weight: 500;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--light-blue); }
.hero-title { margin: 28px auto 0; max-width: 900px; font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -0.035em; }
.hero-title span { color: var(--text-blue); display: block; }
.hero-lead { margin: 26px auto 0; max-width: 700px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 300; line-height: 1.6; }

.search-form {
    display: flex; align-items: center; gap: 12px;
    width: 100%; max-width: 680px; margin: 36px auto 0; padding: 8px 8px 8px 22px;
    background: var(--white); border: 1.5px solid var(--dark-blue); border-radius: 16px;
    box-shadow: 0 12px 40px rgba(19,43,59,0.14);
}
.search-form > svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--dark-blue); }
.search-form input {
    flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent;
    font-family: var(--font); font-size: 17px; color: var(--dark-blue);
}
.search-form input::placeholder { color: var(--gray-600); }
.search-form .btn { min-height: 52px; }
.search-form .btn svg { color: var(--light-blue); }

.hero-try { margin-top: 14px; font-size: 13px; color: var(--gray-600); }
.hero-try a { font-weight: 500; }
.hero-try .mono { font-size: 12px; }

.hero-visual { position: relative; width: 100%; max-width: 900px; margin: 44px auto 0; }
.hero-visual img { width: 100%; }
.callout {
    position: absolute; padding: 8px 12px; border-radius: 10px;
    font-size: 12px; font-weight: 500; line-height: 1.3; white-space: nowrap; text-align: left;
    background: var(--white); color: var(--dark-blue); border: 1px solid var(--gray-200);
    box-shadow: 0 6px 20px rgba(19,43,59,0.10);
}
.callout-dark { background: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); }
.callout-dark .mono { color: #6fc6ec; }
.callout-brown { background: var(--dark-brown); color: var(--white); border-color: var(--dark-brown); }
.callout.mono { font-family: var(--mono); }
.callout-1 { left: 58%; top: 25%; }
.callout-2 { left: -8%; top: 42%; }
.callout-3 { right: -10%; top: 56%; }
.callout-4 { left: -3%; top: 80%; }
.callout-5 { right: 2%; top: 88%; }

.hero-coord { position: absolute; font-family: var(--mono); font-size: 11px; color: var(--gray-600); letter-spacing: 0.08em; }
.hero-coord-n { left: 24px; top: 150px; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-coord-e { right: 28px; bottom: 24px; }

/* --------------------------------------------------------------------------
   Sources bar
   -------------------------------------------------------------------------- */

.sources-bar { padding: 40px 0; border-bottom: 1px solid var(--gray-200); text-align: center; }
.sources-bar p { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-600); }
.sources-bar ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 52px; margin-top: 20px; font-size: 18px; font-weight: 600; color: var(--gray-600); }

/* --------------------------------------------------------------------------
   Layers preview
   -------------------------------------------------------------------------- */

.layers-text { grid-column: span 5; }
.layers-map { grid-column: 6 / span 7; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.chip {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
    font-family: var(--font); font-size: 15px; font-weight: 500;
    background: var(--white); color: var(--dark-blue); border: 1.5px solid var(--gray-300); border-radius: 12px;
    cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.chip svg { width: 18px; height: 18px; flex-shrink: 0; }
.chip:hover { border-color: var(--dark-blue); }
.chip[aria-pressed="true"] { background: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); }

.map-card {
    position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
    background: #f4f0ec; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg);
}
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.map-card img.is-off { opacity: 0; }
.map-badge { position: absolute; z-index: 2; padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 500; }
.map-badge-tl { left: 18px; top: 18px; background: var(--dark-blue); color: var(--white); }
.map-badge-tl .mono { color: #6fc6ec; }
.map-badge-br { right: 18px; bottom: 18px; background: var(--white); color: var(--dark-blue); border: 1px solid var(--gray-200); }

/* --------------------------------------------------------------------------
   Formats
   -------------------------------------------------------------------------- */

.format-tiles { grid-column: span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
.formats-text { grid-column: 9 / span 4; }
.format-tile {
    min-height: 210px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
    border-radius: 18px; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}
.format-tile small { font-size: 12px; line-height: 1.4; }
.format-tile strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.format-tile .kind { font-size: 12px; display: block; margin-bottom: 2px; }
.ft-ink { background: var(--dark-blue); color: var(--white); }
.ft-ink small { color: #c6d3dc; }
.ft-blue { background: var(--light-blue); color: var(--dark-blue); }
.ft-brown { background: var(--dark-brown); color: var(--white); }
.ft-brown small, .ft-brown .kind { color: var(--off-white); }
.ft-rust { background: var(--medium-brown); color: var(--white); }
.ft-sand { background: var(--light-brown); color: var(--dark-blue); }
.ft-kit { background: var(--white); color: var(--dark-blue); border: 1.5px dashed var(--dark-blue); clip-path: none; }
.ft-kit small { color: var(--gray-700); }
.tile-badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--dark-blue); color: var(--white); font-size: 11px; font-weight: 600; }
.software-line { margin-top: 18px; font-size: 14px; line-height: 1.7; }
.software-line strong { color: var(--dark-blue); }
.formats-text .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   Data sources (dark)
   -------------------------------------------------------------------------- */

.data-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.data-head .section-title { max-width: 640px; }
.data-head p { max-width: 460px; font-size: 17px; font-weight: 300; line-height: 1.65; }
.data-table-wrap { grid-column: span 8; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { padding: 0 16px 14px 0; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb2bf; border-bottom: 1px solid var(--dark-line); }
.data-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--dark-line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--white); font-weight: 500; }
.data-table .mono { font-size: 13px; color: #6fc6ec; white-space: nowrap; }
.data-side { grid-column: 10 / span 3; }
.big-stat { display: flex; align-items: baseline; gap: 10px; color: var(--white); }
.big-stat strong { font-size: 64px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.canton-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 18px 0; list-style: none; }
.canton-grid a, .canton-grid span {
    display: block; padding: 8px 0; border-radius: 6px; text-align: center;
    font-family: var(--mono); font-size: 12px; background: var(--dark-2); color: var(--white);
}
.canton-grid a:hover { background: var(--light-blue); color: var(--dark-blue); }
.data-side p { font-size: 14px; line-height: 1.6; }
.data-side p .mono { color: var(--white); }
.data-side .link-light { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: #6fc6ec; }
.data-side .link-light:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Feature tiles
   -------------------------------------------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.tile { min-height: 340px; padding: 32px; border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tile h3 { font-size: 24px; margin-bottom: 10px; }
.tile p { font-size: 15px; line-height: 1.6; }
.tile-sand { background: var(--off-white); }
.tile-sky { background: var(--sky); }
.tile-brown { background: var(--dark-brown); color: var(--off-white); }
.tile-brown h3 { color: var(--white); }
.tile-code { font-family: var(--mono); font-size: 34px; color: var(--text-blue); line-height: 1; }
.tile-big { font-size: 54px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.tile svg { width: 200px; height: 130px; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.step { padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 18px; }
.step-visual { height: 150px; border-radius: 14px; background: var(--off-white); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; }
.step-body { display: flex; gap: 14px; align-items: baseline; }
.step-num { font-family: var(--mono); font-size: 14px; color: var(--text-blue); }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { font-size: 15px; line-height: 1.6; }
.mini-search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 260px; height: 46px; padding: 0 14px; background: var(--white); border: 1.5px solid var(--dark-blue); border-radius: 10px; font-size: 13px; color: var(--dark-blue); }
.mini-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.mini-pill { padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 500; background: var(--white); color: var(--dark-blue); border: 1px solid var(--gray-300); }
.mini-pill.is-on { background: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); font-weight: 600; }
.mini-file { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 270px; padding: 12px 14px; background: var(--white); border: 1px solid var(--gray-300); border-radius: 10px; }
.mini-file-icon { width: 34px; height: 40px; flex-shrink: 0; border-radius: 6px; background: var(--dark-blue); color: var(--white); font-size: 9px; font-weight: 600; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; }
.mini-file-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 11px; line-height: 1.4; }
.mini-file-text .mono { color: var(--dark-blue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-file svg { width: 20px; height: 20px; color: var(--text-blue); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Examples (3D viewers — see viewers.css for the canvas)
   -------------------------------------------------------------------------- */

.examples-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.examples-head .viewer-tabs { margin: 0; padding: 5px; gap: 6px; border-radius: 12px; background: var(--off-white); }
.examples-head .viewer-tab { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--dark-blue); font-weight: 500; }
.examples-head .viewer-tab.active { background: var(--dark-blue); color: var(--white); font-weight: 600; }
.examples .viewer-canvas-wrap { border: 0; border-radius: 22px; max-height: 560px; }
.examples .viewer-description { margin-top: 14px; font-size: 14px; color: var(--gray-600); max-width: 780px; }
.download-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.download-row p { font-size: 14px; font-weight: 500; color: var(--dark-blue); margin-right: 6px; }
.download-card { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--gray-300); border-radius: 10px; color: var(--dark-blue); font-size: 14px; font-weight: 500; }
.download-card:hover { border-color: var(--dark-blue); color: var(--dark-blue); }
.download-card svg { width: 16px; height: 16px; color: var(--text-blue); }
.download-card .mono { font-size: 12px; color: var(--gray-600); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-grid { align-items: stretch; }
.pricing-text { grid-column: span 4; padding-top: 12px; }
.price-box { grid-column: span 5; padding: 36px; border-radius: 22px; background: var(--white); box-shadow: 0 20px 50px rgba(19,43,59,0.10); display: flex; flex-direction: column; gap: 22px; }
.price-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-big strong { font-size: 50px; font-weight: 600; letter-spacing: -0.03em; color: var(--dark-blue); line-height: 1.1; }
.price-big span { font-size: 15px; color: var(--gray-600); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--text-blue); }
.upsell-card { grid-column: span 3; padding: 30px; border-radius: 22px; background: var(--dark-blue); color: #c6d3dc; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.upsell-card h3 { color: var(--white); font-size: 24px; margin: 10px 0 12px; }
.upsell-card small { font-size: 13px; color: #9fb2bf; }
.upsell-card p { font-size: 14px; line-height: 1.6; }
.upsell-card a { font-size: 14px; font-weight: 600; color: #6fc6ec; }
.upsell-card a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-text { grid-column: span 4; align-self: start; }
.faq-text p { margin-top: 18px; font-size: 15px; }
.faq-list { grid-column: 6 / span 7; }
.faq-item { border-top: 1px solid var(--gray-300); }
.faq-item:last-child { border-bottom: 1px solid var(--gray-300); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 0; font-size: 19px; font-weight: 500; color: var(--dark-blue); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--text-blue); flex-shrink: 0; transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0 22px; font-size: 15px; line-height: 1.7; max-width: 680px; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.cta-band {
    padding: 72px 24px; border-radius: 28px; text-align: center;
    background-color: var(--light-blue); background-image: linear-gradient(rgba(19,43,59,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(19,43,59,0.08) 1px, transparent 1px); background-size: 48px 48px;
}
.cta-band h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.cta-band .search-form { max-width: 620px; margin-top: 30px; border-color: var(--white); }
.cta-band .search-form .btn-dark svg { color: var(--light-blue); }
.cta-band p { margin-top: 18px; font-size: 13px; color: var(--dark-blue); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding: 80px 0 40px; background: var(--paper); border-top: 1px solid var(--gray-200); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 340px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-size: 14px; letter-spacing: 0; margin-bottom: 4px; }
.footer-col a { color: var(--gray-700); }
.footer-col a:hover { color: var(--dark-blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--gray-200); font-size: 13px; color: var(--gray-600); }
.footer-bottom .lang-switch a { color: var(--gray-700); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .site-nav-links { display: none; }
    .site-nav-links.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 4px;
        position: absolute; left: 24px; right: 24px; top: calc(100% + 8px); padding: 12px;
        background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; box-shadow: var(--shadow-md);
    }
    .site-nav-links.open a { padding: 12px 14px; }
    .site-nav { position: relative; }
    .nav-toggle { display: inline-flex; }
    .callout-2 { left: 0; } .callout-3 { right: 0; } .callout-4 { left: 2%; }
}

@media (max-width: 960px) {
    .section { padding: 88px 0; }
    .layers-text, .layers-map, .format-tiles, .formats-text, .data-table-wrap, .data-side,
    .pricing-text, .price-box, .upsell-card, .faq-text, .faq-list { grid-column: 1 / -1; }
    .layers-map, .formats-text, .data-side, .price-box, .faq-list { margin-top: 36px; }
    .format-tiles { order: 2; margin-top: 36px; }
    .upsell-card { margin-top: 20px; }
    .data-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .tiles, .steps { grid-template-columns: 1fr; }
    .tile { min-height: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .site-header { padding: 10px 0; }
    .site-nav { padding: 0 8px 0 14px; height: 60px; }
    .site-nav-actions .lang-switch { display: none; }
    .site-nav-actions .btn { display: none; }
    .brand-name { font-size: 17px; }
    .hero { padding-top: 110px; }
    .hero-coord { display: none; }
    .search-form { flex-wrap: wrap; padding: 8px; gap: 8px; }
    .search-form > svg { display: none; }
    .search-form input { flex-basis: 100%; height: 48px; padding: 0 10px; }
    .search-form .btn { width: 100%; }
    .hero-visual { margin-top: 28px; }
    .callout { display: none; }
    .callout-1 { display: block; left: 50%; top: 12%; }
    .sources-bar ul { gap: 8px 22px; font-size: 15px; }
    .format-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .format-tile { min-height: 130px; padding: 16px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
    .format-tile strong { font-size: 24px; }
    .chip { font-size: 14px; }
    .big-stat strong { font-size: 48px; }
    .price-box, .upsell-card { padding: 24px; }
    .price-big strong { font-size: 38px; }
    .faq-item summary { font-size: 17px; }
    .cta-band { padding: 48px 16px; border-radius: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* FAQ question headings live inside <summary> */
.faq-q { font: inherit; color: inherit; letter-spacing: 0; line-height: 1.4; }

/* Viewer toolbar buttons (override viewers.css light-blue fill: low contrast with white text) */
.examples .viewer-toolbar { justify-content: flex-start; }
.examples .viewer-view-btn, .examples .viewer-file-btn { min-height: 36px; border-radius: 8px; font-weight: 500; color: var(--dark-blue); border-color: var(--gray-300); }
.examples .viewer-view-btn.active, .examples .viewer-file-btn.active { background: var(--dark-blue); border-color: var(--dark-blue); color: var(--white); }

@media (max-width: 640px) {
    .data-table .mono { white-space: normal; }
    .viewer-hint { white-space: normal; width: 90%; text-align: center; }
}

/* --------------------------------------------------------------------------
   Local pages (cantons, communes)
   -------------------------------------------------------------------------- */

.local-hero { padding: 32px 0 88px; background-color: var(--paper); background-image: var(--grid-bg); background-size: 48px 48px; border-bottom: 1px solid var(--gray-200); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--gray-600); margin-bottom: 36px; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: var(--gray-600); }
.breadcrumb [aria-current] { color: var(--dark-blue); font-weight: 500; }
.local-hero-grid { align-items: start; }
.local-hero-text { grid-column: span 7; display: flex; flex-direction: column; gap: 24px; }
.local-hero-wide { max-width: 820px; }
.local-title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.03em; }
.local-title span { color: var(--text-blue); }
.answer-box { padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--gray-200); }
.answer-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--medium-brown); margin-bottom: 8px; }
.answer-box p { font-size: 16px; line-height: 1.65; color: var(--dark-blue); }
.local-hero .search-form { margin: 0; max-width: 600px; }
.facts-card { grid-column: 9 / span 4; padding: 28px; border-radius: 22px; background: var(--dark-blue); color: #c6d3dc; }
.facts-card h2 { font-size: 20px; color: var(--white); margin-bottom: 16px; }
.facts-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--dark-line); font-size: 14px; }
.facts-card dl div:last-child { border-bottom: 0; }
.facts-card dd { color: var(--white); font-weight: 500; text-align: right; }

.local-col-text { grid-column: span 5; }
.local-col-table { grid-column: 7 / span 6; overflow-x: auto; }
.local-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.local-table th { padding: 0 12px 12px 0; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-600); border-bottom: 1.5px solid var(--dark-blue); }
.local-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.local-table td:first-child { color: var(--dark-blue); font-weight: 500; }
.local-table td:last-child { color: var(--text-blue); font-weight: 600; }
.local-table .mono { font-size: 13px; }

.format-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.format-pills li { padding: 12px 18px; border-radius: 12px; font-weight: 600; clip-path: none; }
.local-price { grid-column: 9 / span 4; padding: 28px; border-radius: 20px; background: var(--white); border: 1.5px solid var(--dark-blue); display: flex; flex-direction: column; gap: 10px; }
.local-price span { font-size: 14px; color: var(--gray-600); }
.local-price strong { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--dark-blue); line-height: 1.1; }
.local-price p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }

.local-links { padding: 72px 0; }
.local-links h2 { font-size: 26px; margin-bottom: 20px; }
.local-note { margin: -8px 0 20px; font-size: 14px; }
.link-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.link-chips a { padding: 10px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--gray-200); color: var(--dark-blue); font-size: 14px; }
.link-chips a:hover { border-color: var(--dark-blue); }
.link-chips .link-chip-strong { color: var(--text-blue); font-weight: 600; }
.commune-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.commune-cards a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--gray-200); color: var(--dark-blue); }
.commune-cards a:hover { border-color: var(--dark-blue); }
.commune-cards span { font-size: 13px; color: var(--gray-600); }
.commune-names { list-style: none; columns: 4 200px; column-gap: 24px; font-size: 14px; line-height: 2; }

@media (max-width: 960px) {
    .local-hero-text, .facts-card, .local-col-text, .local-col-table, .local-price { grid-column: 1 / -1; }
    .facts-card, .local-col-table, .local-price { margin-top: 32px; }
    .commune-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Compact footer (order and local pages) */
.order-footer { padding: 28px 0; border-top: 1px solid var(--gray-200); background: var(--white); font-size: 13px; color: var(--gray-600); }
.order-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.order-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.order-footer a { color: var(--gray-700); }
.order-footer a:hover { color: var(--dark-blue); }


@media (max-width: 640px) {
    .local-table th:nth-child(3), .local-table td:nth-child(3) { display: none; }
    .local-table { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Order status page
   -------------------------------------------------------------------------- */

.status-body-bg { background: var(--paper); }
.status-page { padding-top: 44px; padding-bottom: 80px; }
.status-loading { padding: 80px 0; text-align: center; color: var(--gray-600); }
.status-head { margin-bottom: 28px; }
.status-head .eyebrow { margin-bottom: 8px; }
.status-head h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.status-head p { margin-top: 8px; font-size: 15px; }
.status-grid { align-items: start; }
.status-main { grid-column: span 8; display: flex; flex-direction: column; gap: 14px; }
.status-card { padding: 32px; border-radius: 22px; background: var(--white); border: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 24px; }

.status-now { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.status-now > div { display: flex; flex-direction: column; gap: 4px; }
.status-now-label { font-size: 13px; color: var(--gray-600); }
.status-now strong { font-size: 24px; font-weight: 600; color: var(--dark-blue); line-height: 1.2; }
.status-now-sub { font-size: 13px; color: var(--gray-600); }
.status-pct { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; color: var(--dark-blue); line-height: 1; }
.status-bar { height: 12px; border-radius: 999px; background: var(--off-white); overflow: hidden; }
.status-bar-fill {
    height: 100%; border-radius: 999px; background-color: var(--light-blue); transition: width 0.6s ease;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.25) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.25) 75%, transparent 75%);
    background-size: 28px 28px; animation: status-stripes 1s linear infinite;
}
@keyframes status-stripes { from { background-position: 0 0; } to { background-position: 28px 0; } }

.status-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.status-step { display: flex; flex-direction: column; gap: 10px; }
.status-step-bar { height: 4px; border-radius: 4px; background: var(--gray-200); }
.status-step-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); }
.status-step-dot { width: 16px; height: 16px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.status-step-dot svg { width: 16px; height: 16px; display: none; }
.status-step-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gray-300); box-sizing: border-box; }
.status-step.is-done .status-step-bar { background: var(--dark-blue); }
.status-step.is-done .status-step-label { color: var(--dark-blue); font-weight: 600; }
.status-step.is-done .status-step-dot::before { display: none; }
.status-step.is-done .status-step-dot svg { display: block; color: var(--dark-blue); }
.status-step.is-current .status-step-bar { background: var(--light-blue); }
.status-step.is-current .status-step-label { color: var(--text-blue); font-weight: 600; }
.status-step.is-current .status-step-dot::before { border: 0; background: var(--light-blue); box-shadow: 0 0 0 4px var(--sky); }

.format-rows { list-style: none; border-top: 1px solid var(--gray-200); }
.format-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.format-row:last-child { border-bottom: 0; }
.format-row-icon, .download-file-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; border-radius: 8px; background: var(--off-white); color: var(--dark-blue); }
.format-row-icon { width: 40px; height: 40px; }
.fr-autocad { background: var(--dark-blue); color: var(--white); }
.fr-archicad { background: var(--light-blue); color: var(--dark-blue); }
.format-row-text, .download-file-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.format-row-text strong, .download-file-text strong { font-size: 15px; font-weight: 600; color: var(--dark-blue); }
.format-row-text span, .download-file-text span { font-size: 12px; color: var(--gray-600); }
.format-row-state { font-size: 13px; color: var(--gray-600); white-space: nowrap; }
.format-row.is-done .format-row-state { color: var(--dark-blue); font-weight: 600; }
.format-row.is-running .format-row-state { color: var(--text-blue); font-weight: 600; }
.status-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.status-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--text-blue); }

.download-files { display: flex; flex-direction: column; gap: 14px; }
.download-file { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--gray-200); color: var(--dark-blue); }
.download-file:hover { border-color: var(--dark-blue); color: var(--dark-blue); }
.download-file-icon { width: 52px; height: 60px; border-radius: 10px; align-items: flex-end; padding-bottom: 8px; box-sizing: border-box; font-size: 12px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.download-file-text strong { font-size: 17px; }
.download-file-text span { font-size: 13px; }
.download-file-size { font-size: 12px; color: var(--gray-600); white-space: nowrap; }
.status-expiry { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: var(--sky); color: var(--dark-blue); font-size: 14px; line-height: 1.6; }
.status-expiry svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--text-blue); }
.status-error { border-color: var(--medium-brown); }
.status-error p { font-size: 15px; line-height: 1.6; color: var(--dark-blue); }
.status-error .btn { align-self: flex-start; }

.status-summary { grid-column: span 4; border-radius: 22px; background: var(--white); border: 1px solid var(--gray-200); overflow: hidden; }
.summary-map { position: relative; background: #f4f0ec; }
.summary-map img { width: 100%; height: auto; aspect-ratio: 640 / 340; }
.summary-map-badge { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 8px; background: var(--dark-blue); color: var(--white); font-size: 11px; }
.summary-list { display: grid; grid-template-columns: minmax(96px, max-content) 1fr; column-gap: 16px; row-gap: 12px; padding: 22px 24px; font-size: 14px; }
.summary-list dt { color: var(--gray-600); }
.summary-list dd { color: var(--dark-blue); font-weight: 500; }
.summary-order { font-size: 11px; font-weight: 400; word-break: break-all; }
.summary-actions { display: flex; flex-direction: column; gap: 10px; padding: 0 24px 24px; }
.summary-contact { font-size: 13px; text-align: center; }

@media (max-width: 960px) {
    .status-main, .status-summary { grid-column: 1 / -1; }
    .status-summary { margin-top: 14px; }
}
@media (max-width: 640px) {
    .site-nav-actions .lang-switch.lang-switch-always { display: flex; }
    .status-page { padding-top: 26px; }
    .status-card { padding: 20px; gap: 18px; }
    .status-pct { font-size: 32px; }
    .status-now strong { font-size: 18px; }
    .status-steps { grid-template-columns: 1fr; gap: 12px; }
    .status-step { flex-direction: row; }
    .status-step-bar { display: none; }
    .download-file { flex-wrap: wrap; padding: 16px; }
    .download-file .btn { width: 100%; }
}
