:root {
  --ink: #111820;
  --ink-2: #263341;
  --muted: #667586;
  --line: #dbe5ee;
  --paper: #f8fbfd;
  --white: #ffffff;
  --navy: #06496d;
  --navy-dark: #07344f;
  --blue: #2f74c8;
  --sky: #d9eef8;
  --green: #0d7c70;
  --gold: #f1b84b;
  --shadow: 0 24px 70px rgba(17, 24, 32, 0.14);
  --radius: 8px;
  --max: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.brief-page {
  background: var(--paper);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-180%);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.quote-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.quote-strip a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(6, 73, 109, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: 0 24px 70px rgba(17, 24, 32, 0.18);
  backdrop-filter: blur(16px);
}

.cookie-consent strong {
  display: block;
  color: var(--navy-dark);
  font-weight: 950;
}

.cookie-consent p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.cookie-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17, 24, 32, 0.08);
  background: rgba(248, 251, 253, 0.92);
  backdrop-filter: blur(18px);
  transition: box-shadow 280ms ease, background 280ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 253, 0.96);
  box-shadow: 0 16px 45px rgba(17, 24, 32, 0.08);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand-logo {
  width: clamp(154px, 15vw, 205px);
  height: auto;
  border: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
  box-shadow: none;
  transition: transform 420ms var(--ease-out);
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.025);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #eaf2f8;
  color: var(--navy-dark);
}

.nav-links .nav-cta {
  margin-left: 6px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(6, 73, 109, 0.22);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--navy-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(6, 73, 109, 0.96), rgba(7, 52, 79, 0.92) 52%, rgba(13, 124, 112, 0.9)),
    radial-gradient(circle at 78% 25%, rgba(241, 184, 75, 0.22), transparent 32%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  opacity: 0.45;
  transform: translate3d(0, var(--hero-grid-y, 0px), 0);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 116px);
  margin: 0 auto;
  padding: 90px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  position: relative;
  opacity: var(--hero-copy-opacity, 1);
  transform: translate3d(0, var(--hero-copy-y, 0px), 0);
  will-change: transform, opacity;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-lede,
.hero-actions,
.hero-proof {
  animation: heroRise 900ms var(--ease-out) both;
}

.hero-copy h1 {
  animation-delay: 90ms;
}

.hero-copy .hero-lede {
  animation-delay: 180ms;
}

.hero-actions {
  animation-delay: 270ms;
}

.hero-proof {
  animation-delay: 360ms;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contrast .eyebrow,
.quote-card .eyebrow {
  color: var(--sky);
}

h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 790px;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 116, 200, 0.18);
  border-color: var(--blue);
}

.hero-lede {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 7px;
  padding: 13px 18px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), background 260ms ease, border-color 260ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #17202a;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.button.danger {
  border: 1px solid #b42318;
  background: #b42318;
  color: var(--white);
  box-shadow: 0 18px 38px rgba(180, 35, 24, 0.18);
}

.button.danger:hover,
.button.danger:focus-visible {
  box-shadow: 0 22px 48px rgba(180, 35, 24, 0.24);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button.secondary:not(.light):hover,
.button.secondary:not(.light):focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 750;
  animation: softPulse 5s ease-in-out infinite;
}

.hero-proof span:nth-child(2) {
  animation-delay: 500ms;
}

.hero-proof span:nth-child(3) {
  animation-delay: 1000ms;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  --mx: 0;
  --my: 0;
  transform: translate3d(0, var(--hero-visual-y, 0px), 0);
  will-change: transform;
  animation: heroVisualIn 1100ms var(--ease-out) 260ms both;
}

.browser-card {
  position: absolute;
  inset: 42px 24px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  transform:
    translate3d(var(--browser-x, 0px), var(--browser-y, 0px), 0)
    rotateX(var(--browser-rx, 0deg))
    rotateY(var(--browser-ry, 0deg))
    rotate(-2deg);
  transform-style: preserve-3d;
  transition: transform 420ms var(--ease-out);
}

.browser-top {
  display: flex;
  gap: 7px;
  padding: 13px;
  border-bottom: 1px solid #e6edf3;
  background: #f3f7fa;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8d4df;
}

.browser-body {
  padding: 24px;
}

.mock-nav {
  display: grid;
  grid-template-columns: 46px 1fr 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.mock-nav div:not(.mini-logo) {
  height: 8px;
  border-radius: 999px;
  background: #dce7ef;
}

.mini-logo {
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--navy), var(--green));
}

.mock-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 34px;
  align-items: stretch;
}

.mock-hero > div {
  display: grid;
  gap: 16px;
}

.mock-hero span,
.mock-hero strong,
.mock-hero p,
.mock-hero button,
.mock-hero aside,
.mock-grid span {
  display: block;
  border-radius: 7px;
}

.mock-hero span {
  width: 82px;
  height: 12px;
  background: var(--sky);
}

.mock-hero strong {
  width: 88%;
  height: 76px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  background-size: 180% 100%;
  animation: shineBar 4.8s ease-in-out infinite;
}

.mock-hero p {
  width: 72%;
  height: 42px;
  background: #e7eef4;
}

.mock-hero button {
  width: 132px;
  height: 38px;
  border: 0;
  background: var(--gold);
}

