:root {
  color-scheme: light;
  --bg: #f4eee4;
  --bg-soft: #fffaf2;
  --surface: #fffdf7;
  --surface-strong: #fff6e6;
  --text: #122118;
  --text-muted: #4f6358;
  --primary: #1b6b5f;
  --primary-strong: #14554b;
  --border: #d5cdbf;
  --shadow-strong-color: rgba(17, 24, 39, 0.24);
  --shadow: 0 16px 30px rgba(16, 30, 26, 0.08);
  --popup-shadow: 0 18px 40px var(--shadow-strong-color), 0 3px 10px rgba(17, 24, 39, 0.18);
  --radius: 14px;
  --font: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-spacer-height: 72px;
}

:root[data-color-mode="dark"] {
  color-scheme: dark;
  --bg: #121917;
  --bg-soft: #17221f;
  --surface: #1a2622;
  --surface-strong: #22332c;
  --text: #edf5ef;
  --text-muted: #c6d5ce;
  --primary: #63c9b2;
  --primary-strong: #7fe0ca;
  --border: #31453d;
  --shadow-strong-color: rgba(0, 0, 0, 0.24);
  --shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  --popup-shadow: 0 22px 42px rgba(0, 0, 0, 0.36), 0 3px 10px var(--shadow-strong-color);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at top left, var(--bg-soft), var(--bg));
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

[data-not-found-locale]:not([hidden]) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 8px;
  z-index: 100;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.header-spacer {
  height: var(--header-spacer-height);
}

@supports (background: color-mix(in srgb, white, black)) {
  .site-header {
    background: color-mix(in srgb, var(--surface), #FFFFFF00 12%);
  }

  .testimonial-button {
      border: 1px solid color-mix(in srgb, var(--primary), #ffffff 42%);
  }

  .testimonial-button:hover {
    background: color-mix(in srgb, var(--primary), #ffffff 92%);
  }

  .testimonial-readmore {
    border-bottom: 2px solid color-mix(in srgb, var(--primary), transparent 70%);
  }
  .testimonial-readmore:hover {
    border-bottom-color: color-mix(in srgb, var(--primary), transparent 45%);
  }
}

.header-content {
  padding: 19px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px 20px;
}

.brand {
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 16px;

  /* max-height: 0;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none; */
}

.site-nav a,
.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switcher label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.language-switcher select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--surface);
  color: var(--text);
}

.language-switcher--footer {
  display: none;
}

.site-main {
  flex: 1 0 auto;
  padding: 40px 0 64px;
}

.hero {
  background: linear-gradient(135deg, var(--surface), var(--surface-strong));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  margin: 12px 0 28px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-body {
  margin: 8px 0 14px;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 11px 16px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-strong);
}

.button-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.content-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card h2,
.content-shell h1 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p,
.content-shell p {
  margin: 0;
  color: var(--text-muted);
}

.manual-page {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
}

.content-hero {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.content-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.content-hero h1 a {
  color: inherit;
  text-decoration: none;
}

.content-hero h1 a:hover,
.content-hero h1 a:focus-visible {
  color: var(--primary);
}

.content-hero p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

.manual-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.manual-page p,
.manual-page li,
.manual-page td {
  font-size: 1.05rem;
  line-height: 1.7;
}

.manual-page p,
.manual-page ul,
.manual-page ol,
.manual-page table {
  margin: 0 0 1rem;
}

.manual-page strong,
.manual-page em {
  color: var(--text);
}

.manual-page ul,
.manual-page ol {
  padding-left: 1.4rem;
}

.manual-page a {
  text-underline-offset: 0.14em;
}

.manual-toc {
  margin: 0 0 1.75rem;
  padding-left: 1.4rem;
}

.manual-toc li + li {
  margin-top: 0.45rem;
}

.manual-image {
  margin: 1.25rem 0 1.5rem;
  text-align: center;
}

.manual-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
  box-shadow: 0 18px 34px rgba(18, 33, 24, 0.08);
}

:root[data-color-mode="dark"] .manual-image img {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-strong), #ffffff 6%), var(--bg-soft));
  box-shadow: 0 18px 34px var(--shadow-strong-color);
}

.manual-image-tall-limit img {
  width: auto;
  max-width: 100%;
  max-height: 240px;
}

.manual-toolbar-table {
  width: 100%;
  border-collapse: collapse;
}

.manual-toolbar-table td {
  padding: 0.55rem 0;
  vertical-align: top;
}

