/* ==========================================================================
   Finanz — marketing site
   One product, one look: the same teal as the app (teal-700 / teal-400) and
   the same neutrals as the web client (zinc). Dark sections carry the brand,
   light sections carry the reading.
   ========================================================================== */

:root {
  /* Brand */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2c;
  --green: #34d298;

  /* Neutrals (zinc, same as the web client) */
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --muted: #5b5b62;
  --line: #e5e5e5;
  --line-soft: #f1f1f1;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-mute: #fafafa;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 70px -25px rgba(4, 47, 44, 0.35);

  --max: 1160px;
  --header-h: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-700);
  text-decoration-color: rgba(15, 118, 110, 0.35);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0 0 14px;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
}

ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

li {
  margin-bottom: 8px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--teal-700);
  color: #fff;
  font-weight: 650;
  font-size: 15.5px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 8px 20px -10px rgba(15, 118, 110, 0.9);
}

.btn:hover {
  background: var(--teal-800);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn.outline {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn.outline:hover {
  background: var(--bg-soft);
  border-color: var(--teal-500);
  color: var(--teal-800);
}

.btn.small {
  padding: 9px 16px;
  font-size: 14px;
}

/* ---------------------------------------------------------------- header */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 22px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
}

/* The wordmark is the drawing of the letters, not text: the same shape on
   every screen, in every browser, in every language of the site. */
.brand-word {
  display: block;
  height: 22px;
  width: auto;
  flex: none;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.top nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
  padding: 9px 12px;
  border-radius: 999px;
}

.top nav a:hover {
  color: var(--teal-800);
  background: var(--teal-50);
}

/* The button in the navigation is a button, not a link: the rule above
   would take the white of its text away. */
.top nav a.btn {
  color: #fff;
}

.top nav a.btn:hover {
  color: #fff;
  background: var(--teal-800);
}

.top .btn {
  margin-left: 8px;
  flex: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
  background: radial-gradient(1100px 620px at 78% -10%, rgba(45, 212, 191, 0.26), transparent 62%),
    radial-gradient(760px 520px at 8% 110%, rgba(52, 210, 152, 0.2), transparent 60%),
    linear-gradient(158deg, #06322f 0%, #0b4a45 46%, #0f766e 100%);
  color: #fff;
  padding: clamp(60px, 9vw, 108px) 24px clamp(70px, 9vw, 118px);
  border-bottom: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.lead {
  font-size: clamp(17px, 1.6vw, 19.5px);
  color: var(--muted);
  max-width: 60ch;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 22px;
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 210, 152, 0.22);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
}

.trust li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: rgba(52, 210, 152, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2334d298' d='M6.2 11.3 3 8.1l1.1-1.1 2.1 2.1 5.7-5.7L13 4.5z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* phone mockup */

.showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

/* `min-width: 0` matters: a flex item keeps its content's min-content width
   by default, and the screenshot is 1080 px wide - without this the phone
   would keep its natural size and push the text out of the page. */
.phone {
  position: relative;
  width: min(300px, 76vw);
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  border-radius: 40px;
  padding: 11px;
  background: linear-gradient(160deg, #1c1c22, #05050a);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(-1.6deg);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  background: #fff;
}

.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  border-radius: 999px;
  background: #05050a;
  z-index: 2;
}

.float-card {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: min(230px, 62vw);
}

.float-card strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.float-card small {
  color: var(--muted);
  font-size: 12.5px;
}

.float-card .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  background: var(--teal-50);
  display: grid;
  place-items: center;
  color: var(--teal-700);
}

.float-card.one {
  top: 8%;
  left: -18%;
}

.float-card.two {
  bottom: 8%;
  right: -16%;
}

@media (max-width: 900px) {
  .float-card.one {
    left: -12px;
  }

  .float-card.two {
    right: -12px;
  }
}

/* -------------------------------------------------------------- sections */

main {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* The sections that carry the reading are limited in width; the bands and the
   hero are full bleed and hold their own inner column. */
main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 86px) 24px;
}

section {
  padding: clamp(52px, 7vw, 86px) 0;
}

section + section {
  border-top: 1px solid var(--line-soft);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.band {
  max-width: none;
  margin: 0;
  padding: clamp(52px, 7vw, 86px) 24px;
}

.band.dark {
  background: linear-gradient(150deg, #06322f, #0c534d 60%, #0f766e);
  color: #fff;
}

.band.dark h2,
.band.dark h3 {
  color: #fff;
}

.band.dark .section-head p,
.band.dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

.band.dark a {
  color: var(--green);
}

.band.soft {
  background: var(--bg-soft);
}

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

/* The store feature graphic carries the same teal as the band, so the two
   blend into one uninterrupted brand surface. */
.band.graphic {
  background: var(--teal-700);
  padding: 0;
}

.band.graphic .band-inner {
  max-width: 1024px;
}

.band.graphic img {
  width: 100%;
  height: auto;
}

/* feature grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-100);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card .icon svg {
  width: 22px;
  height: 22px;
}

/* screenshot gallery */

.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.screen {
  text-align: center;
}

.screen .shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.screen .shot img {
  width: 100%;
  height: auto;
}

.screen h3 {
  margin: 16px 0 4px;
  font-size: 16.5px;
}

.screen p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* privacy split */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.86);
}

.checks li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(52, 210, 152, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2334d298' d='M6.2 11.3 3 8.1l1.1-1.1 2.1 2.1 5.7-5.7L13 4.5z'/%3E%3C/svg%3E") center/15px no-repeat;
}

.checks strong {
  color: #fff;
  display: block;
}

.promise {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.promise .big {
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green);
  margin-bottom: 8px;
}

.promise p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: start;
}