.mock-hero aside {
  min-height: 230px;
  background:
    linear-gradient(160deg, rgba(6, 73, 109, 0.12), rgba(13, 124, 112, 0.2)),
    repeating-linear-gradient(0deg, #eff5f8 0 16px, #e4edf4 16px 17px);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.mock-grid span {
  height: 94px;
  background: #edf4f8;
}

.metric-card {
  position: absolute;
  width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 420ms var(--ease-out);
}

.metric-card strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1.6rem;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.metric-card.speed {
  top: 0;
  right: 0;
  transform: translate3d(var(--speed-x, 0px), var(--speed-y, 0px), 0);
}

.metric-card.leads {
  left: 22px;
  bottom: 36px;
  transform: translate3d(var(--leads-x, 0px), var(--leads-y, 0px), 0);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

.section-copy p,
.section-heading p,
.areas-section p,
.about-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p {
  font-size: 1.16rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.motion-section {
  position: relative;
  overflow: hidden;
  padding: 112px max(20px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(135deg, #08121c, #101923 56%, #0b3f55);
  color: var(--white);
}

.motion-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.36;
  transform: translate3d(0, var(--grid-y, 0px), 0);
  pointer-events: none;
}

.motion-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: center;
}

.motion-copy h2 {
  color: var(--white);
}

.motion-copy[data-reveal].is-visible {
  transform: translate3d(0, var(--motion-copy-y, 0px), 0);
}

.motion-copy p:last-child {
  max-width: 530px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.motion-stage {
  position: relative;
  min-height: 570px;
  perspective: 1300px;
  --scene-progress: 0;
  --mx: 0;
  --my: 0;
  transform: translate3d(0, var(--motion-stage-y, 0px), 0);
  will-change: transform;
}

.site-stack {
  position: absolute;
  inset: 54px 72px 64px;
  transform:
    rotateX(calc(58deg - var(--scene-tilt, 0deg)))
    rotateZ(-15deg)
    translate3d(var(--stage-x, 0px), var(--stage-y, 0px), 0);
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease-out);
}

.site-layer {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 28px;
  background: rgba(248, 251, 253, 0.9);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.layer-top {
  transform: translateZ(128px) translateY(var(--top-shift, 0px));
}

.layer-middle {
  transform: translateZ(58px) translate(34px, 42px);
  opacity: 0.7;
}

.layer-bottom {
  transform: translateZ(0) translate(68px, 84px);
  opacity: 0.44;
}

.site-layer span,
.site-layer strong,
.site-layer p {
  display: block;
  border-radius: 7px;
}

.layer-top span {
  width: 26%;
  height: 16px;
  background: var(--sky);
}

.layer-top strong {
  width: 80%;
  height: 86px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--green));
  background-size: 220% 100%;
  animation: shineBar 5.2s ease-in-out infinite;
}

.layer-top p {
  width: 62%;
  height: 52px;
  background: #dde8ef;
}

.layer-middle {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

.layer-middle span {
  min-height: 170px;
  background: linear-gradient(180deg, #edf5f9, #d5e5ee);
}

.layer-middle span:nth-child(2) {
  min-height: 230px;
}

.layer-middle span:nth-child(3) {
  min-height: 130px;
}

.layer-bottom {
  grid-template-columns: 1fr 1fr;
}

.layer-bottom span {
  background: #dfeaf1;
}

.motion-stat {
  position: absolute;
  z-index: 2;
  width: 210px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  transform: translate3d(0, var(--stat-one-y, 0px), 0);
}

.motion-stat strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.motion-stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.stat-one {
  left: 20px;
  top: 40px;
}

.stat-two {
  right: 12px;
  bottom: 82px;
  transform: translate3d(0, var(--stat-two-y, 0px), 0);
}

.motion-ribbon {
  position: absolute;
  left: 52px;
  right: 46px;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.motion-ribbon span {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
}

.motion-ribbon span::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--gold), var(--sky), transparent);
  transform: translateX(var(--ribbon-x, -18%));
  transition: transform 360ms var(--ease-out);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.section-heading p:last-child {
  margin-top: 18px;
}

.service-grid,
.work-grid,
.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.work-card,
.process-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.06);
}

.service-card {
  min-height: 280px;
  padding: 24px;
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out), border-color 360ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 116, 200, 0.32);
  box-shadow: 0 30px 70px rgba(17, 24, 32, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e7f2f7;
  color: var(--navy);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.service-card p,
.work-card p,
.process-list p,
.faq-list p {
  margin-top: 12px;
  color: var(--muted);
}

.contrast {
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 92px max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.contrast h2,
.contrast h3 {
  color: var(--white);
}

.contrast .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.work-card {
  min-height: 250px;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transition: transform 360ms var(--ease-out), background 360ms ease, border-color 360ms ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.work-card span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
}

.work-card p {
  color: rgba(255, 255, 255, 0.74);
}

.style-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 360ms var(--ease-out), background 360ms ease, border-color 360ms ease;
}

.style-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.style-card > div:last-child {
  padding: 0;
}

.style-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.style-card h3 {
  margin-top: 8px;
  color: var(--white);
}

.style-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.style-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--sky);
  font-weight: 900;
}

.style-card a::after {
  content: "→";
  margin-left: 8px;
}

.style-preview {
  position: relative;
  overflow: hidden;
  min-height: 304px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 10px;
  background: var(--style-shell, #f7fbfd);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}

.style-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.55;
}

.style-card:hover .style-preview {
  transform: translateY(-2px);
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.3);
}

.style-screen {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 284px;
  overflow: hidden;
  border: 1px solid var(--style-frame, rgba(17, 24, 32, 0.08));
  border-radius: 6px;
  padding: 12px;
  background: var(--style-page, #f8fbfd);
  color: var(--style-ink-preview, var(--ink));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.style-preview-top {
  display: flex;
  gap: 5px;
  align-items: center;
  min-height: 10px;
}

.style-preview-top span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--style-dot, rgba(17, 24, 32, 0.2));
}

.style-preview-nav {
  display: grid;
  grid-template-columns: minmax(44px, 1.35fr) repeat(3, minmax(20px, 0.42fr));
  gap: 8px;
  align-items: center;
  min-height: 24px;
}

.style-preview-nav span {
  height: 8px;
  border-radius: 999px;
  background: var(--style-nav-preview, rgba(17, 24, 32, 0.12));
}

.style-preview-nav span:first-child {
  height: 18px;
  border-radius: 5px;
  background: var(--style-logo-preview, var(--style-accent, var(--navy)));
}

.style-preview-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: stretch;
  min-height: 132px;
}

.style-preview-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.style-preview-copy span,
.style-preview-bottom span {
  display: block;
  border-radius: 6px;
}

.style-kicker {
  width: 42%;
  height: 8px;
  background: var(--style-accent-2, var(--gold));
}

.style-headline {
  width: 92%;
  height: 20px;
  background: var(--style-ink-preview, var(--ink));
}

.style-headline.short {
  width: 68%;
}

.style-text-line {
  width: 78%;
  height: 8px;
  background: var(--style-muted-preview, rgba(17, 24, 32, 0.18));
}

.style-button {
  width: 54%;
  height: 20px;
  margin-top: 4px;
  background: var(--style-accent, var(--blue));
}

.style-preview-media {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  border: 1px solid var(--style-frame, rgba(17, 24, 32, 0.08));
  border-radius: 7px;
  background: var(--style-media, #e7f2f7);
}

.style-preview-media::before,
.style-preview-media::after {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
}

.style-preview-media::before {
  inset: 12px;
  border-radius: 6px;
  background: var(--style-media-detail, rgba(255, 255, 255, 0.26));
}

.style-preview-media::after {
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--style-media-badge, var(--style-accent-2, var(--gold)));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.style-preview-media span {
  position: absolute;
  display: block;
  background: var(--style-media-mark, var(--style-accent, var(--blue)));
  transition: transform 520ms var(--ease-out);
}

.style-preview-media span:nth-child(1) {
  width: 72%;
  height: 38%;
  left: 14%;
  top: 16%;
  border-radius: 999px;
}

.style-preview-media span:nth-child(2) {
  width: 58%;
  height: 24%;
  right: -14%;
  bottom: 16%;
  border-radius: 999px;
  background: var(--style-media-mark-2, var(--style-accent-2, var(--gold)));
}

.style-preview-media span:nth-child(3) {
  width: 28%;
  height: 28%;
  left: 14%;
  bottom: 16%;
  border-radius: 7px;
  background: var(--style-media-mark-3, rgba(255, 255, 255, 0.72));
}

.style-card:hover .style-preview-media span:nth-child(1) {
  transform: translate3d(5px, -3px, 0);
}

.style-card:hover .style-preview-media span:nth-child(2) {
  transform: translate3d(-6px, 4px, 0);
}

.style-preview-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.style-preview-bottom span {
  position: relative;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--style-frame, rgba(17, 24, 32, 0.08));
  background: var(--style-tile, rgba(17, 24, 32, 0.08));
}

.style-preview-bottom span::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 12px;
  height: 7px;
  border-radius: 999px;
  background: var(--style-tile-line, rgba(17, 24, 32, 0.2));
}

.style-preview-bottom span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 46%;
  bottom: 10px;
  height: 7px;
  border-radius: 999px;
  background: var(--style-accent, var(--blue));
}

