:root{
  --bg: #0b1020; /* slate-950 */
  --bg-2: #0f172a; /* slate-900 */
  --fg: #f0eef5;
  --muted:rgba(255,255,255,.88);
  --primary: #e956d3; /* cyan-400 */
  --accent: #a78bfa; /* violet-400 */
  --ring: rgba(168,85,247,.35);
  --card: rgba(255,255,255,.04);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-sm: 12px;
  --surface: rgba(255,255,255,.08);
  --surface-hover: rgba(255,255,255,.14);
  --border: rgba(255,255,255,.25);
  --container: 1100px;
  --section-space: 70px;
  --focus-size: 4px;
  --motion-fast: 180ms;
  --motion-normal: 320ms;
  --motion-reveal: 600ms;
  --ease-standard: cubic-bezier(.2,.7,.2,1);
  --ease-reveal: ease;
  --ease-float: ease-in-out;
  --reveal-distance: 16px;

  /* Gradient Stops (für Hintergrund + Browserleiste) */
  --grad-1: #9f36bb; /* top */
  --grad-2: #6254da; /* middle */
  --grad-3: #584bc4; /* bottom */
}

html{
  background: #7b49c3;
  overflow-x:hidden;
}
/* >>> durchgehender Seiten-Hintergrund <<< */
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, Apple Color Emoji, Segoe UI Emoji;
  color: var(--fg);
  /* Hintergrund via Pseudo-Element (fixiert, iOS-kompatibel) */
  background: transparent;
  line-height:1.6;
}

/* Fixierter Farbverlauf, auch auf iOS zuverlässig */
body::before{
  content:"";
  position:fixed;
  /* großflächig über den Rand hinaus, damit bei iOS-Overscroll keine Kanten sichtbar sind */
  inset:-50vh;
  z-index:-1;
  background: linear-gradient(180deg, var(--grad-1) 0%, var(--grad-2) 60%, var(--grad-3) 100%);
  background-size: cover;
  background-position: center top;
  pointer-events:none;
  transform: translateZ(0);
}

a{color:inherit; text-decoration:none}
.container{width:min(var(--container), calc(100% - 32px)); margin:0 auto}
:focus-visible{ outline:2px solid currentColor; outline-offset:4px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: transparent; /* kein farbiges Band */
  transition: transform var(--motion-normal) var(--ease-standard);
}

/* Keep header glass on its own layer so the submenu can blur the page behind it. */
body > header{backdrop-filter:none; -webkit-backdrop-filter:none;}
body > header::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; backdrop-filter:saturate(140%) blur(12px); -webkit-backdrop-filter:saturate(140%) blur(12px);}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.app-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px; /* leicht abgerundet, wie App-Icons */
  display: block;
}

/* --- Nav-Links schöner mit mehr Abstand --- */
.nav nav {
  display: flex;
  align-items: center; /* zentriert Links und Flagge vertikal auf Desktop */
  gap: 28px; /* Abstand zwischen Links – hier anpassen */
}

.nav nav a {
  display: inline-flex;           /* ermöglicht sauberes vertikales Zentrieren */
  align-items: center;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  min-height:44px;
  transition: color var(--motion-fast) var(--ease-standard);
}

.nav nav a:hover {
  color:#fff;
  text-decoration:underline;
  text-decoration-color:var(--primary);
  text-underline-offset:7px;
}

.nav nav a[aria-current="page"]{
  color:#fff;
  text-decoration:underline;
  text-decoration-color:var(--primary);
  text-decoration-thickness:2px;
  text-underline-offset:7px;
}

/* Sprachumschalter (eine Flagge, die beim Klick wechselt) */
.lang-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: 12px; /* Abstand zum letzten Nav-Link */
  min-width:44px;
  min-height:44px;
  justify-content:center;
}

/* Hamburger Toggle (hidden on desktop) */
.menu-toggle{
  display:none;
  align-items:center; justify-content:center;
  width:44px; height:44px;
  border:none; background:transparent; color:inherit;
  border-radius:10px;
  cursor:pointer;
}
.menu-toggle:focus-visible{ outline:none; box-shadow: 0 0 0 var(--focus-size) var(--ring); }
.menu-icon{ display:inline-flex; flex-direction:column; gap:5px; }
.menu-icon span{
  display:block; width:22px; height:2px; border-radius:2px;
  background: currentColor;
  transition: transform var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard);
}
header.nav-open .menu-icon span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
header.nav-open .menu-icon span:nth-child(2){ opacity:0; }
header.nav-open .menu-icon span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;  /* rund */
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 4px rgba(0,0,0,0.25);
  transition: transform var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard);
}