.plan {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  border-color: var(--teal-600);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.plan.featured::after {
  content: "Recommended";
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--teal-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.plan h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.plan .price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 2px;
}

.plan .price small {
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: 0;
}

.plan > p {
  color: var(--muted);
  font-size: 15px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.plan ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  margin-bottom: 11px;
}

.plan ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230f766e' d='M6.2 11.3 3 8.1l1.1-1.1 2.1 2.1 5.7-5.7L13 4.5z'/%3E%3C/svg%3E") center/13px no-repeat;
}

.plan.featured ul li::before {
  background: var(--teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M6.2 11.3 3 8.1l1.1-1.1 2.1 2.1 5.7-5.7L13 4.5z'/%3E%3C/svg%3E") center/13px no-repeat;
}

.plan .btn {
  width: 100%;
}

.plan-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}

/* The language switcher in the navigation: one button, six languages.

   Six links side by side do not fit into the header of a phone, and they
   push the navigation out of the row on a narrow window. The dropdown is a
   <details> element, so it opens without any script. */
.lang-switch {
  position: relative;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.lang-switch summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

/* The marker of a <summary> is a triangle in the middle of the text; the
   chevron of the button is the one that should be there. */
.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch summary:hover,
.lang-switch[open] summary {
  color: var(--teal-800);
  background: var(--teal-50);
}

.lang-switch summary:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}

.lang-globe {
  flex: none;
  color: var(--teal-600);
}

.lang-chevron {
  flex: none;
  color: var(--muted);
  transition: transform 0.18s ease;
}

.lang-switch[open] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 172px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* The links of the list are not the links of the navigation: the rule of
   the navigation would give them the pill of a navigation entry. The
   selector carries the list on purpose - it has to beat `.top nav.open a`,
   which is the rule of the mobile menu. */
.top nav .lang-menu li a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 9px;
  white-space: nowrap;
}

.top nav .lang-menu li a:hover,
.top nav .lang-menu li a.current {
  color: var(--teal-800);
  background: var(--teal-50);
}

.top nav .lang-menu li a.current {
  font-weight: 700;
}

/* languages */

.langs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.langs li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-weight: 600;
  font-size: 15px;
}

.langs li span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 6px;
  padding: 5px 7px;
}

/* faq */

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 4px 20px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 16.5px;
  padding: 16px 30px 16px 0;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--teal-700);
  border-bottom: 2px solid var(--teal-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  color: var(--muted);
  margin: 0 0 16px;
}

/* cta band */

.cta {
  text-align: center;
  background: radial-gradient(700px 340px at 50% 0%, rgba(45, 212, 191, 0.24), transparent 65%),
    linear-gradient(150deg, #06322f, #0c534d 55%, #0f766e);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 66px) clamp(24px, 5vw, 60px);
  border: 0;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 54ch;
  margin: 0 auto 26px;
}

.cta .actions {
  justify-content: center;
}

/* footer */

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 24px 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-grid p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 12px 0 0;
  max-width: 34ch;
}

footer h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 700;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 9px;
}

footer li a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
}

footer li a:hover {
  color: var(--teal-700);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom strong {
  color: var(--ink);
}

.footer-bottom a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--teal-700);
}

.legal footer .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* -------------------------------------------------------- legal pages */

.legal main {
  padding-bottom: 40px;
}

.legal .hero {
  background: var(--bg-soft);
  color: var(--ink);
  padding: clamp(38px, 5vw, 58px) 24px;
  border-bottom: 1px solid var(--line);
}

.legal .hero::after {
  display: none;
}

.legal .hero .lead {
  color: var(--muted);
  margin-bottom: 0;
}

.legal .hero h1 {
  color: var(--ink);
}

.legal section {
  padding: 30px 24px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

/* --------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .phone {
    width: min(272px, 70vw);
  }
}

@media (max-width: 820px) {
  .top {
    padding: 0 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .top nav {
    display: none;
  }

  .top nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .top nav.open a {
    padding: 12px 10px;
    font-size: 16px;
  }

  .top .btn {
    display: none;
  }

  .top nav.open .btn {
    display: inline-flex;
    margin: 8px 0 0;
  }

  /* The dropdown opens in place inside the menu of the phone: a floating
     list would hang out of the menu panel and cover the page. */
  .lang-switch {
    position: static;
    margin: 4px 0 0;
    padding: 0;
    border-left: 0;
  }

  .lang-switch summary {
    padding: 12px 10px;
    font-size: 16px;
  }

  .top nav .lang-menu li a {
    padding: 11px 10px;
    font-size: 15px;
  }

  .lang-menu {
    position: static;
    min-width: 0;
    margin: 0 0 6px;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  main > section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .float-card {
    display: none;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .top,
  .cta,
  .showcase {
    display: none;
  }
}
