:root {
  --bg: #f3f5f8;
  --bg-elev: #ffffff;
  --ink: #0b1f33;
  --muted: #5a6b7c;
  --line: #d7dee7;
  --soft: #e8eef5;
  --soft-2: #eef2f7;
  --accent: #0f766e;
  --accent-hover: #0d9488;
  --accent-ink: #ffffff;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --stage: linear-gradient(155deg, #12324f 0%, #0b1f33 55%, #164e63 100%);
  --shadow: 0 22px 48px -28px rgba(11, 31, 51, 0.45);
  --radius: 18px;
  --font: "Figtree", "Segoe UI", sans-serif;
  --display: "Sora", "Figtree", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 8% -10%, rgba(15, 118, 110, 0.08), transparent 60%),
    radial-gradient(900px 480px at 100% 0%, rgba(18, 50, 79, 0.08), transparent 55%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 2.5rem)); }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 245, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.brand img {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: block;
  flex: 0 0 auto;
  background: var(--ink);
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand-text strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}
.brand-text small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-weight: 650; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); }
.btn-nav {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  padding: 0.78rem 1.15rem !important;
  border-radius: 999px !important;
  font-size: 0.9rem !important;
  font-weight: 750 !important;
}
.btn-nav:hover { background: var(--accent-hover) !important; color: #fff !important; }

/* Hero */
.hero {
  position: relative;
  padding: 2.4rem 0 2rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto;
  height: min(72vh, 640px);
  background:
    radial-gradient(ellipse 55% 60% at 78% 42%, rgba(15, 118, 110, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 50% at 12% 18%, rgba(18, 50, 79, 0.08), transparent 65%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(255, 255, 255, 0.9), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.08fr);
    gap: 2.75rem;
    min-height: 520px;
  }
}
.hero-copy {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: var(--ink);
}
.hero-brand::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: #24384c;
  max-width: 16ch;
}
.hero h1 span {
  color: var(--accent);
}
h1 em { font-style: normal; color: var(--accent); }
.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.45rem;
  max-width: 30rem;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  width: 100%;
}
.btn-primary, .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-weight: 750;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 32px -16px rgba(15, 118, 110, 0.9);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover, .btn.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -14px rgba(15, 118, 110, 0.95);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.ticks {
  list-style: none;
  padding: 0.85rem 0 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}
.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 0.95rem;
  margin-right: 0.95rem;
  border-right: 1px solid var(--line);
  color: #3d5163;
}
.ticks li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.ticks li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .ticks li {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    width: 100%;
  }
  .cta-row .btn-primary,
  .cta-row .btn-ghost {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
}

/* Hero stage — CSS 3D documents */
.hero-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 1.25rem 0 0.5rem;
  isolation: isolate;
}
.hero-stage--3d { perspective: 1400px; }
.hero-stage__glow {
  position: absolute;
  width: min(92%, 480px);
  height: 58%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -40%);
  background:
    radial-gradient(ellipse at center, rgba(15, 118, 110, 0.18) 0%, rgba(15, 118, 110, 0.06) 42%, transparent 72%),
    radial-gradient(ellipse at 50% 70%, rgba(11, 31, 51, 0.08), transparent 60%);
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}
.hero-3d {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: 390px;
  transform-style: preserve-3d;
  transform: rotateX(12deg) rotateY(-18deg);
}
.hero-card {
  position: absolute;
  margin: 0;
  width: 228px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(215, 222, 231, 0.95);
  box-shadow:
    0 30px 54px -20px rgba(11, 31, 51, 0.4),
    0 12px 22px -12px rgba(11, 31, 51, 0.22);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}