.style-card.coastal {
  --style-shell: linear-gradient(135deg, #e8f5fa, #ffffff);
  --style-page: #f6fbff;
  --style-frame: rgba(6, 73, 109, 0.14);
  --style-dot: #94bdd0;
  --style-logo-preview: #06496d;
  --style-nav-preview: #dceaf1;
  --style-ink-preview: #06496d;
  --style-muted-preview: #bfd6e4;
  --style-accent: #2f74c8;
  --style-accent-2: #f1b84b;
  --style-media: linear-gradient(135deg, #dff3fb 0%, #ffffff 48%, #b9d8e8 100%);
  --style-media-detail: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(186, 220, 235, 0.62));
  --style-media-badge: #f1b84b;
  --style-media-mark: #06496d;
  --style-media-mark-2: #5d7f9d;
  --style-media-mark-3: rgba(255, 255, 255, 0.82);
  --style-tile: #edf7fb;
  --style-tile-line: #bdd8e8;
}

.style-card.editorial {
  --style-shell: linear-gradient(135deg, #0f141a, #2b3138);
  --style-page: #14181e;
  --style-frame: rgba(247, 243, 234, 0.16);
  --style-dot: #5a6570;
  --style-logo-preview: #f7f3ea;
  --style-nav-preview: #313a45;
  --style-ink-preview: #f7f3ea;
  --style-muted-preview: #515d68;
  --style-accent: #f1b84b;
  --style-accent-2: #ffffff;
  --style-media: linear-gradient(135deg, #f7f3ea 0%, #d9d0bd 100%);
  --style-media-detail: linear-gradient(135deg, rgba(17, 24, 32, 0.18), rgba(17, 24, 32, 0));
  --style-media-badge: #111820;
  --style-media-mark: #111820;
  --style-media-mark-2: #f1b84b;
  --style-media-mark-3: rgba(17, 24, 32, 0.18);
  --style-tile: #222a33;
  --style-tile-line: #5c6875;
}

.style-card.editorial .style-preview-main {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.78fr);
}

.style-card.editorial .style-headline {
  height: 25px;
}

.style-card.editorial .style-preview-bottom span::before {
  background: #f7f3ea;
}

.style-card.editorial .style-preview-media::after {
  width: 44px;
  height: 8px;
  border-radius: 999px;
}

.style-card.commerce {
  --style-shell: linear-gradient(135deg, #fbfaf6, #e5f3ef);
  --style-page: #fbfaf6;
  --style-frame: rgba(38, 51, 65, 0.12);
  --style-dot: #c8bda8;
  --style-logo-preview: #0d7c70;
  --style-nav-preview: #e6d8bd;
  --style-ink-preview: #263341;
  --style-muted-preview: #dacbb4;
  --style-accent: #0d7c70;
  --style-accent-2: #f1b84b;
  --style-media: linear-gradient(180deg, #ffffff 0%, #f2ead8 100%);
  --style-media-detail: linear-gradient(90deg, transparent 0 48%, rgba(13, 124, 112, 0.12) 48% 52%, transparent 52% 100%), linear-gradient(0deg, transparent 0 48%, rgba(13, 124, 112, 0.12) 48% 52%, transparent 52% 100%);
  --style-media-badge: #f1b84b;
  --style-media-mark: #0d7c70;
  --style-media-mark-2: #f1b84b;
  --style-media-mark-3: #ffffff;
  --style-tile: #eff8f5;
  --style-tile-line: #b9ded4;
}

.style-card.commerce .style-preview-bottom span {
  min-height: 54px;
}

.style-card.commerce .style-preview-bottom span::after {
  width: 26%;
  background: #f1b84b;
}

.style-card.commerce .style-preview-media span:nth-child(1) {
  width: 34%;
  height: 34%;
  left: 10%;
  top: 12%;
  border-radius: 5px;
}

.style-card.commerce .style-preview-media span:nth-child(2) {
  width: 34%;
  height: 34%;
  right: 10%;
  bottom: 12%;
  border-radius: 5px;
}

.style-card.commerce .style-preview-media span:nth-child(3) {
  width: 34%;
  height: 34%;
  left: 10%;
  bottom: 12%;
  border-radius: 5px;
}

.style-card.minimal {
  --style-shell: linear-gradient(135deg, #ffffff, #ededeb);
  --style-page: #fbfbfa;
  --style-frame: rgba(17, 24, 32, 0.09);
  --style-dot: #c9c9c4;
  --style-logo-preview: #1d2329;
  --style-nav-preview: #e6e6e1;
  --style-ink-preview: #1d2329;
  --style-muted-preview: #d8d8d1;
  --style-accent: #1d2329;
  --style-accent-2: #cfcfc8;
  --style-media: #ffffff;
  --style-media-detail: linear-gradient(90deg, rgba(29, 35, 41, 0.12), rgba(29, 35, 41, 0.02));
  --style-media-badge: #1d2329;
  --style-media-mark: #1d2329;
  --style-media-mark-2: #d8d8d1;
  --style-media-mark-3: #efefec;
  --style-tile: #f0f0ec;
  --style-tile-line: #d3d3cc;
}

.style-card.minimal .style-preview-main {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}

.style-card.minimal .style-headline {
  width: 66%;
}

.style-card.minimal .style-preview-media span:nth-child(1) {
  width: 44%;
  height: 70%;
  left: 28%;
  top: 15%;
  border-radius: 7px;
}

.style-card.minimal .style-preview-media::after {
  width: 7px;
  height: 54%;
  right: 22px;
  bottom: 23%;
  border-radius: 999px;
}

.style-card.local {
  --style-shell: linear-gradient(135deg, #f5f9fb, #e9f1f6);
  --style-page: #f7fbfd;
  --style-frame: rgba(6, 73, 109, 0.13);
  --style-dot: #aac7d6;
  --style-logo-preview: #06496d;
  --style-nav-preview: #d7eaf2;
  --style-ink-preview: #07344f;
  --style-muted-preview: #c2d7e3;
  --style-accent: #f1b84b;
  --style-accent-2: #2f74c8;
  --style-media: linear-gradient(135deg, #ffffff 0%, #dcecf4 100%);
  --style-media-detail: radial-gradient(circle at 34% 42%, rgba(6, 73, 109, 0.18) 0 8px, transparent 9px), linear-gradient(90deg, rgba(241, 184, 75, 0.14), transparent);
  --style-media-badge: #f1b84b;
  --style-media-mark: #06496d;
  --style-media-mark-2: #f1b84b;
  --style-media-mark-3: #ffffff;
  --style-tile: #eaf3f8;
  --style-tile-line: #b9d3e2;
}

.style-card.local .style-preview-media span:nth-child(1) {
  width: 8px;
  height: 78%;
  left: 48%;
  top: 11%;
  border-radius: 999px;
}

.style-card.local .style-preview-media span:nth-child(2) {
  width: 44%;
  height: 44%;
  right: 8%;
  bottom: 12%;
  border-radius: 7px;
}

.style-card.local .style-preview-media::after {
  width: 48px;
  height: 14px;
  border-radius: 999px;
}

.style-card.booking {
  --style-shell: linear-gradient(135deg, #fff7ed, #eef7f4);
  --style-page: #fffaf3;
  --style-frame: rgba(38, 51, 65, 0.13);
  --style-dot: #d7b997;
  --style-logo-preview: #263341;
  --style-nav-preview: #ead5bc;
  --style-ink-preview: #263341;
  --style-muted-preview: #e2ccb2;
  --style-accent: #0d7c70;
  --style-accent-2: #f1b84b;
  --style-media: linear-gradient(180deg, #263341 0%, #465366 100%);
  --style-media-detail: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 62%);
  --style-media-badge: #f1b84b;
  --style-media-mark: #f1b84b;
  --style-media-mark-2: #0d7c70;
  --style-media-mark-3: rgba(255, 255, 255, 0.84);
  --style-tile: #f4e8d9;
  --style-tile-line: #d7b997;
}

.style-card.booking .style-preview-media span:nth-child(1),
.style-card.booking .style-preview-media span:nth-child(2) {
  left: 12%;
  width: 76%;
  height: 16px;
  border-radius: 4px;
}

.style-card.booking .style-preview-media span:nth-child(1) {
  top: 24%;
}

.style-card.booking .style-preview-media span:nth-child(2) {
  top: 52%;
  right: auto;
}

.style-card.booking .style-preview-media span:nth-child(3) {
  left: 12%;
  bottom: 14%;
  width: 46%;
  height: 16px;
  border-radius: 4px;
}

.style-more-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  padding: 12px 16px;
  color: var(--white);
  font-weight: 900;
  transition: transform 260ms var(--ease-out), background 260ms ease;
}

.style-more-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.style-more-link::after {
  content: "→";
  margin-left: 10px;
}

.process-list {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.process-list article {
  display: grid;
  grid-template-columns: 160px minmax(190px, 0.55fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}

.process-list article:hover {
  transform: translateX(6px);
  box-shadow: 0 24px 58px rgba(17, 24, 32, 0.1);
}

.process-list span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.areas-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-list a {
  display: flex;
  align-items: center;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  color: var(--navy-dark);
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(17, 24, 32, 0.05);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms ease;
}

.area-list a:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 116, 200, 0.32);
  box-shadow: 0 22px 48px rgba(17, 24, 32, 0.1);
}

.area-list a::after {
  content: "→";
  margin-left: auto;
  color: var(--blue);
}

.about-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  border-radius: 8px;
  background: var(--white);
  padding: 48px;
  box-shadow: var(--shadow);
}

.about-card p + p {
  margin-top: 18px;
}

.faq-section {
  padding-top: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0;
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.faq-list details:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(17, 24, 32, 0.09);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
}

.quote-section {
  padding: 0 20px 96px;
}

.quote-card {
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 73, 109, 0.96), rgba(7, 52, 79, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(241, 184, 75, 0.2), transparent 32%);
  color: var(--white);
  padding: 56px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: quoteSheen 7s ease-in-out infinite;
  pointer-events: none;
}

.quote-card h2 {
  color: var(--white);
}

.quote-card > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

.contact-row a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 34px max(20px, calc((100% - var(--max)) / 2));
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong,
.site-footer a {
  color: var(--ink-2);
  font-weight: 850;
}

.auth-callback-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 15% 18%, rgba(217, 238, 248, 0.95), transparent 28%),
    linear-gradient(135deg, #f8fbfd 0%, #eef6fb 52%, #ffffff 100%);
}

.auth-callback-card {
  width: min(100%, 620px);
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 56px);
}

.unsubscribe-main {
  min-height: calc(100vh - 96px);
}

.unsubscribe-card {
  display: grid;
  gap: 18px;
}

.unsubscribe-copy {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 760;
}

.unsubscribe-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

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

.unsubscribe-form label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.unsubscribe-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.auth-callback-brand {
  margin-bottom: 34px;
}

.callback-loader {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(47, 116, 200, 0.18);
  border-top-color: var(--blue);
  margin-bottom: 24px;
  animation: callback-spin 0.9s linear infinite;
}

.auth-callback-card h1 {
  margin-top: 8px;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.auth-callback-card p:not(.eyebrow) {
  max-width: 36rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.auth-callback-card .modal-action-row {
  margin-top: 28px;
}

@keyframes callback-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-hero,
.dashboard-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.page-hero.compact {
  padding-bottom: 38px;
}

.page-hero h1,
.dashboard-hero h1 {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6.3rem);
}

.page-hero p:not(.eyebrow),
.dashboard-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.16rem;
}

.page-section,
.dashboard-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 92px;
}

.dark-page-section {
  width: 100%;
  max-width: none;
  padding: 92px max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink);
}

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

.native-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.native-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 850;
}

