@font-face {
  font-family: "Manrope";
  src: url("./assets/438aa629764e75f3-s.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/875ae681bfde4580-s.p.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/51251f8b9793cdb3-s.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/e857b654a2caa584-s.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/cc978ac5ee68c2b6-s.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/4c9affa5bc8f420e-s.p.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+00??, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #f8f9fe;
  --surface: #ffffff;
  --surface-soft: #fbf2f4;
  --text-primary: #181921;
  --text-secondary: #626878;
  --border: #e4e6f0;
  --accent-burgundy: #7A1530;
  --accent-burgundy-mid: #B12A4B;
  --accent-burgundy-soft: #F8E9EE;
  --accent-rose: #D8A8B6;
  --container: 1240px;
  --gutter: 24px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --shadow-card: 0 18px 42px rgba(74, 31, 43, 0.08);
  --shadow-accent: 0 16px 35px rgba(122, 21, 48, 0.22);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --background: #0d0e17;
  --surface: #171827;
  --surface-soft: #241820;
  --text-primary: #F8F3F5;
  --text-secondary: #b5b8c8;
  --border: rgba(255, 255, 255, 0.13);
  --accent-burgundy: #D94B6A;
  --accent-burgundy-mid: #FF6F8B;
  --accent-burgundy-soft: #34161F;
  --accent-rose: #C77B91;
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.25);
  --shadow-accent: 0 18px 42px rgba(217, 75, 106, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 48% 9%, rgba(255, 255, 255, 0.98) 0 15%, rgba(248, 249, 254, 0) 42%),
    radial-gradient(circle at 88% 22%, rgba(242, 201, 212, 0.42) 0 12%, rgba(248, 249, 254, 0) 31%),
    radial-gradient(circle at 12% 36%, rgba(246, 214, 222, 0.38) 0 10%, rgba(248, 249, 254, 0) 32%),
    linear-gradient(180deg, #fbfcff 0%, var(--background) 54%, #fbf4f6 100%);
  color: var(--text-primary);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  transition:
    background 260ms ease,
    color 260ms ease;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 48% 9%, rgba(37, 35, 58, 0.88) 0 14%, rgba(13, 14, 23, 0) 42%),
    radial-gradient(circle at 88% 22%, rgba(217, 75, 106, 0.28) 0 12%, rgba(13, 14, 23, 0) 31%),
    radial-gradient(circle at 12% 36%, rgba(122, 46, 62, 0.34) 0 10%, rgba(13, 14, 23, 0) 32%),
    linear-gradient(180deg, #11121d 0%, var(--background) 54%, #151116 100%);
}

main {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

main::before,
main::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

main::before {
  top: 64px;
  left: -74px;
  width: 310px;
  height: 450px;
  background:
    linear-gradient(142deg, rgba(255, 255, 255, 0.88), rgba(242, 205, 214, 0.54) 42%, rgba(177, 42, 75, 0.2)),
    rgba(248, 233, 238, 0.34);
  clip-path: polygon(0 7%, 58% 0, 100% 43%, 62% 100%, 4% 78%);
  filter: blur(0.2px);
  opacity: 0.7;
}

html[data-theme="dark"] main::before {
  background:
    linear-gradient(142deg, rgba(66, 39, 48, 0.55), rgba(122, 46, 62, 0.48) 42%, rgba(177, 42, 75, 0.22)),
    rgba(64, 29, 40, 0.36);
  opacity: 0.58;
}

main::after {
  top: 112px;
  right: -96px;
  width: 380px;
  height: 520px;
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.82), rgba(235, 190, 202, 0.48) 48%, rgba(122, 21, 48, 0.19)),
    rgba(248, 233, 238, 0.32);
  clip-path: polygon(18% 0, 100% 12%, 84% 78%, 34% 100%, 0 40%);
  opacity: 0.66;
}

html[data-theme="dark"] main::after {
  background:
    linear-gradient(138deg, rgba(62, 38, 46, 0.58), rgba(139, 51, 70, 0.48) 48%, rgba(177, 42, 75, 0.2)),
    rgba(65, 30, 42, 0.34);
  opacity: 0.6;
}

@media (max-width: 900px) {
  main {
    --mobile-shape-1-top: 449px;
    --mobile-shape-1-x: -3px;
    --mobile-shape-1-width: 104px;
    --mobile-shape-1-height: 233px;
    --mobile-shape-1-opacity: 0.3;
    --mobile-shape-1-blur: 5.9px;
    --mobile-shape-2-top: 633.76px;
    --mobile-shape-2-x: -65px;
    --mobile-shape-2-width: 210px;
    --mobile-shape-2-height: 250px;
    --mobile-shape-2-opacity: 0.34;
    --mobile-shape-2-blur: 0.2px;
  }

  main::before {
    top: var(--mobile-shape-1-top, clamp(470px, 55vh, 590px));
    left: var(--mobile-shape-1-x, -72px);
    width: var(--mobile-shape-1-width, 190px);
    height: var(--mobile-shape-1-height, 240px);
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.82), rgba(242, 205, 214, 0.42) 42%, rgba(177, 42, 75, 0.16)), rgba(248, 233, 238, 0.26);
    opacity: var(--mobile-shape-1-opacity, 0.48);
    filter: blur(var(--mobile-shape-1-blur, 0.2px));
  }

  main::after {
    top: var(--mobile-shape-2-top, clamp(560px, 68vh, 720px));
    right: var(--mobile-shape-2-x, -65px);
    width: var(--mobile-shape-2-width, 210px);
    height: var(--mobile-shape-2-height, 250px);
    background: linear-gradient(138deg, rgba(255, 255, 255, 0.78), rgba(235, 190, 202, 0.4) 48%, rgba(122, 21, 48, 0.15)), rgba(248, 233, 238, 0.24);
    opacity: var(--mobile-shape-2-opacity, 0.42);
    filter: blur(var(--mobile-shape-2-blur, 0.2px));
  }

  html[data-theme="dark"] main::before,
  html[data-theme="dark"] main::after { background: linear-gradient(138deg, rgba(62, 38, 46, 0.54), rgba(139, 51, 70, 0.42) 48%, rgba(177, 42, 75, 0.18)), rgba(65, 30, 42, 0.3); }
  html[data-theme="dark"] main::before { opacity: var(--mobile-shape-1-opacity, 0.34); }
  html[data-theme="dark"] main::after { opacity: var(--mobile-shape-2-opacity, 0.34); }
}


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

.container {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  white-space: nowrap;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.button-primary {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-burgundy) 0%, var(--accent-burgundy-mid) 100%);
  box-shadow: var(--shadow-accent);
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 65%;
  background: linear-gradient(100deg, transparent 10%, rgba(255, 255, 255, 0.16) 35%, rgba(255, 255, 255, 0.68) 50%, rgba(255, 255, 255, 0.16) 65%, transparent 90%);
  pointer-events: none;
  animation: button-shine 5.5s ease-in-out infinite;
}

@keyframes button-shine {
  0%, 66% { transform: translateX(-115%) skewX(-22deg); }
  84%, 100% { transform: translateX(260%) skewX(-22deg); }
}

@media (prefers-reduced-motion: reduce) {
  .button-primary::after { animation: none; opacity: 0; }
}

.button-primary:hover {
  box-shadow: 0 20px 44px rgba(122, 21, 48, 0.32);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(24, 25, 33, 0.72);
}

html[data-theme="dark"] .button-secondary {
  background: rgba(22, 23, 37, 0.68);
  border-color: rgba(255, 255, 255, 0.58);
}

.button-secondary:hover {
  border-color: rgba(122, 21, 48, 0.72);
  color: var(--accent-burgundy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(88, 48, 60, 0.12);
  transform: translateY(-2px);
}

.icon,
.feature-svg,
.service-svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  stroke-width: 2;
}

.message-icon {
  stroke-width: 1.8;
}

.feature-svg {
  stroke-width: 2.4;
}

.service-svg {
  stroke-width: 2.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding-top: 10px;
  background: transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.header-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 250px 1fr 272px;
  align-items: center;
  width: min(1320px, calc(100vw - 32px));
  height: 54px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
}

.header-inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid rgba(228, 230, 240, 0.72);
  border-radius: inherit;
  background: rgba(251, 252, 255, 0.82);
  box-shadow: 0 14px 36px rgba(88, 48, 60, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-12px) scale(.98);
  pointer-events: none;
  transition: opacity 480ms ease, transform 560ms cubic-bezier(.16, 1, .3, 1);
}

.site-header.is-scrolled .header-inner::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-cta { width: 184px; height: 40px; padding: 0 19px 0 22px; white-space: nowrap; }
.header-cta-icon { flex: 0 0 auto; margin-left: 2px; }
.mobile-nav-cta { display: none !important; }

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 62px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(228, 230, 240, 0.9);
  border-radius: 999px;
  color: #71798d;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(88, 48, 60, 0.08);
  cursor: pointer;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.theme-toggle:hover {
  border-color: rgba(177, 42, 75, 0.42);
  box-shadow: 0 15px 34px rgba(122, 21, 48, 0.12);
}