.flag:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Hero */
.hero{
  display:grid; grid-template-columns: 1.15fr .85fr;
  gap:36px; align-items:center; padding:70px 0 40px;
  overflow:visible; /* nichts abschneiden */
}
.title{font-size: clamp(28px, 3.4vw, 56px); line-height:1.1; letter-spacing:.2px; margin:0 0 14px}
.subtitle{color:var(--muted); font-size: clamp(16px, 1.2vw, 20px)}
.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:22px}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 18px; border-radius:14px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--fg); font-weight:600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  min-height:44px;
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
}

/* „Phone“ (Bild/Mockup) */
.phone{
  aspect-ratio: 9/19.5;
  border-radius:50px;
  overflow:hidden;                /* Kind folgt dem Radius */
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
  background: transparent;
  border:none;
  position:relative; display:grid; place-items:center;
}
.phone img{
  width:100%; height:100%; object-fit:cover;
  border-radius:50px; /* inner corner radius */
  padding:0;          /* KEIN Bezel-Padding -> kein sichtbarer Rahmen */
}
.screen:after{content:none;} /* alten Dummy vollständig neutralisieren */

/* Sections – transparent lassen, damit der Body-Gradient durchläuft */
section{padding:var(--section-space) 0; background: transparent;}
.grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.section-heading{max-width:900px; margin:0 0 28px;}
.section-heading h2{margin:0 0 8px; line-height:1.2;}
.section-heading p{margin:0;}
.hero-intro{color:var(--muted); line-height:1.65; max-width:720px; margin:18px 0 0;}
.plus-card{padding:26px;}
.plus-card h2{margin-top:0;}
.plus-card p:last-child{margin-bottom:0;}

/* Tighter spacing for stacked cards: Download, Impressum, Datenschutz */
/* Keep trio close together while preserving space above Download */
#download { padding-top: 40px; padding-bottom: 16px; }
#legal    { padding-top: 16px; padding-bottom: 14px; }
#privacy  { padding-top: 14px; padding-bottom: 24px; }
#reviews { padding-top: 40px; padding-bottom: 28px; overflow:hidden; }
@media (max-width: 640px){
  #download { padding-top: 28px; padding-bottom: 10px; }
  #legal    { padding-top: 10px; padding-bottom: 10px; }
  #privacy  { padding-top: 10px; padding-bottom: 16px; }
  #reviews { padding-top: 28px; padding-bottom: 18px; }
}

.card{
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);                       /* halbtransparentes Glas */
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--border);                  /* feiner heller Rand */
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);         /* dezenter Shadow */
  transition: background var(--motion-fast) var(--ease-standard);
}
@media (hover:hover){ .card:hover{ background:var(--surface-hover); } }
.card h3{margin:0 0 6px}
.muted{color:var(--muted)}