.hero-card picture,
.hero-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #eef2f7;
}
.hero-card span {
  display: block;
  padding: 0.55rem 0.5rem 0.65rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d5163;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.hero-card--left {
  left: 2%;
  top: 20%;
  transform: translateZ(18px) rotateY(28deg) rotateX(4deg) translateY(8px);
  z-index: 2;
}
.hero-card--center {
  left: 27%;
  top: 2%;
  width: 268px;
  transform: translateZ(88px) rotateY(2deg);
  z-index: 5;
  box-shadow:
    0 40px 70px -18px rgba(11, 31, 51, 0.48),
    0 14px 24px -12px rgba(11, 31, 51, 0.28);
  border-color: rgba(15, 118, 110, 0.22);
}
.hero-card--right {
  right: 0;
  top: 24%;
  width: 216px;
  transform: translateZ(36px) rotateY(-30deg) rotateX(5deg);
  z-index: 3;
}
.hero-stage__note {
  position: relative;
  z-index: 2;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7c8d;
}
.hero-pass { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-3d {
    animation: hero-tilt 10s ease-in-out infinite alternate;
  }
  .hero-card--center {
    animation: hero-lift 4.8s ease-in-out infinite alternate;
  }
  .hero-card--left {
    animation: hero-drift-l 6.5s ease-in-out infinite alternate;
  }
  .hero-card--right {
    animation: hero-drift-r 7s ease-in-out infinite alternate;
  }
  .hero-stage__glow {
    animation: hero-glow 8s ease-in-out infinite alternate;
  }
}
@keyframes hero-tilt {
  from { transform: rotateX(12deg) rotateY(-20deg); }
  to { transform: rotateX(9deg) rotateY(-12deg); }
}
@keyframes hero-lift {
  from { transform: translateZ(88px) rotateY(2deg) translateY(0); }
  to { transform: translateZ(102px) rotateY(0deg) translateY(-10px); }
}
@keyframes hero-drift-l {
  from { transform: translateZ(18px) rotateY(28deg) rotateX(4deg) translateY(8px); }
  to { transform: translateZ(28px) rotateY(24deg) rotateX(2deg) translateY(0); }
}
@keyframes hero-drift-r {
  from { transform: translateZ(36px) rotateY(-30deg) rotateX(5deg); }
  to { transform: translateZ(48px) rotateY(-24deg) rotateX(2deg) translateY(-6px); }
}
@keyframes hero-glow {
  from { opacity: 0.75; transform: translate(-50%, -40%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -42%) scale(1.05); }
}
@media (max-width: 979px) {
  .hero-grid {
    grid-template-areas:
      "copy"
      "stage";
  }
  .hero-copy { grid-area: copy; }
  .hero-stage { grid-area: stage; min-height: 340px; padding-top: 0.25rem; }
  .hero-3d {
    height: 300px;
    transform: rotateX(10deg) rotateY(-12deg) scale(0.92);
  }
  .hero-card { width: 168px; border-radius: 14px; }
  .hero-card--center { width: 196px; left: 24%; }
  .hero-card--left { left: 0; }
  .cta-row .btn-primary { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  .hero { padding: 1.75rem 0 1.25rem; }
  .hero-stage { min-height: 280px; }
  .hero-3d { height: 250px; transform: rotateX(8deg) rotateY(-8deg) scale(0.84); }
  .hero-card { width: 138px; }
  .hero-card--center { width: 160px; left: 22%; top: 4%; }
  .hero-stage__note { font-size: 0.7rem; }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0.5rem 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
}
@media (max-width: 720px) { .trust-strip { grid-template-columns: 1fr; } }
.trust-strip article {
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--line);
}
.trust-strip article:last-child { border-right: 0; }
@media (max-width: 720px) {
  .trust-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip article:last-child { border-bottom: 0; }
}
.trust-strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.trust-strip p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 4.25rem 0; }
.section.alt {
  background: transparent;
}
.section.band {
  background: var(--soft-2);
  border-block: 1px solid var(--line);
}
.section h2,
.studio-head h1,
.legal h1,
.success-page h1 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 700;
}
.doc-page h1 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 16ch;
  text-wrap: balance;
}
.section-lead {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 38rem;
  font-size: 1.05rem;
}

/* Steps — separate cards, no shared divider grid */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  border: 0;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
.steps article {
  background: #fff;
  border: 1px solid #d7dee7;
  border-radius: 20px;
  padding: 1.5rem 1.4rem 1.55rem;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 10px 28px -22px rgba(11, 31, 51, 0.35);
}
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}
.steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
  text-wrap: balance;
  padding-right: 0.25rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  text-wrap: pretty;
  max-width: none;
}

