/* WorkBox marketing website — static, dependency-free and aligned with the DevBox product family. */

:root {
  --green-950: #082d20;
  --green-900: #0b382e;
  --green-800: #0f402a;
  --green-700: #124d32;
  --green-600: #1e6b45;
  --green-500: #2c935e;
  --green-300: #8bd0a8;
  --green-100: #d5efdf;
  --green-050: #eef8f2;
  --ink: #173027;
  --ink-soft: #53665e;
  --line: #d8e5dd;
  --surface: #ffffff;
  --surface-soft: #f5f7f6;
  --radius: 18px;
  --cut-radius: 12px;
  --hexagon: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
  --shadow: 0 18px 44px rgba(8, 45, 32, 0.1);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--surface); color: var(--ink); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
.container { margin: 0 auto; max-width: var(--maxw); padding: 0 24px; }
section[id] { scroll-margin-top: 76px; }
.skip-link { background: #fff; border: 2px solid var(--green-700); border-radius: 0 var(--cut-radius) 0 var(--cut-radius); color: var(--green-950); font-weight: 800; left: 12px; padding: 10px 14px; position: fixed; top: -100px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Header */

.site-header { backdrop-filter: blur(12px); background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { align-items: center; display: flex; gap: 16px; min-height: 72px; }
.brand { flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { height: 36px; width: auto; }
.main-nav { align-items: center; display: flex; flex: 1 1 auto; gap: 14px; justify-content: flex-end; }
.main-nav a { color: var(--ink-soft); font-size: .89rem; font-weight: 650; white-space: nowrap; }
.main-nav a:hover { color: var(--green-700); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--green-800); font-weight: 800; }
.lang-switch { align-items: center; border: 1px solid var(--line); border-radius: 0 var(--cut-radius) 0 var(--cut-radius); display: flex; flex: 0 0 auto; font-size: .8rem; font-weight: 750; gap: 3px; padding: 4px; }
.lang-switch a, .lang-switch span { border-radius: 0 7px 0 7px; color: var(--ink-soft); padding: 2px 7px; }
.lang-switch .active { background: var(--green-700); color: #fff; }
.lang-switch a:hover { color: var(--green-700); text-decoration: none; }
.menu-toggle { align-items: center; background: transparent; border: 0; border-radius: 0 var(--cut-radius) 0 var(--cut-radius); color: var(--green-700); cursor: pointer; display: none; flex: 0 0 auto; height: 40px; justify-content: center; width: 40px; }
.menu-toggle:hover { background: var(--green-050); }
.menu-toggle:focus-visible, a:focus-visible { box-shadow: 0 0 0 2px #fff; outline: 3px solid var(--green-700); outline-offset: 3px; }
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { background: currentColor; border-radius: 2px; content: ""; display: block; height: 2px; position: absolute; width: 20px; }
.menu-toggle__icon { position: relative; }
.menu-toggle__icon::before { top: -6px; }
.menu-toggle__icon::after { top: 6px; }
.mobile-nav { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; flex-direction: column; left: 0; max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; padding: 10px 24px 18px; position: absolute; right: 0; top: 100%; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { border-radius: 0 var(--cut-radius) 0 var(--cut-radius); color: var(--ink); font-weight: 700; padding: 11px 12px; }
.mobile-nav a:hover { background: var(--green-050); color: var(--green-700); text-decoration: none; }
.mobile-nav a[aria-current="page"] { background: var(--green-050); color: var(--green-800); }

/* Buttons */

.btn { align-items: center; border-radius: 0 var(--cut-radius) 0 var(--cut-radius); display: inline-flex; font-weight: 750; justify-content: center; padding: 12px 24px; text-decoration: none; transition: box-shadow .16s ease, transform .16s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-header { background: var(--green-700); color: #fff; flex: 0 0 auto; font-size: .86rem; padding: 9px 15px; white-space: nowrap; }
.btn-header:hover { background: var(--green-600); color: #fff; }
.btn-solid { background: var(--green-700); color: #fff; }
.btn-solid:hover { background: var(--green-600); color: #fff; }
.btn-primary { background: linear-gradient(135deg, #60bd87, #a2dfba); box-shadow: 0 10px 28px rgba(7,37,25,.28); color: var(--green-950); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(7,37,25,.36); color: var(--green-950); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.68); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { border: 1.5px solid var(--green-700); color: var(--green-700); margin-top: 23px; }
.btn-outline:hover { background: var(--green-050); color: var(--green-700); }

/* Hero */

.hero { background: radial-gradient(800px 480px at 92% -10%, rgba(139,208,168,.24), transparent 62%), radial-gradient(720px 440px at -5% 110%, rgba(44,147,94,.25), transparent 60%), linear-gradient(145deg, var(--green-950), var(--green-800) 52%, var(--green-600)); color: #fff; overflow: hidden; padding: 100px 0 112px; position: relative; }
.hero::after { 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; content: ""; inset: 0; mask-image: linear-gradient(to left, #000, transparent 72%); pointer-events: none; position: absolute; }
.hero-layout { align-items: center; display: grid; gap: 62px; grid-template-columns: minmax(0, 1.16fr) minmax(280px, .84fr); position: relative; z-index: 1; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--green-300); display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 15px; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.55rem); letter-spacing: -.05em; line-height: 1.01; max-width: 12ch; }
.hero .lead { color: rgba(255,255,255,.88); font-size: 1.17rem; margin-top: 24px; max-width: 42em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-art { align-items: center; aspect-ratio: 1; display: flex; isolation: isolate; justify-content: center; margin: auto; max-width: 370px; position: relative; width: 100%; }
.hero-art img { filter: drop-shadow(0 24px 38px rgba(0,0,0,.25)); position: relative; width: 48%; z-index: 2; }
.hero-hex { clip-path: var(--hexagon); inset: 0; position: absolute; }
.hero-hex--outer { background: rgba(255,255,255,.08); }
.hero-hex--inner { background: rgba(238,248,242,.94); inset: 9%; }

.audience-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.audience-grid li { color: var(--green-700); font-size: .92rem; font-weight: 750; padding: 25px 16px; text-align: center; }
.audience-grid li + li { border-left: 1px solid var(--line); }

/* Multipage heroes and navigation cards */

.page-hero { background: radial-gradient(650px 360px at 86% -15%, rgba(139,208,168,.22), transparent 66%), linear-gradient(145deg, var(--green-950), var(--green-800)); color: #fff; overflow: hidden; padding: 76px 0 82px; position: relative; }
.page-hero::after { 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; content: ""; inset: 0; mask-image: linear-gradient(to left, #000, transparent 76%); pointer-events: none; position: absolute; }
.page-hero-layout { align-items: center; display: grid; gap: 54px; grid-template-columns: minmax(0, 1fr) 190px; position: relative; z-index: 1; }
.page-hero-copy { min-width: 0; }
.page-hero h1 { font-size: clamp(2.35rem, 5vw, 4rem); letter-spacing: -.045em; line-height: 1.04; max-width: 15ch; }
.page-hero p { color: rgba(255,255,255,.86); font-size: 1.12rem; margin-top: 20px; max-width: 43em; }
.page-hero-mark { align-items: center; aspect-ratio: 1; background: rgba(238,248,242,.94); clip-path: var(--hexagon); display: flex; justify-content: center; width: 100%; }
.page-hero-mark img { width: 47%; }
.overview-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.overview-card { background: var(--surface); border: 1px solid var(--line); border-radius: 0 var(--radius) 0 var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 265px; padding: 30px 28px; }
.overview-card h2, .overview-card h3 { color: var(--green-800); font-size: 1.28rem; line-height: 1.25; margin: 12px 0 9px; }
.overview-card p { color: var(--ink-soft); font-size: .95rem; }
.overview-card .text-link { margin-top: auto; padding-top: 22px; }
.text-link { align-items: center; color: var(--green-700); display: inline-flex; font-weight: 800; gap: 7px; text-decoration: none; }
.text-link:hover { color: var(--green-900); }
.page-cta { background: var(--green-050); border-block: 1px solid var(--line); padding: 48px 0; }
.page-cta-inner { align-items: center; display: flex; gap: 28px; justify-content: space-between; }
.page-cta h2 { color: var(--green-800); font-size: clamp(1.4rem, 2.7vw, 2rem); line-height: 1.2; }
.page-cta p { color: var(--ink-soft); margin-top: 5px; }
.page-cta .btn { flex: 0 0 auto; }
.split-layout { align-items: start; display: grid; gap: 48px; grid-template-columns: 1fr 1fr; }
.split-copy h2 { color: var(--green-800); font-size: clamp(1.75rem, 3.3vw, 2.45rem); letter-spacing: -.03em; line-height: 1.18; margin-bottom: 15px; }
.split-copy p { color: var(--ink-soft); }
.split-copy p + p { margin-top: 14px; }
.principle-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.principle-card { border-left: 4px solid var(--green-500); padding: 6px 0 6px 20px; }
.principle-card h3 { color: var(--green-800); font-size: 1.05rem; margin-bottom: 5px; }
.principle-card p { color: var(--ink-soft); font-size: .93rem; }

/* Shared sections */

section { padding: 92px 0 100px; }
section.alt { background: var(--surface-soft); }
.section-head { margin: 0 auto 48px; max-width: 48em; text-align: center; }
.kicker { color: var(--green-700); display: inline-block; font-size: .78rem; font-weight: 850; letter-spacing: .13em; margin-bottom: 10px; text-transform: uppercase; }
.kicker--light { color: var(--green-300); }
.section-head h2, .security-intro h2, .contact-inner h2 { color: var(--green-800); font-size: clamp(1.85rem, 3.6vw, 2.65rem); letter-spacing: -.035em; line-height: 1.15; margin-bottom: 15px; }
.section-head p, .security-intro > p { color: var(--ink-soft); }

/* Platform flow */

.flow-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-card, .feature-card, .module-card, .content-card { background: var(--surface); border: 1px solid var(--line); border-radius: 0 var(--radius) 0 var(--radius); box-shadow: var(--shadow); }
.flow-card, .feature-card, .module-card, .overview-card, .content-card, .principle-card, .security-item { min-width: 0; overflow-wrap: anywhere; }
.flow-card { padding: 30px 28px; }
.step-number { align-items: center; background: var(--green-100); clip-path: var(--hexagon); color: var(--green-700); display: inline-flex; font-size: .85rem; font-weight: 850; height: 45px; justify-content: center; margin-bottom: 18px; width: 45px; }
.flow-card h3, .feature-card h3, .module-card h3, .content-card h3, .integration-panel h3, .security-item h3 { color: var(--green-800); line-height: 1.25; }
.flow-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.flow-card p, .feature-card p, .module-card p, .content-card p, .security-item p { color: var(--ink-soft); font-size: .95rem; }
.platform-ribbon { align-items: center; background: var(--green-950); border-radius: 0 22px 0 22px; color: #fff; display: grid; gap: 10px; grid-template-columns: 1.25fr auto 1fr auto 1fr auto 1fr auto 1.25fr; margin-top: 30px; padding: 25px 28px; }
.platform-ribbon div { text-align: center; }
.platform-ribbon strong { display: block; font-size: .98rem; }
.ribbon-label { color: var(--green-300); display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 2px; text-transform: uppercase; }
.ribbon-arrow { color: var(--green-300); font-size: 1.25rem; font-weight: 800; }

/* Capabilities */

.feature-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { padding: 28px 25px; }
.feature-icon { align-items: center; background: var(--green-100); clip-path: var(--hexagon); color: var(--green-700); display: inline-flex; font-size: 1.1rem; font-weight: 850; height: 45px; justify-content: center; margin-bottom: 17px; width: 45px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.fit-panel { align-items: center; background: linear-gradient(145deg, var(--green-950), var(--green-700)); border-radius: 0 22px 0 22px; color: #fff; display: grid; gap: 55px; grid-template-columns: 1fr 1fr; margin-top: 30px; padding: 44px 46px; }
.fit-panel .kicker { color: var(--green-300); }
.fit-panel h3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.25; }
.check-list, .fact-list { list-style: none; }
.check-list li { color: rgba(255,255,255,.9); margin-bottom: 10px; padding-left: 27px; position: relative; }
.check-list li::before { color: var(--green-300); content: "✓"; font-weight: 850; left: 0; position: absolute; }

/* Modules */

.module-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.module-card { min-height: 210px; padding: 25px 24px; position: relative; }
.module-card::after { background: var(--green-100); bottom: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); content: ""; height: 36px; opacity: .65; position: absolute; right: 0; width: 36px; }
.module-card--core { background: linear-gradient(145deg, var(--green-050), #fff); border-color: #acd6bd; }
.module-label { color: var(--green-700); display: block; font-size: .7rem; font-weight: 850; letter-spacing: .1em; margin-bottom: 11px; text-transform: uppercase; }
.module-card h3 { font-size: 1.13rem; margin-bottom: 9px; }

/* Integrations */

.integration-panel { background: linear-gradient(145deg, var(--green-950), var(--green-700)); border-radius: 0 24px 0 24px; box-shadow: var(--shadow); color: #fff; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
.integration-panel article { padding: 38px 32px; }
.integration-panel article + article { border-left: 1px solid rgba(255,255,255,.16); }
.integration-number { color: var(--green-300); display: block; font-size: .76rem; font-weight: 850; letter-spacing: .1em; margin-bottom: 16px; }
.integration-panel h3 { color: #fff; font-size: 1.17rem; margin-bottom: 10px; }
.integration-panel p { color: rgba(255,255,255,.82); font-size: .94rem; }
.integration-panel a { color: var(--green-300); display: inline-flex; font-size: .9rem; font-weight: 800; gap: 6px; margin-top: 17px; }
.integration-panel a:hover { color: #fff; }

/* Security */

.security-layout { align-items: start; display: grid; gap: 58px; grid-template-columns: .8fr 1.2fr; }
.security-intro { position: sticky; top: 108px; }
.security-grid { display: grid; gap: 26px 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.security-item { align-items: flex-start; display: flex; gap: 14px; }
.check { align-items: center; background: var(--green-700); clip-path: var(--hexagon); color: #fff; display: flex; flex: 0 0 auto; font-size: .78rem; font-weight: 850; height: 31px; justify-content: center; margin-top: 2px; width: 31px; }
.security-item h3 { font-size: 1rem; margin-bottom: 4px; }
.security-item p { font-size: .91rem; }

/* DevBox */

.devbox-wordmark { color: #283a7d; font-size: 1.08em; font-weight: 850; white-space: nowrap; }
.about-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card { padding: 30px 28px; }
.content-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.content-card p + p { margin-top: 12px; }
.fact-list li { color: var(--ink-soft); font-size: .94rem; margin-bottom: 11px; padding-left: 26px; position: relative; }
.fact-list li::before { color: var(--green-500); content: "✓"; font-weight: 850; left: 0; position: absolute; }
.fact-list strong { color: var(--green-800); }
.content-card a, .fact-list a, .devbox-wordmark, .contact-inner small a, .contact-direct a { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .16em; }

/* Contact and footer */

.contact-section { background: radial-gradient(580px 310px at 85% 10%, rgba(139,208,168,.2), transparent 68%), linear-gradient(145deg, var(--green-950), var(--green-700)); color: #fff; padding: 82px 0 88px; text-align: center; }
.contact-inner { max-width: 800px; }
.contact-inner h2 { color: #fff; }
.contact-inner p { color: rgba(255,255,255,.86); margin: 0 auto 27px; max-width: 44em; }
.contact-inner small { color: rgba(255,255,255,.72); display: block; margin-top: 19px; }
.contact-inner small a { color: #fff; font-weight: 750; }
.contact-page { background: var(--surface-soft); }
.contact-layout { align-items: start; display: grid; gap: 46px; grid-template-columns: .78fr 1.22fr; }
.contact-copy h2 { color: var(--green-800); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.03em; line-height: 1.2; margin-bottom: 14px; }
.contact-copy p { color: var(--ink-soft); }
.contact-copy .fact-list { margin-top: 25px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 0 var(--radius) 0 var(--radius); box-shadow: var(--shadow); display: grid; gap: 16px; padding: 30px; scroll-margin-top: 92px; text-align: left; }
.contact-form .field-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.contact-form label { color: var(--green-900); display: grid; font-size: .92rem; font-weight: 750; gap: 6px; }
.contact-form input, .contact-form textarea, .contact-form select { background: #fff; border: 1px solid #b9ccc0; border-radius: 0 9px 0 9px; color: var(--ink); font: inherit; font-weight: 400; padding: 11px 12px; width: 100%; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible { border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-700); outline: 2px solid transparent; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form [data-turnstile] { min-height: 65px; width: 100%; }
.contact-form .honeypot { height: 0; overflow: hidden; position: absolute; width: 0; }
.contact-form .status { background: var(--green-050); border-left: 4px solid var(--green-600); color: var(--ink-soft); font-size: .92rem; margin: 0; padding: 10px 12px; }
.contact-form .status[hidden] { display: none; }
.contact-form .status.is-error { background: #fff2f0; border-left-color: #b8473b; color: #7d2c25; }
.contact-form button[disabled] { cursor: not-allowed; opacity: .6; }
.contact-direct { color: var(--ink-soft); font-size: .94rem; margin-top: 21px; }
.site-footer { background: #061f16; color: rgba(255,255,255,.72); font-size: .87rem; overflow: hidden; padding: 56px 0; position: relative; }
.site-footer::before { background: left center / auto 100% no-repeat url('/assets/footer-hex-pattern.svg'); content: ""; inset: 0; opacity: .42; pointer-events: none; position: absolute; }
.footer-inner { align-items: center; display: flex; gap: 20px; justify-content: space-between; position: relative; z-index: 1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }

/* Root redirect fallback */

.redirect-page { background: var(--surface-soft); min-height: 100vh; }
.redirect-page main { background: #fff; border: 1px solid var(--line); border-radius: 0 var(--radius) 0 var(--radius); box-shadow: var(--shadow); margin: 12vh auto; max-width: 620px; padding: 42px; text-align: center; }
.redirect-page img { margin: 0 auto 24px; max-width: 260px; }
.redirect-page p + p { margin-top: 10px; }

/* Responsive */

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand { margin-right: auto; }
}

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { grid-row: 1; max-width: 240px; }
  .feature-grid, .module-grid { grid-template-columns: 1fr 1fr; }
  .fit-panel, .security-layout { grid-template-columns: 1fr; }
  .security-intro { position: static; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-layout { grid-template-columns: minmax(0, 1fr) 150px; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .flow-grid { grid-template-columns: 1fr; }
  .platform-ribbon { gap: 15px; grid-template-columns: 1fr; }
  .ribbon-arrow { justify-self: center; transform: rotate(90deg); }
  .integration-panel { grid-template-columns: 1fr; }
  .integration-panel article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .about-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .page-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .audience-grid li:nth-child(4) { border-top: 1px solid var(--line); }
  .flow-grid, .feature-grid, .module-grid, .security-grid, .overview-grid, .principle-grid { grid-template-columns: 1fr; }
  .fit-panel { gap: 30px; padding: 35px 28px; }
  .page-hero-layout { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .page-hero h1, .page-hero p { margin-left: auto; margin-right: auto; }
  .page-hero-mark { grid-row: 1; margin: 0 auto; width: 130px; }
  .contact-form .field-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: 8px; min-height: 62px; }
  .brand img { height: 30px; }
  .lang-switch { font-size: .75rem; }
  .btn-header { display: none; }
  .hero { padding: 64px 0 74px; }
  .hero h1 { font-size: clamp(2.25rem, 13vw, 3.05rem); }
  .hero-art { max-width: 185px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .page-hero { padding: 58px 0 64px; }
  section { padding: 68px 0 74px; }
  .flow-card, .feature-card, .module-card, .content-card { padding: 25px 22px; }
  .overview-card, .contact-form { padding: 25px 22px; }
  .contact-section { padding: 68px 0 74px; }
  .redirect-page main { margin: 8vh 18px; padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
