/* CALVENDO Support – follows the look of www.calvendo.de. Static, no external requests. */

/* Gudea: the web font of www.calvendo.de. SIL Open Font License 1.1, see /assets/fonts/OFL.txt */
@font-face { font-family: "Gudea"; src: url("/assets/fonts/gudea-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gudea"; src: url("/assets/fonts/gudea-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gudea"; src: url("/assets/fonts/gudea-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* brand, from www.calvendo.de and the logo */
  --teal: #0089aa;        /* links + headlines on calvendo.de */
  --teal-text: #00728f;   /* same hue, AA for small text on white and light tints */
  --teal-deep: #005f78;
  --teal-light: #64c6df;  /* calvendo.de .btn-primary */
  --teal-soft: #e9f5f8;
  --green: #7dc200;       /* calvendo.de "Jetzt Autor werden" */
  --green-hover: #8ed10f;
  --green-logo: #95c011;
  --green-soft: #f1f8e2;
  --brown: #4e2511;       /* logo wordmark */
  /* neutrals, from calvendo.de */
  --ink: #333;
  --ink-strong: #1d1d1b;
  --muted: #666;
  --line: #deddd8;
  --line-strong: #c4c3bd;
  --field-border: #8f8e88; /* 3:1 against white (WCAG 1.4.11) */
  --warm: #d7d6d1;        /* calvendo.de product band */
  --warm-soft: #f6f6f4;   /* calvendo.de quote box */
  --footer: #f3f3f3;
  --card: #fff;
  --error: #b3261e;
  --error-soft: #fdecea;

  --font: "Gudea", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .06);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, .06), 0 14px 30px rgba(0, 0, 0, .09);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.6 var(--font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; }

a { color: var(--teal-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }

strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--ink-strong); color: #fff; padding: 10px 14px; z-index: 20; text-decoration: none; }

.wrap { max-width: 1170px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* ---------- Header (like www.calvendo.de: white, logo left, upper-case menu right) ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 40px;
  padding-bottom: 0;
}

/* the black tab top right, as "Mein CALVENDO" on calvendo.de */
.portal-link {
  position: absolute;
  top: 0;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 14px 8px;
  text-decoration: none;
}
.portal-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.portal-link:hover { background: var(--teal-deep); color: #fff; }

.brand { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; }
.brand-logo { display: block; line-height: 0; }
.brand img { height: 54px; width: auto; display: block; }
.brand-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-text);
  text-decoration: none;
  border-left: 1px solid var(--line-strong);
  padding: 4px 0 2px 18px;
  line-height: 1.2;
}
.brand-label:hover { color: var(--teal-deep); }

.nav { display: flex; gap: 4px 26px; flex-wrap: wrap; }
.nav a {
  position: relative;
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 10px 0 22px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: transparent;
  transition: background .15s;
}
.nav a:hover { color: var(--teal-text); }
.nav a:hover::after { background: var(--teal-light); }
.nav a[aria-current="page"] { color: var(--teal-text); }
.nav a[aria-current="page"]::after { background: var(--green); }

/* ---------- Hero (calvendo.de headline style: two lines, upper case, teal + dark) ---------- */
.hero {
  background: var(--warm-soft);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 48px;
}
.hero h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
  hyphens: manual;
}
.hl { display: block; color: var(--teal); }
.hero p { margin: 18px 0 0; max-width: 620px; font-size: 19px; color: var(--ink); }
.hero p strong { display: block; color: var(--ink-strong); margin-bottom: 4px; }

.hero-home { padding: 36px 0 0; overflow: hidden; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-text { padding-bottom: 44px; flex: 1 1 auto; min-width: 0; }
.hero-art { flex: none; width: 360px; height: auto; display: block; margin-bottom: -6px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

main { padding: 48px 0 72px; }

/* ---------- Section headline (two lines, like "Ihre Vorteile / mit CALVENDO.") ---------- */
.section-title {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.card + .card, .card + .bubble, .grid + .bubble { margin-top: 28px; }
.card h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--ink-strong); }
.card h3 { margin: 24px 0 8px; font-size: 19px; color: var(--ink-strong); }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card-plain {
  background: var(--warm-soft);
  border-color: transparent;
  color: var(--muted);
  font-size: 15px;
  padding: 22px 26px;
}

/* ---------- Start page tiles (round icons as on calvendo.de "Ihre Vorteile") ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  min-width: 0;
  overflow: hidden;
  transition: border-color .15s, box-shadow .2s, transform .2s;
}
.tile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--ink); }
.tile:hover::before, .tile:focus-visible::before { transform: scaleX(1); }

.tile-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #efefec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #7c7c77;
  transition: background .2s, color .2s;
}
.tile-icon svg { width: 46px; height: 46px; display: block; }
.tile:hover .tile-icon { background: var(--teal-soft); color: var(--teal); }

.ico { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico-acc { fill: none; stroke: var(--green); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-dot { fill: var(--green); stroke: none; }

.tile-title { display: block; overflow-wrap: break-word; font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--teal-text); margin-bottom: 6px; }
.tile-desc { display: block; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* small "opens elsewhere" arrow */
.tile::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 30px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
  transition: border-color .15s, transform .2s;
}
.tile:hover::after { border-color: var(--teal); transform: translateX(3px) rotate(45deg); }