.theme-toggle-icon {
  position: relative;
  z-index: 2;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html:not([data-theme="dark"]) .theme-toggle-sun { color: var(--accent-burgundy); }
html:not([data-theme="dark"]) .theme-toggle-moon { color: #858c9b; }
html[data-theme="dark"] .theme-toggle-sun { color: #938896; }
html[data-theme="dark"] .theme-toggle-moon { color: #ffffff; }

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffeaf0, #f6c2d0);
  box-shadow: 0 8px 18px rgba(74, 31, 43, 0.16);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

html[data-theme="dark"] .theme-toggle {
  color: #F1D9E0;
  background: rgba(20, 21, 35, 0.78);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .theme-toggle-thumb {
  background: linear-gradient(135deg, #D94B6A, #FF6F8B);
  box-shadow: 0 0 22px rgba(177, 42, 75, 0.42);
  transform: translateX(28px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-logo {
  display: block;
  width: 188px;
  height: auto;
}

.brand-logo-dark {
  display: none;
}

html[data-theme="dark"] .brand-logo-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #333b50;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.main-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; white-space: nowrap; transition: color 200ms ease; }
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--accent-burgundy); }
.main-nav a:focus-visible { outline: 2px solid var(--accent-burgundy); outline-offset: 2px; }
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a:focus-visible { color: #ff91aa; }

.hero {
  position: relative;
  z-index: 1;
  margin-top: 84px;
  min-height: auto;
  overflow: visible;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  display: none;
  width: 520px;
  height: 520px;
  background: linear-gradient(135deg, rgba(248, 233, 238, 0.05), rgba(177, 42, 75, 0.3));
  clip-path: polygon(0 0, 67% 13%, 100% 50%, 35% 100%, 8% 65%);
  filter: blur(0.2px);
  opacity: 0.35;
}

.hero::before {
  top: -24px;
  left: -340px;
  width: 620px;
  height: 560px;
  transform: rotate(22deg);
  opacity: 0.42;
}

.hero::after {
  top: -88px;
  right: -310px;
  width: 650px;
  height: 590px;
  transform: rotate(-16deg);
  opacity: 0.44;
}

.hero-grid {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  column-gap: 28px;
  width: min(1360px, calc(100vw - 64px));
  min-height: 620px;
  padding-top: 38px;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  z-index: 0;
  display: none;
  pointer-events: none;
}

.hero-grid::before {
  top: -32px;
  left: calc((100vw - min(1360px, calc(100vw - 64px))) / -2 - 74px);
  width: 310px;
  height: 450px;
  background:
    linear-gradient(142deg, rgba(255, 255, 255, 0.88), rgba(242, 205, 214, 0.54) 42%, rgba(177, 42, 75, 0.2)),
    rgba(248, 233, 238, 0.34);
  clip-path: polygon(0 7%, 58% 0, 100% 43%, 62% 100%, 4% 78%);
  filter: blur(0.2px);
  opacity: 0.7;
}

.hero-grid::after {
  top: 16px;
  right: calc((100vw - min(1360px, calc(100vw - 64px))) / -2 - 96px);
  width: 380px;
  height: 520px;
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.82), rgba(235, 190, 202, 0.48) 48%, rgba(122, 21, 48, 0.19)),
    rgba(248, 233, 238, 0.32);
  clip-path: polygon(18% 0, 100% 12%, 84% 78%, 34% 100%, 0 40%);
  opacity: 0.66;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 28px;
  transform: translateX(48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #788095;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  letter-spacing: 0;
  animation: hero-copy-in 640ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

.hero h1 {
  max-width: 580px;
  margin: 22px 0 0;
  color: #15162c;
  font-size: 58px;
  font-weight: 800;
  line-height: 64px;
  letter-spacing: -0.045em;
  animation: hero-copy-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.hero h1 span {
  color: var(--accent-burgundy-mid);
}

.hero p {
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 600;
  line-height: 27px;
  animation: hero-copy-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  animation: hero-copy-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 430ms both;
}

.hero-button {
  height: 48px;
  padding: 0 32px;
}

.button-secondary.hero-button {
  min-width: 200px;
}

.hero-art {
  position: relative;
  z-index: 2;
  min-width: 0;
  height: 470px;
}

.hero-visual {
  position: absolute;
  top: 0;
  left: -40px;
  width: 860px;
  height: 430px;
}

.laptop-visual {
  position: absolute;
  z-index: 1;
  left: 44px;
  top: -48px;
  width: 760px;
  height: 570px;
  filter: drop-shadow(0 30px 34px rgba(48, 31, 38, 0.24));
  animation: laptop-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
}

.laptop-visual::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 3%;
  bottom: 66px;
  z-index: -1;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(177, 42, 75, 0.12) 0%, rgba(248, 249, 254, 0.82) 48%, rgba(248, 249, 254, 0) 74%);
  filter: blur(18px);
}

.laptop-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.laptop-photo-dark { display: none; }

.floating-card {
  position: absolute;
  z-index: 3;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 248, 250, 0.94) 52%, rgba(250, 241, 244, 0.88) 100%);
  box-shadow:
    0 34px 70px rgba(101, 48, 64, 0.2),
    0 14px 28px rgba(122, 21, 48, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  transition: box-shadow 280ms ease;
  opacity: 0;
  animation-fill-mode: both;
}

.floating-card::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  z-index: -1;
  height: 45%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.floating-card::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -18px;
  z-index: -2;
  height: 28px;
  border-radius: 999px;
  background: rgba(122, 53, 72, 0.18);
  filter: blur(18px);
  pointer-events: none;
}

.hero-visual:hover .floating-card {
  box-shadow:
    0 42px 86px rgba(101, 48, 64, 0.23),
    0 18px 34px rgba(122, 21, 48, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.stat-card {
  left: 76px;
  top: 26px;
  width: 170px;
  height: 128px;
  overflow: hidden;
  padding: 15px 18px 13px;
  border-radius: 10px;
  transform: perspective(620px) translate3d(0, var(--stat-scroll-offset, 0px), 0) rotateY(-5deg) rotateZ(-6deg);
  transform-origin: center;
  animation:
    card-fade-in 620ms ease-out 620ms both,
    stat-card-float 5.8s ease-in-out 980ms infinite;
}

.hero-visual:hover .stat-card {
  transform: perspective(620px) translate3d(0, var(--stat-scroll-offset, 0px), 0) rotateY(-5deg) rotateZ(-6deg);
}

.stat-title {
  color: #17182b;
  font-size: 13px;
  font-weight: 900;
  line-height: 16px;
}

.stat-subtitle {
  margin-top: 1px;
  color: #687083;
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
}

.stat-row strong {
  color: #17182b;
  font-size: 17px;
  font-weight: 900;
  line-height: 18px;
}

.stat-row span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent-burgundy-soft);
  box-shadow: inset 0 0 0 4px rgba(177, 42, 75, 0.28);
}

.stat-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  height: 28px;
  margin-top: 7px;
  overflow: hidden;
}

.stat-bars i {
  display: block;
  flex: 0 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #D95876 0%, #8A1734 100%);
  box-shadow: 0 5px 10px rgba(122, 21, 48, 0.14);
  transform: translateY(calc((1 - var(--bar-scale, 0)) * 34px)) scaleY(var(--bar-scale, 0));
  transform-origin: bottom;
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out;
}

.stat-bars i.is-active {
  box-shadow:
    0 6px 14px rgba(122, 21, 48, 0.24),
    0 0 13px rgba(177, 42, 75, 0.38);
}

.services-card {
  right: -10px;
  top: 148px;
  width: 164px;
  padding: 18px 19px 17px;
  border-radius: 14px;
  transform: perspective(620px) rotateY(-6deg) rotateZ(1deg);
  transform-origin: center;
  animation:
    card-fade-in 620ms ease-out 760ms both,
    services-card-float 6.6s ease-in-out 1120ms infinite;
}

.hero-visual:hover .services-card {
  transform: perspective(620px) rotateY(-6deg) rotateZ(1deg);
}

.service-line {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 13px;
  color: #181921;
  font-size: 12px;
  font-weight: 900;
  line-height: 16px;
  opacity: calc(0.28 + var(--line-progress, 0) * 0.72);
  transform: translateY(calc((1 - var(--line-progress, 0)) * 10px));
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.service-line + .service-line {
  margin-top: 14px;
}

.service-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--accent-burgundy);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 42%),
    var(--accent-burgundy-soft);
  box-shadow:
    0 9px 18px rgba(122, 21, 48, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hero-annotations {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: visible;
  pointer-events: none;
}

.annotation-line {
  fill: none;
  stroke: #9A1D3B;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: annotation-draw 860ms ease-out both;
}

.result-annotation .annotation-line {
  animation-delay: 1320ms;
}

.annotation-arrowhead {
  fill: none;
  stroke: #9A1D3B;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: annotation-draw 240ms ease-out both;
}

.result-annotation-arrowhead {
  animation-delay: 1700ms;
}

.annotation-text {
  fill: #8C2440;
  font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: annotation-handwrite 620ms steps(18, end) both;
}

.result-annotation .annotation-text:nth-of-type(1) {
  animation-delay: 620ms;
}

.result-annotation .annotation-text:nth-of-type(2) {
  animation-delay: 820ms;
}

@keyframes stat-card-float {
  0%,
  100% {
    transform: perspective(620px) translate3d(0, var(--stat-scroll-offset, 0px), 0) rotateY(-5deg) rotateZ(-6deg);
  }

  50% {
    transform: perspective(620px) translate3d(10px, calc(var(--stat-scroll-offset, 0px) - 11px), 0) rotateY(-8deg) rotateZ(-7deg);
  }
}

@keyframes services-card-float {
  0%,
  100% {
    transform: perspective(620px) translate3d(0, 0, 0) rotateY(-6deg) rotateZ(1deg);
  }

  50% {
    transform: perspective(620px) translate3d(13px, 9px, 0) rotateY(-10deg) rotateZ(2deg);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes laptop-in {
  from {
    opacity: 0;
    transform: translate3d(22px, 18px, 0) scale(0.975);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes card-fade-in {
  from {
    opacity: 0;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes annotation-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes annotation-text-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes annotation-handwrite {
  0% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.annotation-debug-panel {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10000;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(177, 42, 75, 0.22);
  border-radius: 14px;
  color: #181921;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(74, 31, 43, 0.18);
  backdrop-filter: blur(18px);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
}

.annotation-debug-panel h2 {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 18px;
}

.annotation-debug-panel h3 {
  margin: 14px 0 8px;
  font-size: 12px;
  line-height: 16px;
}

.annotation-debug-row {
  display: grid;
  grid-template-columns: 74px 1fr 38px;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.annotation-debug-row input {
  width: 100%;
}

.annotation-debug-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.annotation-debug-actions button {
  flex: 1;
  height: 32px;
  border: 1px solid rgba(177, 42, 75, 0.22);
  border-radius: 8px;
  color: #7A1530;
  background: #F8E9EE;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.annotation-debug-output {
  display: block;
  min-height: 76px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  color: #4e566b;
  background: #f7f8fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 15px;
  white-space: pre-wrap;
}

.feature-section {
  position: relative;
  grid-column: 1 / -1;
  z-index: 2;
  margin: 72px 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  translate: 0 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 17px;
  border: 1px solid rgba(228, 230, 240, 0.84);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(88, 48, 60, 0.08);
  animation: feature-card-in 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    translate 240ms ease;
}

.feature-card:hover {
  border-color: rgba(177, 42, 75, 0.32);
  box-shadow:
    0 24px 58px rgba(88, 48, 60, 0.13),
    0 10px 24px rgba(122, 21, 48, 0.1);
  translate: 0 -5px;
}

.feature-card:nth-child(1) {
  animation-delay: 700ms;
}

.feature-card:nth-child(2) {
  animation-delay: 790ms;
}

.feature-card:nth-child(3) {
  animation-delay: 880ms;
}

.feature-card:nth-child(4) {
  animation-delay: 970ms;
}

.feature-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 3.4vw, 48px);
  height: clamp(42px, 3.4vw, 48px);
  overflow: hidden;
  border-radius: clamp(10px, 0.9vw, 12px);
  color: var(--accent-burgundy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(248, 233, 238, 0.3)),
    var(--accent-burgundy-soft);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 18%, rgba(255, 255, 255, 0) 62%);
  opacity: 0;
  transform: scale(0.35);
  transition: opacity 180ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-icon svg {
  position: relative;
  z-index: 1;
  width: clamp(25px, 2.2vw, 32px);
  height: auto;
  transform-origin: center;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover .feature-icon {
    background:
      radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 48%),
      #F2D6DE;
    box-shadow: 0 12px 26px rgba(122, 21, 48, 0.16);
    transform: scale(1.07);
  }

  .feature-card:hover .feature-icon::after {
    opacity: 1;
    transform: scale(1);
  }

  .feature-card:nth-child(1):hover .clock-hour-hand {
    animation: feature-clock-hour 850ms ease-in-out;
  }

  .feature-card:nth-child(1):hover .clock-minute-hand {
    animation: feature-clock-minute 850ms ease-in-out;
  }

  .feature-card:nth-child(2):hover .feature-icon svg {
    animation: feature-screen 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .feature-card:nth-child(3):hover .seo-bar {
    animation: feature-chart-bar 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .feature-card:nth-child(3):hover .seo-bar--2 { animation-delay: 90ms; }
  .feature-card:nth-child(3):hover .seo-bar--3 { animation-delay: 180ms; }

  .feature-card:nth-child(4):hover .feature-icon svg {
    animation: feature-gear 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* Rotate the clock hands around the dial's centre, not around each path. */
.clock-hour-hand,
.clock-minute-hand { transform-box: view-box; transform-origin: 50% 50%; }

@keyframes feature-clock-hour {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes feature-clock-minute {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes feature-screen {
  0%, 100% { transform: perspective(80px) rotateX(0) scale(1); }
  45% { transform: perspective(80px) rotateX(-12deg) scale(1.12); }
}

/* Each bar grows upward from the shared chart baseline. */
.seo-bar { transform-box: view-box; transform-origin: center 17px; }

@keyframes feature-chart-bar {
  from { transform: scaleY(.08); }
  to { transform: scaleY(1); }
}

@keyframes feature-gear {
  0% { transform: rotate(0) scale(1); }
  55% { transform: rotate(72deg) scale(1.12); }
  100% { transform: rotate(90deg) scale(1); }
}

.feature-card h2 {
  margin: 0;
  color: #191a2d;
  font-size: 17px;
  font-weight: 900;
  line-height: 22px;
  letter-spacing: 0;
}

.feature-card p {
  margin: 2px 0 0;
  color: #626878;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.feature-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: fit-content;
  margin: 42px auto 0;
  padding: 9px 13px 7px;
  border: 1px solid rgba(228, 230, 240, 0.86);
  border-radius: 999px;
  color: #747b8e;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(88, 48, 60, 0.08);
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  animation:
    scroll-hint-in 520ms ease-out 1080ms both,
    scroll-hint-bob 1.7s ease-in-out 1700ms infinite;
}

.feature-scroll-hint svg {
  color: var(--accent-burgundy);
}

html[data-theme="dark"] .header-inner::before {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(13, 14, 23, 0.78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  .header-inner::before { transition: none; transform: none; }
}

html[data-theme="dark"] .main-nav {
  color: #c8cad8;
}

html[data-theme="dark"] .hero::before,
html[data-theme="dark"] .hero::after {
  background: linear-gradient(135deg, rgba(67, 38, 47, 0.18), rgba(177, 42, 75, 0.24));
  opacity: 0.28;
}

html[data-theme="dark"] .hero-grid::before,
html[data-theme="dark"] .hero-grid::after {
  background:
    linear-gradient(138deg, rgba(62, 38, 46, 0.58), rgba(139, 51, 70, 0.48) 48%, rgba(177, 42, 75, 0.2)),
    rgba(65, 30, 42, 0.34);
  opacity: 0.56;
}

html[data-theme="dark"] .formats-section::before,
html[data-theme="dark"] .templates-section::after,
html[data-theme="dark"] .process-section::before,
html[data-theme="dark"] .results-section::after,
html[data-theme="dark"] .pricing-section::before,
html[data-theme="dark"] .pricing-section::after {
  background:
    linear-gradient(138deg, rgba(62, 38, 46, 0.54), rgba(139, 51, 70, 0.42) 48%, rgba(177, 42, 75, 0.18)),
    rgba(65, 30, 42, 0.3);
  opacity: 0.34;
}

html[data-theme="dark"] .eyebrow {
  color: #D8C7CE;
  background: rgba(20, 21, 35, 0.62);
}

html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .stat-title,
html[data-theme="dark"] .stat-row strong,
html[data-theme="dark"] .service-line,
html[data-theme="dark"] .feature-card h2 {
  color: #F8F3F5;
}

html[data-theme="dark"] .stat-subtitle,
html[data-theme="dark"] .feature-card p {
  color: #b5b8c8;
}

html[data-theme="dark"] .floating-card {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(24, 25, 39, 0.96) 0%, rgba(54, 33, 41, 0.94) 52%, rgba(72, 37, 49, 0.88) 100%);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.28),
    0 14px 30px rgba(217, 75, 106, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .feature-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(22, 23, 37, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .feature-card:hover {
  border-color: rgba(255, 111, 139, 0.42);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.32),
    0 10px 24px rgba(217, 75, 106, 0.18);
}

html[data-theme="dark"] .feature-card:hover .feature-icon {
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 48%),
    #3A1722;
}

html[data-theme="dark"] .feature-scroll-hint {
  color: #c8cad8;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(22, 23, 37, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

@keyframes feature-card-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes scroll-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

@keyframes scroll-hint-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .hero h1,
  .hero p,
  .hero-actions,
  .laptop-visual,
  .floating-card,
  .annotation-line,
  .annotation-arrowhead,
  .annotation-text,
  .feature-card,
  .feature-scroll-hint {
    animation: none;
    opacity: 1;
  }

  .annotation-line,
  .annotation-arrowhead {
    stroke-dashoffset: 0;
  }

  .feature-icon,
  .feature-icon::after,
  .feature-icon svg,
  .clock-hour-hand,
  .clock-minute-hand,
  .seo-bar {
    animation: none !important;
    transition: none;
  }
  .feature-card { transition: none; }
  .feature-card:hover { translate: 0 0; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .main-nav .mobile-nav-cta { display: flex !important; color: var(--accent-burgundy); font-weight: 800; }
  .header-inner {
    grid-template-columns: minmax(120px, 1fr) auto;
  }

  .main-nav {
    display: none;
  }

  .hero-grid {
    position: static;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .feature-section {
    position: relative;
    display: flex;
    flex-direction: column;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 28px;
  }

  .feature-scroll-hint { order: -1; margin: 0 auto 40px; translate: 0 -18px; }

  .hero-copy {
    transform: none;
  }

  .hero-art {
    margin-top: 24px;
  }

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

  .section-heading-split,
  .pricing-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .format-grid,
  .template-grid,
  .process-grid,
  .results-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .format-card[data-format-video-card] .format-content {
    margin-left: 0;
    padding-left: 22px;
    background: rgba(255, 255, 255, 0.97);
  }

  html[data-theme="dark"] .format-card[data-format-video-card] .format-content {
    background: rgba(22, 23, 37, 0.97);
  }
}

@media (max-width: 640px) {
  .feature-scroll-hint { margin-bottom: clamp(100px, calc(100dvh - 830px), 220px); }
  .container {
    width: calc(100vw - 32px);
  }

  .hero h1 {
    font-size: 40px;
    line-height: 44px;
  }

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

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

.formats-section,
.templates-section,
.process-section,
.results-section,
.pricing-section,
.contact-section { position: relative; z-index: 1; padding: 26px 0 56px; scroll-margin-top: 110px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 16px; align-items: stretch; }
.contact-intro, .contact-form { min-width: 0; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-card); }
.contact-intro { display: flex; flex-direction: column; justify-content: space-between; min-height: 470px; padding: 34px; overflow: hidden; background: linear-gradient(110deg,rgba(255,255,255,.97),rgba(255,247,250,.84) 64%,rgba(255,255,255,.56)), url("./assets/final-cta-background-burgundy.png") center / cover; }
.contact-intro h3 { max-width: 400px; margin: 0 0 14px; font-size: clamp(30px,3.4vw,42px); line-height: 1.14; letter-spacing: -.035em; }
.contact-intro-content > p { max-width: 380px; margin: 0; color: var(--text-secondary); font-size: 15px; font-weight: 600; line-height: 1.55; }
.contact-direct { display: grid; gap: 2px; margin-top: 28px; }
.contact-direct a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px 0; border-top: 1px solid rgba(122,21,48,.16); color: var(--text-primary); font-size: 14px; font-weight: 800; }
.contact-direct a > span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.contact-direct a > svg { position: relative; top: 13px; flex: 0 0 auto; }
.contact-direct small { color: var(--text-secondary); font-size: 11px; font-weight: 700; }
.contact-direct a > svg:last-child { margin-left: auto; flex: 0 0 auto; }
.contact-direct a:hover { color: var(--accent-burgundy); }

/* Reveal content as it enters the viewport without changing card hover effects. */
.scroll-reveal-pending { opacity: 0; }
.scroll-reveal-entering { animation: scroll-reveal-in 720ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes scroll-reveal-in {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-pending { opacity: 1; }
  .scroll-reveal-entering { animation: none; }
}
.contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 12px 14px; padding: 28px; background: var(--surface); scroll-margin-top: 110px; }
.contact-form-heading { grid-column: 1 / -1; margin-bottom: 6px; }
.contact-form-heading h3 { margin: 0 0 5px; font-size: 24px; line-height: 1.2; }
.contact-form-heading p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.contact-field { display: grid; gap: 7px; min-width: 0; }
.contact-field-wide, .contact-consent, .contact-submit, .contact-hint { grid-column: 1 / -1; }
.contact-field label { color: var(--text-primary); font-size: 13px; font-weight: 800; }
.contact-field label span[aria-hidden] { color: var(--accent-burgundy); }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); color: var(--text-primary); font: inherit; font-size: 14px; resize: vertical; }
.contact-form textarea { min-height: 82px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form button:focus-visible, .contact-form a:focus-visible { outline: 2px solid var(--accent-burgundy); outline-offset: 2px; }
.contact-consent { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.contact-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-burgundy); flex: 0 0 auto; }
.contact-consent a { color: var(--accent-burgundy); text-decoration: underline; }
.contact-submit { min-height: 46px; padding: 0 24px; border: 0; font-family: inherit; cursor: pointer; justify-self: start; }
.contact-submit:disabled { cursor: wait; opacity: .72; }
.contact-hint { min-height: 20px; margin: 0; color: var(--text-secondary); font-size: 12px; }
html[data-theme="dark"] .contact-intro { background: linear-gradient(110deg,rgba(25,23,35,.96),rgba(49,24,37,.89) 64%,rgba(61,27,42,.69)), url("./assets/final-cta-background-burgundy.png") center / cover; }
html[data-theme="dark"] .contact-direct a { border-top-color: rgba(255,255,255,.16); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-intro { min-height: 340px; } }
@media (max-width: 760px) { .contact-section { padding: 20px 0 48px; } .contact-intro, .contact-form { padding: 24px; } }
@media (max-width: 540px) { .contact-form { grid-template-columns: 1fr; } }

.site-footer {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.formats-section::before,
.templates-section::before,
.process-section::before,
.results-section::before,
.pricing-section::before,
.formats-section::after,
.templates-section::after,
.process-section::after,
.results-section::after,
.pricing-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(0.2px);
}

.formats-section::before,
.process-section::before,
.pricing-section::before {
  background:
    linear-gradient(142deg, rgba(255, 255, 255, 0.82), rgba(242, 205, 214, 0.42) 42%, rgba(177, 42, 75, 0.16)),
    rgba(248, 233, 238, 0.26);
  clip-path: polygon(0 7%, 58% 0, 100% 43%, 62% 100%, 4% 78%);
}

.templates-section::after,
.results-section::after,
.pricing-section::after {
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.78), rgba(235, 190, 202, 0.4) 48%, rgba(122, 21, 48, 0.15)),
    rgba(248, 233, 238, 0.24);
  clip-path: polygon(18% 0, 100% 12%, 84% 78%, 34% 100%, 0 40%);
}

.formats-section::before {
  left: -170px;
  top: 48px;
  width: 260px;
  height: 340px;
  opacity: 0.48;
}

.templates-section::after {
  right: -150px;
  top: -28px;
  width: 340px;
  height: 410px;
  opacity: 0.42;
}

.process-section::before {
  left: -140px;
  top: -18px;
  width: 250px;
  height: 320px;
  opacity: 0.38;
  transform: rotate(-12deg);
}

.results-section::after {
  right: -180px;
  top: -36px;
  width: 330px;
  height: 360px;
  opacity: 0.38;
  transform: rotate(8deg);
}

.pricing-section::before {
  left: -190px;
  bottom: 52px;
  width: 330px;
  height: 400px;
  opacity: 0.46;
  transform: rotate(10deg);
}

.pricing-section::after {
  right: -160px;
  bottom: 18px;
  width: 360px;
  height: 430px;
  opacity: 0.44;
}

.formats-section {
  margin-top: 110px;
  padding-top: 54px;
}

.website-benefits-section { position: relative; z-index: 1; padding: 48px 0 32px; }
.website-benefits-layout { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); align-items: start; gap: clamp(48px, 4.5vw, 64px); }
.website-benefits-copy { min-width: 0; }
.website-benefits-section h2 { max-width: 400px; margin: 18px 0 0; color: var(--text-primary); font-size: clamp(40px, 3.3vw, 44px); font-weight: 900; line-height: 1.12; letter-spacing: -0.035em; }
.website-benefits-intro { margin: 22px 0 0; color: var(--text-secondary); font-size: 16px; line-height: 1.55; }
.website-benefits-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 390px; margin-top: 30px; }
.website-benefits-flow-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; color: var(--text-primary); text-align: center; font-size: 12px; font-weight: 700; line-height: 1.3; }
.website-benefits-flow-step:not(:last-child)::after { content: "→"; position: absolute; top: 2px; right: -10px; color: var(--text-secondary); font-size: 16px; font-weight: 400; line-height: 23px; }
.website-benefits-flow-step svg { width: 23px; height: 23px; color: var(--accent-burgundy); }
.website-benefits-note { max-width: 390px; margin-top: 32px; padding: 2px 0 2px 18px; border-left: 2px solid var(--accent-burgundy); }
.website-benefits-note h3 { margin: 0 0 8px; color: var(--text-primary); font-size: 16px; font-weight: 800; line-height: 1.3; }
.website-benefits-note p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.website-benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.website-benefit-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-16); background: var(--surface); transition: transform 300ms ease, border-color 300ms ease, background-color 300ms ease, opacity 780ms cubic-bezier(.2,.8,.2,1), translate 780ms cubic-bezier(.2,.8,.2,1); }
.website-benefit-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.website-benefit-number { color: var(--accent-burgundy); font-size: 30px; font-weight: 700; line-height: 1; opacity: .28; transition: opacity 300ms ease; }
.website-benefit-top svg { width: 30px; height: 30px; flex: none; color: var(--accent-burgundy); opacity: .72; stroke-width: 1.7; transition: opacity 300ms ease; }
.website-benefit-card h3 { margin: 20px 0 10px; color: var(--text-primary); font-size: 21px; font-weight: 700; line-height: 1.25; }
.website-benefit-card p { margin: 0 0 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.website-benefit-meta { margin-top: auto; color: var(--accent-burgundy); font-size: 13px; font-weight: 650; line-height: 1.4; }
.website-benefit-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent-burgundy) 35%, var(--border)); background: color-mix(in srgb, var(--surface) 96%, var(--accent-burgundy)); }
.website-benefit-card:hover .website-benefit-number, .website-benefit-card:hover .website-benefit-top svg { opacity: .9; }
@media (max-width: 920px) { .website-benefits-layout { grid-template-columns: 1fr; gap: 32px; } .website-benefits-section h2 { max-width: 650px; } .website-benefits-intro { max-width: 760px; } .website-benefits-flow { max-width: 420px; } .website-benefits-note { max-width: 760px; margin-top: 24px; } }
@media (max-width: 640px) { .website-benefits-section { padding: 38px 0 12px; } .website-benefits-section h2 { font-size: clamp(30px, 8vw, 38px); } .website-benefits-grid { grid-template-columns: 1fr; gap: 14px; } .website-benefit-card { padding: 26px; } }
.website-benefits-copy { transition: opacity 780ms cubic-bezier(.2,.8,.2,1), translate 780ms cubic-bezier(.2,.8,.2,1); }
.website-benefits-copy.is-reveal-ready, .website-benefit-card.is-reveal-ready { opacity: 0; translate: 0 20px; }
.website-benefits-copy.is-reveal-ready.is-reveal-visible, .website-benefit-card.is-reveal-ready.is-reveal-visible { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .website-benefits-copy, .website-benefit-card, .website-benefit-number, .website-benefit-top svg { transition: none; } .website-benefit-card:hover { transform: none; } .website-benefits-copy.is-reveal-ready, .website-benefit-card.is-reveal-ready { opacity: 1; translate: none; } }

.templates-section,
.process-section,
.results-section,
.pricing-section {
  padding-top: 76px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #7a8298;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  line-height: 14px;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.process-section h2,
.results-section h2,
.pricing-section h2 {
  margin: 8px 0 0;
  color: var(--text-primary);
  font-size: 30px;
  font-weight: 900;
  line-height: 34px;
  letter-spacing: -0.025em;
}

.formats-intro {
  max-width: none;
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: end;
  gap: 32px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
}

.section-side p {
  max-width: 430px;
  margin: 0;
}

.section-arrows {
  display: flex;
  gap: 10px;
}

.section-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(88, 48, 60, 0.08);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f566b;
  font-size: 13px;
  font-weight: 800;
}

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

.format-card,
.template-card,
.process-card,
.result-card,
.pricing-card,
.final-cta {
  border: 1px solid rgba(228, 230, 240, 0.86);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(88, 48, 60, 0.08);
}

.format-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  border-color: rgba(177, 42, 75, 0.2);
  box-shadow: 0 22px 54px rgba(88, 48, 60, 0.1);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.format-card::before {
  content: "";
  position: absolute;
  inset: 0 18% auto;
  z-index: 3;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--accent-burgundy-mid), transparent);
  opacity: 0.72;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .format-card:hover {
    border-color: rgba(177, 42, 75, 0.46);
    box-shadow: 0 30px 68px rgba(88, 48, 60, 0.16), 0 10px 26px rgba(177, 42, 75, 0.1);
    transform: translateY(-6px);
  }
}

.format-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  min-width: 0;
  min-height: 0;
  background: #fbf8fa;
  overflow: hidden;
}

.format-image-dark { display: none !important; }
html[data-theme="dark"] .format-image-light { display: none; }
html[data-theme="dark"] .format-image-dark { display: block !important; }

html[data-theme="dark"] .format-visual { background: #0d0d14; }
html[data-theme="dark"] .format-content { background: rgba(22, 23, 37, 0.97); }

.format-visual :is(img, video) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.format-visual video { background: #fbf8fa; transition: opacity 320ms ease-in-out, filter 320ms ease-in-out; }
.format-visual video.is-loop-softening { opacity: .4; }
html[data-theme="dark"] .format-visual video { background: #0d0d14; }
html[data-theme="dark"] .format-visual video.is-loop-softening { opacity: 1; filter: brightness(.58); }
@media (prefers-reduced-motion: reduce) {
  .format-visual video { transition: none; }
}

.format-card[data-format-video-card] .format-visual video {
  object-fit: contain;
}

.format-card[data-format-video-card] .format-content {
  background: rgba(255, 255, 255, 0.97);
}

html[data-theme="dark"] .format-card[data-format-video-card] .format-content {
  background: rgba(22, 23, 37, 0.97);
}

.format-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  row-gap: 12px;
  align-self: stretch;
  min-width: 0;
  min-height: 330px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.97);
}

.format-content h3,
.process-card h3,
.pricing-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 21px;
  overflow-wrap: anywhere;
}

.format-content h3 {
  min-height: 42px;
}

.format-content > p {
  min-height: 0;
  margin-top: 0;
}

.format-content > ul {
  align-self: start;
  margin-top: 0;
}

.format-content p,
.process-card p,
.pricing-card p,
.final-cta p {
  margin: 7px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.format-content ul,
.pricing-card ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.format-content li,
.pricing-card li {
  color: var(--accent-burgundy);
}

.format-content a {
  display: inline-flex;
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent-burgundy);
  font-size: 13px;
  font-weight: 900;
}

.format-content .format-button {
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 40px;
  margin-top: 0;
  padding: 0 20px;
  color: #ffffff;
  font-size: 13px;
  line-height: 16px;
}

.format-card .format-content {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 24px;
  row-gap: 10px;
  min-height: 0;
  padding: 26px 30px 28px;
}

.format-content h3 {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  font-size: 21px;
  line-height: 1.22;
}

.format-content > p {
  grid-column: 1;
  grid-row: 2;
  max-width: 52ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.format-content > ul {
  grid-column: 1 / -1;
  grid-row: 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 10px;
  width: 100%;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.55;
}

.format-content .format-button {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  min-height: 44px;
  margin-top: 0;
}

@media (max-width: 640px) {
  .format-card .format-content { grid-template-columns: 1fr; grid-template-rows: repeat(4, auto); padding: 24px 20px; }
  .format-content .format-button { grid-column: 1; grid-row: 3; justify-self: stretch; width: 100%; margin-top: 6px; }
  .format-content > ul { grid-column: 1; grid-row: 4; grid-template-columns: 1fr; }
}

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

.template-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  border-radius: 16px;
  border-color: rgba(190,159,174,.55);
  background: #fff;
  box-shadow: 0 3px 8px rgba(66,38,53,.06), 0 18px 38px rgba(66,38,53,.12), 0 38px 72px rgba(66,38,53,.07);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.template-card.scroll-reveal-entering {
  animation: template-card-reveal 1250ms cubic-bezier(.4, 0, .2, 1) both;
}
.template-card.scroll-reveal-entering:nth-child(even) { animation-delay: 100ms; }
@keyframes template-card-reveal {
  from { opacity: 0; translate: 0 42px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .template-card.scroll-reveal-entering { animation: none; }
}

.template-card:nth-child(even) { flex-direction: column; }
.template-card:hover { border-color: rgba(177,42,75,.34); box-shadow: 0 5px 12px rgba(66,38,53,.07), 0 26px 52px rgba(66,38,53,.16), 0 48px 90px rgba(66,38,53,.1); transform: translateY(-2px); }

.template-preview {
  position: relative;
  flex: none;
  height: 380px;
  min-width: 0;
  background: var(--accent-burgundy-soft);
  overflow: hidden;
}


.template-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 4;
  min-height: 38px;
  padding: 9px 16px;
  color: #704452;
  background: linear-gradient(180deg, #f4edf0, #e8dce3);
  border-bottom: 1px solid rgba(107,68,85,.3);
  box-shadow: inset 0 1px rgba(255,255,255,.9), 0 3px 8px rgba(43,22,35,.12);
  font-size: 11px;
  font-weight: 700;
}

.browser-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.template-browser-bar span { margin-left: 4px; opacity: .74; }

.template-preview img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  transition: transform 10s ease-in-out;
}
.template-card:hover .template-preview img { transform: translateY(calc(-100% + 342px)); }
@media (prefers-reduced-motion: reduce) {
  .template-preview img { transition: none; }
  .template-card:hover .template-preview img { transform: none; }
}

.template-info { flex: 1; padding: 26px 28px 28px; position: relative; border-top: 1px solid rgba(190,159,174,.45); background: linear-gradient(180deg, #fff 0%, #fffafd 100%); box-shadow: 0 -5px 16px rgba(40,25,35,.07); }
.template-tag { margin: 0 0 8px; color: var(--accent-burgundy-mid); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.template-info h3 { margin: 0 0 12px; color: var(--text-primary); font-size: 26px; font-weight: 900; line-height: 1.2; }
.template-description { margin: 0 0 20px; color: var(--text-secondary); font-size: 14px; font-weight: 600; line-height: 1.6; }
.template-details { display: grid; gap: 7px; margin: 0 0 24px; padding: 0; list-style: none; }
.template-details li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 12px; line-height: 1.45; }
.template-details span { color: var(--text-secondary); opacity: .7; }
.template-details strong { color: var(--text-primary); font-weight: 800; }
.template-button { min-height: 42px; padding: 0 20px; }
.template-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.template-actions > button { margin-left: auto; }
.template-actions > button.button-primary { border: 0; }
.template-actions button { font-family: inherit; cursor: pointer; }

.site-purchase-dialog { width: min(980px, calc(100% - 32px)); max-height: min(90dvh, 800px); margin: auto; padding: 0; border: 1px solid rgba(177,42,75,.28); border-radius: 20px; background: var(--surface, #fff); color: var(--text-primary); box-shadow: 0 30px 90px rgba(42,20,31,.28); }
.site-purchase-dialog::backdrop { background: rgba(25,16,28,.7); backdrop-filter: blur(8px); }
.site-purchase-content { position: relative; padding: 34px; }
.site-purchase-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(177,42,75,.25); border-radius: 50%; background: transparent; color: var(--text-primary); font: inherit; font-size: 26px; cursor: pointer; }
.site-purchase-eyebrow { margin: 0 0 8px; color: var(--accent-burgundy); font-size: 12px; font-weight: 800; }
.site-purchase-content > h2 { margin: 0 0 20px; font-size: clamp(28px,4vw,38px); }
.site-purchase-intro { max-width: 650px; margin: 0 0 26px; color: var(--text-secondary); line-height: 1.55; }
.site-purchase-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.site-purchase-option { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid rgba(228, 230, 240, 0.86); border-radius: 14px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 18px 48px rgba(88, 48, 60, 0.08); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
html[data-theme="dark"] .site-purchase-option { border-color: rgba(255, 255, 255, 0.12); background: rgba(22, 23, 37, 0.86); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24); }
html[data-theme="dark"] .site-purchase-option.is-featured { border-color: var(--accent-burgundy); }
.site-purchase-option.is-featured { border-color: var(--accent-burgundy); }
.site-purchase-option:hover,
.site-purchase-option:focus-within { border-color: var(--accent-burgundy-mid); box-shadow: 0 18px 38px rgba(122,21,48,.16); transform: translateY(-4px); }
html[data-theme="dark"] .site-purchase-option:hover,
html[data-theme="dark"] .site-purchase-option:focus-within { box-shadow: 0 18px 38px rgba(0,0,0,.3), 0 0 0 1px rgba(243,107,137,.2); }
@media (prefers-reduced-motion: reduce) {
  .site-purchase-option { transition: none; }
  .site-purchase-option:hover,
  .site-purchase-option:focus-within { transform: none; }
}
.site-purchase-badge { position: absolute; top: 0; right: 16px; padding: 7px 11px; border-radius: 0 0 10px 10px; background: var(--accent-burgundy); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.site-purchase-badge--value { background: #247249; }
.site-purchase-badge--convenient { background: #1e6680; }
.site-purchase-option h3 { margin: 0 0 10px; font-size: 20px; }
.site-purchase-option p { margin: 0 0 16px; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.site-purchase-option ul { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; }
.site-purchase-option li { font-size: 13px; line-height: 1.4; }
.site-purchase-option li::before { content: "✓"; margin-right: 6px; color: var(--accent-burgundy); font-weight: 900; }
.site-purchase-option strong { margin-top: auto; margin-bottom: 16px; font-size: 25px; white-space: nowrap; }
.site-purchase-option .button { width: 100%; min-height: 46px; padding: 10px 18px; justify-content: center; text-align: center; }
.site-purchase-number { color: var(--accent-burgundy-mid); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.site-purchase-option .site-purchase-number + h3 { margin-top: 12px; }
.site-purchase-details { margin: 8px 0 16px; border-top: 1px solid rgba(177,42,75,.22); border-bottom: 1px solid rgba(177,42,75,.22); }
.site-purchase-details summary { padding: 13px 0; color: var(--text-primary); font-size: 13px; font-weight: 800; cursor: pointer; }
.site-purchase-details summary::marker { color: var(--accent-burgundy); }
.site-purchase-details ul { padding: 0 0 13px 17px; margin: 0; list-style: disc; }
.site-purchase-details li { font-size: 12px; line-height: 1.55; }
.site-purchase-details li::before { content: none; }
.site-purchase-details li::marker { color: var(--accent-burgundy); }
.site-purchase-gift { margin-top: auto; margin-bottom: 12px; color: var(--accent-burgundy); font-size: 14px; font-weight: 800; line-height: 1.4; }
.site-purchase-old { margin-bottom: 3px; color: var(--text-secondary); font-size: 12px; opacity: .65; text-decoration: line-through; }
.site-purchase-option strong { margin-top: 0; }
.site-purchase-details summary:focus-visible { outline: 3px solid var(--accent-burgundy); outline-offset: 2px; }
.site-purchase-dialog :focus-visible { outline: 3px solid var(--accent-burgundy); outline-offset: 3px; }
@media (max-width: 720px) { .site-purchase-options { grid-template-columns: 1fr; } .site-purchase-content { padding: 28px 18px; } .site-purchase-dialog { max-height: calc(100dvh - 24px); } }

html[data-theme="dark"] .template-browser-bar {
  color: #f4cbd5;
  background: linear-gradient(180deg, #49313c, #2e202b);
  border-bottom-color: rgba(255,255,255,.23);
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 3px 8px rgba(0,0,0,.3);
}

html[data-theme="dark"] .template-preview { background: #160d12; }
html[data-theme="dark"] .template-info { border-top-color: rgba(255,255,255,.15); background: linear-gradient(180deg, #1c1d2d, #171827); box-shadow: 0 -5px 16px rgba(0,0,0,.2); }

.process-icon,
.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent-burgundy);
  background: var(--accent-burgundy-soft);
  font-weight: 900;
}

.process-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.process-grid { position: relative; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 34px; transform: translateY(48px); }
.process-grid::before { content: ""; position: absolute; top: 29px; left: 10%; right: 10%; z-index: 0; height: 1px; background: linear-gradient(90deg, var(--accent-burgundy), #d75a78); opacity: .24; }
.process-line { position: absolute; top: 29px; left: 10%; z-index: 0; width: 80%; height: 1px; background: linear-gradient(90deg, var(--accent-burgundy), #d75a78); box-shadow: 0 0 8px rgba(177,42,75,.42), 0 0 20px rgba(215,90,120,.2); }
.process-section.is-motion-ready .process-line { width: calc(80% * var(--process-line-progress)); }
.process-card { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; justify-items: center; align-content: start; min-height: 220px; padding: 0 18px 22px; border: 0; background: transparent; box-shadow: none; text-align: center; }
.process-section.is-motion-ready .section-label,
.process-section.is-motion-ready h2 { opacity: var(--process-heading-progress); transform: translateY(calc(18px * (1 - var(--process-heading-progress)))); }
.process-icon { position: relative; overflow: hidden; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border: 2px solid var(--accent-burgundy); border-radius: 50%; color: var(--accent-burgundy); background: var(--surface); box-shadow: 0 0 24px rgba(177,42,75,.2); font-size: 14px; transition: color 300ms ease, border-color 300ms ease, background 300ms ease, box-shadow 300ms ease, transform 300ms ease; }
.process-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.7) 48%, transparent 72%); transform: translateX(-140%); transition: transform 550ms ease; }
.process-section.is-motion-ready .process-icon { opacity: var(--process-icon-progress); transform: translateY(calc(18px * (1 - var(--process-icon-progress)))) scale(calc(.84 + .16 * var(--process-icon-progress))); }
.process-icon svg { position: relative; z-index: 1; width: 25px; height: 25px; flex: 0 0 auto; }
.process-card h3 { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 0; color: var(--text-primary); font-size: 16px; font-weight: 900; line-height: 21px; transition: color 220ms ease; }
.process-step-number { color: var(--accent-burgundy-mid); font-size: 13px; letter-spacing: .04em; }
.process-card p { max-width: 210px; margin: 10px 0 0; color: var(--text-secondary); font-size: 13px; font-weight: 600; line-height: 19px; }
.process-section.is-motion-ready .process-card h3,
.process-section.is-motion-ready .process-card p { opacity: var(--process-text-progress); transform: translateY(calc(14px * (1 - var(--process-text-progress)))); }
.process-card:focus { outline: none; }

.process-section:not(.is-motion-ready) .process-card:hover .process-icon,
.process-section:not(.is-motion-ready) .process-card:focus-visible .process-icon,
.process-section.is-motion-complete .process-card:hover .process-icon,
.process-section.is-motion-complete .process-card:focus-visible .process-icon { color: #fff; border-color: var(--accent-burgundy); background: var(--accent-burgundy); box-shadow: 0 10px 30px rgba(177,42,75,.38); transform: translateY(-4px) scale(1.08); }
.process-section:not(.is-motion-ready) .process-card:hover .process-icon::after,
.process-section:not(.is-motion-ready) .process-card:focus-visible .process-icon::after,
.process-section.is-motion-complete .process-card:hover .process-icon::after,
.process-section.is-motion-complete .process-card:focus-visible .process-icon::after { transform: translateX(140%); }
.process-section:not(.is-motion-ready) .process-card:hover h3,
.process-section:not(.is-motion-ready) .process-card:focus-visible h3,
.process-section.is-motion-complete .process-card:hover h3,
.process-section.is-motion-complete .process-card:focus-visible h3 { color: var(--accent-burgundy); }
.process-card:focus-visible { border-radius: 12px; box-shadow: 0 0 0 3px rgba(177, 42, 75, 0.18); }

@media (prefers-reduced-motion: reduce) {
  .process-grid::before,
  .process-line,
  .process-card,
  .process-icon { transition: none; }
  .process-card { opacity: 1; transform: none; }
  .process-card h3,
  .process-card p { opacity: 1; transform: none; }
}

.result-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 900;
  line-height: 28px;
}

.result-card p {
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.pricing-intro {
  max-width: none;
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
@media (min-width: 900px) {
  .pricing-intro { white-space: nowrap; }
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px 22px 22px;
}
.pricing-badge { position: absolute; top: 0; right: 16px; padding: 7px 11px; border-radius: 0 0 10px 10px; background: var(--accent-burgundy); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.pricing-badge--value { background: #247249; }
.pricing-badge--custom { background: #8d4360; }
.pricing-badge--convenient { background: #1e6680; }

.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pricing-top span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-burgundy), var(--accent-burgundy-mid));
  font-size: 11px;
  font-weight: 900;
}

.pricing-price-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 62px;
  margin-top: 12px;
}

.pricing-old-price {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  opacity: 0.75;
}

.pricing-card strong {
  display: block;
  margin-top: 2px;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 900;
  line-height: 30px;
}

.pricing-card strong small {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-card ul {
  flex: 1;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 20px;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.format-content li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.format-content li::before,
.pricing-card .pricing-feature::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin: 5px 1px 0 0;
  border: 2px solid var(--accent-burgundy-mid);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 3px rgba(177, 42, 75, 0.08);
}

.pricing-card .pricing-gift {
  margin-top: 14px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 21px;
}

.pricing-card .button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
}

.pricing-card.is-popular {
  border-color: rgba(177, 42, 75, 0.28);
  box-shadow: 0 24px 56px rgba(122, 21, 48, 0.16);
}

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

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 32px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 252, 0.86) 46%, rgba(255, 255, 255, 0.18) 100%),
    url("./assets/final-cta-background-burgundy.png"),
    rgba(255, 255, 255, 0.9);
  background-position: center;
  background-size: cover;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 78% 24%, rgba(177, 42, 75, 0.18), transparent 38%);
  pointer-events: none;
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 12px 0 0;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 900;
  line-height: 32px;
}

.final-cta-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.final-cta span {
  position: absolute;
  right: 34px;
  bottom: 30px;
  color: rgba(24, 25, 33, 0.48);
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.42em;
}

.site-footer {
  padding: 34px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 210px 1fr 180px 180px;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.footer-brand .brand-logo {
  width: 142px;
}

.footer-brand p,
.footer-copy,
.footer-contact a,
.site-footer nav a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-contact {
  display: grid;
  gap: 2px;
}
.footer-contact a { overflow-wrap: anywhere; }

html[data-theme="dark"] .section-label,
html[data-theme="dark"] .format-card,
html[data-theme="dark"] .template-card,
html[data-theme="dark"] .process-card,
html[data-theme="dark"] .result-card,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .final-cta {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(22, 23, 37, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .section-label,
html[data-theme="dark"] .section-link {
  color: #D8C7CE;
}

html[data-theme="dark"] .process-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .final-cta {
  background:
    linear-gradient(90deg, rgba(20, 21, 33, 0.96) 0%, rgba(36, 26, 36, 0.9) 50%, rgba(68, 31, 44, 0.52) 100%),
    url("./assets/final-cta-background-burgundy.png"),
    rgba(22, 23, 37, 0.9);
  background-position: center;
  background-size: cover;
}

html[data-theme="dark"] .final-cta span {
  color: rgba(244, 243, 255, 0.42);
}

html[data-theme="dark"] .section-arrows button {
  background: rgba(22, 23, 37, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .formats-section {
    margin-top: 40px;
  }

  .section-heading-split,
  .pricing-layout,
  .footer-inner,
  .format-card {
    grid-template-columns: 1fr;
  }

  .section-heading-row,
  .section-side,
  .final-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .format-grid,
  .template-grid,
  .process-grid,
  .results-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-arrow {
    display: none;
  }

  .process-grid::before {
    display: none;
  }

  .process-line {
    display: none;
  }

  .process-grid {
    transform: none;
  }

  .template-card,
  .template-card:nth-child(even) { flex-direction: column; }
  .template-preview { flex-basis: auto; width: 100%; }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .section-heading h2,
  .process-section h2,
  .results-section h2,
  .pricing-section h2,
  .final-cta h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .format-content,
  .final-cta {
    padding: 18px;
  }
  .pricing-card { padding: 34px 18px 18px; }

  .template-grid { gap: 20px; }
  .template-info { padding: 24px 20px; }
  .template-info h3 { font-size: 22px; }
  .template-details li { grid-template-columns: 78px 1fr; gap: 8px; }
}

/* Fixed section status, modelled on the ak.digital side navigation. */
html { scroll-behavior: smooth; }
html[data-theme="dark"] { color-scheme: dark; }

.section-rail {
  position: fixed;
  top: 50%;
  left: clamp(10px, 1.5vw, 28px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  transform: translateY(-50%);
  pointer-events: none;
}

.section-rail-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, var(--accent-rose));
}

.section-rail-line:last-child {
  background: linear-gradient(180deg, var(--accent-rose), transparent);
}

.section-rail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.section-dots {
  position: fixed;
  top: 50%;
  right: clamp(8px, 1.5vw, 28px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 18px;
  min-height: 94px;
  padding: 8px 0;
  border: 1px solid rgba(122, 21, 48, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(122, 21, 48, 0.14);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.section-dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 6px;
  border-radius: 999px;
}

.section-dot.is-active { height: 16px; }

.section-dot span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(122, 21, 48, 0.36);
  transition: height 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.section-dot:hover span,
.section-dot:focus-visible span {
  background: var(--accent-burgundy-mid);
  box-shadow: 0 0 10px rgba(177, 42, 75, 0.7);
}

.section-dot.is-active span {
  height: 16px;
  background: var(--accent-burgundy);
  box-shadow: 0 0 12px rgba(177, 42, 75, 0.7);
}

.section-dot:focus-visible {
  outline: 2px solid var(--accent-burgundy);
  outline-offset: 1px;
}

html[data-theme="dark"] .section-dots {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(36, 20, 30, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .section-dot span {
  background: rgba(248, 211, 220, 0.46);
}

html[data-theme="dark"] .section-dot:hover span,
html[data-theme="dark"] .section-dot:focus-visible span {
  background: var(--accent-burgundy-mid);
}

html[data-theme="dark"] .section-dot.is-active span {
  background: var(--accent-burgundy);
}

@media (max-width: 640px) {
  .section-rail { left: 5px; }
  .section-rail-label { font-size: 9px; }
  .section-rail-line { height: 25px; }
  .section-dots { right: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .section-dot span { transition: none; }
}

.pricing-card {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.pricing-card:hover,
.pricing-card:focus-within {
  border-color: var(--accent-burgundy-mid);
  box-shadow: 0 24px 56px rgba(122, 21, 48, 0.18), 0 0 0 2px rgba(177, 42, 75, 0.12);
  transform: translateY(-3px);
}

html[data-theme="dark"] .pricing-card:hover,
html[data-theme="dark"] .pricing-card:focus-within {
  border-color: var(--accent-burgundy-mid);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34), 0 0 0 2px rgba(255, 111, 139, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card { transition: none; }
  .pricing-card:hover,
  .pricing-card:focus-within { transform: none; }
}

/* Clearer hero details and process steps on the dark background. */
html[data-theme="dark"] .laptop-visual { filter: none; isolation: isolate; }
html[data-theme="dark"] .laptop-visual::before { content: none; }
html[data-theme="dark"] .laptop-visual::after { content: ""; position: absolute; left: 4%; right: 3%; bottom: 30px; z-index: 0; height: 66px; border-radius: 50%; background: radial-gradient(ellipse 74% 39% at 51% 29%, rgba(231,222,239,.55), transparent 79%), radial-gradient(ellipse 62% 56% at 53% 59%, rgba(178,160,195,.25), transparent 84%); opacity: var(--glow-opacity, 1); filter: blur(var(--glow-blur, 10px)); transform: translate(var(--glow-x, 15px), var(--glow-y, -14px)) rotate(1.5deg) scale(var(--glow-width, 1.4), var(--glow-height, 2)); pointer-events: none; }
html[data-theme="dark"] .laptop-photo { display: none; }
html[data-theme="dark"] .laptop-photo-dark { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
html[data-theme="dark"] .floating-card,
html[data-theme="dark"] .hero-visual:hover .floating-card { border-color: rgba(255,185,202,.38); background: linear-gradient(145deg, #37313e 0%, #2b2634 60%, #322431 100%); box-shadow: 0 22px 48px rgba(0,0,0,.38), 0 8px 20px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.16); }
html[data-theme="dark"] .floating-card::before { background: linear-gradient(180deg, rgba(255,255,255,.12), transparent); }
html[data-theme="dark"] .floating-card::after { background: rgba(0,0,0,.4); }
html[data-theme="dark"] .stat-subtitle { color: #ded3de; }
html[data-theme="dark"] .stat-row span { background: #54303e; box-shadow: inset 0 0 0 4px rgba(255,111,139,.62); }
html[data-theme="dark"] .service-line { opacity: calc(.55 + var(--line-progress, 0) * .45); }
html[data-theme="dark"] .service-line span { color: #ff8ca6; background: #4b2b3c; box-shadow: inset 0 0 0 1px rgba(255,151,178,.25); }
html[data-theme="dark"] .annotation-line,
html[data-theme="dark"] .annotation-arrowhead { stroke: #ff7292; }
html[data-theme="dark"] .annotation-text { fill: #ffa2b7; }
html[data-theme="dark"] .feature-card { border-color: rgba(255,171,194,.24); background: linear-gradient(145deg, #2f2b3a, #252534); box-shadow: 0 16px 32px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.08); }
html[data-theme="dark"] .feature-card p { color: #d7d0dc; }
html[data-theme="dark"] .feature-icon,
html[data-theme="dark"] .feature-card:hover .feature-icon { color: #ff83a1; background: #4a2b3b; box-shadow: inset 0 0 0 1px rgba(255,160,184,.25); }
html[data-theme="dark"] .feature-icon::after { background: radial-gradient(circle, rgba(255,170,192,.24), transparent 62%); }
html[data-theme="dark"] .process-grid::before { background: rgba(255,172,194,.3); opacity: 1; }
html[data-theme="dark"] .process-line { height: 2px; background: linear-gradient(90deg, #ff7091, #ffafc1); box-shadow: 0 0 14px rgba(255,111,139,.45); }
html[data-theme="dark"] .process-icon { color: #fff; border-color: #ff83a1; background: #77314a; box-shadow: 0 0 20px rgba(255,111,139,.3); }
html[data-theme="dark"] .process-section:not(.is-motion-ready) .process-card:hover .process-icon,
html[data-theme="dark"] .process-section:not(.is-motion-ready) .process-card:focus-visible .process-icon,
html[data-theme="dark"] .process-section.is-motion-complete .process-card:hover .process-icon,
html[data-theme="dark"] .process-section.is-motion-complete .process-card:focus-visible .process-icon { background: var(--accent-burgundy); box-shadow: 0 10px 30px rgba(255,111,139,.38); }
html[data-theme="dark"] .process-section:not(.is-motion-ready) .process-card:hover h3,
html[data-theme="dark"] .process-section:not(.is-motion-ready) .process-card:focus-visible h3,
html[data-theme="dark"] .process-section.is-motion-complete .process-card:hover h3,
html[data-theme="dark"] .process-section.is-motion-complete .process-card:focus-visible h3 { color: #ff98b1; }
html[data-theme="dark"] .process-card p { color: #d4cbd8; }

.glow-debug-panel { position: fixed; right: 20px; bottom: 20px; z-index: 9999; width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 18px; border: 1px solid rgba(255,167,192,.42); border-radius: 16px; background: rgba(29,27,40,.97); box-shadow: 0 18px 56px rgba(0,0,0,.5); color: #fff; font: 13px/1.4 var(--font-manrope), Arial, sans-serif; }
.glow-debug-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glow-debug-heading strong { font-size: 15px; }
.glow-debug-heading button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.glow-debug-panel p { margin: 6px 0 16px; color: #cfc9d5; }
.glow-debug-controls { display: grid; gap: 12px; }
.glow-debug-row { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; align-items: center; }
.glow-debug-row output { color: #ff9eb6; font-variant-numeric: tabular-nums; }
.glow-debug-row input { grid-column: 1 / -1; width: 100%; accent-color: #ff7194; cursor: pointer; }
.glow-debug-actions { display: flex; gap: 8px; margin-top: 18px; }
.glow-debug-actions button { padding: 8px 10px; border: 1px solid rgba(255,167,192,.42); border-radius: 8px; background: #392735; color: #fff; font: inherit; cursor: pointer; }
.glow-debug-actions button:hover { background: #5a3147; }
.glow-debug-output { display: block; margin-top: 12px; color: #d8cfda; font-size: 11px; white-space: normal; }

.mobile-shapes-debug { position: fixed; right: 10px; bottom: 10px; z-index: 10000; width: min(330px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); overflow: auto; border: 1px solid rgba(255, 167, 192, .42); border-radius: 14px; background: rgba(29, 27, 40, .97); box-shadow: 0 18px 56px rgba(0, 0, 0, .45); color: #fff; font: 13px/1.4 Manrope, Arial, sans-serif; }
.mobile-shapes-debug summary { padding: 12px 16px; cursor: pointer; font-weight: 800; }
.mobile-shapes-debug-body { display: grid; gap: 12px; padding: 0 16px 16px; }
.mobile-shapes-debug-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-shapes-debug-choice select { padding: 6px 8px; border: 1px solid #756071; border-radius: 7px; background: #292332; color: #fff; font: inherit; }
.mobile-shapes-debug-controls { display: grid; gap: 10px; }
.mobile-shapes-debug-row { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; }
.mobile-shapes-debug-row output { color: #ff9eb6; font-variant-numeric: tabular-nums; }
.mobile-shapes-debug-row input { grid-column: 1 / -1; width: 100%; accent-color: #ff7194; }
.mobile-shapes-debug-actions { display: flex; gap: 8px; }
.mobile-shapes-debug-actions button { padding: 8px 10px; border: 1px solid #756071; border-radius: 7px; background: #3b2d3d; color: #fff; font: inherit; cursor: pointer; }
.mobile-shapes-debug-output { box-sizing: border-box; width: 100%; height: 78px; resize: vertical; padding: 8px; border: 1px solid #756071; border-radius: 7px; background: #211d2b; color: #ddd5df; font: 11px/1.4 monospace; }

/* Autumn exit offer */
.autumn-offer { width: min(610px, calc(100% - 32px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: visible; border: 0; border-radius: 30px; background: transparent; color: #fff; box-shadow: none; }
.autumn-offer::backdrop { background: rgba(20, 10, 20, .76); backdrop-filter: blur(12px); }
.autumn-offer-card { position: relative; isolation: isolate; overflow: hidden; min-height: 550px; border: 1px solid rgba(255, 215, 179, .55); border-radius: 28px; background: radial-gradient(circle at 85% 6%, rgba(255, 172, 93, .38), transparent 34%), radial-gradient(circle at 5% 95%, rgba(171, 40, 71, .9), transparent 46%), linear-gradient(145deg, #68213c 0%, #3c172b 51%, #241722 100%); box-shadow: inset 0 2px rgba(255,255,255,.3), inset 0 -18px 40px rgba(0,0,0,.18), 0 30px 0 -15px #4a1b31, 0 45px 95px rgba(13,5,11,.58); }
.autumn-offer-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% -20%, rgba(255, 222, 177, .22), transparent 55%), repeating-linear-gradient(135deg, transparent 0 46px, rgba(255,255,255,.018) 47px 48px); }
.autumn-offer-card::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 3px; border-radius: 50%; background: #f4a653; box-shadow: 0 0 25px 8px rgba(244,166,83,.37); }
.autumn-offer-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 53px 52px 41px; text-align: center; }
.autumn-offer-kicker { margin: 0 42px 18px; color: #ffd4a0; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.autumn-offer h2 { margin: 0; font-size: clamp(48px, 8vw, 74px); font-weight: 900; line-height: .97; letter-spacing: -.07em; text-shadow: 0 6px 17px rgba(14,3,12,.25); }
.autumn-offer h2 span { color: #ffc47a; }
.autumn-offer-description { max-width: 410px; margin: 22px 0 10px; color: #f5dfe8; font-size: 16px; font-weight: 600; line-height: 1.55; }
.autumn-offer-description strong { color: #ffd294; }
.autumn-offer-discount { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin: 1px 0 16px; color: #fff; font-weight: 900; line-height: 1; letter-spacing: -.08em; filter: drop-shadow(0 6px 10px rgba(20,5,12,.36)); }
.autumn-offer-discount span:first-child { font-size: clamp(76px, 15vw, 114px); }
.autumn-offer-discount span:last-child { color: #ffc47a; font-size: 55px; }
.autumn-offer-action { display: flex; align-items: center; justify-content: center; gap: 17px; width: min(100%, 410px); min-height: 58px; padding: 12px 20px; border: 1px solid rgba(255,218,168,.65); border-radius: 12px; background: linear-gradient(135deg, #c74262, #941d43); color: #fff; box-shadow: inset 0 1px rgba(255,255,255,.3), 0 8px 0 #681936, 0 16px 30px rgba(18,4,12,.3); font-size: 15px; font-weight: 900; text-decoration: none; transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease; }
.autumn-offer-action:hover { transform: translateY(-3px); box-shadow: inset 0 1px rgba(255,255,255,.3), 0 11px 0 #681936, 0 20px 32px rgba(18,4,12,.36); filter: brightness(1.08); }
.autumn-offer-action:active { transform: translateY(5px); box-shadow: inset 0 1px rgba(255,255,255,.3), 0 3px 0 #681936; }
.autumn-offer-note { max-width: 390px; margin: 21px 0 0; color: #e9c7d3; font-size: 12px; line-height: 1.4; }
.autumn-offer-close { position: absolute; z-index: 4; top: 17px; right: 17px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(31,12,24,.36); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.autumn-offer-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.autumn-offer :focus-visible { outline: 3px solid #ffd294; outline-offset: 4px; }
.autumn-leaves { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.autumn-leaf { position: absolute; top: -75px; width: 42px; height: 42px; fill: rgba(252,173,91,.88); stroke: rgba(106,36,47,.6); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(5px 7px 4px rgba(24,5,14,.38)); animation: autumn-leaf-fall 8s linear infinite; }
.autumn-leaf--1 { left: 5%; width: 56px; height: 56px; animation-delay: -1s; animation-duration: 9s; }
.autumn-leaf--2 { left: 22%; width: 28px; height: 28px; fill: #ce634e; animation-delay: -5s; animation-duration: 11s; }
.autumn-leaf--3 { left: 77%; width: 54px; height: 54px; fill: #eaa057; animation-delay: -4s; animation-duration: 10s; }
.autumn-leaf--4 { left: 92%; width: 34px; height: 34px; fill: #b84455; animation-delay: -7s; animation-duration: 12s; }
.autumn-leaf--5 { left: 60%; width: 24px; height: 24px; fill: #ffc77d; animation-delay: -8s; animation-duration: 13s; }
.autumn-leaf--6 { left: 41%; width: 35px; height: 35px; fill: #d66c55; animation-delay: -2s; animation-duration: 14s; }
@keyframes autumn-leaf-fall { from { transform: translate3d(-25px,-40px,0) rotate(-25deg); } 50% { transform: translate3d(35px,310px,0) rotate(130deg); } to { transform: translate3d(-18px,720px,0) rotate(315deg); } }
@media (max-width: 600px) { .autumn-offer { overflow: auto; } .autumn-offer-card { min-height: 0; } .autumn-offer-content { padding: 62px 24px 31px; } .autumn-offer-kicker { margin-bottom: 14px; } .autumn-offer-description { margin-top: 18px; font-size: 14px; } .autumn-offer-discount { margin-bottom: 12px; } .autumn-offer-discount span:first-child { font-size: 78px; } .autumn-offer-discount span:last-child { font-size: 42px; } .autumn-offer-action { min-height: 54px; font-size: 13px; } .autumn-offer-note { margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .autumn-leaf { animation: none; display: none; } .autumn-offer-action, .autumn-offer-close { transition: none; } }

/* Mobile layout */
.mobile-menu-toggle { display: none; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; width: calc(100vw - 24px); padding: 0 10px 0 12px; }
  .brand-logo { width: clamp(128px, 23vw, 174px); }
  .header-actions { gap: 8px; }
  .theme-toggle { flex: 0 0 64px; width: 64px; height: 44px; padding: 0 11px; box-shadow: inset 0 1px 3px rgba(74, 31, 43, .1), 0 8px 18px rgba(88, 48, 60, .08); }
  .theme-toggle-thumb { top: 9px; left: 6px; width: 26px; height: 26px; box-shadow: 0 2px 7px rgba(74, 31, 43, .2); }
  html[data-theme="dark"] .theme-toggle-thumb { transform: translateX(26px); }
  .theme-toggle-icon { flex: 0 0 14px; }
  .mobile-menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text-primary); cursor: pointer; }
  .mobile-menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 200ms ease, opacity 200ms ease; }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 62px; right: 0; z-index: 25; display: none; flex-direction: column; align-items: stretch; gap: 2px; width: min(320px, calc(100vw - 24px)); padding: 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 22px 48px rgba(28, 13, 24, .22); color: var(--text-primary); }
  .main-nav.is-open { display: flex; }
  .main-nav a { justify-content: flex-start; width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
  .main-nav a:hover, .main-nav a:focus-visible { background: var(--surface-soft); }
  .mobile-menu-toggle:focus-visible { outline: 2px solid var(--accent-burgundy); outline-offset: 2px; }
  .hero { margin-top: 16px; }
  .hero-grid { width: calc(100vw - 48px); padding-top: 12px; }
  .hero-copy { padding-top: 0; }
  .hero p br { display: none; }
  .hero-art { height: var(--hero-art-height, 240px); margin-top: 26px; }
  .hero-visual { top: 0; left: -32px; transform-origin: top left; transform: scale(var(--hero-visual-scale)); }
  .hero-art .services-card { right: 26px; }
  .feature-section { margin-top: 18px; }
  .feature-grid { gap: 12px; }
  .process-grid { gap: 14px; margin-top: 24px; }
  .process-card { grid-template-columns: 54px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 16px; min-height: 0; padding: 8px 0; text-align: left; }
  .process-icon { grid-column: 1; grid-row: 1 / 3; width: 52px; height: 52px; margin: 0; }
  .process-card h3 { grid-column: 2; justify-content: flex-start; align-self: end; }
  .process-card p { grid-column: 2; max-width: none; margin-top: 5px; align-self: start; }
  .section-rail, .section-dots { display: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(33px, 9vw, 40px); line-height: 1.1; overflow-wrap: normal; }
  .hero p { font-size: 15px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .hero-button, .button-secondary.hero-button { width: 100%; min-width: 0; min-height: 48px; }
  .feature-card { min-height: 72px; }
  .formats-section, .templates-section, .process-section, .results-section, .pricing-section, .contact-section { padding-top: 20px; padding-bottom: 42px; }
  .contact-intro, .contact-form { padding: 20px; }
  .contact-submit { width: 100%; min-height: 48px; }
  .footer-inner { gap: 18px; }
  .site-purchase-close, .autumn-offer-close { min-width: 44px; min-height: 44px; }
}

@media (max-width: 360px) {
  .hero-grid { width: calc(100vw - 32px); }
  .eyebrow { font-size: 10px; padding: 0 9px; }
  .template-details li { grid-template-columns: 70px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle span { transition: none; }
}

/* Work previews use a slightly taller frame on smaller screens. */
@media (max-width: 900px) {
  .template-preview { height: auto; aspect-ratio: 3 / 2; }
}

@media (hover: none) {
  .template-card:hover .template-preview img { transform: none; }
}

/* On touch screens, the centered card takes the same visual state as desktop hover. */
@media (max-width: 900px) and (pointer: coarse) {
  .feature-card.is-mobile-active {
    border-color: rgba(177, 42, 75, .32);
    box-shadow: 0 24px 58px rgba(88, 48, 60, .13), 0 10px 24px rgba(122, 21, 48, .1);
    translate: 0 -5px;
  }
  .feature-card.is-mobile-active .feature-icon {
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .92), transparent 48%), #f2d6de;
    box-shadow: 0 12px 26px rgba(122, 21, 48, .16);
    transform: scale(1.07);
  }
  .feature-card.is-mobile-active .feature-icon::after { opacity: 1; transform: scale(1); }
  .format-card.is-mobile-active {
    border-color: rgba(177, 42, 75, .46);
    box-shadow: 0 30px 68px rgba(88, 48, 60, .16), 0 10px 26px rgba(177, 42, 75, .1);
    transform: translateY(-6px);
  }
  html[data-theme="dark"] .feature-card.is-mobile-active {
    border-color: rgba(255, 111, 139, .42);
    box-shadow: 0 24px 58px rgba(0, 0, 0, .32), 0 10px 24px rgba(217, 75, 106, .18);
  }
  html[data-theme="dark"] .feature-card.is-mobile-active .feature-icon {
    color: #ff83a1;
    background: #4a2b3b;
    box-shadow: inset 0 0 0 1px rgba(255, 160, 184, .25);
  }
  html[data-theme="dark"] .format-card.is-mobile-active { border-color: rgba(255, 111, 139, .5); }
}

@media (max-width: 900px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .feature-card:nth-child(1).is-mobile-active .clock-hour-hand { animation: feature-clock-hour 850ms ease-in-out; }
  .feature-card:nth-child(1).is-mobile-active .clock-minute-hand { animation: feature-clock-minute 850ms ease-in-out; }
  .feature-card:nth-child(2).is-mobile-active .feature-icon svg { animation: feature-screen 520ms cubic-bezier(.22, 1, .36, 1); }
  .feature-card:nth-child(3).is-mobile-active .seo-bar { animation: feature-chart-bar 480ms cubic-bezier(.22, 1, .36, 1) both; }
  .feature-card:nth-child(3).is-mobile-active .seo-bar--2 { animation-delay: 90ms; }
  .feature-card:nth-child(3).is-mobile-active .seo-bar--3 { animation-delay: 180ms; }
  .feature-card:nth-child(4).is-mobile-active .feature-icon svg { animation: feature-gear 620ms cubic-bezier(.22, 1, .36, 1); }
}

@media (max-width: 900px) and (pointer: coarse) and (prefers-reduced-motion: reduce) {
  .feature-card.is-mobile-active { translate: 0 0; }
  .format-card.is-mobile-active { transform: none; }
}
