:root {
  color-scheme: light;
  --bg: #f4fbfa;
  --bg-soft: #e7f4f2;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #123843;
  --text-soft: #5d7780;
  --line: rgba(18, 56, 67, 0.12);
  --line-strong: rgba(18, 56, 67, 0.22);
  --primary: #187f7c;
  --primary-deep: #0f5560;
  --accent: #31c39f;
  --shadow-sm: 0 12px 30px rgba(18, 56, 67, 0.08);
  --shadow-md: 0 24px 60px rgba(18, 56, 67, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(49, 195, 159, 0.22), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(24, 127, 124, 0.16), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 56%, #eefaf8 100%);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--primary-deep);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: top 180ms ease;
}

.skip-link:focus-visible {
  top: 16px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.24;
  pointer-events: none;
}

.page-shell::before {
  top: -120px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: rgba(49, 195, 159, 0.4);
  animation: ambientDriftOne 16s ease-in-out infinite;
}

.page-shell::after {
  right: -140px;
  bottom: 120px;
  width: 360px;
  height: 360px;
  background: rgba(24, 127, 124, 0.24);
  animation: ambientDriftTwo 18s ease-in-out infinite;
}

.page-content {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

main,
.section,
.topbar,
.footer {
  width: 100%;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(18, 56, 67, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 40px rgba(18, 56, 67, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(22px);
  animation: navSettle 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand,
.brand-lockup {
  display: inline-flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo-image {
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
}

.brand-logo-image-main {
  height: 60px;
  max-width: 280px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(18, 56, 67, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--primary-deep);
  transition: transform 180ms ease, opacity 180ms ease;
}

.topnav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  border: 1px solid rgba(18, 56, 67, 0.06);
  border-radius: 999px;
  background: rgba(242, 251, 250, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.topnav a,
.footer-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(18, 56, 67, 0.08);
}

.topnav a.is-active {
  background: transparent;
  color: var(--text-soft);
  box-shadow: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(49, 195, 159, 0.95);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 16px 34px rgba(24, 127, 124, 0.24);
}

.button-secondary,
.button-ghost {
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(24, 127, 124, 0.14);
  box-shadow: var(--shadow-sm);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
  box-shadow: 0 22px 42px rgba(18, 56, 67, 0.12);
}

.topbar-cta {
  flex: 0 0 auto;
  min-width: 190px;
  padding-inline: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-color: rgba(15, 85, 96, 0.12);
  box-shadow: 0 18px 34px rgba(15, 85, 96, 0.18);
}

.topbar-cta:hover,
.topbar-cta:focus-visible {
  color: #ffffff;
  box-shadow: 0 22px 40px rgba(15, 85, 96, 0.24);
}

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  min-height: calc(100vh - 140px);
  padding-top: 24px;
}

.hero-copy,
.section-heading,
.value-copy {
  width: 100%;
  max-width: 620px;
}

.hero-copy {
  justify-self: center;
  max-width: 680px;
}

.hero-copy h1,
.section-heading h2,
.value-copy h2,
.cta-section h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading,
.cta-section {
  text-align: center;
}

.section-heading {
  margin: 0 auto;
}

.section-heading h2,
.value-copy h2,
.cta-section h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  text-wrap: balance;
}

.hero-text,
.section-heading p,
.value-copy p,
.cta-section p,
.problem-card p,
.feature-card p,
.step-card p,
.footer-copy,
.hero-mockup-card p {
  color: var(--text-soft);
  line-height: 1.78;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 1.02rem;
}

.section-heading p,
.value-copy p,
.cta-section p {
  margin: 18px auto 0;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(24, 127, 124, 0.16);
  border-radius: 999px;
  background: rgba(49, 195, 159, 0.1);
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-text-mobile,
.mobile-text-short {
  display: none;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-actions {
  margin: 28px 0 26px;
  justify-content: flex-start;
}

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

.metric-card,
.problem-card,
.feature-card,
.step-card,
.value-panel,
.cta-section,
.media-card,
.value-item,
.value-stat {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.metric-card,
.problem-card,
.feature-card,
.step-card,
.value-item,
.value-stat {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.problem-card,
.feature-card,
.step-card,
.trust-card {
  position: relative;
  overflow: hidden;
}

.problem-card::before,
.feature-card::before,
.step-card::before,
.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(49, 195, 159, 0.85), rgba(24, 127, 124, 0.55));
  opacity: 0.9;
}

.metric-card strong,
.problem-card strong,
.value-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-visual-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(24, 127, 124, 0.16), rgba(49, 195, 159, 0.1));
  box-shadow: var(--shadow-md);
}

.hero-image,
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms ease, filter 700ms ease;
}

.hero-mockup-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.hero-mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-mockup-head strong {
  font-size: 0.95rem;
}

.hero-mockup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-mockup-actions .button {
  flex: 1 1 160px;
}

.mockup-live-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(49, 195, 159, 0.14);
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.problem-layout,
.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: 34px;
}

.problem-layout .section-heading,
.solution-layout .section-heading {
  text-align: center;
  margin: 0 auto;
}

.problem-layout .section-heading p,
.solution-layout .section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.media-card {
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: transparent;
  line-height: 0;
}

#problem .media-card {
  aspect-ratio: 4 / 3;
}

.media-card-tall {
  min-height: 360px;
  aspect-ratio: 4 / 5;
}

.media-card-tall img {
  display: block;
  width: 100%;
  height: 100%;
}

#solution-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#problem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.problem-grid,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 20px;
}

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

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

