:root {
  --bg: #f4efe7;
  --bg-deep: #101822;
  --surface: rgba(255, 251, 245, 0.84);
  --surface-strong: #fffaf3;
  --surface-dark: #172331;
  --surface-muted: rgba(17, 24, 33, 0.04);
  --text: #111923;
  --text-soft: #596375;
  --text-inverse: #f8f4ed;
  --line: rgba(17, 25, 35, 0.1);
  --line-strong: rgba(17, 25, 35, 0.18);
  --primary: #126f68;
  --primary-strong: #0c4f4a;
  --accent: #f18d4d;
  --accent-strong: #de6c2a;
  --gold: #caa25b;
  --danger: #bf4d4d;
  --warning: #926424;
  --success: #1f7a52;
  --shadow-soft: 0 24px 60px rgba(18, 25, 35, 0.1);
  --shadow-strong: 0 28px 80px rgba(12, 17, 27, 0.16);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(241, 141, 77, 0.2), transparent 26%),
    radial-gradient(circle at top right, rgba(18, 111, 104, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 22%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 48%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.38), transparent 26%);
  mix-blend-mode: soft-light;
  opacity: 0.55;
}

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

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

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

main {
  padding-bottom: 4rem;
}

.site-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-shell-page {
  position: relative;
}

.site-header,
.hero,
.section,
.page-hero,
.pricing-grid,
.timeline,
.faq-list,
.auth-shell,
.dashboard-hero,
.stats-grid,
.detail-grid,
.result-stack,
.site-footer {
  margin-top: 26px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.75);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 45px rgba(17, 25, 35, 0.08);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.nav-burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

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

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #fff3dc, transparent 28%),
    linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 7px rgba(18, 111, 104, 0.08);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand strong,