.native-form label span {
  font-size: 0.92rem;
}

.account-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 18, 28, 0.58);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(14px);
  transition: opacity 240ms ease;
}

.account-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: start center;
  padding: 84px 20px 20px;
  background: rgba(8, 18, 28, 0.48);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition: opacity 240ms ease;
}

.account-modal-overlay[hidden] {
  display: none;
}

.account-menu-overlay[hidden] {
  display: none;
}

.account-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.partner-challenge-overlay {
  z-index: 1120;
  background: rgba(7, 20, 31, 0.72);
}

.partner-challenge-modal {
  width: min(600px, 100%);
}

.partner-challenge-modal h2 {
  margin-top: 8px;
  color: var(--navy-dark);
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 0.98;
}

.partner-challenge-modal h2 + p {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 750;
}

.partner-identity-card {
  display: grid;
  gap: 6px;
  margin: 22px 0;
  border: 1px solid rgba(47, 116, 200, 0.22);
  border-radius: 8px;
  background: #f5faff;
  padding: 16px;
}

.partner-identity-card span,
.partner-car-options span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.partner-identity-card strong {
  color: var(--navy-dark);
  overflow-wrap: anywhere;
}

.partner-car-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.partner-car-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.partner-car-options label {
  position: relative;
}

.partner-car-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.partner-car-options span {
  display: grid;
  min-height: 70px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 12px;
  color: var(--ink-2);
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.partner-car-options input:checked + span {
  border-color: var(--blue);
  background: #edf6ff;
  box-shadow: inset 0 0 0 2px rgba(47, 116, 200, 0.15);
}

.partner-car-options input:focus-visible + span {
  outline: 3px solid rgba(47, 116, 200, 0.25);
  outline-offset: 2px;
}

.account-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.account-modal {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(28px) scale(0.94) rotateX(4deg);
  transform-origin: top center;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.account-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--green));
  transform: translateX(-120%);
  animation: modalSweep 3.8s ease-in-out infinite;
}

.account-modal-overlay.is-open .account-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: modalPop 520ms var(--ease-out) both;
}

.account-menu {
  position: relative;
  width: min(940px, 100%);
  max-height: calc(100svh - 112px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(-18px) scale(0.98);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}

.account-menu-overlay.is-open .account-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.account-menu-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 48px;
}

.account-menu-header h2 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.account-menu-header p {
  margin-top: 8px;
  color: var(--muted);
}

.account-menu-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  margin-top: 22px;
  padding-bottom: 6px;
}

.account-menu-links a,
.account-menu-links button {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f8fb;
  padding: 11px 14px;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 900;
  white-space: nowrap;
}

.account-menu-links a:hover,
.account-menu-links a:focus-visible,
.account-menu-links button:hover,
.account-menu-links button:focus-visible {
  border-color: rgba(47, 116, 200, 0.36);
  background: #eaf4fb;
}

.profile-panel {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.profile-panel h3 {
  font-size: 1.45rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.profile-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 850;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-actions .button,
.profile-actions .ghost-button {
  width: auto;
}

.modal-close {
  appearance: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(7, 52, 79, 0.12);
  border-radius: 999px;
  background: #f3f8fb;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.modal-close:hover {
  border-color: rgba(47, 116, 200, 0.28);
  background: #e8f3f8;
  transform: scale(1.04);
}

.modal-close:focus-visible {
  outline: 3px solid rgba(47, 116, 200, 0.28);
  outline-offset: 3px;
}

.account-mode h2 {
  max-width: 390px;
  margin-top: 8px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.account-mode > p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
}

.account-mode:not([hidden]) {
  animation: modalContentRise 520ms var(--ease-out) 80ms both;
}

.modal-form {
  margin-top: 22px;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.modal-name-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.modal-form .button {
  width: 100%;
}

.modal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.auth-action-card .modal-action-row {
  align-items: stretch;
}

.text-button {
  border: 0;
  background: transparent;
  padding: 2px 0;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.form-error,
.modal-status {
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 0.92rem;
  font-weight: 800;
}

.form-error {
  background: #fff1f0;
  color: #9f2d20;
}

.form-success {
  border-radius: 8px;
  background: #e6f4f0;
  padding: 11px 12px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 850;
}

.passcode-strength {
  display: grid;
  gap: 10px;
  margin-top: -4px;
}

.passcode-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef3;
}

.passcode-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #9f2d20;
  transition: width 280ms var(--ease-out), background 280ms ease;
}

.passcode-strength[data-score="1"] .passcode-meter span {
  width: 25%;
  background: #c4562b;
}

.passcode-strength[data-score="2"] .passcode-meter span {
  width: 50%;
  background: var(--gold);
}

.passcode-strength[data-score="3"] .passcode-meter span {
  width: 75%;
  background: var(--blue);
}

.passcode-strength[data-score="4"] .passcode-meter span {
  width: 100%;
  background: var(--green);
}

.passcode-strength ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.passcode-strength li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.passcode-strength li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd8e2;
}

.passcode-strength li.is-met {
  color: var(--green);
}

.passcode-strength li.is-met::before {
  background: var(--green);
}

.modal-status {
  margin-top: 18px;
  background: #e8f3f8;
  color: var(--navy-dark);
}

.form-heading h2,
.brief-intro h2,
.account-gate h2 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.login-split,
.account-gate,
.project-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.74fr);
  gap: 28px;
  align-items: start;
}

