:root {
  --orange: #ff6a13;
  --orange-dark: #e2550a;
  --cta: #c2410c;        /* buttons: white text passes WCAG AA contrast (5.2:1) */
  --cta-hover: #9a3412;
  --blue: #1d3b8b;
  --ink: #121a2f;
  --muted: #5a6478;
  --line: #e4e7ee;
  --bg: #ffffff;
  --tint: #fff6ef;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(18, 26, 47, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--ink); font-size: 1.1rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--cta); color: #fff; font-size: .8rem; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
#lang { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: .9rem; background: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cta); color: #fff; border: 0; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,106,19,.3); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.btn-big { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--blue); border: 2px solid var(--line); padding: 12px 22px; }
.btn-ghost:hover { background: var(--tint); box-shadow: none; }

/* Hero */
.hero { padding: 56px 0 72px; background: radial-gradient(1200px 500px at 85% 0%, #ffe8d8 0%, transparent 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; color: #9a3412; background: #fff0e6; padding: 6px 12px; border-radius: 999px; font-size: .85rem; margin: 0 0 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.perks li::before { content: '✓'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e6f6ec; color: #1f8a4c; font-size: .8rem; flex: none; }

.hero-media { position: relative; aspect-ratio: 1 / 1; border-radius: 32px; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); display: none; }
.hero-media.has-video video { display: block; }
.hero-media.has-video .hero-fallback { display: none; }
.hero-fallback { position: absolute; inset: 0; }
.windmill { width: 100%; height: 100%; clip-path: circle(47.5% at 50% 50%); }
.blades { transform-origin: 200px 170px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip-a { top: 10%; left: -6%; }
.chip-b { top: 46%; right: -4%; animation-delay: -2s; }
.chip-c { bottom: 8%; left: 4%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px; }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.sector { background: #fff; border-radius: var(--radius); padding: 22px 18px; font-weight: 700; display: flex; flex-direction: column; gap: 10px; border: 1px solid #ffe2cf; }
.sector-emoji { font-size: 1.8rem; }

/* Content is visible by default; the fade-in only applies when JavaScript runs (adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Form */
.card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card { padding: 40px; }
fieldset { border: 0; padding: 0; margin: 28px 0 0; }
legend { font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; padding: 0; color: var(--blue); }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
small { color: var(--muted); font-weight: 400; font-size: .8rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,19,.14); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.radios, .checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { flex-direction: row; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; }
.pill:has(input:checked) { border-color: var(--orange); background: #fff4ec; }
.pill input { accent-color: var(--orange); margin: 0; }
.radios .pill { flex: 1 1 auto; }
.drop { align-items: center; text-align: center; border: 2px dashed #f4c3a3; border-radius: 16px; padding: 28px 16px; background: #fffaf6; cursor: pointer; transition: background .15s, border-color .15s; }
.drop.over, .drop:hover { background: #fff1e6; border-color: var(--orange); }
.drop.has-file { border-style: solid; border-color: #1f8a4c; background: #effaf3; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-icon { font-size: 2rem; }
.flow { background:#f3f6ff; border:1px solid #d9e2ff; border-radius:14px; padding:14px 16px; margin:0 0 16px; font-size:.9rem; }
.flow strong { color:var(--blue); }
.flow ol { margin:8px 0 0; padding-left:20px; display:grid; gap:6px; color:#333b4d; }
.cvreq { background:#effaf3; border-color:#cdeedb; }
.cvreq strong { color:#1f6b3f; }
.cvreq ul { margin:8px 0 0; padding-left:20px; display:grid; gap:6px; color:#333b4d; }
.note-stop { background:#fdecee; border-color:#f7c5ca; color:#b3261e; font-weight:600; }
.note { background:#fff8e6; border:1px solid #ffe3a3; color:#7a5300; border-radius:12px; padding:10px 14px; font-size:.85rem; margin:0 0 14px; }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.error { background: #fdecee; color: #b3261e; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.invalid { border-color: #e5484d !important; }
.radios.invalid .pill, .consent.invalid { border-color: #e5484d; color: #b3261e; }
.drop.invalid { border-color: #e5484d; }

.success { text-align: center; padding: 20px 0; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: #e6f6ec; color: #1f8a4c; display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin: 0 auto 20px; animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.success p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }

/* FAQ */
.faq { background: #fff; border-radius: 14px; padding: 18px 22px; margin-top: 12px; border: 1px solid #ffe2cf; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Privacy page */
.doc { padding: 48px 0 72px; }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc p, .doc li { color: #333b4d; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; width: 100%; margin: 0 auto; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 32px 0 48px; }
  .steps, .grid2 { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .section { padding: 52px 0; }
  .chip-a { left: 0; } .chip-b { right: 0; }
  .btn-small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Language hint bar + footer language links */
.lang-hint { display: flex; justify-content: center; align-items: center; gap: 12px; background: var(--blue); color: #fff; padding: 8px 16px; font-size: .9rem; font-weight: 600; }
.lang-hint a { color: #fff; }
.lang-hint button { background: transparent; border: 0; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 14px; font-size: .85rem; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a:hover, .langs a[aria-current] { color: var(--ink); text-decoration: underline; }

/* Guide (SEO content) */
.guide-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-top: 14px; }
.guide-item h3 { margin-bottom: .4em; }
.guide-item p, .guide-item li { color: #333b4d; }
.guide-item p:last-child, .guide-item ul:last-child { margin-bottom: 0; }
.faq p:last-child { margin-bottom: 0; }
.small { font-size: .85rem; }

/* Header link to guides */
.nav-link { font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; padding: 8px 6px; }
.nav-link:hover { color: var(--cta); }

/* Guide pages */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.article h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: .3em; }
.article-meta { color: var(--muted); font-size: .9rem; margin: 0 0 28px; }
.article-body { font-size: 1.05rem; line-height: 1.7; }
.article-body h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; }
.article-body h3 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
.article-body p, .article-body li { color: #2a3142; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin: .3em 0; }
.article-body a { color: var(--blue); }
.article-body code, .article-body pre { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.article-body pre { background: #f6f7fa; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; white-space: pre-wrap; }
.article-body blockquote { margin: 1em 0; padding: 12px 16px; background: var(--tint); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; }
.table-wrap { overflow-x: auto; margin: 1em 0; }
.article-body table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.article-body th { background: #f6f7fa; }
.sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 1.1rem; }
.sources li { font-size: .9rem; margin: .3em 0; word-break: break-word; }
.cta-box { margin: 40px 0; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, #fff3ea, #ffe3cf); border: 1px solid #ffd2b5; }
.cta-box h2 { font-size: 1.35rem; margin-bottom: .3em; }
.cta-box p { color: #3b4356; margin: 0 0 18px; }
.related h2, .guides-heading { font-size: 1.3rem; margin-top: 28px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 16px 0 24px; }
.guide-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.guide-card:hover { border-color: #ffc29c; box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-card strong { font-size: 1.02rem; line-height: 1.3; }
.guide-card span { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.guides-index h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
@media (max-width: 640px) { .nav-link { font-size: .85rem; padding: 6px 2px; } }