.reviews-heading h2{ margin:0 0 6px; }
.reviews-heading p{ margin:0; }
.reviews-scroller-wrap{ position:relative; }
.reviews-track{
  box-sizing:border-box;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
  margin:24px 0 0;
  padding:0 0 18px;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  outline:none;
  -webkit-mask-image:linear-gradient(to right, #000 0%, #000 calc(100% - 44px), transparent 100%);
  mask-image:linear-gradient(to right, #000 0%, #000 calc(100% - 44px), transparent 100%);
}
.reviews-track:focus-visible{ outline:none; box-shadow:0 0 0 var(--focus-size) var(--ring); border-radius:var(--radius-sm); }
.reviews-list{ display:flex; gap:16px; width:max-content; }
.review-card{
  box-sizing:border-box;
  width:clamp(280px, 31vw, 340px);
  min-height:280px;
  padding:22px;
  display:flex;
  flex-direction:column;
  scroll-snap-align:start;
  border-radius:var(--radius);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  border:1px solid rgba(255,255,255,.25);
  box-shadow:none;
}
.review-stars{ color:#ffd166; letter-spacing:2px; font-size:18px; line-height:1; }
.review-card h3{ margin:18px 0 8px; font-size:20px; line-height:1.25; }
.review-card p{ margin:0; color:var(--fg); line-height:1.55; }
.review-card footer{ margin-top:auto; padding:22px 0 0; color:var(--muted); font-size:14px; }
@media (max-width:960px){
  .review-card{ width:min(42vw, 340px); }
}
@media (max-width:640px){
  .review-card{ width:calc(88vw - 8px); min-height:0; }
}
@media (prefers-reduced-motion:reduce){
  .reviews-track{ scroll-behavior:auto; }
}

/* Newsletter */
.newsletter{display:flex; gap:10px; flex-wrap:wrap}
input[type=email]{flex:1 1 260px; padding:14px 16px; border-radius:12px; border:1px solid rgba(255,255,255,.14); background:#0b1226; color:var(--fg); outline:none}
input[type=email]:focus{box-shadow:0 0 0 6px var(--ring)}
.small{font-size:13px}

/* Footer */
footer{padding:40px 0 70px; color:var(--muted);}
footer a{color:var(--fg)}
.footer-row{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.social-links{margin-bottom:16px; display:flex; gap:16px;}
.social-links a{display:inline-flex; width:48px; height:48px; border-radius:var(--radius-sm);}
.social-links img{display:block;}
.legal-main{margin-top:32px;}
.legal-card{padding:26px;}
.legal-card h1,.download-card h2{margin-top:0;}
.legal-back-link{margin-top:24px;}
.download-card{padding:26px; text-align:center;}
.collapse-card{padding:0;}
.collapse-content .inner{padding:26px;}
.appstore-badge{display:block; width:200px; max-width:100%; height:auto;}
.appstore-badge--hero{margin-top:24px;}
.appstore-badge--download{margin:16px auto 0;}

/* Responsive */
@media (max-width: 960px){
  .hero{grid-template-columns:1fr}
  .phone{order:-1; max-width:400px; justify-self:center}
  .grid{grid-template-columns:1fr 1fr}
  /* App-Store-Badge im Hero auf Mobilgeräten zentrieren */
  #appstore-badge-hero{ display:block; margin-inline:auto; }
}
@media (max-width: 640px){
  .grid{grid-template-columns:1fr}
}

/* Simple section anchors */
.anchor{scroll-margin-top:84px}

/* Screenshots – clean, ohne Rahmen */
.screenshot {
  aspect-ratio: 9 / 19.5;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: grid;
  place-items: center;

  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  background: transparent;
  border: none;
}
.screenshot:focus-visible{ outline:none; box-shadow:0 0 0 var(--focus-size) var(--ring), 0 20px 40px rgba(0,0,0,0.35); }

.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: opacity var(--motion-normal) var(--ease-standard), filter var(--motion-normal) var(--ease-standard);
}

.screenshot .screenshot-text {
  padding: clamp(16px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertikal zentriert */
  align-items: flex-start;    /* linksbündig ausrichten */
  text-align: left;          /* Text linksbündig */
  gap: 8px;                  /* gleichmäßiger Abstand zwischen Zeilen */
  color: #fff;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  z-index: 1;                /* sicher über dem Bild */
  transition: opacity var(--motion-normal) var(--ease-standard);
}

/* Typografie im Overlay klar ausrichten */
.screenshot .screenshot-text h3 {
  margin: 0 0 4px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.2;
}

.screenshot .screenshot-text p {
  margin: 0;
  max-width: 46ch;          /* bessere Lesbarkeit in schmaler Spalte */
  line-height: 1.5;
  opacity: .95;
}

/* <<< Hier der Unterschied: bei Hover blendet der Text ein >>> */
@media (hover:hover){
  .screenshot:hover img { opacity: .18; filter:blur(2px); }
  .screenshot:hover .screenshot-text { opacity: 1; }
}

/* Tap support: toggle via .active on mobile */
.screenshot.active img { opacity: .18; filter:blur(2px); }
.screenshot.active .screenshot-text { opacity: 1; }

/* Meet Mow – simple, no card */
.about{
  display:grid;
  grid-template-columns: 1.05fr .95fr; /* Bild | Text */
  gap:36px;
  align-items:center;
  padding:70px 0;
  background:transparent; /* kein Rahmen / keine Karte */
}
.about-pretitle {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  margin: 0 0 14px;
}
.about-title{
  font-size: clamp(20px, 2.2vw, 36px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.about-text{
  font-size: clamp(16px, 1.15vw, 20px);
  color: var(--fg);
  opacity:.95;
}
.mow-ill{
  margin:0;
  display:grid;
  place-items:center;
}
.mow-ill img{
  width:100%;
  max-width: 520px;      /* begrenzen damit es nicht zu groß wird */
  height:auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
  border-radius: 22px;   /* sanft – wirkt freundlicher */
  background: transparent;
  /* kein Rahmen */
}
/* Mow Illustration */
.mow-ill {
  max-width: 300px;
  margin: 0 auto;
}

.mow-ill img {
  width: 100%;
  display: block;

  animation: float 4s var(--ease-float) infinite; /* sanftes Schweben */
  transform: translateZ(0);                /* GPU-Kick für Safari/iOS */
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); } /* leicht nach oben */
  100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 960px){
  .about{ grid-template-columns: 1fr; }
  .mow-ill{ order:-1; }  /* Bild über Text auf Mobile */
  .mow-ill img{ max-width: 420px; }
}

/* Navigation + layout for smaller phones */
@media (max-width: 900px){
  .menu-toggle{ display:inline-flex; }

  /* Header-Nav klappt auf/zu statt Dropdown-Overlay */
  /* Erste Zeile: Brand links, Toggle rechts; darunter klappt die Nav auf */
  .nav{
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 12px;
  }
  .nav nav{
    display:flex;
    flex-direction:column; gap:10px;
    align-items: flex-start;      /* auf Mobile linksbündig statt mittig */
    padding: 0 0; /* Padding wird über Links geregelt */
    overflow:hidden;
    max-height:0;               /* zugeklappt */
    visibility:hidden;
    pointer-events:none;
    transition:max-height var(--motion-normal) var(--ease-standard), visibility 0s linear var(--motion-normal);
    /* keine Glas-Overlay-Optik mehr – Teil des Headers */
    background: transparent;
    border: 0;
    box-shadow: none;
    grid-column: 1 / -1;       /* unter Brand + Toggle */
  }
  header.nav-open .nav nav{
    /* Höhe wird via JS (max-height) animiert; hier nur Fallback */
    max-height: 400px;
    visibility:visible;
    pointer-events:auto;
    transition-delay:0s;
  }

  .lang-switch{ margin-left:0; }
  .nav nav a{ padding:10px 2px; }
  .nav nav a:focus-visible{
    outline:none;
    border-radius:8px;
    box-shadow:inset 0 0 0 2px currentColor;
  }
}

/* Phone-friendly spacing */
@media (max-width: 640px){
  section { padding: 44px 0; }
  .hero { padding: 44px 0 24px; gap: 20px; }
  .phone { max-width: 320px; }
  .nav nav a { padding: 6px 0; }
}

/* Mobile: Header beim Runter-Scroll ausblenden (einfach) */
@media (max-width: 900px){
  header.header-hidden { transform: translateY(-100%); }
}

/* ==== Scroll-Reveal (auto) ==== */
.reveal {
  opacity: 0;
  transform: var(--reveal-t, translateY(var(--reveal-distance)));
  filter: var(--reveal-f, blur(4px));
  transition: opacity var(--reveal-duration, var(--motion-reveal)) var(--ease-reveal), transform var(--reveal-duration, var(--motion-reveal)) var(--ease-reveal), filter var(--reveal-duration, var(--motion-reveal)) var(--ease-reveal);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Varianten */
.anim-fade        { --reveal-t: translateY(8px); --reveal-f: blur(2px); }
.anim-fade-up     { --reveal-t: translateY(18px); }
.anim-fade-right  { --reveal-t: translateX(24px); }
.anim-fade-left   { --reveal-t: translateX(-24px); }
.anim-zoom-in     { --reveal-t: scale(.96); --reveal-f: blur(1px); }

/* Stagger via CSS-Var */
.reveal { transition-delay: var(--delay, 0s); }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html:focus-within{ scroll-behavior:auto; }
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
    transition-delay:0ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .mow-ill img{ transform:none; }
}

/* Collapsible – für Impressum & Datenschutz */
.collapse-header{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:18px 22px; border:none; background:transparent; color:inherit;
  cursor:pointer; font:inherit; text-align:left;
}
.collapse-title{ margin:0; }
.chevron{ display:inline-flex; transition: transform var(--motion-normal) var(--ease-standard); }

/* Content Slide-Down via max-height */
.collapse-content{
  max-height:0;
  overflow:hidden;
  opacity: 0;
  transition:
    max-height var(--motion-reveal) var(--ease-standard),
    opacity var(--motion-normal) var(--ease-standard);
}
.collapse-card.is-open .collapse-content{ opacity: 1; }
/* dünne Trennlinie oben, wenn offen (für alle Collapse-Karten) */
.collapse-card.is-open .inner{ border-top:1px solid rgba(255,255,255,.06); }
.collapse-card.is-open .chevron{ transform:rotate(180deg); }

.collapse-content .inner h3{
  margin:28px 0 10px;
  line-height:1.25;
}
.collapse-content .inner h4{
  margin:22px 0 8px;
  color:var(--fg);
  line-height:1.3;
}
.collapse-content .inner p{ margin:0 0 14px; }
.collapse-content .inner ul{ margin:0 0 16px; padding-left:22px; }
.collapse-content .inner li{ margin:0 0 6px; }

@media (prefers-reduced-motion: reduce){
  .collapse-content{ transition:none; }
  .chevron{ transition:none; }
}

/* Cookie Banner */
.cookie-banner{
  box-sizing: border-box;
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom, 0px) + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 420px);
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--fg);
  z-index: 60;
}

.cookie-banner.hidden{ display:none; }

.cookie-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
}

.cookie-button{
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.10);
  color: var(--fg);
  font-weight: 600;
  cursor: pointer;
  min-height:44px;
  transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
}

