:root {
  color-scheme: dark;
  --paper: #0d0a0c;
  --panel: #181216;
  --panel-raised: #21191e;
  --field: #100c0f;
  --ink: #f7f2f4;
  --muted: #b8acb2;
  --line: #3b3036;
  --cherry: #ff3568;
  --cherry-dark: #d92053;
  --blue: #6ebaff;
  --green: #42d3a1;
  --yellow: #f5c75b;
  --soft-pink: #35131e;
  --soft-blue: #14283a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

::selection {
  background: var(--cherry);
  color: white;
}

body.age-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.hidden {
  display: none !important;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 3, 4, 0.96);
}

.age-gate.hidden {
  display: none;
}

.crop-dialog {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.crop-dialog::backdrop {
  background: rgba(3, 2, 3, 0.88);
  backdrop-filter: blur(5px);
}

.crop-panel {
  padding: 24px;
}

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

.crop-header h2 {
  max-width: 580px;
  margin: 0;
  font-size: 30px;
}

.crop-close {
  flex: 0 0 auto;
  background: var(--panel-raised);
  color: var(--ink);
  font-weight: 900;
}

.crop-help {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.crop-aspects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.crop-aspects button {
  display: grid;
  grid-template-columns: 24px auto 1fr;
  gap: 9px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.crop-aspects button:hover,
.crop-aspects button.active {
  border-color: var(--cherry);
  background: var(--soft-pink);
}

.crop-aspects button.active {
  box-shadow: inset 0 0 0 1px var(--cherry);
}

.crop-aspects small {
  justify-self: end;
  color: var(--cherry);
  font-size: 11px;
  font-weight: 800;
}

.aspect-icon {
  display: block;
  justify-self: center;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.aspect-icon.portrait {
  width: 14px;
  height: 21px;
}

.aspect-icon.square {
  width: 19px;
  height: 19px;
}

.crop-canvas-shell {
  display: grid;
  min-height: 300px;
  max-height: 54vh;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #050405;
}

.crop-canvas-shell canvas {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 54vh;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.crop-canvas-shell canvas.dragging {
  cursor: grabbing;
}

.crop-zoom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 800;
}

.crop-zoom input {
  width: 100%;
  accent-color: var(--cherry);
}

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

.age-panel {
  width: min(480px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.age-panel h1 {
  margin: 18px 0 12px;
  font-size: 38px;
  line-height: 1.03;
}

.age-panel > p:not(.kicker) {
  color: var(--muted);
  line-height: 1.6;
}

.exit-link {
  display: block;
  padding: 13px;
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
}

.age-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-top: 18px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(59, 48, 54, 0.9);
  background: rgba(13, 10, 12, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.brand-symbol {
  width: 38px;
  height: 29px;
  object-fit: contain;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.brand-wordmark em {
  margin-left: 4px;
  color: var(--cherry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--cherry);
}

.language-switch {
  display: flex;
  justify-self: end;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.language-switch button {
  width: 38px;
  height: 30px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--cherry);
  color: white;
}

.hero,
.create-section,
.confidence-strip,
.how-section,
.faq,
.final-cta,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  min-height: 0;
  padding: 28px 0 38px;
}

.hero-copy {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.hero h1 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(44px, 5.5vw, 60px);
  line-height: 1;
}

.hero-demo {
  width: min(620px, 100%);
  min-width: 440px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #070507;
}

.hero-demo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kicker {
  margin: 0 0 10px;
  color: var(--cherry);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(50px, 7vw, 82px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-lead {
  max-width: 590px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin: 8px 0 0;
  border: 1px solid rgba(255, 53, 104, 0.55);
  border-radius: 6px;
  background: var(--soft-pink);
  color: #ff8eaa;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-offer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.hero-offer-row .offer-badge {
  margin: 0;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 0;
  justify-content: center;
}

.proof-line span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 800;
}

.hero-cta {
  min-width: 210px;
}

.create-section {
  padding: 78px 0 88px;
}

.create-section .checkout-shell {
  width: min(680px, 100%);
  margin: 0 auto;
}

.checkout-shell {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.checkout-head,
.order-summary,
.confidence-strip,
.final-cta,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-head {
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-head h2 {
  margin: 0;
  font-size: 26px;
}

.price-tag {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--yellow);
  color: #171006;
  font-size: 22px;
}

.upload-panel {
  min-height: 210px;
}

.upload-box,
.preview-wrap {
  display: grid;
  min-height: 210px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 2px dashed #5a4951;
  border-radius: 7px;
  background: var(--field);
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}

.upload-box:hover {
  border-color: var(--cherry);
  background: var(--soft-pink);
}

.upload-box input {
  display: none;
}

.upload-symbol {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--cherry);
  color: white;
  font-size: 32px;
  line-height: 1;
}

.upload-box strong {
  color: var(--ink);
  font-size: 18px;
}

.upload-box small {
  font-size: 13px;
}

.preview-wrap {
  position: relative;
  overflow: hidden;
  border-style: solid;
  border-color: var(--cherry);
  background: #080608;
  cursor: default;
}

.preview-wrap img {
  width: 100%;
  height: 270px;
  object-fit: contain;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(13, 10, 12, 0.92);
  color: white;
  font-weight: 900;
}

.preview-action {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: rgba(13, 10, 12, 0.92);
  color: white;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.preview-action:hover {
  background: #050405;
}

.photo-guidance,
.checkout-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.field span {
  font-size: 14px;
  font-weight: 800;
}

.field input {
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
}

.field input:focus {
  outline: 2px solid rgba(255, 53, 104, 0.22);
  border-color: var(--cherry);
}

.consent-box {
  padding: 12px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--cherry);
}

.check-row a {
  color: var(--blue);
}

.order-summary {
  gap: 16px;
  padding: 15px 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.order-summary div {
  display: grid;
  gap: 3px;
}

.order-summary span {
  color: var(--muted);
  font-size: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--cherry);
  background: var(--cherry);
  color: white;
}

.button.primary:hover {
  background: var(--cherry-dark);
}

.button.secondary {
  background: var(--panel-raised);
  color: var(--ink);
}

.button.wide {
  width: 100%;
}

.button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.form-message {
  padding: 11px;
  margin-top: 12px;
  border: 1px solid #773044;
  border-radius: 6px;
  background: var(--soft-pink);
  color: #ffb0c3;
  font-size: 13px;
  line-height: 1.5;
}

.confidence-strip {
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.confidence-strip div {
  display: grid;
  gap: 4px;
}

.confidence-strip div:nth-child(2) {
  text-align: center;
}

.confidence-strip div:nth-child(3) {
  text-align: right;
}

.confidence-strip span {
  color: var(--muted);
  font-size: 13px;
}

.confidence-strip strong {
  color: var(--ink);
}

.how-section,
.faq {
  padding: 86px 0;
}

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

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.steps article {
  min-height: 210px;
  padding: 22px 22px 22px 0;
  border-right: 1px solid var(--line);
}

.steps article + article {
  padding-left: 22px;
}

.steps article:last-child {
  border-right: 0;
}

.steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--cherry);
  font-size: 13px;
  font-weight: 900;
}

.steps p {
  max-width: 290px;
  color: var(--muted);
  line-height: 1.6;
}

.faq {
  max-width: 900px;
}

.faq details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.faq p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  gap: 28px;
  padding: 38px 0 64px;
}

.final-cta h2 {
  margin: 0;
}

.footer {
  gap: 30px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer > div p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 80px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-header a:last-child {
  color: var(--blue);
  font-weight: 800;
}

.legal-content {
  padding-top: 48px;
}

.legal-content h1 {
  max-width: none;
  font-size: clamp(42px, 7vw, 66px);
}

.legal-content .updated {
  color: var(--muted);
}

.legal-content h2 {
  padding-top: 30px;
  font-size: 25px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-content li + li {
  margin-top: 8px;
}

.status-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.status-panel {
  width: min(620px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.status-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
}

.status-panel h1 {
  font-size: clamp(38px, 7vw, 60px);
}

.status-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.status-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .checkout-shell {
    width: min(620px, 100%);
  }
}

@media (max-width: 640px) {
  .crop-panel {
    padding: 18px;
  }

  .crop-header h2 {
    font-size: 25px;
  }

  .crop-aspects button {
    grid-template-columns: 22px 1fr;
  }

  .crop-aspects small {
    display: none;
  }

  .crop-canvas-shell,
  .crop-canvas-shell canvas {
    max-height: 50vh;
  }

  .crop-actions .button {
    flex: 1;
  }

  .hero,
  .create-section,
  .confidence-strip,
  .how-section,
  .faq,
  .final-cta,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    gap: 22px;
    padding: 28px 0 36px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-demo {
    width: 100%;
    min-width: 0;
  }

  .hero-offer-row {
    margin-top: 14px;
  }

  .hero-offer-row .button,
  .hero-offer-row .offer-badge {
    width: 100%;
    justify-content: center;
  }

  .create-section {
    padding: 48px 0 58px;
  }

  .checkout-shell {
    padding: 16px;
  }

  .confidence-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .confidence-strip div:nth-child(2),
  .confidence-strip div:nth-child(3) {
    text-align: left;
  }

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

  .steps article,
  .steps article + article {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps span {
    margin-bottom: 20px;
  }

  .final-cta,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .age-panel {
    padding: 22px;
  }
}