.footer-title {
  font-family: "Prata", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.brand small {
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav,
.site-actions,
.hero-actions,
.price-row,
.stack-actions,
.result-meta,
.result-heading,
.footer-links,
.offer-ribbon,
.requirement-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(17, 25, 35, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

.site-actions-mobile {
  display: none;
}

.primary-button,
.ghost-button,
.link-button,
.text-link {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.primary-button,
.ghost-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 32px rgba(12, 79, 74, 0.22);
}

.ghost-button,
.link-button {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.text-link {
  color: var(--primary-strong);
  font-weight: 800;
}

.primary-button:hover,
.ghost-button:hover,
.link-button:hover,
.text-link:hover,
.primary-button:focus-visible,
.ghost-button:focus-visible,
.link-button:focus-visible,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.large {
  padding: 16px 24px;
}

.wide {
  width: 100%;
}

.hero,
.style-hero,
.page-hero,
.pricing-card,
.detail-card,
.auth-card,
.dashboard-row,
.legal-card,
.timeline article,
.faq-list article,
.bento-card,
.cta-banner,
.spotlight-card,
.floating-card,
.stat-card,
.info-card,
.accent-panel,
.order-panel,
.style-card,
.empty-state,
.flash {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.hero,
.style-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 26px;
  padding: 40px;
  border-radius: var(--radius-xl);
}

.hero-shell {
  margin-top: 30px;
}

.hero-heading {
  display: grid;
  gap: 14px;
}

.hero-heading-compact {
  max-width: 40rem;
}

.hero-copy h1,
.page-hero h1,
.style-copy h1,
.auth-copy h1,
.dashboard-hero h1 {
  margin: 0;
  font-family: "Prata", serif;
  font-weight: 400;
  line-height: 1.06;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5.3vw, 5.4rem);
}

.page-hero h1,
.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.style-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
}

.kicker {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead,
.section-note,
.pricing-copy,
.style-story,
.gallery-note,
.helper-text,
.site-footer p,
.dashboard-row p,
.detail-card p,
.empty-state p {
  color: var(--text-soft);
}

.lead {
  max-width: 50rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-lead-compact {
  max-width: 34rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.style-tag,
.requirement-chip,
.pill,
.pricing-chip,
.style-chip,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.pill,
.style-tag,
.requirement-chip,
.status {
  background: rgba(17, 25, 35, 0.05);
  color: var(--text-soft);
  border: 1px solid rgba(17, 25, 35, 0.08);
}

.hero-rail,
.stats-grid,
.pricing-grid,
.card-grid,
.detail-grid,
.result-grid,
.bento-grid,
.timeline,
.faq-list,
.info-stack {
  display: grid;
  gap: 18px;
}

.hero-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.hero-rail article,
.stats-grid article,
.pricing-card,
.detail-card,
.auth-card,
.dashboard-row,
.legal-card,
.timeline article,
.faq-list article,
.bento-card,
.stat-card,
.info-card,
.matrix-row {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.legal-card--structured {
  display: grid;
  gap: 24px;
}

.legal-section {
  display: grid;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(15, 15, 16, 0.08);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.legal-card--structured p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-page-hero__meta {
  display: grid;
  gap: 12px;
  align-content: start;
}

.legal-page-hero__stamp,
.legal-page-hero__notice {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.14);
}

.legal-page-hero__stamp span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legal-page-hero__stamp strong {
  font-size: 1rem;
}

.legal-page-hero__notice {
  color: var(--text-secondary);
  line-height: 1.65;
}

.kd-legal-placeholder {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.22);
  color: #5f43da;
  font-weight: 700;
}

.hero-rail strong,
.price,
.stat-card strong {
  display: block;
  font-size: 1.18rem;
}

.hero-stage-premium {
  display: grid;
  gap: 18px;
}

.spotlight-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 28px;
  border-radius: 32px;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.22), transparent 30%),
    linear-gradient(145deg, var(--c1), var(--c2), var(--c3));
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.spotlight-copy {
  max-width: 70%;
}

.spotlight-copy h3,
.floating-card strong,
.gallery-card strong,
.bento-card h3,
.pricing-card h2,
.info-card h3,
.accent-panel h3,
.section-cta h2 {
  margin: 0 0 12px;
  font-family: "Prata", serif;
  font-weight: 400;
}

.spotlight-copy p,
.floating-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.spotlight-metrics {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spotlight-metrics div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(7, 12, 20, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-stack {
  display: grid;
  gap: 14px;
}

.floating-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
}

.floating-card small {
  color: rgba(255, 255, 255, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.floating-index {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section {
  padding: 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head-wide {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.section-head-wide > * {
  flex: 1;
}

.section-note {
  max-width: 33rem;
  margin: 0;
  line-height: 1.7;
}

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

.bento-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 32%),
    linear-gradient(180deg, transparent, rgba(17, 25, 35, 0.03));
  pointer-events: none;
}

.bento-card.accent {
  background:
    linear-gradient(160deg, rgba(17, 25, 35, 0.96), rgba(21, 52, 66, 0.94)),
    var(--surface-dark);
  color: var(--text-inverse);
}

.bento-card.muted {
  background:
    radial-gradient(circle at top left, rgba(18, 111, 104, 0.08), transparent 40%),
    var(--surface);
}

.bento-card.accent p {
  color: rgba(248, 244, 237, 0.78);
}

.bento-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bento-card p,
.usecase-list p,
.style-preview-copy p {
  line-height: 1.65;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.page-hero.compact {
  grid-template-columns: minmax(0, 1fr);
  padding: 28px 32px;
}

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

.catalog-grid {
  gap: 20px;
}

.style-card {
  display: block;
  overflow: hidden;
  border-radius: 28px;
}

.style-card-rich:hover,
.style-card-rich:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.style-preview,
.gallery-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent 28%),
    linear-gradient(145deg, var(--c1), var(--c2), var(--c3));
}

.style-preview {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.style-preview::after,
.gallery-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 180px;
  height: 220px;
  border-radius: 120px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(2px);
}

.style-preview-copy,
.gallery-top {
  position: relative;
  z-index: 1;
}

.style-preview-copy strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Prata", serif;
  font-size: 2rem;
  font-weight: 400;
}

.style-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.style-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.style-meta strong {
  font-size: 1.12rem;
}

.style-meta span,
.style-story {
  font-size: 0.95rem;
}

.price-row {
  justify-content: space-between;
  color: var(--text-soft);
  font-weight: 700;
}

.price-highlight {
  color: var(--primary-strong);
}

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

.split-elevated,
.split-detail {
  align-items: start;
}

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

.usecase-list article,
.matrix-row {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.usecase-list strong {
  display: block;
  margin-bottom: 8px;
}

.accent-panel,
.order-panel,
.auth-card {
  padding: 24px;
  border-radius: 30px;
}

.accent-panel-rich {
  background:
    linear-gradient(160deg, rgba(17, 25, 35, 0.95), rgba(18, 111, 104, 0.9)),
    var(--surface-dark);
  color: var(--text-inverse);
}

.accent-panel-rich p {
  color: rgba(248, 244, 237, 0.78);
}

.price-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.price-cluster div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.price-cluster strong {
  display: block;
  margin-bottom: 6px;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 32px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 244, 232, 0.84));
}

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

.style-hero-editorial {
  align-items: start;
}

.offer-ribbon {
  margin-top: 22px;
}

.offer-ribbon article {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 25, 35, 0.08);
}

.offer-ribbon article span,
.offer-ribbon article small {
  display: block;
}

.offer-ribbon article strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1.16rem;
}

.featured-offer {
  background: linear-gradient(135deg, rgba(18, 111, 104, 0.12), rgba(241, 141, 77, 0.14));
}

.gallery-grid {
  display: grid;
  gap: 16px;
}

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

.gallery-card {
  min-height: 230px;
  border-radius: 26px;
}

.gallery-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gallery-note {
  position: relative;
  z-index: 1;
  max-width: 15rem;
  color: rgba(255, 255, 255, 0.8);
}

.info-stack {
  grid-template-columns: 1fr;
}

.info-card p,
.info-card li {
  line-height: 1.7;
}

.check-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.check-list li + li {
  margin-top: 8px;
}

.sticky-card {
  position: sticky;
  top: 132px;
}

.order-panel-head {
  margin-bottom: 18px;
}

.stack-form,
.auth-card,
.dashboard-list,
.result-stack,
.admin-form {
  display: grid;
  gap: 14px;
}

.stack-form label,
.auth-card label,
.admin-form label {
  display: grid;
  gap: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 25, 35, 0.12);
  background: #fff;
}

textarea {
  resize: vertical;
}

.inline-note {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(18, 111, 104, 0.08);
  border: 1px solid rgba(18, 111, 104, 0.16);
  color: var(--primary-strong);
}

.danger-note {
  background: rgba(191, 77, 77, 0.08);
  border-color: rgba(191, 77, 77, 0.16);
  color: var(--danger);
}

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

.pricing-grid-editorial {
  align-items: stretch;
}

.pricing-card {
  display: grid;
  gap: 16px;
}

.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(18, 111, 104, 0.08), rgba(255, 250, 243, 0.9));
  border-color: rgba(18, 111, 104, 0.16);
  box-shadow: var(--shadow-strong);
}