/* ---------- Speech bubble CTA (calvendo.de quote box) ---------- */
.bubble {
  position: relative;
  background: var(--warm-soft);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 64px;
  bottom: -22px;
  border-style: solid;
  border-width: 22px 22px 0 0;
  border-color: var(--warm-soft) transparent transparent transparent;
}
.bubble h2 {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
}
.bubble p { margin: 0 0 10px; }
.bubble p:last-child { margin-bottom: 0; }
.bubble .btn { max-width: 340px; }

/* ---------- Buttons (square, like calvendo.de) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  border: 2px solid var(--green);
  border-radius: 2px;
  padding: 13px 26px 12px;
  background: var(--green);
  color: #172400;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); color: #172400; box-shadow: 0 6px 16px rgba(125, 194, 0, .3); }
.btn[disabled] { opacity: .75; cursor: progress; box-shadow: none; }
.btn-outline { background: transparent; border-color: var(--ink-strong); color: var(--ink-strong); }
.btn-outline:hover { background: var(--ink-strong); border-color: var(--ink-strong); color: #fff; box-shadow: none; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); font-size: 16px; font-weight: 400; padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { background: transparent; border-color: transparent; color: var(--ink-strong); text-decoration: underline; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Info note ---------- */
.note {
  position: relative;
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 18px 20px 18px 62px;
  color: var(--ink);
}
.note::before {
  content: "i";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-text);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 28px;
  text-align: center;
}
.note p { margin: 0 0 8px; }
.note p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { padding: 12px 32px; }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--teal-text);
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--teal-deep); }
summary::before,
summary::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  transition: transform .2s;
  z-index: 1;
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
summary { background: linear-gradient(var(--teal), var(--teal)) no-repeat right center / 38px 38px; }
details[open] summary { background-image: linear-gradient(var(--green), var(--green)); }
details > div { padding: 0 0 18px; }
details > div p { margin: 0 0 14px; }

/* ---------- Legal text ---------- */
.legal { font-size: 16px; }
.legal h2 { font-size: 19px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal a { overflow-wrap: anywhere; }

/* ---------- Form ---------- */
#support-form { margin-top: 28px; counter-reset: step; }

.form-section { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-section + .form-section { margin-top: 34px; }
.form-section legend {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-strong);
  margin-bottom: 18px;
  padding: 0;
  width: 100%;
}
.form-section legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-section legend::before {
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-text);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.fields .full { grid-column: 1 / -1; }

.field { min-width: 0; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 7px; color: var(--ink-strong); }
.field .req { color: var(--teal-text); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink-strong);
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  padding: 11px 13px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05);
  transition: border-color .15s, box-shadow .15s;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #5f5e59; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #8a8984; opacity: 1; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 137, 170, .22); }

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--error); background-color: var(--error-soft); }
.field .error { display: none; color: var(--error); font-size: 15px; margin-top: 6px; }
.field .error::before { content: "! "; font-weight: 700; }
.field.invalid .error { display: block; }

.counter { text-align: right; font-size: 13px; color: var(--muted); margin-top: 4px; }

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.actions small { color: var(--muted); }

.alert {
  border-left: 4px solid var(--error);
  padding: 14px 18px;
  margin-bottom: 22px;
  background: var(--error-soft);
  color: var(--error);
}
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.success .alert { text-align: left; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(23, 36, 0, .3);
  border-top-color: #172400;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Thank-you / message card ---------- */
.success { text-align: center; padding: 52px 32px; }
.success .check {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0;
  color: transparent;
  box-shadow: 0 0 0 10px var(--green-soft);
}
.success .check::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 20px;
  width: 22px;
  height: 38px;
  border-right: 7px solid #fff;
  border-bottom: 7px solid #fff;
  transform: rotate(45deg);
}
.success h2 { margin-bottom: 10px; font-size: 28px; }
.success p { max-width: 580px; margin-left: auto; margin-right: auto; color: var(--muted); }
.success p:last-child { margin-top: 26px; }
.success .btn-row { margin-top: 26px; }
.notfound .code { margin: 0 auto 6px; font-size: 104px; line-height: 1; letter-spacing: .04em; color: var(--teal-light); }

