:root {
  --background: #faf9f9;
  --surface: #faf9f9;
  --surface-low: #f4f3f3;
  --surface-lowest: #ffffff;
  --surface-high: #e9e8e8;
  --surface-highest: #e3e2e2;
  --primary: #00628a;
  --primary-strong: #007dad;
  --secondary-fixed: #c0e8ff;
  --secondary-text: #004d66;
  --tertiary: #505d70;
  --text: #1a1c1c;
  --muted: #3f484f;
  --outline-ghost: rgba(190, 200, 208, 0.15);
  --shadow-soft: 0 20px 40px rgba(0, 30, 45, 0.06);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-strong));
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-hero: 2.5rem;
  --content-width: 1200px;

  /* Form Status Colors */
  --error: #ba1a1a;
  --success: #2cb66d;
}

/* =========================================
   Typography & Base
   ========================================= */
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url("assets/material-symbols-outlined.woff2") format("woff2"),
    url("assets/material-symbols-outlined.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* Adjust for sticky header */
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--background);
  background-image:
    radial-gradient(circle at top right, rgba(131, 207, 255, 0.15), transparent 24rem),
    linear-gradient(180deg, var(--surface-lowest) 0%, var(--background) 26%, var(--surface-low) 100%);
}

/* Accessibility Focus States P2 */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Skip Link for Screen Readers P2 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.2s ease-out;
}

.skip-link:focus {
  top: 0;
}

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

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.icon-filled {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease-out;
}

/* Body links inside paragraphs */
p a {
  text-decoration: underline;
  color: var(--primary);
}

button,
input,
textarea {
  font: inherit;
}

/* =========================================
   Layout Shell & Topbar
   ========================================= */
.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.4rem;
  margin-bottom: 2.4rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: padding 0.3s ease, background 0.3s ease;
}

