:root {
  --paper: #fff;
  --ink: #151515;
  --accent: #d52b1e;
  --muted: #666;
  --line: #d5d5d5;
  --soft: #f5f5f3;
  --display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
:where(a, button, input, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
header { max-width: 1320px; margin: auto; padding: 25px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { font-size: 32px; line-height: 1; font-weight: 750; letter-spacing: -1.7px; }
.pill { font-size: 11px; font-weight: 600; letter-spacing: .3px; }
.home { max-width: 1320px; margin: auto; padding: 0 48px; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 24px; padding: 64px 0 68px; border-top: 1px solid var(--ink); align-items: center; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: .2px; font-weight: 650; color: var(--accent); margin-bottom: 24px; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.055em; overflow-wrap: break-word; }
h1 { font-size: clamp(48px, 5.8vw, 78px); margin: 0 0 28px; }
em { font-weight: inherit; font-style: normal; }
.hero h1 { font-size: clamp(56px, 6.65vw, 88px); line-height: 1.01; margin-bottom: 26px; }
.hero h1 span { display: block; }
p { font-size: 16px; line-height: 1.6; color: #444; }
.hero p { max-width: 530px; font-size: 18px; line-height: 1.5; margin: 0 0 28px; }
.button { border: 1px solid var(--ink); display: inline-flex; gap: 12px; align-items: center; justify-content: center; background: var(--ink); color: #fff; padding: 14px 22px; font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s; }
.button:hover { background: #353535; border-color: #353535; }
.button:active { background: #000; }
.tiny { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 15px; }
.hero-product { margin: -24px -16px -24px -34px; min-width: 0; }
.hero-product img { display: block; width: 100%; height: auto; max-height: 590px; object-fit: contain; }
.steps { width: calc(100% - 96px); max-width: 1224px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--ink); padding: 27px 0 30px; }
.steps>div { padding: 0 28px; border-right: 1px solid var(--line); }
.steps>div:first-child { padding-left: 0; }
.steps>div:last-child { border: 0; }
.steps span { font-size: 14px; font-weight: 650; color: var(--accent); }
.steps h3 { font-size: 28px; font-weight: 650; letter-spacing: -1px; line-height: 1.15; margin: 12px 0 10px; }
.steps p { font-size: 14px; line-height: 1.5; margin: 0; max-width: 320px; }
footer { max-width: 1320px; margin: auto; display: flex; justify-content: space-between; gap: 20px; padding: 22px 48px 30px; font-size: 11px; font-weight: 600; }
footer a:hover, .subtle:hover { text-decoration: underline; }
.setup { max-width: 1160px; margin: 55px auto 80px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 75px; padding: 0 35px; }
.setup h1 { font-size: 52px; }
.setup>section>p { margin-bottom: 30px; }
label { display: block; font-size: 12px; font-weight: 600; margin-top: 22px; }
input:not([type=checkbox]):not([type=file]), .contact-form textarea { width: 100%; background: var(--paper); border: 1px solid #aaa; border-radius: 0; padding: 14px; margin-top: 9px; color: var(--ink); }
small { display: block; font-size: 11px; font-weight: 400; line-height: 1.5; color: var(--muted); margin-top: 7px; }
.domain-input span { font-size: 11px; display: block; margin-top: 6px; color: var(--muted); }
.upload { position: relative; display: flex; flex-direction: column; align-items: center; padding: 24px; border: 1px dashed #aaa; gap: 12px; background: var(--soft); cursor: pointer; }
.upload span { font-size: 11px; font-weight: 400; }
.upload input { width: 100%; font-size: 12px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.6; font-weight: 400; margin-bottom: 22px; }
.consent input { accent-color: var(--ink); margin-top: 3px; }
.preview-card { align-self: start; margin-top: 30px; position: sticky; top: 30px; border-top: 1px solid var(--ink); padding: 24px 0; text-align: left; }
.preview-card .eyebrow { font-size: 10px; }
.preview-image { height: 220px; background: var(--soft); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.preview-image>span { font: 300 100px/1 var(--display); color: #777; }
.preview-image img { width: 100%; height: 100%; object-fit: contain; }
.preview-card h2 { font-size: 36px; margin: 24px 0; }
.mock-button { display: inline-flex; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.preview-card p { font-size: 11px; overflow-wrap: anywhere; }
.progress { font-size: 12px; display: flex; gap: 8px; }
.error { padding: 14px; background: #fff2ef; color: #992617; border-left: 2px solid #992617; font-size: 13px; }
.profile-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.profile { text-align: center; width: 100%; max-width: 720px; margin: 48px auto 24px; padding: 0 24px; }
.profile-accent { color: var(--accent); }
.profile .contact-form { margin: 24px auto; }
.profile .contact-form .button { display: flex; margin: 16px auto 0; }
.profile-footer { justify-content: center; width: 100%; margin: auto auto 0; padding: 24px; font-size: 14px; letter-spacing: -.4px; }
.profile-footer span { font-weight: 400; color: var(--muted); }
.profile h1 { font-size: clamp(42px, 5.6vw, 64px); margin: 28px 0 20px; }
.profile>p { margin: 18px 0 25px; }
.portrait-stage { width: min(240px, 100%); height: 240px; margin: 0 auto; position: relative; background: transparent; }
.portrait { width: 100%; height: 100%; object-fit: contain; }
.demo-face { text-align: center; font: 500 150px/240px var(--display); color: #777; }
.subtle { font-size: 11px; color: var(--muted); display: block; margin-top: 45px; }
.success { max-width: 650px; margin: 70px auto; padding: 0 24px; }
.success h1 { font-size: 54px; }
.success-icon { color: var(--ink); display: inline-flex; font-size: 30px; margin-bottom: 24px; }
.notice { margin-top: 40px; border-top: 1px solid var(--line); padding: 22px 0; }
.notice p { font-size: 13px; }
.notice input { font-size: 12px!important; }
.secondary { background: transparent; border: 1px solid #999; padding: 10px 14px; color: var(--ink); font-size: 12px; font-weight: 600; margin-top: 10px; }
.secondary:hover { background: var(--soft); }
.admin { max-width: 1100px; margin: 60px auto; padding: 0 30px; }
.admin h1 { font-size: 54px; }
.admin>p { max-width: 640px; }
.login { max-width: 480px; }
.login button { margin-top: 20px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 30px 0; }
.admin-actions .secondary { margin: 0; }
.key-row { display: flex; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.key-row>div { flex: 1; min-width: 0; }
.key-row a, .key-row button { font-size: 12px; }
.key-row .secondary { margin: 0; }
.key-list { margin-top: 28px; }
.status { min-height: 22px; }
.blank-error { max-width: 700px; margin: 80px auto; padding: 0 24px; }
@media(max-width: 1000px) {
  header { padding-inline: 32px; }
  .home { padding-inline: 32px; }
  .hero { column-gap: 12px; }
  .hero h1 { font-size: clamp(48px, 6.5vw, 66px); }
  .hero p { font-size: 16px; }
  .steps { width: calc(100% - 64px); }
  .steps h3 { font-size: 24px; }
  footer { padding-inline: 32px; }
}
@media(max-width: 680px) {
  header { padding: 22px 24px; }
  .brand { font-size: 28px; }
  .pill { font-size: 9px; }
  .home { padding-inline: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 36px 0 30px; gap: 0; }
  .hero h1 { font-size: clamp(44px, 10.5vw, 68px); }
  .hero-product { margin: 12px auto -10px; width: min(100%, 360px); }
  .hero-product img { max-height: 360px; }
  .eyebrow { margin-bottom: 20px; }
  .steps { width: calc(100% - 48px); grid-template-columns: 1fr; padding: 0; }
  .steps>div, .steps>div:first-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps>div:last-child { border: 0; }
  .steps h3 { margin: 8px 0; }
  .steps p { max-width: none; }
  footer { padding: 22px 24px; }
  .setup { grid-template-columns: minmax(0, 1fr); gap: 35px; margin: 35px auto; padding: 0 24px; }
  .setup h1 { font-size: 42px; }
  .preview-card { position: static; margin-top: 0; }
  .preview-image { height: 190px; }
  .profile { margin-top: 35px; }
  .admin { margin: 40px auto; padding: 0 24px; }
  .admin h1, .success h1 { font-size: 42px; }
  .key-row { gap: 12px; flex-wrap: wrap; }
  .key-row>div { flex-basis: 100%; }
  .key-row button, .key-row a { margin: 0; }
}
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none!important; } }

/* Color showcase: transparent products stay on the page, not inside a card. */
.tag-showcase { --tag-color: #242424; }
.tag-stage { position: relative; isolation: isolate; display: grid; place-items: center; height: 560px; }
.tag-stage img { position: absolute; inset: 0; margin: auto; z-index: 1; width: 100%; height: 100%; max-height: 530px; object-fit: contain; pointer-events: none; }
.tag-outline { position: absolute; width: 68%; aspect-ratio: 1; border: 1px solid var(--tag-color); border-radius: 50%; opacity: .24; transform: rotate(-20deg) scaleX(.8); transition: border-color .5s; }
.is-switching .tag-outline { animation: tag-pulse .68s ease-out; }
@keyframes tag-pulse { 0% { opacity: .12; transform: rotate(-20deg) scale(.8); } 45% { opacity: .4; } 100% { opacity: .24; transform: rotate(-20deg) scaleX(.8); } }
@media(max-width: 1000px) and (min-width: 681px) { .tag-stage { height: 470px; } .tag-stage img { max-height: 450px; } }
@media(max-width: 680px) { .tag-stage { height: 350px; } .tag-stage img { max-height: 330px; } .hero-product.tag-showcase { margin-bottom: 12px; } }
@media(prefers-reduced-motion: reduce) { .tag-showcase *, .tag-showcase *::before, .tag-showcase *::after { animation: none!important; transition: none!important; } }