/* Document grid — photos fill tiles */
.doc-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.doc-card {
  text-decoration: none;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.doc-card:hover {
  border-color: rgba(15, 118, 110, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -28px rgba(11, 31, 51, 0.55);
}
.doc-card__visual {
  background: #eef2f7;
  padding: 0;
  display: block;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.doc-card__frame {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}
.doc-card__frame.square { width: 100%; }
.doc-card__frame picture,
.doc-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
}
.doc-card__frame img {
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 28%;
  background: #eef2f7;
}
.doc-card__frame.square img {
  aspect-ratio: auto;
  object-position: center 30%;
}
.doc-card__meta {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.15rem;
  border-top: 1px solid var(--line);
}
.doc-card__meta strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.doc-card__meta span { color: var(--muted); font-size: 0.88rem; font-weight: 550; }

.req-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.req-table th, .req-table td {
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.req-table th {
  background: var(--soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.req-table tr:last-child td { border-bottom: 0; }
.req-table td:first-child { font-weight: 700; width: 34%; }

.faq { display: grid; gap: 0.55rem; }
.faq details {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 0.45rem; color: var(--accent); }
.faq p { margin: 0; color: var(--muted); max-width: 58ch; }

.tips {
  display: grid; gap: 1.25rem;
}
@media (min-width: 800px) { .tips { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.tips article {
  border: 0;
  border-radius: 0;
  padding: 0 0 0 1rem;
  background: transparent;
  border-left: 3px solid var(--accent);
}
.tips h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.tips p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.seo-copy {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 70ch;
}
.seo-copy p { margin: 0 0 0.95rem; }
.seo-copy a { color: var(--accent); font-weight: 700; text-decoration: none; }
.seo-copy a:hover { text-decoration: underline; }

.why-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.5rem;
}
.why-grid article {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--accent);
  border-radius: 0;
  padding: 1rem 0 0;
}
.why-grid h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.08rem;
}
.why-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.doc-page {
  padding: 0;
  min-height: calc(100dvh - 76px);
  display: flex;
  flex-direction: column;
}
.legal, .success-page, .studio-page { padding: 3rem 0 4rem; }

.doc-screen {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 0.85rem;
  padding: 0.85rem 0 1.1rem;
  max-width: min(1140px, calc(100% - 2.5rem));
}
.doc-hero {
  display: grid;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 860px) {
  .doc-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 1fr);
    gap: 1.5rem;
  }
}
.doc-hero__copy { max-width: 34rem; }
.doc-page .eyebrow { margin: 0 0 0.4rem; }
.doc-page h1 {
  margin: 0 0 0.45rem !important;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem) !important;
  max-width: 18ch;
  line-height: 1.1 !important;
}
.doc-hero__copy .lead {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 34rem;
}
.doc-hero__copy .cta-row {
  margin: 0 0 0.55rem;
  gap: 0.5rem;
}
.doc-hero__copy .cta-row .btn-primary,
.doc-hero__copy .cta-row .btn-ghost {
  padding: 0.82rem 1.2rem;
  font-size: 0.95rem;
}
.doc-tip {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  max-width: 34rem;
}
.doc-hero__photo {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 0.55rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px -26px rgba(11, 31, 51, 0.35);
  display: grid;
  place-items: center;
  min-height: 220px;
}
@media (min-width: 860px) {
  .doc-hero__photo {
    min-height: min(46vh, 380px);
    max-height: min(52vh, 420px);
  }
}
.doc-hero__photo--doc { width: 100%; }
.doc-hero__photo.square { aspect-ratio: auto; }
.doc-hero__photo picture,
.doc-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(42vh, 360px);
}
.doc-hero__photo img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.doc-hero__photo--doc img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.doc-hero__photo.square img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.specs {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) {
  .specs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.specs div {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}
.specs dt {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.specs dd {
  margin: 0.18rem 0 0;
  font-weight: 750;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

/* legacy blocks (if any leftover pages) */
.doc-top, .doc-specs-band, .doc-body { display: contents; }
.doc-aside { display: none; }
.note {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0.5rem 0 0;
}
.note a { color: var(--accent); font-weight: 700; }

@media (max-width: 859px) {
  .doc-screen { padding: 0.65rem 0 0.9rem; gap: 0.7rem; align-content: start; }
  .doc-hero__photo {
    min-height: 200px;
    max-height: 34vh;
    padding: 0.4rem;
  }
  .doc-hero__photo picture,
  .doc-hero__photo img { max-height: 32vh; }
}
/* Compact footer under doc pages */
body:has(.doc-page) .site-foot {
  padding: 1.1rem 0 1.25rem;
}
body:has(.doc-page) .site-foot .foot-inner {
  gap: 0.75rem;
}
body:has(.doc-page) .site-foot .foot-brand p,
body:has(.doc-page) .site-foot .foot-links a {
  font-size: 0.82rem;
}

.studio-head { margin-bottom: 1.5rem; }
.studio-head p { color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-weight: 750; font-size: 0.78rem; padding: 0.4rem 0.85rem; border-radius: 999px;
}
.result-img {
  width: min(300px, 100%); aspect-ratio: 3/4; object-fit: cover;
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
  margin: 1rem 0;
}
.meta { color: var(--muted); font-size: 0.9rem; }
.legal h2 { margin-top: 1.75rem; font-size: 1.15rem; font-family: var(--display); }
.legal-meta { color: var(--muted); font-size: 0.9rem; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: #0b1f33;
  color: #e8eef5;
}
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between;
}
.foot-brand { display: flex; gap: 0.75rem; align-items: flex-start; }
.foot-brand img {
  width: 40px; height: 40px; border-radius: 10px;
  background: #12324f; display: block;
}
.foot-inner p { margin: 0.35rem 0 0; color: #9db0c3; font-size: 0.92rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; }
.foot-links a {
  color: #c5d4e3; text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.foot-links a:hover { color: #5eead4; }

@media (max-width: 720px) {
  .nav-links a:not(.btn-nav) { display: none; }
}

/* Cookie consent */
.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 440px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 22px 50px -20px rgba(11, 31, 51, 0.45);
}
.cookie[hidden] { display: none !important; }
.cookie__inner { display: grid; gap: 0.95rem; }
.cookie p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.cookie__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.cookie__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font: inherit;
  font-weight: 750;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cookie__btn:hover { transform: translateY(-1px); }
.cookie__btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(15, 118, 110, 0.85);
}
.cookie__btn--primary:hover { background: var(--accent-hover); }
.cookie__btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.cookie__btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 520px) {
  .cookie { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .cookie__btn { flex: 1 1 auto; text-align: center; }
}

.studio-page .btn-primary,
.studio-page .btn.btn-primary { background: var(--accent); color: var(--accent-ink); }
.studio-panel h3 { color: var(--ink) !important; }
.studio-panel {
  border-radius: 16px !important;
  box-shadow: none !important;
  border: 1px solid var(--line) !important;
  background: var(--bg-elev) !important;
}

/* CTA band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 0 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.cta-band p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  max-width: 28rem;
}