[hidden] { display: none !important; }

/* ---------- Screenshot upload ---------- */
.drop {
  position: relative;
  border: 2px dashed var(--field-border);
  border-radius: var(--radius);
  background: var(--warm-soft);
  padding: 24px 16px;
  text-align: center;
  transition: border-color .15s, background .15s;
}
.drop:hover,
.drop.over,
.drop:focus-within { border-color: var(--teal); background: var(--teal-soft); }
.drop:focus-within { outline: 3px solid rgba(0, 137, 170, .35); outline-offset: 2px; }
.drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop-icon { display: block; width: 40px; height: 40px; margin: 0 auto 8px; color: var(--teal); }
.drop-text strong { color: var(--teal-text); }
.drop-text span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.drop.full { opacity: .55; }
.drop.full input[type="file"] { cursor: not-allowed; }
.field.invalid .drop { border-color: var(--error); background: var(--error-soft); }

.shots { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shots:empty { display: none; }
.shot {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 8px;
  background: #fff;
  min-width: 0;
}
.shot img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; background: var(--warm-soft); flex: none; }
.shot .meta { min-width: 0; flex: 1; font-size: 15px; }
.shot .name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: var(--ink-strong); }
.shot .size { color: var(--muted); }
.shot button {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.shot button:hover { background: var(--error-soft); color: var(--error); }

/* ---------- Footer (calvendo.de: light grey, upper-case column titles) ---------- */
.site-footer { background: var(--footer); border-top: 1px solid #ddd; color: var(--muted); font-size: 15px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  gap: 28px 48px;
  padding-top: 40px;
  padding-bottom: 32px;
}
.footer-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 4px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink-strong); text-decoration: underline; }
.footer-bottom {
  padding-top: 18px;
  padding-bottom: 24px;
  font-size: 14px;
  background: linear-gradient(#e0e0e0, #e0e0e0) no-repeat 24px 0 / calc(100% - 48px) 1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { width: 280px; }
}

@media (max-width: 860px) {
  .header-bar { flex-direction: column; align-items: stretch; padding-top: 22px; gap: 0; }
  .portal-link { display: none; }
  .brand { padding-bottom: 12px; }
  .nav { gap: 4px 22px; }
  .nav a { padding: 8px 0 14px; font-size: 15px; }
  .hero-art { display: none; }
  .hero-text { padding-bottom: 36px; }
  .bubble { grid-template-columns: 1fr; padding: 30px 28px; }
  .bubble .btn { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand { gap: 14px; }
  .brand img { height: 42px; }
  .brand-label { font-size: 13px; padding-left: 14px; letter-spacing: .12em; }
  .nav { justify-content: space-between; gap: 0 12px; }
  .nav a { font-size: 14px; letter-spacing: .02em; }
  .hero { padding: 30px 0 32px; }
  .hero-home { padding-top: 30px; }
  .hero-text { padding-bottom: 32px; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 32px); letter-spacing: 0; }
  .hero p { font-size: 17px; }
  main { padding: 28px 0 52px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .tile { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px 40px 18px 16px; }
  .tile-icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .tile-icon svg { width: 32px; height: 32px; }
  .tile-title { font-size: 18px; margin-bottom: 2px; }
  .tile-desc { font-size: 15px; }
  .tile::after { top: 50%; right: 20px; margin-top: -5px; }
  .card { padding: 22px 18px; }
  .faq { padding: 4px 18px; }
  summary { font-size: 17px; padding: 18px 50px 18px 0; }
  .bubble { padding: 26px 20px; }
  .bubble::after { left: 40px; }
  .btn { font-size: 17px; padding: 12px 18px 11px; }
  .fields { grid-template-columns: 1fr; }
  .form-section legend { font-size: 16px; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .btn { width: 100%; }
  .success { padding: 40px 18px; }
  .btn-row .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; }
  .footer-bottom { background-position: 16px 0; background-size: calc(100% - 32px) 1px; }
  .portal-link { right: 16px; }
}

@media (max-width: 380px) {
  .nav a { font-size: 13px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
