/* ============================================================
   ASQUMIS — marketing site
   AS Quality Management & Information Systems
   Self-contained. Bold, blue-led, no external dependencies.
   ============================================================ */

:root {
  /* Blues — the whole system runs on these */
  --ink:        #06132E;   /* deepest, near-black blue */
  --blue-900:   #0A2159;
  --blue-800:   #10307D;
  --blue-600:   #1E56E0;   /* primary brand blue */
  --blue-500:   #2F6BFF;   /* buttons, links */
  --blue-400:   #5286FF;   /* button hover — brighter, same hue */
  --blue-300:   #7FA8FF;
  --blue-100:   #E4EDFF;   /* tinted surfaces */
  --cyan:       #26E0F5;   /* electric accent */

  --white:      #FFFFFF;
  --grey-700:   #4A5875;
  --grey-400:   #8494B4;
  --line:       #DBE3F4;

  --page-max: 1160px;
  --nav-h: 68px;
  --radius: 16px;
  --radius-sm: 10px;

  --shadow-card: 0 2px 4px rgba(6,19,46,.04), 0 12px 32px rgba(6,19,46,.07);
  --shadow-lift: 0 8px 16px rgba(6,19,46,.08), 0 24px 56px rgba(6,19,46,.12);
  /* Tight enough to read as a glow around the pill, not a haze box behind it */
  --shadow-glow:      0 4px 14px rgba(47,107,255,.34);
  --shadow-glow-lift: 0 8px 22px rgba(82,134,255,.46);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 800;
}

::selection { background: var(--cyan); color: var(--ink); }

/* ---------- Shared bits ---------- */

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 20px;
}

.kicker-dark { color: var(--blue-600); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm  { padding: 10px 18px; font-size: 14px; }
.btn-lg  { padding: 17px 34px; font-size: 16px; }

.btn-accent {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
/* Lift brightens; the glow grows with it so the two move together */
.btn-accent:hover  { background: var(--blue-400); box-shadow: var(--shadow-glow-lift); }
.btn-accent:active { background: var(--blue-600); box-shadow: var(--shadow-glow); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.32);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.68);
}

.btn-white {
  background: var(--white);
  color: var(--blue-800);
}
.btn-white:hover { background: var(--blue-100); color: var(--blue-800); }

.brand-dot { color: var(--cyan); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 40px;
  background: rgba(6,19,46,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* On the landing page the hero runs up behind the nav, so the bar carries no
   fill of its own — an opaque bar would meet the hero gradient at a hard line.
   Pages with light content (impressum) keep the filled .nav above. */
.nav-over {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}

/* Wordmark: the acronym carries the brand, so it gets open tracking
   rather than the tight display tracking used on headlines. */
.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-right: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.72);
  transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--cyan); }

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    /* Settles onto --ink at the bottom edge so the footer, also --ink,
       continues it instead of butting against it. */
    linear-gradient(to bottom, transparent 68%, var(--ink) 100%),
    radial-gradient(900px 620px at 12% -10%, rgba(38,224,245,.20), transparent 62%),
    radial-gradient(760px 560px at 88% 8%,  rgba(47,107,255,.42), transparent 60%),
    linear-gradient(168deg, var(--ink) 0%, var(--blue-900) 55%, var(--blue-800) 100%);
  color: var(--white);
  /* Pulled up under the transparent nav; the padding restores the offset. */
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(108px + var(--nav-h)) 40px 0;
}

.hero-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  animation: rise .6s var(--ease) both;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  max-width: 20ch;
  margin-bottom: 26px;
}

.grad {
  background: linear-gradient(96deg, var(--cyan) 8%, var(--blue-300) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Spells out the acronym once, near the top, without shouting it */
.expansion {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 26px;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
  color: rgba(255,255,255,.9);
}

.expansion strong {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.exp-rest { color: rgba(255,255,255,.62); font-weight: 500; }

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,.76);
  max-width: 60ch;
  margin: 0 0 42px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Coming soon (index.html) ----------
   All CSS, no JavaScript: the site CSP is default-src 'none' with no
   script-src, so anything script-driven would simply not run. */

/* Blueprint grid behind the hero. Masked to a soft ellipse so it fades out
   rather than ending on a visible edge. */
.build-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(920px 620px at 72% 26%, #000 0%, transparent 76%);
          mask-image: radial-gradient(920px 620px at 72% 26%, #000 0%, transparent 76%);
}

.build-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}

/* Pulsing dot. Purely decorative - the adjacent text carries the meaning. */
.build-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(38,224,245,.55);
  flex: none;
}

.build-bar {
  width: 100%;
  max-width: 430px;
  height: 3px;
  margin: 0 0 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  overflow: hidden;
}

/* Indicative only - this is not wired to anything and does not report real
   progress. Treat the width as a design choice, not a status. */
.build-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-500));
}

.teasers {
  max-width: var(--page-max);
  margin: 88px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
}

.teaser {
  padding: 34px 32px 46px;
  border-left: 1px solid rgba(255,255,255,.14);
}

.teaser:first-child { border-left: 0; padding-left: 0; }

.teaser-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 14px;
}