.account-gate,
.project-form-shell {
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.12fr);
}

.account-gate > div,
.brief-intro {
  position: sticky;
  top: 124px;
}

.account-gate p:not(.eyebrow),
.brief-intro p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.portal-preview {
  display: grid;
  gap: 14px;
}

.portal-card,
.logged-out-panel,
.empty-projects {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 73, 109, 0.96), rgba(7, 52, 79, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(241, 184, 75, 0.24), transparent 34%);
  color: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
}

.portal-card span {
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-card strong {
  display: block;
  margin-top: 14px;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.portal-card p,
.logged-out-panel p,
.empty-projects p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.portal-card a,
.logged-out-panel .button,
.empty-projects .button {
  margin-top: 24px;
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 13px 14px;
  color: var(--ink-2);
  font-weight: 900;
  cursor: pointer;
}

.danger-text-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #b42318;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  text-align: left;
}

.danger-text-button:hover,
.danger-text-button:focus-visible {
  text-decoration: underline;
}

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

.project-form {
  box-shadow: 0 24px 72px rgba(17, 24, 32, 0.12);
}

.project-form-shell.is-arriving {
  animation: projectFormArrive 760ms var(--ease-out) both;
}

.project-flow {
  width: 100%;
  min-height: 100svh;
}

.project-flow .account-gate {
  width: min(var(--max), calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 72px 0;
}

.project-form-shell.brief-wizard {
  display: block;
  width: 100%;
}

.brief-wizard-form {
  position: relative;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.96), rgba(248, 251, 253, 1)),
    radial-gradient(circle at 78% 18%, rgba(47, 116, 200, 0.12), transparent 28%);
}

.wizard-progress {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 253, 0.92);
  padding: 13px max(20px, calc((100% - var(--max)) / 2));
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.wizard-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.wizard-progress strong {
  color: var(--green);
  font-size: 0.74rem;
  text-align: right;
}

.wizard-progress strong.is-saving {
  color: var(--blue);
}

.wizard-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3edf4;
}

.wizard-bar span {
  display: block;
  width: var(--wizard-progress, 12.5%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 420ms var(--ease-out);
}

.wizard-step {
  min-height: calc(100svh - 136px);
  padding: 72px max(20px, calc((100% - var(--max)) / 2));
  display: grid;
  align-items: center;
}

.wizard-step.is-active {
  animation: wizardQuestionIn 560ms var(--ease-out) both;
}

.wizard-question {
  width: min(900px, 100%);
}

.wizard-question h1,
.wizard-question h2 {
  max-width: 950px;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(3rem, 7.2vw, 6.4rem);
  line-height: 0.96;
}

.wizard-question p:not(.eyebrow) {
  max-width: 740px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.14rem;
}

.wizard-field {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 32px;
  color: var(--ink-2);
  font-weight: 900;
}

.wizard-field input,
.wizard-field textarea {
  border-width: 2px;
  padding: 18px;
  font-size: 1.12rem;
  box-shadow: 0 18px 48px rgba(17, 24, 32, 0.06);
}

.verification-code-field input {
  width: min(260px, 100%);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: 0.26em;
  text-align: center;
}

.wizard-field textarea {
  min-height: 190px;
}

.wizard-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 980px;
  margin-top: 34px;
}

.wizard-choice-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.wizard-choice-grid button {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.06);
  transition: transform 260ms var(--ease-out), border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.wizard-choice-grid button:hover,
.wizard-choice-grid button:focus-visible,
.wizard-choice-grid button.is-selected {
  transform: translateY(-5px);
  border-color: rgba(47, 116, 200, 0.48);
  background: #f5fbff;
  box-shadow: 0 28px 70px rgba(17, 24, 32, 0.12);
}

.wizard-choice-grid button.is-selected {
  outline: 3px solid rgba(47, 116, 200, 0.18);
}

.wizard-step.needs-selection .wizard-choice-grid {
  animation: choiceNudge 360ms ease;
}

.wizard-step.needs-selection .wizard-choice-grid button {
  border-color: rgba(159, 45, 32, 0.32);
}

.wizard-choice-grid strong,
.wizard-choice-grid span {
  display: block;
}

.wizard-choice-grid strong {
  color: var(--navy-dark);
  font-size: 1.1rem;
}

.wizard-choice-grid span {
  margin-top: 9px;
  color: var(--muted);
  font-weight: 750;
}

.wizard-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.wizard-controls .ghost-button {
  min-height: 48px;
  padding: 13px 16px;
}

.brief-complete {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 86px max(20px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(6, 73, 109, 0.96), rgba(7, 52, 79, 0.92)),
    radial-gradient(circle at 78% 18%, rgba(241, 184, 75, 0.22), transparent 32%);
  color: var(--white);
  animation: completionIn 760ms var(--ease-out) both;
}

.brief-complete > div {
  max-width: 860px;
}

.brief-complete h2 {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.brief-complete p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}

.completion-id {
  font-weight: 900;
}

.brief-complete .button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

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

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.dashboard-stats article,
.project-card,
.service-detail-grid article,
.package-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.06);
}

.dashboard-stats span {
  display: block;
  color: var(--navy-dark);
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
}

.dashboard-stats p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.admin-account-panel,
.admin-traffic-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.06);
}

.admin-account-panel header,
.admin-traffic-panel header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.admin-account-panel h2,
.admin-traffic-panel h2 {
  margin-top: 5px;
  color: var(--navy-dark);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.admin-account-panel header > span,
.admin-traffic-panel header > span {
  border-radius: 999px;
  background: #e8f3f8;
  padding: 8px 12px;
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.admin-forwarding-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.admin-forwarding-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-dark);
  font-weight: 850;
}

.admin-forwarding-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.admin-forwarding-form input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(47, 118, 208, 0.16);
}

.admin-forwarding-form .button {
  min-height: 50px;
}

.admin-account-list {
  display: grid;
  gap: 10px;
}

.admin-traffic-list {
  display: grid;
  gap: 10px;
}

.admin-traffic-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) minmax(150px, 1.15fr) minmax(190px, 1.35fr) minmax(140px, 1fr) minmax(120px, 0.8fr);
  gap: 10px;
  align-items: stretch;
  border: 1px solid #dce8ef;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px;
}

.admin-traffic-row div {
  min-width: 0;
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.admin-traffic-row span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-traffic-row strong,
.admin-traffic-row p {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-traffic-row p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.admin-account-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.1fr) minmax(220px, 1.8fr) minmax(130px, 1fr) 80px 90px 110px 90px;
  gap: 10px;
  align-items: stretch;
  border: 1px solid #dce8ef;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px;
}