.topbar.topbar-scrolled {
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .topbar {
  background: rgba(26, 28, 30, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 0 0 auto;
  z-index: 51;
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 2.8rem;
  object-fit: contain;
}

.nav,
h1,
h2,
h3,
.button,
.plan-name {
  font-family: "Manrope", sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.nav-active {
  color: var(--primary);
}

/* --- Mobile Menu (Hamburger) P0 --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 51;
}

.menu-bar {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* =========================================
   Buttons & General Components
   ========================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 800;
  transition: transform 200ms ease-out, background 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out;
  will-change: transform;
}

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

.button:active {
  transform: scale(0.98);
}

.button-primary {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 18px 32px rgba(0, 98, 138, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #005a7d, #0a8fc2);
}

.button-secondary {
  color: var(--primary);
  background: var(--surface-high);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface-highest);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(620px, 0.95fr);
  gap: 50px;
  align-items: center;
  padding: 3.4rem 0 4.4rem;
}

.hero-copy {
  padding: 0;
  max-width: 100%;
  z-index: 10;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: max-content;
  margin: 0 0 1.5rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: var(--secondary-fixed);
  color: var(--on-secondary-fixed-variant, #004d66);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-title-accent {
  color: var(--primary);
}

.hero-text,
.section-heading p,
.feature p,
.step p,
.stakeholder-list p,
.contact-card p,
.price-card ul,
.plan-note {
  color: var(--muted);
}

.hero-text {
  max-width: 56ch;
  margin: 0 0 2.5rem;
  font-size: 1.125rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-decorative-blur {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 98, 138, 0.1);
  border-radius: 50%;
  filter: blur(64px);
  z-index: 0;
}

.hero-visual-card {
  position: relative;
  z-index: 10;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 8px solid white;
}

.hero-visual-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.hero-floating-panel {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--tertiary);
  color: white;
}

.floating-text strong {
  display: block;
  color: white;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.1rem;
}

.floating-text small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.hero .button {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Sections & Trust Band
   ========================================= */
.trust-band,
.section,
.contact-section {
  margin-top: 2rem;
}

.trust-band {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface-low);
  text-align: center;
}

.trust-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.logo-row span {
  min-width: 8rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(63, 72, 79, 0.09);
  color: rgba(63, 72, 79, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.section {
  padding: 2.5rem 0;
}

.section-tonal {
  padding: 3rem 2rem;
  border-radius: var(--radius-hero);
  background: var(--surface-low);
}

.section-heading {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p:last-child {
  margin-top: 1rem;
  line-height: 1.8;
}

/* =========================================
   Feature Grid
   ========================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature,
.price-card,
.contact-card,
.stakeholder-list article {
  background: var(--surface-lowest);
}

.feature {
  padding: 1.7rem;
  border-radius: var(--radius-xl);
}

.feature-large {
  grid-column: span 2;
  min-height: 20rem;
  background: linear-gradient(180deg, var(--surface-lowest), var(--surface-low));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(0, 98, 138, 0.08);
  color: var(--primary);
}

.feature h3,
.step h3,
.stakeholder-list h3,
.price-card h3 {
  font-size: 1.35rem;
}

.feature p {
  margin: 0.8rem 0 0;
  line-height: 1.75;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.stat-pills span {
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--surface-low);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

/* =========================================
   Workflow Steps
   ========================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step {
  position: relative;
  padding: 1rem 0.5rem 0;
  text-align: center;
}

.step-number {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 12px 24px rgba(0, 98, 138, 0.18);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.step p {
  margin: 0.7rem auto 0;
  max-width: 24ch;
  line-height: 1.7;
}

/* =========================================
   Stakeholders
   ========================================= */
.stakeholders {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.stakeholder-copy {
  display: flex;
  flex-direction: column;
}

.stakeholder-copy h2 {
  max-width: 11ch;
  margin-top: 0.25rem;
  font-size: clamp(2.7rem, 4.2vw, 4rem);
  line-height: 0.98;
}

.stakeholder-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2rem;
  flex: 1;
}

.stakeholder-list article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 1.45rem 1.55rem;
  border-radius: 1.7rem;
  box-shadow: inset 0 0 0 1px var(--outline-ghost);
}

.stakeholder-list p {
  margin: 0.45rem 0 0;
  max-width: none;
  line-height: 1.5;
  font-size: 0.95rem;
}

.stakeholder-visual {
  display: flex;
  align-items: stretch;
}

.family-frame {
  width: 100%;
  min-height: 34.5rem;
  overflow: hidden;
  border-radius: 2.2rem;
  background: linear-gradient(180deg, var(--surface-highest), var(--surface-high));
  box-shadow: var(--shadow-soft);
}

.family-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* =========================================
   Technology & KVKK
   ========================================= */
.technology-section {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 4rem;
  border-radius: 0;
  background: #001f2a;
}

.technology-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 3.2rem;
  align-items: center;
}

.technology-copy {
  color: #ffffff;
}

.technology-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
}

.technology-intro {
  max-width: 31ch;
  margin: 1.5rem 0 0;
  color: rgba(236, 245, 248, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
}

.technology-points {
  display: grid;
  gap: 1.55rem;
  margin-top: 2.5rem;
}

.technology-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.technology-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.15rem;
  color: #59c7ff;
  font-size: 1.3rem;
}

.technology-point h3 {
  color: #ffffff;
  font-size: 1.1rem;
}

.technology-point p {
  margin: 0.45rem 0 0;
  color: rgba(236, 245, 248, 0.62);
  line-height: 1.55;
}

.technology-panel {
  padding: 2.8rem 2.5rem 2.4rem;
  border-radius: 2.25rem;
  background: rgba(25, 61, 75, 0.96);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  text-align: center;
}

.technology-panel-icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.8rem;
  color: #59c7ff;
  font-size: 2.6rem;
}

.technology-panel h3 {
  color: #ffffff;
  font-size: 2rem;
}

.technology-flow-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.technology-flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.35rem;
  background: rgba(39, 76, 91, 0.9);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.technology-flow-row strong {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
}

/* =========================================
   Pricing Plans
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.8rem;
  border-radius: var(--radius-hero);
}

.price-card-featured {
  position: relative;
  transform: translateY(-0.2rem);
  box-shadow: 0 24px 46px rgba(0, 98, 138, 0.12);
  border: 2px solid var(--primary);
}

.plan-badge {
  align-self: start;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--secondary-fixed);
  color: var(--secondary-text);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-name {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.price-card h3 {
  font-size: 2.3rem;
}

.plan-note {
  font-size: 0.92rem;
}

.price-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.6;
}

.price-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-icon {
  flex: 0 0 auto;
  font-size: 1rem;
}

.pricing-icon-ok {
  color: var(--success);
}

.pricing-icon-no {
  color: rgba(63, 72, 79, 0.42);
}

/* =========================================
   Testimonials & Contact Form
   ========================================= */
.contact-card {
  width: min(100%, 54rem);
  margin: 0 auto;
  padding: 2.8rem 2.3rem 1.8rem;
  border-radius: 2.2rem;
  background: var(--surface-lowest);
  box-shadow: var(--shadow-soft);
}

.contact-section {
  padding-top: 0;
}

.testimonial-band {
  margin: 0 calc(50% - 50vw) 3.5rem;
  padding: 0 2rem 4rem;
  background: linear-gradient(180deg, var(--surface-high), var(--surface-highest));
}

.testimonial-band h2 {
  margin: 0;
  padding-top: 1rem;
  text-align: center;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  width: min(100%, 80rem);
  margin: 2rem auto 0;
}

.testimonial-card {
  padding: 1.8rem 1.8rem 1.55rem;
  border-radius: 1.8rem;
  background: var(--surface-lowest);
  box-shadow: inset 0 0 0 1px var(--outline-ghost);
}

.testimonial-quote {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.55rem;
}

.testimonial-badge {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--surface-high);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.testimonial-author strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
}

.testimonial-author small {
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-card-header {
  max-width: 42rem;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 1.05rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.required-star {
  color: var(--error);
  text-decoration: none;
}

/* Honeypot P2 */
.hp-field {
  display: none !important;
}

/* Form Validation Styles P2 */
.field-error {
  display: none;
  color: var(--error);
  font-size: 0.8rem;
  font-weight: normal !important;
}

.input-error {
  border-color: var(--error) !important;
  background: rgba(186, 26, 26, 0.05) !important;
}

.form-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

.form-success-icon {
  font-size: 4rem;
  color: var(--success);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--surface-low);
  color: var(--text);
  transition: background 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--surface-lowest);
  border-color: rgba(0, 98, 138, 0.3);
  box-shadow: 0 0 0 0.2rem rgba(0, 98, 138, 0.1);
}