.manual-toolbar-table td:first-child {
  width: 76px;
}

.manual-toolbar-icon {
  width: 58px;
  height: 40px;
  display: block;
}

.page-nav {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.page-nav-bottom {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.page-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  align-items: center;
}

.page-nav-links a {
  font-weight: 600;
  text-decoration: none;
}

.page-nav-links a + a::before {
  content: "|";
  color: var(--text-muted);
  margin-right: 0.6rem;
}

.support-hero {
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 184, 107, 0.12), transparent 32%),
    radial-gradient(circle at 0% 76%, rgba(27, 107, 95, 0.06), transparent 30%),
    linear-gradient(140deg, var(--surface) 0%, var(--surface-strong) 56%, #f8ecd8 100%);
}
.support-hero p {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}
.support-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.support-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(255, 246, 230, 0.55) 100%);
}
.support-card-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 184, 107, 0.12), transparent 32%),
    linear-gradient(160deg, rgba(255, 253, 247, 0.97) 0%, rgba(255, 247, 234, 0.72) 100%);
  box-shadow: 0 16px 30px rgba(16, 30, 26, 0.1);
}
.support-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(27, 107, 95, 0.68), rgba(255, 184, 107, 0.56));
}
.support-card-primary::before {
  height: 3px;
  background: linear-gradient(90deg, rgba(27, 107, 95, 0.9), rgba(255, 184, 107, 0.78));
}
.support-card-secondary {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(245, 248, 241, 0.6) 100%);
}
.support-card-secondary::before {
  background: linear-gradient(90deg, rgba(255, 184, 107, 0.58), rgba(27, 107, 95, 0.66));
}

:root[data-color-mode="dark"] .support-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(176, 120, 70, 0.14), transparent 32%),
    radial-gradient(circle at 0% 76%, rgba(99, 201, 178, 0.08), transparent 30%),
    linear-gradient(140deg, #171f1c 0%, #22302a 56%, #131917 100%);
}
:root[data-color-mode="dark"] .support-card {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(43, 58, 50, 0.82) 100%);
}
:root[data-color-mode="dark"] .support-card-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(176, 120, 70, 0.14), transparent 32%),
    linear-gradient(160deg, rgba(26, 38, 34, 0.97) 0%, rgba(34, 49, 43, 0.92) 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}
:root[data-color-mode="dark"] .support-card-secondary {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(35, 51, 44, 0.84) 100%);
}
:root[data-color-mode="dark"] .support-card::before {
  background: linear-gradient(90deg, rgba(99, 201, 178, 0.72), rgba(176, 120, 70, 0.52));
}
:root[data-color-mode="dark"] .support-card-primary::before {
  background: linear-gradient(90deg, rgba(99, 201, 178, 0.9), rgba(176, 120, 70, 0.68));
}
:root[data-color-mode="dark"] .support-card-secondary::before {
  background: linear-gradient(90deg, rgba(176, 120, 70, 0.54), rgba(99, 201, 178, 0.64));
}

.support-card h2,
.support-card p {
  margin: 0;
}

.support-card h2 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.support-list {
  margin: 0;
  padding-left: 22px;
  color: var(--text-muted);
}

.support-list li {
  margin: 8px 0;
}

.support-card .button {
  margin-top: auto;
  width: fit-content;
}

@media (max-width: 720px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .manual-page {
    padding: 20px;
  }

  .manual-image-tall-limit img {
    max-height: 280px;
  }
}

.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 22px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-content p {
  margin: 0;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


.consent-banner[hidden] {
  display: none;
}

.consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  inline-size: max-content;
  max-inline-size: calc(100% - 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--popup-shadow);
  padding: 16px;
  display: block;
  z-index: 40;
}

.consent-copy p {
  margin: 0px 0px 20px;
  color: var(--text);
}
.consent-copy strong {
  color: var(--text-muted);
}

.consent-actions {
  display: inline-flex;
  gap: 10px;
}

.landing-stack {
  display: grid;
  gap: 24px;
}

.not-found-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 184, 107, 0.28), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(27, 107, 95, 0.12), transparent 24%),
    linear-gradient(140deg, var(--surface) 0%, var(--surface-strong) 58%, #f8ecd8 100%);
}

.not-found-hero::after {
  content: "♪  ♫  ♬";
  position: absolute;
  right: 26px;
  bottom: 20px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0.2em;
  color: rgba(27, 107, 95, 0.18);
  pointer-events: none;
}