.teaser h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.teaser p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.64);
}

@media (prefers-reduced-motion: no-preference) {
  .build-dot { animation: pulse 2.4s var(--ease) infinite; }
  @keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(38,224,245,.5); }
    70%  { box-shadow: 0 0 0 9px rgba(38,224,245,0); }
    100% { box-shadow: 0 0 0 0 rgba(38,224,245,0); }
  }
  .build-bar i { animation: creep 5.5s var(--ease) infinite alternate; }
  @keyframes creep {
    from { width: 34%; }
    to   { width: 52%; }
  }
}

@media (max-width: 900px) {
  .teasers { grid-template-columns: 1fr; margin-top: 56px; }
  .teaser { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 28px 0 32px; }
  .teaser:first-child { border-top: 0; }
  .build-grid { background-size: 48px 48px; }
}

/* ---------- Concealed portal mark ----------
   Deliberately low-contrast, but NOT hidden from assistive technology: it
   keeps an accessible name and is reachable by keyboard. Concealment here is
   convenience, not access control - the target must authenticate on its own.
   See the note in deploy/SETUP.md. */
.footer-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  transition: background-color .2s var(--ease),
              box-shadow .2s var(--ease),
              transform .2s var(--ease);
}

.footer-mark:hover,
.footer-mark:focus-visible {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(38,224,245,.15);
  transform: scale(1.2);
  outline: none;
}

/* ---------- Word cloud (expertise.html) ----------
   Pure CSS on purpose. The site's CSP sets default-src 'none' with no
   script-src, so a JS cloud library cannot run, and style-src 'self' means
   this cannot live in an inline <style> block either. Weight tiers w1-w5 do
   the work a layout script would normally do. */

.cloud {
  list-style: none;
  max-width: var(--page-max);
  margin: 72px auto 0;
  padding: 0 0 104px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 30px;
  text-align: center;
}

.cloud li {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  /* Terms must not break mid-phrase, or the cloud stops reading as a cloud. */
  white-space: nowrap;
}

.cloud .w1 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--white);
}
.cloud .w2 {
  font-size: clamp(23px, 3.1vw, 37px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-300);
}
.cloud .w3 {
  font-size: clamp(18px, 2.1vw, 26px);
  color: rgba(255,255,255,.84);
}
.cloud .w4 {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  color: rgba(255,255,255,.60);
}
.cloud .w5 {
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
}

/* A few terms in the accent colour, scattered by hand rather than by rule,
   so the eye has somewhere to land. */
.cloud .accent { color: var(--cyan); }

/* Slight vertical scatter. Without it the flex rows read as a list of
   centred lines rather than a cloud. */
.cloud li:nth-child(3n)   { transform: translateY(-7px); }
.cloud li:nth-child(4n+1) { transform: translateY(6px); }
.cloud li:nth-child(7n+3) { transform: translateY(-3px); }

@media (max-width: 900px) {
  .cloud {
    gap: 12px 20px;
    margin-top: 52px;
    padding-bottom: 76px;
  }
  /* Long phrases would otherwise overflow a narrow screen while nowrap holds. */
  .cloud li { white-space: normal; }
  .cloud li:nth-child(3n),
  .cloud li:nth-child(4n+1),
  .cloud li:nth-child(7n+3) { transform: none; }
}

.stats {
  max-width: var(--page-max);
  margin: 92px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
}

.stat {
  padding: 34px 32px 44px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid rgba(255,255,255,.14);
}

.stat:first-child { border-left: 0; padding-left: 0; }

.stat-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

/* ---------- Generic section ---------- */

.section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 110px 40px;
}

.section-head { margin-bottom: 56px; }

.section h2 { font-size: clamp(32px, 4.2vw, 50px); }

.section-sub {
  font-size: 18px;
  color: var(--grey-700);
  max-width: 52ch;
  margin: 18px 0 0;
}

/* ---------- Service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 38px 42px;
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.card-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue-500);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--grey-700);
}

/* One card carries the full brand blue, so the grid isn't flat */
.card-featured {
  background: linear-gradient(150deg, var(--blue-600) 0%, var(--blue-800) 100%);
  border-color: transparent;
  color: var(--white);
}
.card-featured::before { background: var(--cyan); }
.card-featured .card-num { color: var(--cyan); }
.card-featured p { color: rgba(255,255,255,.82); }

/* ---------- Approach band ---------- */

.band {
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(47,107,255,.30), transparent 65%),
    var(--ink);
  color: var(--white);
  padding: 110px 40px;
}

.band-inner { max-width: var(--page-max); margin: 0 auto; }

.band-title {
  font-size: clamp(32px, 4.2vw, 50px);
  margin-bottom: 68px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.step { border-top: 2px solid rgba(255,255,255,.16); padding-top: 26px; }

.step-num {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 14px;
}

.step h3 { font-size: 24px; margin-bottom: 12px; }

.step p {
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,.66);
}

/* ---------- About ---------- */

.about { padding-top: 110px; padding-bottom: 110px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}

.about h2 { font-size: clamp(32px, 4vw, 46px); }

.big-quote {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--blue-800);
  border-left: 5px solid var(--cyan);
  padding-left: 24px;
  margin: 0 0 30px;
}