.problem-card,
.feature-card,
.step-card,
.value-item,
.value-stat,
.media-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.problem-card:hover,
.feature-card:hover,
.step-card:hover,
.value-item:hover,
.value-stat:hover,
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(18, 56, 67, 0.15);
}

.media-card:hover img,
.hero-visual-scene:hover .hero-image,
.mission-image:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.problem-card strong {
  font-size: 1.28rem;
}

.problem-card p,
.feature-card p,
.step-card p,
.trust-card p {
  margin: 0;
}

.feature-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.feature-icon,
.step-number,
.value-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.feature-icon,
.step-number {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(49, 195, 159, 0.2), rgba(24, 127, 124, 0.18));
  color: var(--primary-deep);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-index {
  color: rgba(18, 56, 67, 0.42);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.3;
}

.step-number {
  margin-bottom: 16px;
  font-weight: 800;
}

.value-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.trust-section {
  display: grid;
  gap: 28px;
}

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

.trust-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.trust-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--text);
}

.trust-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.value-copy {
  max-width: 100%;
}

.value-copy .section-heading,
.value-copy {
  text-align: center;
}

.value-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-item p {
  margin: 0;
}

.value-check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(49, 195, 159, 0.14);
  color: var(--primary-deep);
  font-weight: 800;
}

.value-panel {
  display: grid;
  gap: 16px;
  padding: 24px 24px 38px;
  border-radius: var(--radius-xl);
  margin-top: 0;
  height: 100%;
  align-content: start;
}

.mission-image {
  min-height: 240px;
}

.value-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.cta-section {
  padding: 44px 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(49, 195, 159, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 249, 247, 0.9));
}