.admin-account-row div {
  min-width: 0;
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.admin-account-row span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-account-row strong,
.admin-account-row a {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-account-row a {
  color: var(--blue);
  text-decoration: none;
}

.admin-partner-detail {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-account-email {
  outline: 2px solid rgba(47, 116, 200, 0.16);
  outline-offset: -2px;
}

.admin-account-actions strong {
  color: var(--muted);
}

.partner-permission-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(47, 116, 200, 0.28);
  border-radius: 8px;
  background: #eef6fa;
  padding: 18px;
}

.admin-account-row .partner-permission-panel div {
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.partner-permission-panel > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(47, 116, 200, 0.18);
  padding-bottom: 14px;
}

.partner-permission-panel h3 {
  margin-top: 4px;
  color: var(--navy-dark);
  font-size: 1.25rem;
}

.partner-permission-panel p,
.partner-permission-panel footer > span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.45;
}

.partner-permission-presets {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.partner-permission-presets .ghost-button {
  min-height: 38px;
  padding: 8px 12px;
}

.partner-permission-presets .is-selected {
  border-color: var(--blue);
  background: var(--navy-dark);
  color: var(--white);
}

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

.partner-permission-toggle {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  border: 1px solid #d5e4ec;
  border-radius: 8px;
  background: var(--white);
  padding: 13px;
  cursor: pointer;
}

.partner-permission-toggle strong,
.partner-permission-toggle small {
  display: block;
}

.partner-permission-toggle strong {
  color: var(--ink-2);
  font-size: 0.92rem;
  margin-top: 0;
}

.partner-permission-toggle small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.admin-account-row .partner-permission-toggle > span,
.admin-account-row .partner-permission-panel footer > span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.partner-permission-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.partner-permission-toggle i {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid #b8cbd7;
  border-radius: 999px;
  background: #dce6ec;
  transition: background 180ms ease, border-color 180ms ease;
}

.partner-permission-toggle i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(12, 34, 50, 0.2);
  content: "";
  transition: transform 180ms ease;
}

.partner-permission-toggle input:checked + i {
  border-color: var(--blue);
  background: var(--blue);
}

.partner-permission-toggle input:checked + i::after {
  transform: translateX(20px);
}

.partner-permission-toggle:focus-within {
  outline: 3px solid rgba(47, 116, 200, 0.2);
  outline-offset: 2px;
}

.partner-permission-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.partner-no-access {
  border: 1px solid #d5e4ec;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 18px;
}

.partner-no-access span {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.partner-no-access h3 {
  max-width: 680px;
  margin-top: 6px;
  color: var(--navy-dark);
  font-size: 1.15rem;
}

.admin-delete-confirm {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: 8px;
  background: #fff4f2;
  padding: 14px;
}

.admin-delete-confirm p {
  margin-top: 5px;
  color: #7a271a;
  font-weight: 750;
}

.admin-delete-confirm > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
  background: transparent;
  padding: 0;
}

.admin-email-panel,
.project-restore-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(47, 116, 200, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f5faff, #f8fbfd);
  padding: 16px;
}

.admin-email-panel header,
.project-restore-panel header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid rgba(47, 116, 200, 0.14);
  padding-bottom: 14px;
}

.admin-email-panel h2,
.project-restore-panel h2 {
  margin-top: 4px;
  color: var(--navy-dark);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.admin-email-panel header p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 760;
}

