:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-soft: #f2f7f5;
  --primary: #1f6f67;
  --primary-deep: #174f4a;
  --secondary: #7ea8a1;
  --accent-soft: #dbe9e5;
  --text: #183032;
  --muted: #66787b;
  --border: #dbe4e6;
  --footer-bg: #1c3638;
  --footer-border: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 10px 24px rgba(24, 48, 50, 0.06);
  --shadow-md: 0 18px 38px rgba(24, 48, 50, 0.1);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: min(1240px, calc(100% - 40px));
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: rgba(219, 228, 230, 0.9);
  background: rgba(247, 250, 248, 0.96);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  flex: 0 0 auto;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(31, 111, 103, 0.16), rgba(126, 168, 161, 0.28));
  border: 1px solid rgba(31, 111, 103, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary-deep);
  transform: translate(-50%, -50%);
}

.brand-mark::after {
  width: 4px;
  height: 18px;
}

.brand-mark-core {
  position: absolute;
  inset: 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand-subtitle {
  margin-top: 0.18rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.desktop-nav a,
.mobile-menu-panel a:not(.btn) {
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-menu-panel a:not(.btn):hover,
.desktop-nav a.active,
.mobile-menu-panel a:not(.btn).active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 111, 103, 0.18);
}

.mobile-menu-panel .btn-primary,
.mobile-menu-panel .btn-primary:hover,
.mobile-menu-panel .btn-primary:visited {
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(24, 48, 50, 0.16);
}

.btn-secondary:hover {
  border-color: rgba(31, 111, 103, 0.45);
  color: var(--primary-deep);
}

.icon-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 111, 103, 0.4);
}

.cart-icon {
  position: relative;
  width: 18px;
  height: 14px;
  border: 2px solid var(--text);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.cart-icon::before,
.cart-icon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text);
}

.cart-icon::before {
  left: 1px;
}

.cart-icon::after {
  right: 1px;
}

.cart-icon span {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
}