.cta-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.cta-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 127, 124, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.cta-tags span:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(18, 56, 67, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.cta-copy {
  max-width: 760px;
  margin: 0 auto 28px;
}

.request-form {
  display: grid;
  gap: 18px;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(18, 56, 67, 0.08);
  backdrop-filter: blur(14px);
  text-align: left;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(18, 56, 67, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(24, 127, 124, 0.24);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  border-color: rgba(24, 127, 124, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 4px rgba(49, 195, 159, 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.92rem;
}

.form-status {
  color: var(--primary-deep);
  font-weight: 700;
}

.footer {
  margin-top: 36px;
  padding: 26px 24px 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(49, 195, 159, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 250, 248, 0.92));
  box-shadow: 0 24px 60px rgba(18, 56, 67, 0.12);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(180px, 0.7fr)) minmax(240px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.footer-brand-block,
.footer-column {
  display: grid;
  gap: 14px;
}

.footer-heading {
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy {
  max-width: 42ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-content: start;
}

.footer-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-pillars span {
  padding: 7px 10px;
  border: 1px solid rgba(24, 127, 124, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-commitment p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.94rem;
}

.footer-button {
  justify-self: start;
  min-height: 42px;
  padding: 10px 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 56, 67, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary-deep);
  font-weight: 700;
}

.footer-mobile {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 34, 0.48);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(100%, 920px);
  max-height: min(88vh, 920px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(49, 195, 159, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(243, 251, 250, 0.965));
  box-shadow:
    0 28px 80px rgba(7, 27, 34, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-body {
  padding: 34px;
}

.modal-body > p {
  margin: 0 0 22px;
  max-width: 68ch;
  color: var(--text-soft);
  line-height: 1.75;
}

.modal-body h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
}

.modal-close {
  position: sticky;
  top: 16px;
  z-index: 2;
  float: right;
  margin: 16px 16px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(18, 56, 67, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 56, 67, 0.1);
}

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

.policy-card {
  position: relative;
  padding: 22px 24px;
  border: 1px solid rgba(18, 56, 67, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(18, 56, 67, 0.07);
}

.policy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0.7;
}

.policy-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
}

.policy-card p,
.policy-list {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.policy-card p + p,
.policy-card p + .policy-list,
.policy-list + p {
  margin-top: 12px;
}

.policy-list {
  padding-left: 18px;
}

.policy-list li + li {
  margin-top: 8px;
}

.legal-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 34px;
}

.legal-hero-copy,
.legal-highlight,
.legal-bottom-note {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.legal-hero-copy {
  padding: 28px;
  border-radius: 28px;
  width: 100%;
}

.legal-hero-copy p {
  margin: 16px 0 0;
  max-width: 62ch;
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-highlight {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(49, 195, 159, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.92);
}

.legal-highlight-label {
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-highlight strong {
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.2;
}

.legal-highlight p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

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

.legal-timeline {
  position: relative;
}

.legal-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(50% - 1px);
  width: 2px;
  background: linear-gradient(180deg, rgba(49, 195, 159, 0.55), rgba(24, 127, 124, 0.18));
  pointer-events: none;
}

.legal-card {
  min-height: 100%;
  padding-top: 56px;
}

.legal-card-number {
  position: absolute;
  top: 16px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 28px rgba(15, 85, 96, 0.22);
}

.legal-card:nth-child(odd) {
  transform-origin: right center;
}

.legal-card:nth-child(even) {
  transform-origin: left center;
}

.legal-bottom-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 26px;
}

.legal-bottom-note p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-soft);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .legal-timeline::before {
    display: none;
  }

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

  .legal-bottom-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 20px;
  align-items: center;
  width: min(100% - 24px, 760px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(49, 195, 159, 0.16), transparent 26%),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 24px 60px rgba(7, 27, 34, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  animation: premiumFloatIn 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.cookie-banner-copy h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.25rem;
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.cookie-banner .eyebrow {
  margin-bottom: 12px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-banner-actions .button {
  min-width: 132px;
}

.cookie-preferences {
  position: fixed;
  right: 20px;
  bottom: 140px;
  z-index: 111;
  width: min(100% - 24px, 460px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(49, 195, 159, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    0 24px 60px rgba(7, 27, 34, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  animation: premiumFloatIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-preferences[hidden] {
  display: none;
}

.cookie-preferences-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cookie-preferences-head h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.2rem;
}

.cookie-preferences-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.cookie-close {
  padding: 8px 12px;
  border: 1px solid rgba(18, 56, 67, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(18, 56, 67, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.cookie-option input {
  margin-top: 2px;
  accent-color: var(--primary);
}

.cookie-option strong,
.cookie-option span {
  display: block;
}

.cookie-option strong {
  color: var(--text);
  font-size: 0.98rem;
}

.cookie-option span {
  margin-top: 4px;
  color: var(--text-soft);
  line-height: 1.6;
}

.cookie-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes premiumFloatIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientDriftOne {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -14px) scale(1.04);
  }
}

@keyframes ambientDriftTwo {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, 16px) scale(1.05);
  }
}

@keyframes navSettle {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .problem-layout,
  .solution-layout,
  .trust-grid,
  .value-section,
  .problem-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .hero-visual,
  .problem-layout .section-heading,
  .solution-layout .section-heading,
  .value-copy {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-copy,
  .problem-layout .section-heading,
  .solution-layout .section-heading,
  .value-copy,
  .value-copy p {
    text-align: center;
  }

  .hero-actions,
  .value-list,
  .problem-layout .section-heading p,
  .solution-layout .section-heading p {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual-scene {
    max-width: 680px;
    min-height: 420px;
  }

  .value-panel {
    margin-top: 0;
  }
}

@media (max-width: 960px) {
  .topbar {
    position: sticky;
    top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topnav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(247, 252, 251, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .topbar.menu-open .topnav {
    display: grid;
  }

  .topbar.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .topbar.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .topnav a {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    padding: 12px 14px;
    min-height: 44px;
    text-align: center;
  }

  .topbar-cta {
    order: 4;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  .brand-logo-image-main {
    height: 44px;
    max-width: 190px;
  }

  .legal-hero-copy {
    padding: 24px;
    border-radius: 24px;
  }

  .legal-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .legal-card {
    padding-top: 64px;
  }

  .legal-card-number {
    top: 16px;
    left: 18px;
  }

  .legal-bottom-note {
    padding: 22px 24px;
    border-radius: 22px;
  }
}

@media (max-width: 760px) {
  .page-content {
    width: min(100% - 18px, var(--max-width));
    padding-top: 12px;
    padding-bottom: 32px;
  }

  .section {
    padding: 44px 0;
  }

  .hero {
    gap: 14px;
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 9vw, 2.8rem);
    line-height: 0.98;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.66;
  }

  .hero-actions {
    margin: 18px 0 16px;
  }

  .hero-actions .button,
  .cta-actions .button,
  .request-actions .button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
  }

  .hero-visual-scene {
    min-height: 220px;
  }

  .hero-mockup-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-mockup-card {
    padding: 12px;
  }

  .hero-mockup-actions {
    display: none;
  }

  .hero-mockup-card p {
    margin-bottom: 0;
    font-size: 0.84rem;
    line-height: 1.5;
  }

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

  .metric-card,
  .problem-card,
  .feature-card,
  .step-card,
  .value-item,
  .value-stat {
    padding: 20px;
    border-radius: 20px;
  }

  .cta-section {
    padding: 32px 18px;
    border-radius: 28px;
  }

  .request-form {
    padding: 18px;
    border-radius: 22px;
  }

  .problem-layout,
  .solution-layout,
  .trust-section,
  .value-section {
    gap: 22px;
    margin-bottom: 30px;
  }

  .media-card {
    min-height: 240px;
  }

  #problem .media-card {
    aspect-ratio: 4 / 3;
  }

  .media-card-tall {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .problem-grid,
  .feature-grid,
  .steps-grid,
  .trust-grid,
  .value-list {
    gap: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .feature-card,
  .step-card,
  .value-item,
  .value-stat,
  .metric-card {
    min-height: 100%;
  }

  .feature-topline {
    margin-bottom: 14px;
  }

  .feature-icon,
  .step-number {
    width: 48px;
    height: 48px;
  }

  .value-panel {
    padding: 18px;
  }

  .hero-text-desktop,
  .mobile-text-desktop {
    display: none;
  }

  .hero-text-mobile,
  .mobile-text-short {
    display: inline;
  }

  .footer-links a,
  .cookie-banner-actions .button,
  .cookie-preferences-actions .button {
    min-height: 44px;
  }

  .mission-image {
    min-height: 180px;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px;
  }

  .modal-body {
    padding: 22px 18px;
  }

  .policy-card {
    padding: 18px;
    border-radius: 18px;
  }

  .legal-card {
    padding: 62px 18px 18px;
  }

  .legal-card-number {
    top: 12px;
    left: 16px;
    min-width: 44px;
    height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .legal-card h3 {
    padding-right: 8px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .policy-sections {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    gap: 16px;
  }

  .legal-hero-copy {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .legal-hero-copy p {
    line-height: 1.65;
  }

  .legal-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .legal-bottom-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    max-height: min(46vh, 360px);
    overflow: auto;
  }

  .cookie-banner-actions {
    justify-content: stretch;
    gap: 8px;
  }

  .cookie-banner-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 14px;
  }

  .cookie-banner-copy h3 {
    font-size: 1.05rem;
  }

  .cookie-banner-copy p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .cookie-banner .eyebrow {
    margin-bottom: 8px;
  }

  .cookie-preferences {
    left: 12px;
    right: 12px;
    bottom: 124px;
    width: auto;
    padding: 18px;
    border-radius: 22px;
  }

  .cookie-preferences-head {
    flex-direction: column;
  }

  .cookie-preferences-actions {
    justify-content: stretch;
  }

  .cookie-preferences-actions .button {
    width: 100%;
  }

  .footer {
    margin-top: 28px;
    padding: 16px 14px 12px;
  }

  .footer-main,
  .footer-bottom {
    display: none;
  }

  .footer-mobile {
    display: grid;
    gap: 12px;
    justify-items: start;
  }

  .footer-mobile-copy {
    margin: 0;
    max-width: 26ch;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .footer-mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .footer-mobile-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(24, 127, 124, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-deep);
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
  }
}

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

  .reveal,
  .reveal.is-visible,
  .button,
  .problem-card,
  .feature-card,
  .step-card,
  .value-item,
  .value-stat,
  .media-card,
  .page-shell::before,
  .page-shell::after,
  .topbar {
    transition: none;
    transform: none;
    opacity: 1;
    animation: none;
  }
}