.about-body p { color: var(--grey-700); margin: 0 0 18px; }

/* ---------- Closing CTA ---------- */

.cta {
  background: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-800) 62%, var(--blue-900) 100%);
  color: var(--white);
  padding: 118px 40px;
}

.cta-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  text-align: center;
}

.cta h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 22px; }

.cta p {
  font-size: 19px;
  color: rgba(255,255,255,.78);
  max-width: 46ch;
  margin: 0 auto 40px;
}

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

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 40px;
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}

.footer-expansion {
  color: rgba(255,255,255,.72);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-fine {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.45);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Impressum must be reachable from every page — keep it a real, visible link */
.footer-link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.72);
  transition: color .18s var(--ease);
}
.footer-link:hover { color: var(--cyan); }

.footer-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.35);
  transition: color .18s var(--ease), border-color .18s var(--ease),
              background-color .18s var(--ease);
}

.footer-key:hover {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ============================================================
   Legal pages (Impressum, Datenschutz)
   ============================================================ */

/* Reference text: set tighter and smaller than the marketing pages on
   purpose. This is material people scan for a specific detail, not prose
   they read through, so density helps more than generous leading. */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px 60px;
}

.legal .kicker { margin-bottom: 12px; }

.legal-head {
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  font-size: clamp(27px, 3.2vw, 37px);
  margin-bottom: 8px;
}

.legal-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--grey-700);
}

.legal-block { margin-bottom: 24px; }

.legal-block h2 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 7px;
}

.legal-block p {
  margin: 0 0 9px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-note {
  font-size: 12.5px !important;
  color: var(--grey-400) !important;
}

.legal-dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(112px, auto) 1fr;
  gap: 4px 20px;
  font-size: 14px;
}

.legal-dl dt {
  font-weight: 700;
  color: var(--blue-800);
}

.legal-dl dd { margin: 0; }

.legal-block a { color: var(--blue-500); font-weight: 600; }
.legal-block a:hover { text-decoration: underline; }

.legal-updated {
  margin: 32px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--grey-400);
}

/* Unfilled placeholder — deliberately loud so it cannot ship by accident */
.todo {
  background: #FFF3C4;
  color: #7A5B00;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
  border: 1px dashed #E0B400;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .legal { padding: 34px 22px 48px; }
  .legal-dl { grid-template-columns: 1fr; gap: 1px; }
  .legal-dl dd { margin-bottom: 9px; }
  .legal-dl dd:last-child { margin-bottom: 0; }
}

/* ============================================================
   Login page
   ============================================================ */

.login-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.login-aside {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 520px at 20% 10%, rgba(38,224,245,.22), transparent 62%),
    linear-gradient(165deg, var(--ink) 0%, var(--blue-900) 58%, var(--blue-800) 100%);
  color: var(--white);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
}

.login-aside .brand { font-size: 20px; }

.aside-expansion {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.5);
  margin: 8px 0 0;
}

.aside-body { margin-top: auto; margin-bottom: auto; max-width: 30ch; }

.aside-body h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 18px;
}

.aside-body p {
  color: rgba(255,255,255,.7);
  font-size: 17px;
  margin: 0;
}

.aside-fine {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  margin: 0;
}

.aside-legal {
  color: rgba(255,255,255,.62);
  font-weight: 600;
  margin-left: 10px;
  transition: color .18s var(--ease);
}
.aside-legal:hover { color: var(--cyan); }

.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: var(--white);
}

.login-card {
  width: 100%;
  max-width: 400px;
  animation: rise .45s var(--ease) both;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-400);
  margin-bottom: 34px;
  transition: color .18s var(--ease);
}
.back-link:hover { color: var(--blue-500); }

.login-card h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.login-sub {
  color: var(--grey-700);
  font-size: 16px;
  margin: 0 0 36px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-800);
}

.field input {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.field input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47,107,255,.14);
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #B3123B;
  background: #FFF0F4;
  border: 1px solid #FFC9D8;
  border-radius: var(--radius-sm);
}

.login-submit { width: 100%; margin-top: 6px; }
.login-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.login-help {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--grey-400);
}
.login-help a { color: var(--blue-500); font-weight: 600; }

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover, .card:hover { transform: none; }
}

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

@media (max-width: 900px) {
  .nav { padding: 16px 22px; gap: 20px; }
  .nav-links { display: none; }

  :root { --nav-h: 64px; }
  .hero { padding: calc(72px + var(--nav-h)) 22px 0; }
  .section, .band, .cta { padding-left: 22px; padding-right: 22px; }
  .section, .about { padding-top: 76px; padding-bottom: 76px; }
  .band, .cta { padding-top: 80px; padding-bottom: 80px; }

  .cards, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }

  .footer { padding: 32px 22px; }

  .login-body { grid-template-columns: 1fr; }
  .login-aside { padding: 30px 24px; }
  .aside-body { margin: 26px 0; }
  .aside-body h2 { font-size: 28px; }
  .aside-fine { display: none; }
  .login-main { padding: 40px 24px 56px; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 22px 4px; }
  .card { padding: 32px 26px 34px; }
}