.contact-form .button {
  margin-top: 0.3rem;
  min-height: 3.5rem;
  font-size: 1rem;
}

.contact-note {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  display: block;
  margin-top: 2.8rem;
  padding: 3rem 1.4rem 1.25rem;
  border-radius: 2rem;
  background: var(--surface-lowest);
  box-shadow: inset 0 0 0 1px var(--outline-ghost);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(160px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.footer-brand-block {
  max-width: 19rem;
}

.footer-logo {
  height: 4rem;
}

.footer-summary {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.footer-icons {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(0, 98, 138, 0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.footer-column h3 {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--outline-ghost);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}

/* =========================================
   Animations P3
   ========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 40;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.scroll-top:hover {
  background: var(--primary-strong);
  transform: translateY(-3px);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}


/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 1080px) {

  .hero,
  .stakeholders,
  .contact-card,
  .technology-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .technology-section {
    padding: 3rem 2rem;
  }

  .technology-intro {
    max-width: none;
  }

  .technology-panel {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    max-width: none;
  }

  .hero-text {
    max-width: 34ch;
  }

  .hero-visual-card {
    width: 100%;
    margin-left: 0;
    padding-top: 0;
  }

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

  .feature-large {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .topbar {
    border-radius: 2rem;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
  }

  .brand-logo {
    height: 2.35rem;
  }

  /* --- Mobile Navigation P0 --- */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--surface-lowest);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    margin-left: 0;
  }

  .nav.nav-open {
    right: 0;
  }

  .nav a {
    font-size: 1.25rem;
  }

  body.nav-locked {
    overflow: hidden;
  }

  /* Hamburger Animation */
  .nav-open~.menu-toggle .menu-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
  }

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

  .nav-open~.menu-toggle .menu-bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
  }

  /* --- Mobile specific adjustments --- */
  .footer {
    flex-direction: column;
    align-items: stretch;
    border-radius: 2rem;
    padding: 2rem 1rem 1.1rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-brand-block {
    max-width: none;
  }

  .footer-logo {
    height: 3.2rem;
  }

  .footer-column {
    gap: 0.8rem;
  }

  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
  }

  .footer-bottom p {
    font-size: 0.86rem;
  }

  .hero {
    gap: 1.5rem;
    padding-top: 1.1rem;
    padding-bottom: 2.5rem;
  }

  .hero-copy,
  .section-tonal,
  .contact-card {
    padding: 1.4rem;
  }

  .technology-section {
    padding: 2.2rem 1rem;
  }

  .technology-copy h2,
  .technology-panel h3 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .technology-intro {
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .technology-points {
    gap: 1.1rem;
    margin-top: 1.8rem;
  }

  .technology-panel {
    padding: 1.6rem 1rem;
    border-radius: 1.6rem;
  }

  .technology-panel-icon {
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
  }

  .technology-flow-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .technology-flow-row strong {
    font-size: 1.2rem;
  }

  .testimonial-band {
    margin: 0 calc(50% - 50vw) 2.6rem;
    padding: 0 1rem 3rem;
  }

  .testimonial-grid,
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.35rem;
    border-radius: 1.4rem;
  }

  .contact-card {
    width: 100%;
    padding: 2rem 1.2rem 1.3rem;
    border-radius: 1.8rem;
  }

  .contact-card-header {
    margin-bottom: 1.4rem;
  }

  .stakeholder-copy h2 {
    max-width: none;
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .stakeholder-list {
    grid-template-rows: none;
    gap: 1rem;
    margin-top: 1.4rem;
    flex: initial;
  }

  .stakeholder-list article {
    min-height: auto;
    padding: 1.3rem;
    border-radius: 1.45rem;
  }

  .stakeholder-list p {
    max-width: none;
    font-size: 0.98rem;
  }

  .family-frame {
    min-height: 24rem;
    border-radius: 1.8rem;
  }

  .eyebrow {
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.74rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 8.4vw, 2.35rem);
    line-height: 0.96;
  }

  .hero-text {
    max-width: none;
    margin-top: 1.3rem;
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .hero .button {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.9rem 1.15rem;
  }

  .hero-visual-card {
    padding-top: 0.2rem;
  }

  .floating-panel {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    min-height: 5.8rem;
    padding: 0.9rem 1rem;
    border-radius: 1.2rem;
  }

  .floating-icon {
    flex-basis: 3.2rem;
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.4rem;
  }

  .floating-panel strong {
    font-size: 0.98rem;
  }

  .floating-panel small {
    font-size: 0.82rem;
  }

  .screen-frame {
    width: 100%;
    padding: 0.45rem;
    border-radius: 1.7rem;
  }

  .screen-frame img {
    border-radius: 1.35rem;
    aspect-ratio: 1.02 / 1;
  }

  .feature-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: span 1;
  }

  h1 {
    max-width: none;
  }
}