.cookie-button:hover{ background: rgba(255,255,255,0.16); }
.cookie-button:active{ transform: translateY(1px); }
.cookie-button:focus-visible{ outline:none; box-shadow: 0 0 0 var(--focus-size) var(--ring); }

@media (max-width: 520px){
  .cookie-banner{ bottom: max(14px, env(safe-area-inset-bottom, 0px) + 14px); padding: 16px; gap: 12px; }
  .cookie-button{ align-self: stretch; text-align: center; }
}

@media (min-width: 640px){
  .cookie-banner{
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .cookie-text{ flex: 1; }
  .cookie-button{ align-self: center; margin-left: auto; }
}

/* Knowledge library */
.knowledge-page header{
  background:rgba(68, 51, 151, .26);
}

.knowledge-main{
  padding-bottom:32px;
}

.knowledge-hero{
  max-width:820px;
  padding:82px 0 46px;
}

.eyebrow{
  margin:0 0 12px;
  color:rgba(255,255,255,.90);
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.knowledge-hero h1,
.article-header h1{
  margin:0;
  font-size:clamp(38px, 6vw, 68px);
  line-height:1.05;
  letter-spacing:-.025em;
}

.knowledge-hero > p:last-child{
  max-width:700px;
  margin:22px 0 0;
  color:rgba(255,255,255,.90);
  font-size:clamp(17px, 2vw, 21px);
  line-height:1.65;
}

.knowledge-category{
  padding:34px 0 54px;
}

.knowledge-category .section-heading{
  margin-bottom:22px;
}

.knowledge-category .section-heading h2{
  font-size:clamp(26px, 3vw, 36px);
}

.knowledge-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.knowledge-card{
  box-sizing:border-box;
  min-height:230px;
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:
    opacity var(--motion-reveal) var(--ease-reveal) var(--delay, 0s),
    transform var(--motion-normal) var(--ease-standard) var(--delay, 0s),
    filter var(--motion-reveal) var(--ease-reveal) var(--delay, 0s),
    background var(--motion-fast) var(--ease-standard),
    box-shadow var(--motion-fast) var(--ease-standard);
}

.knowledge-card__category{
  color:rgba(255,255,255,.88);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.knowledge-card h3{
  margin:13px 0 10px;
  font-size:clamp(21px, 2vw, 27px);
  line-height:1.2;
}

.knowledge-card p{
  margin:0 0 22px;
  color:rgba(255,255,255,.88);
  line-height:1.6;
}

.knowledge-card__link{
  margin-top:auto;
  font-weight:700;
}

@media (hover:hover){
  .knowledge-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 34px rgba(0,0,0,.28);
  }
}

.feature-link{
  display:block;
}

.article-main{
  padding:0 0 44px;
}

.breadcrumbs{
  width:min(780px, 100%);
  margin:0 auto;
  padding:44px 0 0;
  display:flex;
  align-items:center;
  gap:9px;
  color:rgba(255,255,255,.88);
  font-size:14px;
}

.breadcrumbs a,
.related__heading a{
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.48);
  text-underline-offset:4px;
}

.knowledge-article > .article-header{
  position:static;
  z-index:auto;
  width:min(780px, 100%);
  margin:0 auto;
  padding:58px 0 46px;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.article-header h1{
  max-width:14ch;
  font-size:clamp(36px, 5.5vw, 64px);
}

.article-content{
  width:min(740px, 100%);
  margin:0 auto;
  font-size:clamp(17px, 1.45vw, 19px);
  line-height:1.78;
}

.article-content p{
  margin:0 0 1.35em;
}

.article-content h2{
  margin:2.25em 0 .8em;
  font-size:clamp(24px, 3vw, 33px);
  line-height:1.22;
  letter-spacing:-.015em;
}

.article-content ul{
  margin:.2em 0 1.55em;
  padding-left:1.35em;
}

.article-content li{
  margin:.45em 0;
  padding-left:.2em;
}

.article-content a{
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.55);
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

.article-content a:hover{
  color:#fff;
  text-decoration-color:var(--primary);
}

.citation-ref{
  margin-left:.14em;
  font-size:.68em;
  line-height:0;
  vertical-align:super;
}

.citation-ref + .citation-ref{
  margin-left:.24em;
}

.article-content .citation-ref__link{
  padding:.08em .12em;
  border-radius:4px;
  color:rgba(255,255,255,.92);
  font-weight:750;
  font-variant-numeric:tabular-nums;
  text-decoration:none;
}

.article-content .citation-ref__link:hover{
  color:#fff;
  text-decoration:underline;
  text-decoration-color:var(--primary);
  text-underline-offset:2px;
}

.article-sources{
  width:min(740px, 100%);
  margin:48px auto 0;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.22);
}

.article-sources h2{
  margin:0 0 16px;
  font-size:clamp(21px, 2.4vw, 27px);
  line-height:1.25;
}

.article-sources ol{
  margin:0;
  padding-left:1.55em;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.55;
}

.article-sources li{
  margin:.7em 0;
  padding-left:.2em;
}

.article-sources li::marker{
  color:rgba(255,255,255,.76);
  font-variant-numeric:tabular-nums;
}

.source-credit{
  font-weight:700;
}

.source-link{
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.48);
  text-underline-offset:3px;
}