.not-found-shell {
  padding: clamp(24px, 3vw, 32px);
}

.not-found-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
  gap: clamp(22px, 3vw, 30px);
  align-items: start;
}

.not-found-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.not-found-copy h2,
.not-found-aside p {
  margin-top: 0;
}

.not-found-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.not-found-list {
  margin: 0 0 1.35rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.not-found-list li + li {
  margin-top: 0.7rem;
}

.not-found-note {
  margin: 0;
  color: var(--text-muted);
}

.not-found-copy .button {
  margin-top: 1.25rem;
}

.not-found-aside {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background:
    radial-gradient(circle at top right, rgba(255, 184, 107, 0.14), transparent 34%),
    linear-gradient(180deg, var(--surface) 0%, rgba(255, 250, 242, 0.96) 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.not-found-aside-label {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.not-found-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.not-found-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(18, 33, 24, 0.06);
}

.not-found-aside-copy {
  margin: 0;
  color: var(--text-muted);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 184, 107, 0.34), transparent 34%),
    radial-gradient(circle at 0% 76%, rgba(27, 107, 95, 0.14), transparent 32%),
    linear-gradient(140deg, var(--surface) 0%, var(--surface-strong) 52%, #fcf2e1 100%);
  box-shadow: var(--shadow);
  padding: 34px;
}

:root[data-color-mode="dark"] .landing-hero,
:root[data-color-mode="dark"] .final-cta {
  background:
    radial-gradient(circle at 84% 18%, rgba(176, 120, 70, 0.14), transparent 34%),
    radial-gradient(circle at 0% 76%, rgba(99, 201, 178, 0.07), transparent 32%),
    linear-gradient(140deg, #171f1c 0%, #22302a 52%, #131917 100%);
}

:root[data-color-mode="dark"] .not-found-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(176, 120, 70, 0.18), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(99, 201, 178, 0.08), transparent 24%),
    linear-gradient(140deg, #171f1c 0%, #22302a 58%, #131917 100%);
}

:root[data-color-mode="dark"] .not-found-hero::after {
  color: rgba(99, 201, 178, 0.18);
}

:root[data-color-mode="dark"] .not-found-aside {
  background:
    radial-gradient(circle at top right, rgba(176, 120, 70, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(26, 38, 34, 0.98) 0%, rgba(34, 49, 43, 0.94) 100%);
}

:root[data-color-mode="dark"] .not-found-notes span {
  background: var(--surface-strong);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

:root[data-color-mode="dark"] .landing-hero h1,
:root[data-color-mode="dark"] .final-cta h2,
:root[data-color-mode="dark"] .testimonials-page-hero h1,
:root[data-color-mode="dark"] .feature-card h3,
:root[data-color-mode="dark"] .showcase-copy h3,
:root[data-color-mode="dark"] .support-card h2,
:root[data-color-mode="dark"] .manual-page h2 {
  color: #fff8ef;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.landing-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.landing-hero-copy .hero-body {
  margin-top: 12px;
}

.landing-device-caption {
  margin: 16px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

.testimonials-caption {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.testimonials-caption strong {
  font-weight: 700;
}

.phone-frame {
  --phone-bezel-image: url("/assets/images/iPhone%20Bezels/iPhone%2017%20Pro/iPhone%2017%20Pro%20-%20Cosmic%20Orange%20-%20Portrait.webp");
  margin: 0;
  width: 180px;
  height: auto;
  padding: 9.6px 8.5px;
  border: none;
  justify-self: center;
  position: relative;
}

.landing-hero-shot {
  margin: 0;
  justify-self: center;
  width: 310px;
  padding: 16.5px 14.5px;
}

.phone-frame img {
  margin: 0;
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 15% / 7%;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--phone-bezel-image) center / contain no-repeat;
  z-index: 2;
  pointer-events: none;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.landing-testimonials .testimonial-rotator {
  margin-top: 0;
}

.testimonial-kicker {
  font-size: 0.92rem;
  margin: 0px;
  font-weight: 700;
  color: var(--primary);
}

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

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 9px 0 0;
  color: var(--text-muted);
}

.landing-showcase {
  display: grid;
  gap: 18px;
}

.landing-showcase-heading {
  margin-bottom: 4px;
}

.showcase-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr minmax(190px, 300px);
  align-items: center;
}

.showcase-row.reverse {
  grid-template-columns: minmax(190px, 300px) 1fr;
}

.showcase-row.reverse .showcase-copy {
  order: 2;
}

.showcase-copy h3 {
  margin: 0;
  font-size: 1.25rem;
}

.showcase-copy p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.showcase-row img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonial-rotator {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.testimonial-rating-inline {
  margin: 4px 0 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.testimonial-stars {
  margin: 0;
  color: #e29a0f;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.testimonial-rotator blockquote .testimonial-body {
  line-height: 1.55;
  min-height: calc(1.55em * 3);
  max-height: calc(1.55em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin: 0;
  color: var(--text);
  line-height: 1.68;
}

blockquote cite {
  display: inline-block;
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.92rem;
}


.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.testimonial-button {
  border: 1px solid var(--primary);
  background: var(--surface);
  color: var(--primary-strong);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

:root[data-color-mode="dark"] .testimonial-button {
  background: color-mix(in srgb, var(--surface), #ffffff 8%);
}

.testimonial-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary), transparent 80%);
}

.testimonial-readmore {
  margin-left: auto;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.testimonials-title {
  margin: 0;
}

.testimonials-page-hero {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface), #fff3e1);
  box-shadow: var(--shadow);
  padding: 26px;
}

:root[data-color-mode="dark"] .testimonials-page-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(176, 120, 70, 0.12), transparent 34%),
    linear-gradient(145deg, var(--surface), #22312b);
}

.testimonials-page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

.testimonials-back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 700;
  text-decoration: none;
}

.testimonials-list-wrap {
  margin-top: 24px;
}

.testimonials-list {
  display: grid;
  gap: 14px;
}

.testimonial-card-full {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
  scroll-margin-top: 20px;
}

.testimonial-card-full:target {
  border-color: color-mix(in srgb, var(--primary), #ffffff 20%);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--primary), transparent 80%),
    var(--shadow);
}

.testimonial-card-stars {
  margin: 0 0 10px;
  color: #e29a0f;
  letter-spacing: 0.08em;
  font-size: 1.00rem;
}

.testimonial-card-full blockquote {
  margin: 0;
}

.testimonial-card-full blockquote p {
  margin: 0;
  color: var(--text);
  line-height: 1.68;
}

.testimonial-card-full blockquote cite {
  display: inline-block;
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.92rem;
}

.testimonials-cta-wrap {
  margin-top: 24px;
}

.final-cta {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  background: linear-gradient(135deg, var(--surface), #fdf3e5);
}

:root[data-color-mode="dark"] .button-primary {
  color: #10201b;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.final-cta p {
  margin: 9px 0 0;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .has-scroll-reveal .reveal-on-scroll {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 520ms ease-out, transform 520ms ease-out;
    will-change: opacity, transform;
  }

  .has-scroll-reveal .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .landing-hero {
    padding: 26px;
  }

  .landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero h1 {
    max-width: none;
  }

  .landing-hero-shot {
    max-width: 290px;
  }

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-copy {
    order: 0;
  }

  .testimonial-controls {
    flex-wrap: wrap;
  }

  .language-switcher--header {
    display: none;
  }

  .language-switcher--footer {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 760px) {
  :root {
    --header-spacer-height: 88px;
  }
  .header-content {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    transition: min-height 200ms ease, padding 200ms ease;
  }

  .site-header.is-collapsed .header-content {
    padding: 8px 0;
  }

  .site-nav {
    margin-top: 12px;
    opacity: 1;
    transition: max-height 200ms ease, opacity 200ms ease, transform 200ms ease;
    will-change: opacity, transform;
  }

  .site-header.is-collapsed .site-nav {
    max-height: 0;
    opacity: 0;
    margin: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }

  .site-nav,
  .footer-nav {
    justify-content: center;
  }

  .footer-content p {
    order: 1;
  }

  .footer-nav {
    order: 2;
  }

  .hero {
    padding: 24px;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-actions .button {
    flex: 1;
  }

  .landing-stack {
    gap: 20px;
  }

  .landing-hero,
  .final-cta {
    padding: 20px;
  }

  .not-found-shell,
  .not-found-aside {
    padding: 18px;
  }

  .not-found-grid {
    grid-template-columns: 1fr;
  }

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

  .showcase-row {
    padding: 16px;
  }

  .testimonial-rotator {
    padding: 18px;
  }

  .testimonial-button {
    flex: 1;
  }

  .testimonials-page-hero,
  .testimonial-card-full {
    padding: 18px;
  }
}

@media (max-width: 400px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