.price {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
}

.pricing-matrix {
  display: grid;
  gap: 14px;
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.matrix-row span {
  color: var(--text-soft);
  font-weight: 700;
}

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

.timeline article {
  position: relative;
  min-height: 220px;
}

.step-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

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

.flash-stack {
  display: grid;
  gap: 10px;
}

.flash {
  padding: 15px 16px;
  border-radius: 18px;
  font-weight: 800;
}

.flash-success {
  color: var(--success);
  background: rgba(31, 122, 82, 0.08);
}

.flash-danger {
  color: var(--danger);
  background: rgba(191, 77, 77, 0.08);
}

.flash-warning {
  color: var(--warning);
  background: rgba(146, 100, 36, 0.1);
}

.flash-info {
  color: var(--primary-strong);
  background: rgba(18, 111, 104, 0.08);
}

.dashboard-hero,
.result-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

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

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.dashboard-row.large {
  min-height: 120px;
}

.status {
  text-transform: lowercase;
}

.status-completed,
.status-partial_ready {
  color: var(--success);
  background: rgba(31, 122, 82, 0.12);
  border-color: rgba(31, 122, 82, 0.18);
}

.status-pending_payment,
.status-paid,
.status-queued,
.status-processing {
  color: var(--primary-strong);
  background: rgba(18, 111, 104, 0.1);
  border-color: rgba(18, 111, 104, 0.15);
}

.status-failed {
  color: var(--danger);
  background: rgba(191, 77, 77, 0.1);
  border-color: rgba(191, 77, 77, 0.16);
}

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

.uploaded-preview,
.result-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.result-card {
  padding: 12px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.result-meta {
  justify-content: space-between;
  margin-top: 10px;
}

.empty-state {
  padding: 32px;
  border-style: dashed;
  border-color: var(--line-strong);
  text-align: center;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.auth-copy {
  padding-top: 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.8fr 0.8fr;
  gap: 22px;
  padding: 26px;
  border-radius: 30px 30px 0 0;
  margin-bottom: 28px;
}

.footer-brand,
.footer-column {
  display: grid;
  gap: 10px;
}

.footer-label {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--text-soft);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--text);
}

.admin-actions,
.admin-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.wide-field {
  grid-column: 1 / -1;
}

.active-pill {
  background: var(--text);
  color: #fff;
}

@media (max-width: 1100px) {
  .hero,
  .style-hero,
  .page-hero,
  .split,
  .site-footer,
  .auth-shell,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .bento-grid,
  .timeline,
  .detail-grid,
  .result-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sticky-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(var(--max-width), calc(100% - 22px));
  }

  .site-header,
  .section-head-wide,
  .cta-banner,
  .dashboard-hero,
  .dashboard-row,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
    align-items: center;
    border-radius: 24px;
    padding: 12px 14px;
  }

  .nav-burger {
    display: inline-flex;
  }

  .site-actions-desktop {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    width: auto;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 250, 243, 0.96);
    box-shadow: 0 18px 45px rgba(17, 25, 35, 0.1);
  }

  .site-nav a {
    width: 100%;
    padding: 0;
    background: none;
    border-radius: 0;
  }

  .site-actions-mobile {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .site-actions-mobile form,
  .site-actions-mobile form button {
    width: 100%;
  }

  .nav-toggle:checked ~ .site-nav {
    display: grid;
    gap: 14px;
  }

  .hero,
  .style-hero,
  .page-hero,
  .pricing-grid,
  .split,
  .auth-shell,
  .card-grid,
  .bento-grid,
  .timeline,
  .detail-grid,
  .result-grid,
  .faq-list,
  .hero-rail,
  .stats-grid,
  .gallery-grid-editorial,
  .price-cluster {
    grid-template-columns: 1fr;
  }

  .spotlight-copy {
    max-width: 100%;
  }

  .spotlight-metrics,
  .matrix-row {
    grid-template-columns: 1fr;
    position: static;
  }

  .spotlight-card {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .page-hero,
  .hero,
  .style-hero,
  .cta-banner {
    padding: 20px;
  }

  .offer-ribbon article {
    width: 100%;
  }

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