.source-link:hover{
  color:#fff;
  text-decoration-color:var(--primary);
}

.mow-callout{
  box-sizing:border-box;
  margin:2.2em 0 0;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.25);
  border-left:3px solid var(--primary);
  border-radius:var(--radius-sm);
  background:rgba(255,255,255,.08);
  box-shadow:0 8px 28px rgba(0,0,0,.16);
}

.mow-callout__label{
  display:block;
  margin:0 0 5px;
  font-size:14px;
  font-weight:750;
}

.mow-callout p{
  margin:0;
}

/* Extensions use the existing colours, type and surfaces. */
.article-byline{margin:18px 0 0; font-size:14px; line-height:1.7; color:var(--muted);}
.article-byline a{color:inherit; text-underline-offset:3px;}
.article-byline span{opacity:.85;}
.mow-callout{display:grid; grid-template-columns:76px minmax(0,1fr); gap:18px; align-items:center;}
.mow-callout__mow{display:block; width:76px; height:76px; object-fit:contain; animation:mow-comment-float 6s ease-in-out infinite;}
.mow-callout__text{min-width:0;}
@keyframes mow-comment-float{0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)}}
.article-download{width:min(740px,100%); margin:26px auto 0; padding:0; color:var(--muted); font-size:16px; line-height:1.65;}
.article-download__title{font-weight:700; color:var(--fg); margin:0 0 6px;}
.article-download p{margin:0 0 12px;}
.article-store-link{display:inline-block; margin:8px 0 10px; vertical-align:middle;}
.article-store-link img{width:170px; height:auto;}
.article-download__more{display:block; font-size:14px; text-underline-offset:4px;}
.product-screenshot{max-width:280px; margin:36px auto;}
.product-screenshot img{display:block; width:100%; height:auto; border-radius:28px;}
.product-screenshot figcaption{font-size:14px; color:var(--muted); text-align:center; margin-top:12px;}
.product-links{line-height:2; margin-top:30px; font-size:15px;}
.article-content .practice-badges{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); gap:24px; padding:0; margin:24px 0; list-style:none; font-size:15px; line-height:1.6;}
.practice-badges li{display:grid; grid-template-columns:72px minmax(0,1fr); gap:14px; align-items:start; margin:0;}
.practice-badges img{display:block; width:72px; height:72px; object-fit:contain;}
.practice-badges strong{display:block; margin:0 0 6px; color:var(--fg);}
.article-content .practice-badges__label{margin-bottom:12px; font-size:14px; font-weight:600; color:var(--muted);}
.practice-badges p{margin:0; color:var(--muted);}
.about-mow{display:flow-root;}
.about-mow__image{float:right; width:112px; height:112px; margin:0 0 14px 18px; object-fit:contain;}
.about-tobias{display:flow-root;}
.about-tobias__portrait{position:relative; display:block; float:right; width:112px; height:112px; margin:0 0 14px 18px; border-radius:50%; overflow:hidden;}
.about-tobias__portrait img{display:block; width:100%; height:100%; object-fit:cover; object-position:center 90%;}
.feature-menu{position:relative;}
.feature-menu summary{display:flex; flex-wrap:nowrap; white-space:nowrap; gap:8px; align-items:center; min-height:44px; padding:4px 0; list-style:none; cursor:pointer; font-weight:500;}
.feature-menu summary::-webkit-details-marker{display:none;}
.feature-menu__chevron{display:block; flex:0 0 16px; width:16px; height:16px; transform-origin:50% 50%; transition:transform var(--motion-fast) var(--ease-standard);}
.feature-menu[open] .feature-menu__chevron{transform:rotate(180deg);}
.feature-menu summary:hover{color:#fff;}
.feature-menu summary:focus-visible{outline:2px solid var(--primary); outline-offset:5px; border-radius:4px;}
.feature-menu__links{position:absolute; z-index:60; top:100%; left:-16px; min-width:260px; padding:12px 16px; border:1px solid rgba(255,255,255,.25); border-radius:var(--radius-sm); background:rgba(33,24,61,.76); backdrop-filter:blur(28px) saturate(140%); -webkit-backdrop-filter:blur(28px) saturate(140%); box-shadow:0 12px 32px rgba(0,0,0,.3);}
.nav nav .feature-menu__links a{display:flex; min-height:44px; padding:6px 4px; white-space:normal;}
@media (max-width:900px){
  .feature-menu{width:100%;}
  .feature-menu summary{padding:10px 2px;}
  .feature-menu__links{position:static; min-width:0; margin:0 0 8px 10px; padding:0 0 0 14px; border:0; border-left:2px solid var(--primary); border-radius:0; background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none;}
  header.nav-open .nav nav{overflow-y:auto; overscroll-behavior:contain;}
}
@media (max-width:480px){
  .mow-callout{grid-template-columns:56px minmax(0,1fr); gap:12px; padding:18px 14px;}
  .mow-callout__mow{width:56px; height:56px;}
}
@media (prefers-reduced-motion:reduce){
  .mow-callout__mow{animation:none; transform:none;}
  .feature-menu__chevron{transition:none;}
}

.related{
  width:min(900px, 100%);
  margin:88px auto 0;
  padding-top:34px;
  border-top:1px solid rgba(255,255,255,.22);
}

.related__heading{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:18px;
  margin-bottom:20px;
}

.related__heading h2{
  margin:0;
  font-size:clamp(26px, 3vw, 34px);
}

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

.related-card{
  min-height:155px;
  padding:20px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:9px 16px;
  align-content:start;
}

.product-main .related-card{min-height:0; padding:16px 18px; align-items:center; align-content:center;}
.product-main .related-card strong{min-height:2.7em; display:flex; align-items:center;}
@media (min-width:901px){
  .product-main .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

.related-card > span:first-child{
  grid-column:1 / -1;
  color:rgba(255,255,255,.88);
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.related-card strong{
  line-height:1.35;
}

@media (max-width:900px){
  .nav nav{ gap:18px; }
  .related-grid{ grid-template-columns:1fr; }
  .related-card{ min-height:0; }
}

@media (max-width:700px){
  .knowledge-grid{ grid-template-columns:1fr; }
  .knowledge-card{ min-height:0; }
  .knowledge-hero{ padding:54px 0 30px; }
  .knowledge-category{ padding:30px 0 38px; }
  .breadcrumbs{ padding-top:28px; }
  .knowledge-article > .article-header{ padding:38px 0 34px; }
  .article-content{ line-height:1.7; }
  .article-content h2{ margin-top:1.9em; }
  .related{ margin-top:62px; }
  .related__heading{ align-items:flex-start; flex-direction:column; }
}