.admin-email-panel header > span,
.project-restore-panel header > span {
  border-radius: 999px;
  background: var(--white);
  padding: 8px 11px;
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.admin-email-tools {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-email-tools label {
  display: grid;
  gap: 7px;
}

.admin-email-tools label span,
.admin-email-recipient small,
.admin-ad-preview span,
.admin-end-panel span,
.project-record-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-email-tools select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.admin-email-automation-note {
  border: 1px solid rgba(244, 182, 64, 0.4);
  border-radius: 8px;
  background: #fff8e8;
  padding: 12px 14px;
}

.admin-email-automation-note strong {
  display: block;
  color: var(--navy-dark);
  font-weight: 950;
}

.admin-email-automation-note p {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 760;
}

.project-restore-panel {
  background: linear-gradient(135deg, #f7fbf4, #f5faff);
}

.project-restore-panel form {
  display: grid;
  gap: 12px;
}

.project-restore-panel label {
  display: grid;
  gap: 7px;
}

.project-restore-panel label span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-restore-panel textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  color: var(--ink);
  font: 0.9rem/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.partner-resource-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(47, 116, 200, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, #f5faff, #f7fbf4);
  padding: 18px;
}

.partner-resource-panel > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(47, 116, 200, 0.14);
  padding-bottom: 15px;
}

.partner-resource-panel h2 {
  margin-top: 4px;
  color: var(--navy-dark);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.partner-resource-panel header p:not(.eyebrow) {
  margin-top: 6px;
  max-width: 720px;
  color: var(--muted);
  font-weight: 750;
}

.partner-resource-panel > header > span {
  border-radius: 999px;
  background: var(--navy-dark);
  padding: 8px 12px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.partner-resource-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.partner-resource-links a {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 138px;
  border: 1px solid #dce8ef;
  border-radius: 8px;
  background: var(--white);
  padding: 15px;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.partner-resource-links a:hover,
.partner-resource-links a:focus-visible {
  border-color: rgba(47, 116, 200, 0.5);
  box-shadow: 0 12px 24px rgba(18, 51, 72, 0.08);
  transform: translateY(-2px);
}

.partner-resource-links span,
.partner-business-email-card span,
.partner-payout-card span,
.partner-readonly-status span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.partner-resource-links strong {
  color: var(--navy-dark);
  font-size: 1rem;
}

.partner-resource-links small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.partner-setup-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.partner-business-email-card,
.partner-payout-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid #dce8ef;
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.partner-business-email-card h3,
.partner-payout-card h3 {
  margin-top: 5px;
  color: var(--navy-dark);
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.partner-business-email-card p,
.partner-payout-card p {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 740;
}

.partner-business-email-card form,
.partner-payout-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.partner-business-email-card label,
.partner-payout-card label {
  display: grid;
  gap: 7px;
}

.partner-business-email-card input,
.partner-payout-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fbfd;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.partner-verification-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  background: #fff8e8;
  padding: 11px 13px;
  color: #775516;
}

.partner-verification-status.is-verified {
  background: #edf8f3;
  color: var(--green);
}

.partner-verification-status span {
  color: inherit;
  font-size: 0.75rem;
}

.partner-email-instructions {
  border: 1px solid #dce8ef;
  border-radius: 8px;
  background: var(--white);
  padding: 15px;
}

.partner-email-instructions summary {
  cursor: pointer;
  color: var(--navy-dark);
  font-weight: 950;
}

.partner-email-instructions ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--ink-2);
  font-weight: 700;
}

.partner-permission-note {
  max-width: 300px;
  color: var(--muted) !important;
  font-size: 0.84rem;
  text-align: right;
}

.partner-readonly-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partner-readonly-status div {
  border-radius: 8px;
  background: var(--white);
  padding: 13px;
}

.partner-readonly-status strong {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.admin-ad-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-ad-preview article {
  border: 1px solid #dce8ef;
  border-radius: 8px;
  background: var(--white);
  padding: 13px;
}

.admin-ad-preview article.is-active {
  border-color: rgba(47, 116, 200, 0.46);
  box-shadow: inset 0 0 0 2px rgba(47, 116, 200, 0.12);
}

.admin-ad-preview strong {
  display: block;
  margin-top: 7px;
  color: var(--ink-2);
  line-height: 1.25;
}

.admin-ad-preview p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.admin-email-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-email-recipient {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #dce8ef;
  border-radius: 8px;
  background: var(--white);
  padding: 11px;
}

.admin-email-recipient input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.admin-email-recipient strong {
  display: block;
  color: var(--ink-2);
  font-weight: 950;
}

.admin-email-recipient small {
  margin-top: 4px;
  overflow-wrap: anywhere;
  text-transform: none;
}

.projects-list {
  display: grid;
  gap: 16px;
}

.project-card {
  display: grid;
  gap: 18px;
}

.project-card header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.project-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.project-card.is-ended {
  border-color: rgba(180, 35, 24, 0.28);
  background: linear-gradient(135deg, #fff8f7, var(--white));
}

.ended-project-note {
  margin-top: 8px;
  color: #7a271a;
  font-weight: 850;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  background: #e8f3f8;
  padding: 7px 10px;
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 950;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef3;
}

.progress-track span {
  display: block;
  width: var(--progress, 22%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-meta.admin-client-meta {
  grid-template-columns: repeat(4, 1fr);
}

.project-meta div {
  border-radius: 8px;
  background: #f3f8fb;
  padding: 14px;
}

.project-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-meta strong {
  display: block;
  margin-top: 5px;
  color: var(--ink-2);
}

.consultation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(47, 116, 200, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f4f9fc, #eef7f2);
  padding: 18px;
}

.consultation-panel.is-booked {
  border-color: rgba(32, 121, 89, 0.28);
  background: #edf8f3;
}

.consultation-panel span,
.brief-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.consultation-panel p {
  margin-top: 7px;
  color: var(--ink-2);
  font-weight: 850;
}

.admin-project-id {
  min-width: 150px;
  text-align: right;
}

.admin-project-id span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-project-id strong {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
}

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

.payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(244, 182, 64, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8ea, #f8fbfd);
  padding: 18px;
}

.payment-panel.is-requested {
  border-color: rgba(47, 116, 200, 0.24);
  background: linear-gradient(135deg, #eef6ff, #fff9ed);
}

.payment-panel.is-paid {
  border-color: rgba(32, 121, 89, 0.28);
  background: #edf8f3;
}

.payment-panel span,
.payment-request-form span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-panel p {
  margin-top: 7px;
  color: var(--ink-2);
  font-weight: 850;
}

.payment-panel a:not(.button) {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.payment-panel a:not(.button):hover,
.payment-panel a:not(.button):focus-visible {
  text-decoration: underline;
}

.payment-state {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 13px;
  color: var(--green);
  font-weight: 950;
  white-space: nowrap;
}

.payment-admin-controls {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.payment-request-form {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 10px;
}

.payment-request-form label {
  display: grid;
  gap: 7px;
}

.payment-request-form input {
  width: 132px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.payment-status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.payment-status-actions .ghost-button {
  min-height: 42px;
  padding: 10px 12px;
}

.build-progress-panel,
.admin-build-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(47, 116, 200, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f5faff, #f7fbf4);
  padding: 18px;
}

.build-progress-header,
.admin-build-panel header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.build-progress-header span,
.admin-build-panel span,
.preview-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.build-progress-header h3,
.admin-build-panel h3 {
  margin-top: 6px;
  color: var(--navy-dark);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.build-progress-header p,
.admin-build-panel p,
.preview-panel p {
  margin-top: 7px;
  color: var(--ink-2);
  font-weight: 800;
}

.build-progress-header strong,
.admin-build-panel header > strong {
  border-radius: 999px;
  background: var(--white);
  padding: 10px 13px;
  color: var(--green);
  font-weight: 950;
}

.progress-track.large {
  height: 13px;
}

.delivery-meta {
  grid-template-columns: repeat(3, 1fr);
}

.preview-panel {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.preview-grid,
.admin-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preview-grid a,
.admin-preview-strip a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  aspect-ratio: 16 / 10;
}

.preview-grid img,
.admin-preview-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-status-form {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.project-status-form label {
  display: grid;
  gap: 7px;
}

.project-status-form select,
.project-status-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.brief-details {
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.brief-details summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 950;
}

.brief-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.brief-detail-grid div {
  border-radius: 8px;
  background: #f6f9fb;
  padding: 14px;
}

.brief-detail-grid strong,
.brief-detail-grid p {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
}

.project-record-panel,
.admin-end-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(93, 113, 131, 0.2);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 16px;
}

.project-record-panel p,
.admin-end-panel p {
  margin-top: 6px;
  color: var(--ink-2);
  font-weight: 800;
}

.project-record-panel textarea {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  color: var(--ink);
  font: 0.86rem/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.project-record-actions,
.admin-project-end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.admin-end-panel {
  border-color: rgba(180, 35, 24, 0.2);
  background: #fffaf8;
}

.project-end-confirm {
  display: flex;
}

.service-detail-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-detail-grid article span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.service-detail-grid article p,
.package-grid article p {
  margin-top: 14px;
  color: var(--muted);
}

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

.package-grid ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-weight: 700;
}

.comparison-section {
  padding-top: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(10px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.service-grid [data-reveal]:nth-child(2),
.work-grid [data-reveal]:nth-child(2),
.style-grid [data-reveal]:nth-child(2),
.process-list [data-reveal]:nth-child(2),
.faq-list [data-reveal]:nth-child(2) {
  transition-delay: 90ms;
}

.service-grid [data-reveal]:nth-child(3),
.work-grid [data-reveal]:nth-child(3),
.style-grid [data-reveal]:nth-child(3),
.process-list [data-reveal]:nth-child(3),
.faq-list [data-reveal]:nth-child(3) {
  transition-delay: 180ms;
}

.service-grid [data-reveal]:nth-child(4),
.style-grid [data-reveal]:nth-child(4) {
  transition-delay: 270ms;
}

.style-grid [data-reveal]:nth-child(5) {
  transition-delay: 360ms;
}

.style-grid [data-reveal]:nth-child(6) {
  transition-delay: 450ms;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translate3d(0, calc(var(--hero-visual-y, 0px) + 36px), 0) scale(0.96);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, var(--hero-visual-y, 0px), 0) scale(1);
    filter: blur(0);
  }
}

@keyframes shineBar {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.2);
  }
  50% {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.36);
  }
}

@keyframes quoteSheen {
  0%,
  46% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes projectFormArrive {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes wizardQuestionIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes completionIn {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes choiceNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  70% {
    transform: translateX(6px);
  }
}

@keyframes modalPop {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.92) rotateX(7deg);
    filter: blur(10px);
  }
  58% {
    opacity: 1;
    transform: translateY(-5px) scale(1.012) rotateX(0deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes modalContentRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSweep {
  0%,
  42% {
    transform: translateX(-120%);
  }
  70%,
  100% {
    transform: translateX(260%);
  }
}

@media (max-width: 1280px) {
  .admin-account-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 116px 16px auto 16px;
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .content-grid,
  .about-card,
  .login-split,
  .account-gate,
  .project-form-shell {
    grid-template-columns: 1fr;
  }

  .account-gate > div,
  .brief-intro {
    position: static;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-visual {
    min-height: 470px;
  }

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

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

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

  .motion-inner {
    grid-template-columns: 1fr;
  }

  .motion-stage {
    min-height: 520px;
  }

  .process-list article {
    grid-template-columns: 110px 1fr;
  }

  .process-list article p {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .quote-strip {
    justify-content: flex-start;
  }

  .cookie-consent {
    display: grid;
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .cookie-consent-actions {
    display: grid;
  }

  .nav-shell,
  .section,
  .hero-grid {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 148px;
  }

  .hero-grid {
    gap: 24px;
    padding: 52px 0 42px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

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

  .hero-actions,
  .quote-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 356px;
    margin-top: 4px;
  }

  .browser-card {
    inset: 58px -6px auto -6px;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
    transform: scale(0.92);
    transform-origin: center top;
  }

  .browser-body {
    padding: 16px;
  }

  .mock-nav {
    grid-template-columns: 42px 1fr 1fr 1fr;
    gap: 10px;
  }

  .mock-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }

  .mock-hero > div {
    gap: 11px;
  }

  .mock-hero strong {
    height: 56px;
  }

  .mock-hero p {
    width: 80%;
    height: 28px;
  }

  .mock-hero button {
    width: 116px;
    height: 30px;
  }

  .mock-hero aside {
    min-height: 78px;
  }

  .mock-grid {
    gap: 10px;
    margin-top: 16px;
  }

  .mock-grid span {
    height: 58px;
  }

  .metric-card {
    width: 154px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(17, 24, 32, 0.16);
  }

  .metric-card strong {
    font-size: 1.22rem;
    white-space: nowrap;
  }

  .metric-card span {
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .metric-card.speed {
    top: 8px;
    right: 4px;
  }

  .metric-card.leads {
    left: 4px;
    bottom: 18px;
  }

  .section {
    padding: 66px 0;
  }

  .section.contrast,
  .page-section.dark-page-section {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 66px 14px;
  }

  .style-section .section-heading,
  .style-section .style-grid,
  .dark-page-section .style-grid {
    width: 100%;
    min-width: 0;
  }

  .motion-section {
    padding: 66px 14px;
  }

  .motion-inner {
    gap: 28px;
  }

  .motion-stage {
    min-height: 455px;
  }

  .site-stack {
    inset: 92px 36px 92px 10px;
    transform:
      rotateX(calc(54deg - var(--scene-tilt, 0deg)))
      rotateZ(-12deg)
      translate3d(var(--stage-x, 0px), var(--stage-y, 0px), 0);
  }

  .site-layer {
    padding: 20px;
  }

  .layer-top strong {
    height: 62px;
  }

  .layer-top p {
    height: 40px;
  }

  .layer-middle span {
    min-height: 116px;
  }

  .layer-middle span:nth-child(2) {
    min-height: 158px;
  }

  .layer-middle span:nth-child(3) {
    min-height: 94px;
  }

  .motion-stat {
    width: 168px;
    padding: 13px;
  }

  .motion-stat strong {
    font-size: 1.35rem;
  }

  .stat-one {
    left: 0;
    top: 30px;
  }

  .stat-two {
    right: 0;
    bottom: 42px;
  }

  .motion-ribbon {
    left: 4px;
    right: 4px;
    bottom: 0;
  }

  .service-grid,
  .work-grid,
  .style-grid,
  .area-list,
  .site-footer,
  .form-grid,
  .dashboard-stats,
  .project-meta,
  .project-meta.admin-client-meta,
  .service-detail-grid,
  .package-grid,
  .catalog-grid,
  .delivery-meta,
  .preview-grid,
  .admin-preview-strip,
  .project-status-form,
  .admin-email-tools,
  .admin-ad-preview,
  .admin-email-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .work-card,
  .style-card {
    min-height: auto;
  }

  .style-preview {
    min-height: 304px;
  }

  .style-screen {
    min-height: 284px;
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-list article p {
    grid-column: auto;
  }

  .about-card,
  .quote-card {
    padding: 28px;
  }

  .page-hero,
  .dashboard-hero,
  .page-section,
  .dashboard-section {
    width: min(100% - 28px, var(--max));
  }

  .page-hero,
  .dashboard-hero {
    grid-template-columns: 1fr;
    padding: 56px 0 34px;
  }

  .page-hero h1,
  .dashboard-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .project-flow .account-gate {
    width: min(100% - 28px, var(--max));
    padding: 56px 0;
  }

  .wizard-progress {
    top: 0;
    padding-inline: 14px;
  }

  .wizard-step {
    min-height: calc(100svh - 128px);
    padding: 50px 14px 64px;
  }

  .wizard-question h1,
  .wizard-question h2,
  .brief-complete h2 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .wizard-choice-grid,
  .wizard-choice-grid.compact {
    grid-template-columns: 1fr;
  }

  .wizard-choice-grid button {
    min-height: 104px;
  }

  .wizard-controls {
    display: grid;
  }

  .brief-complete {
    min-height: 100svh;
    padding: 64px 14px;
  }

  .native-form,
  .account-modal,
  .account-menu,
  .portal-card,
  .logged-out-panel,
  .empty-projects {
    padding: 22px;
  }

  .account-menu {
    max-height: calc(100svh - 40px);
  }

  .account-menu-overlay {
    place-items: start center;
    padding: 20px 14px;
  }

  .account-menu-header {
    display: grid;
    padding-right: 44px;
  }

  .admin-account-panel header,
  .admin-account-row,
  .admin-traffic-panel header,
  .admin-traffic-row,
  .admin-email-panel header,
  .project-restore-panel header {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .admin-forwarding-form .button {
    width: 100%;
  }

  .partner-permission-panel > header,
  .partner-permission-panel > footer {
    display: grid;
  }

  .partner-permission-presets {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .partner-permission-grid {
    grid-template-columns: 1fr;
  }

  .admin-delete-confirm,
  .project-end-confirm {
    display: grid;
  }

  .admin-delete-confirm > div:last-child,
  .project-record-actions,
  .admin-project-end-actions {
    display: grid;
    justify-content: stretch;
  }

  .admin-account-panel header > span,
  .admin-email-panel header > span,
  .project-restore-panel header > span {
    width: fit-content;
  }

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

  .profile-actions {
    display: grid;
  }

  .profile-actions .button,
  .profile-actions .ghost-button {
    width: 100%;
  }

  .modal-action-row {
    display: grid;
  }

  .modal-name-grid,
  .passcode-strength ul,
  .partner-car-options {
    grid-template-columns: 1fr;
  }

  .partner-resource-panel > header,
  .partner-resource-links,
  .partner-setup-grid,
  .partner-business-email-card form,
  .partner-payout-card form,
  .partner-readonly-status {
    display: grid;
    grid-template-columns: 1fr;
  }

  .partner-resource-panel > header > span {
    width: fit-content;
  }

  .partner-business-email-card .button,
  .partner-payout-card .button {
    width: 100%;
  }

  .partner-verification-status {
    align-items: start;
    flex-direction: column;
  }

  .partner-permission-note {
    max-width: none;
    text-align: left;
  }

  .project-card header {
    display: grid;
  }

  .consultation-panel,
  .payment-panel,
  .build-progress-header,
  .admin-build-panel header,
  .brief-detail-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .payment-request-form {
    display: grid;
    justify-content: stretch;
  }

  .payment-admin-controls,
  .payment-status-actions {
    display: grid;
    justify-items: stretch;
  }

  .payment-request-form input,
  .payment-request-form .button,
  .payment-status-actions .ghost-button,
  .payment-status-actions .danger-text-button,
  .payment-panel > .button,
  .project-status-form .button,
  .admin-email-tools .button,
  .admin-email-tools .ghost-button,
  .project-restore-panel .button,
  .project-record-actions .button,
  .project-record-actions .ghost-button,
  .admin-project-end-actions .button,
  .admin-project-end-actions .ghost-button {
    width: 100%;
  }

  .consultation-actions {
    display: grid;
    justify-content: stretch;
  }

  .consultation-actions .button {
    width: 100%;
  }

  .admin-project-id {
    text-align: left;
  }

  .contact-row {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .browser-card {
    transform: rotate(-2deg);
  }

  .hero-copy,
  .hero-visual,
  .motion-copy[data-reveal].is-visible,
  .motion-stage,
  .motion-section::before,
  .site-stack,
  .motion-stat,
  .hero::before {
    transform: none;
  }
}