.mobile-menu-panel {
  display: grid;
  gap: 1rem;
  margin: 0 auto 1rem;
  width: var(--container);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-panel a:not(.btn) {
  padding: 0.4rem 0.1rem;
}

.hero-banner {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(16, 31, 33, 0.72), rgba(16, 31, 33, 0.28)), url("assets/images/hero-family-protection.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.hero-content,
.page-hero {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: var(--container);
  padding: calc(var(--header-height) + 2rem) 0 4rem;
}

.eyebrow,
.section-label,
.article-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1rem;
}

.section-label,
.article-kicker {
  color: var(--primary);
  margin-bottom: 0.9rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 11.5ch;
  font-size: clamp(2.4rem, 5vw, 4.45rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-copy,
.page-intro {
  max-width: 42rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin-top: 1.4rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
}

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

.trust-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.trust-labels span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
}

.section {
  padding: var(--space-8) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(219, 233, 229, 0.28), rgba(255, 255, 255, 0));
}

.trust-strip {
  padding: 1.3rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.trust-strip-grid div {
  padding: 1rem 0.5rem;
}

.trust-strip-grid strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.split-intro,
.editorial-hero-grid,
.contact-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.section-copy {
  max-width: 36rem;
}

.feature-image-panel {
  position: relative;
}

.feature-image-panel img {
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.text-link {
  display: inline-flex;
  margin-top: 1.35rem;
  color: var(--primary-deep);
  font-weight: 600;
}

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

.section-heading.align-left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.service-grid,
.visual-grid,
.editorial-grid,
.pricing-grid,
.testimonial-grid,
.steps-grid,
.narrative-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

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

.service-card,
.editorial-card,
.testimonial-card,
.narrative-card,
.step-card,
.pricing-card,
.resource-card,
.sidebar-card,
.contact-panel,
.text-panel,
.philosophy-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.service-card,
.editorial-card,
.testimonial-card,
.pricing-card,
.resource-card,
.step-card,
.narrative-card {
  padding: 1.75rem;
}

.service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card p,
.editorial-card p,
.testimonial-card p,
.pricing-card p,
.resource-card p,
.step-card p,
.narrative-card p {
  margin-top: 0.95rem;
}

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

.visual-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.visual-card img {
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
}

.visual-card-copy {
  padding: 1.35rem;
}

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

.editorial-card {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.88);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  position: relative;
}

.price {
  margin-top: 1.2rem;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-card .btn {
  margin-top: 1.4rem;
  width: 100%;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(219, 233, 229, 0.54), rgba(255, 255, 255, 0.98));
  border-color: rgba(31, 111, 103, 0.28);
}

.featured-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(31, 111, 103, 0.12);
  color: var(--primary-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

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

.testimonial-card strong {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--text);
}

.final-cta {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(219, 233, 229, 0.7), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.final-cta h2 {
  max-width: 16ch;
  margin: 0.1rem auto 1.4rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 4rem 0 2rem;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--footer-border);
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-mark {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(126, 168, 161, 0.24));
  border-color: rgba(255, 255, 255, 0.14);
}

.footer-brand .brand-mark-core {
  background: rgba(255, 255, 255, 0.92);
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  padding-top: 1.4rem;
}

.footer-bottom p {
  font-size: 0.93rem;
  max-width: 72rem;
}

.inner-page {
  padding-top: 1rem;
}

.page-hero {
  padding: calc(var(--header-height) * 0.6) 0 var(--space-6);
}

.page-hero-soft {
  background: linear-gradient(180deg, rgba(219, 233, 229, 0.45), rgba(247, 250, 248, 0));
}

.page-hero-balanced {
  padding-bottom: calc(var(--space-6) - 0.5rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.page-hero-grid h1 {
  max-width: 10.5ch;
}

.page-hero-sidecopy {
  max-width: 34rem;
  padding-bottom: 0.4rem;
}

.page-hero-sidecopy p + p {
  margin-top: 1rem;
}

.service-flow {
  display: grid;
  gap: 1.6rem;
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 1.6rem;
  align-items: stretch;
}

.service-feature.reverse {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}

.service-feature-media img,
.resource-card img {
  height: 100%;
  object-fit: cover;
}

.service-feature-media {
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.service-feature-media img {
  min-height: 420px;
  max-height: 520px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.service-feature-copy,
.text-panel,
.contact-panel,
.contact-sidebar,
.sidebar-card {
  padding: 1.8rem;
}

.service-feature-copy,
.text-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.service-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

.service-feature-copy h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.service-feature-copy p:not(.section-label) {
  max-width: 32rem;
}

.text-panel {
  display: flex;
  align-items: center;
  min-height: 420px;
  background: linear-gradient(180deg, rgba(219, 233, 229, 0.36), rgba(255, 255, 255, 0.95));
}

.muted-panel {
  background: linear-gradient(180deg, rgba(126, 168, 161, 0.12), rgba(255, 255, 255, 0.96));
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.resource-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.resource-card img {
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

.resource-card-wide {
  grid-column: span 2;
}

.resource-card-feature {
  flex-direction: row;
  align-items: stretch;
}

.resource-card-feature img {
  width: min(48%, 500px);
  min-height: 100%;
  aspect-ratio: auto;
}

.resource-card-feature .resource-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-card-text .resource-copy {
  min-height: 100%;
}

.resource-copy {
  padding: 1.5rem;
}

.resource-copy h2,
.resource-copy h3 {
  max-width: 18ch;
}

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

.philosophy-panel {
  padding: 2rem;
}

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

.step-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-row label {
  color: var(--text);
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(31, 111, 103, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 111, 103, 0.08);
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #b65a5a;
}

.form-feedback {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-feedback.is-success {
  color: var(--primary-deep);
}

.form-feedback.is-error {
  color: #9c4242;
}

@media (max-width: 1180px) {
  .service-grid,
  .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  :root {
    --header-height: 84px;
    --container: min(1240px, calc(100% - 32px));
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

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

  .mobile-menu {
    display: none;
    border-top: 1px solid rgba(219, 228, 230, 0.9);
    padding-top: 0.75rem;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .hero-banner {
    min-height: 68vh;
    background-position: 58% center;
  }

  .split-intro,
  .editorial-hero-grid,
  .contact-hero,
  .page-hero-grid,
  .service-feature,
  .service-feature.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .editorial-grid,
  .pricing-grid,
  .testimonial-grid,
  .steps-grid,
  .resource-grid,
  .service-grid,
  .visual-grid,
  .narrative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-card-wide {
    grid-column: span 2;
  }

  .feature-image-panel img {
    aspect-ratio: 16 / 11;
  }

  .resource-card-feature {
    flex-direction: column;
  }

  .resource-card-feature img {
    width: 100%;
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-8: 4.5rem;
    --space-7: 3.5rem;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.1rem, 8vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.8rem, 6.2vw, 2.45rem);
  }

  .header-inner {
    min-height: 78px;
    gap: 0.75rem;
  }

  .logo {
    max-width: 13.5rem;
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .hero-banner {
    min-height: 560px;
    align-items: flex-end;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3rem;
  }

  .trust-strip-grid,
  .editorial-grid,
  .pricing-grid,
  .testimonial-grid,
  .steps-grid,
  .resource-grid,
  .service-grid,
  .visual-grid,
  .narrative-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .resource-card-wide {
    grid-column: span 1;
  }

  .service-feature-copy,
  .text-panel,
  .contact-panel {
    padding: 1.4rem;
  }

  .service-feature-copy,
  .text-panel,
  .service-feature-media img {
    min-height: auto;
    max-height: none;
  }

  .service-feature-copy h2 {
    max-width: 14ch;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .resource-card img {
    min-height: 220px;
  }

  .final-cta {
    text-align: left;
  }

  .final-cta h2 {
    margin-left: 0;
  }
}

@media (max-width: 430px) {
  .header-actions {
    gap: 0.45rem;
  }

  .mobile-menu-panel {
    padding: 0.9rem;
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .trust-labels {
    gap: 0.6rem;
  }

  .trust-labels span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 375px) {
  :root {
    --container: min(1240px, calc(100% - 24px));
  }

  .logo {
    max-width: 12rem;
    font-size: 0.92rem;
  }

  .brand-logo,
  .footer-brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 12px;
  }

  .brand-mark-core {
    inset: 7px;
    border-radius: 9px;
  }

  .brand-mark::before {
    width: 14px;
    height: 3px;
  }

  .brand-mark::after {
    width: 3px;
    height: 14px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
  }

  .mobile-menu-panel {
    padding: 0.8rem;
    border-radius: 20px;
  }

  .service-card,
  .editorial-card,
  .testimonial-card,
  .pricing-card,
  .resource-card,
  .step-card,
  .narrative-card,
  .sidebar-card {
    padding: 1.35rem;
  }
}

.newsletter-section {
  padding-top: 2rem;
}

.newsletter-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 8%, rgba(126, 168, 161, 0.3), transparent 28%),
    linear-gradient(135deg, var(--primary-deep), #1c3638);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.newsletter-copy,
.newsletter-form {
  position: relative;
  z-index: 1;
}

.newsletter-copy .section-label {
  color: #b7d6cf;
}

.newsletter-copy h2 {
  max-width: 19ch;
  margin: 0.4rem 0 1rem;
  color: #fff;
}

.newsletter-copy > p:not(.section-label) {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.82);
}

.newsletter-note {
  display: block;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.newsletter-form label {
  display: block;
  margin-bottom: 0.65rem;
  color: #fff;
  font-weight: 600;
}

.newsletter-form-fields {
  display: grid;
  gap: 0.75rem;
}

.newsletter-form input {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 4px rgba(183, 214, 207, 0.3);
}

.newsletter-form .btn {
  min-height: 54px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.newsletter-form .btn span {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.newsletter-form .btn:hover span {
  transform: translateX(3px);
}

.newsletter-decoration {
  position: absolute;
  top: -5.5rem;
  right: 2rem;
  color: rgba(255, 255, 255, 0.06);
  font-family: "Manrope", sans-serif;
  font-size: 20rem;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.btn-unsubscribe {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  margin: 0.75rem 0 0;
  padding: 0.65rem 1rem;
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  font-size: 0.88rem;
}

.btn-unsubscribe:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 2000;
  width: min(560px, calc(100% - 32px));
  padding: 1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: var(--primary-deep);
  box-shadow: 0 16px 42px rgba(24, 48, 50, 0.24);
  color: #fff;
  font-weight: 600;
  text-align: center;
  transform: translateX(-50%);
  animation: toast-enter 0.25s ease-out;
}

.site-toast.is-error {
  background: #8d4141;
}

.site-toast[hidden] {
  display: none;
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.unsubscribe-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 5.5rem;
  background:
    radial-gradient(circle at 85% 22%, rgba(126, 168, 161, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(219, 233, 229, 0.72), rgba(247, 250, 248, 0));
  text-align: center;
}

.unsubscribe-hero .section-label {
  margin-bottom: 0.8rem;
}

.unsubscribe-hero h1 {
  max-width: 17ch;
  margin: 0 auto 1rem;
}

.unsubscribe-hero-copy {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.unsubscribe-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 850px;
  margin: 2.5rem auto 0;
}

.unsubscribe-highlights span {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 111, 103, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--primary-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.unsubscribe-form-section {
  padding-top: 0;
}

.unsubscribe-form-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.unsubscribe-form-card h2 {
  margin-bottom: 0.5rem;
}

.unsubscribe-form-intro {
  margin-bottom: 1.75rem;
  color: var(--muted);
}

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

.unsubscribe-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.unsubscribe-confirmation input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.unsubscribe-submit {
  min-width: 210px;
}

.unsubscribe-back-link {
  display: block;
  margin-top: 1.2rem;
  color: var(--primary-deep);
  font-weight: 600;
  text-align: center;
}

.unsubscribe-footer {
  padding: 1.5rem 0;
}

.unsubscribe-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.unsubscribe-footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .newsletter-panel {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .unsubscribe-highlights {
    grid-template-columns: 1fr;
    max-width: 430px;
  }
}

@media (max-width: 560px) {
  .unsubscribe-form-grid {
    grid-template-columns: 1fr;
  }

  .unsubscribe-submit {
    width: 100%;
  }

  .unsubscribe-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
