/* SudoStage marketing, account and studio pages */
.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 clamp(16px, 5vw, 56px); }

.site-nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(16px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.site-logo .brand { font-size: 23px; }
.site-links { display: flex; align-items: center; gap: 28px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #d8ddd9; }
.site-links > a:not(.btn):hover { color: var(--cyan); }

/* Home */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 7vw, 90px); }
.hero h1 { font-size: clamp(64px, 9.4vw, 136px); margin: 26px 0 26px; }
.hero .intro { color: #c9cfcb; font-size: 17px; max-width: 520px; }
.claim { display: flex; margin-top: 34px; max-width: 560px; border: 1px solid var(--line-strong); background: var(--panel-2); }
.claim:focus-within { border-color: var(--cyan); }
.claim label { display: flex; align-items: center; flex: 1; min-width: 0; padding-left: 16px; cursor: text; }
.claim .prefix { color: var(--muted); font-size: 15px; white-space: nowrap; }
.claim input { flex: 1; min-width: 0; height: 54px; border: 0; background: transparent; font-size: 15px; padding: 0 8px 0 1px; outline: none; }
.claim .btn { min-height: 54px; }
.claim-note { margin-top: 12px; font-size: 12px; color: var(--muted); min-height: 1.2em; }
.claim-note.ok { color: var(--green); }
.claim-note.bad { color: var(--danger); }
.hero-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hero-links a { border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.hero-links a:hover { color: var(--cyan); border-color: var(--cyan); }

.mock { position: relative; min-height: 560px; }
.mock-browser { position: absolute; right: 0; top: 10px; width: 88%; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px #000a; }
.mock-bar { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-bottom: 1px solid var(--line); font: 11px var(--mono); color: var(--muted); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); box-shadow: 13px 0 var(--line-strong), 26px 0 var(--line-strong); margin-right: 26px; }
.mock-kit { padding: 26px 24px 24px; }
.mock-kit h4 { font: 900 44px/.9 var(--display); text-transform: uppercase; margin: 10px 0 16px; }
.mock-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.mock-facts span { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.mock-facts b { display: block; color: var(--text); font-size: 12px; font-weight: 400; }
.mock-btns { display: flex; gap: 8px; margin: 16px 0; }
.mock-btns span { padding: 8px 10px; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, .28); }
.mock-btns span:first-child { background: var(--grad); color: var(--ink-on-grad); border-color: transparent; }
.mock-photos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; }
.mock-photos div { aspect-ratio: 4 / 5; background: center / cover no-repeat; border: 1px solid var(--line); }
.mock-photos div:nth-child(1) { background-image: url(/assets/placeholder-photo.svg); background-position: 45% 30%; }
.mock-photos div:nth-child(2) { background-image: url(/assets/placeholder-photo.svg); background-position: 70% 60%; filter: grayscale(1); }
.mock-photos div:nth-child(3) { background: repeating-conic-gradient(#151818 0 25%, #101212 0 50%) 0 0 / 12px 12px; display: grid; place-items: center; font: 900 20px var(--display); }
.mock-phone { position: absolute; left: 0; bottom: 0; width: 250px; aspect-ratio: 9 / 18.5; border: 8px solid #1c2020; border-radius: 34px; overflow: hidden; background: var(--bg); box-shadow: 0 30px 80px #000c; transform: rotate(-3deg); }
.mock-phone .ph-bg { position: absolute; inset: 0; background: url(/assets/placeholder-photo.svg) 50% 30% / cover; }
.mock-phone .ph-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 11, .4), rgba(10, 11, 11, .15) 35%, rgba(10, 11, 11, .9) 80%); }
.mock-phone .ph-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 9px; padding: 18px 16px 22px; }
.mock-phone .ph-name { font: 900 40px/.9 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.mock-phone .ph-icons { display: flex; gap: 6px; margin-bottom: 4px; }
.mock-phone .ph-icons i { width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .35); }
.mock-phone .ph-link { width: 100%; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(10, 11, 11, .55); font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mock-tag { position: absolute; right: 6%; bottom: 40px; background: var(--grad); color: var(--ink-on-grad); padding: 13px 18px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(3deg); box-shadow: 0 10px 30px #0006; }

.ticker { border-block: 1px solid var(--line); padding: 18px clamp(16px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #d8ddd9; }
.ticker span::before { content: '↗'; margin-right: 10px; color: var(--cyan); }

.section { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(44px, 6.4vw, 84px); margin-top: 18px; }
.section-head p { max-width: 420px; color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.compare > div { padding: clamp(22px, 3vw, 36px); }
.compare > div + div { border-left: 1px solid var(--line); background: var(--panel); position: relative; }
.compare > div + div::before { content: ''; position: absolute; inset: -1px -1px auto; height: 2px; background: var(--grad); }
.compare h3 { font: 900 30px/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; font-size: 14px; }
.compare li::before { position: absolute; left: 0; }
.compare .old li { color: var(--muted); }
.compare .old li::before { content: '✕'; color: #6d7570; }
.compare .new li::before { content: '✓'; color: var(--green); }

.audiences { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.audience { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--panel); }
.audience h3 { font: 900 clamp(34px, 4vw, 48px)/.95 var(--display); text-transform: uppercase; margin: 16px 0 20px; }
.audience ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.audience li { padding-left: 24px; position: relative; color: #c9cfcb; font-size: 14px; }
.audience li::before { content: '↗'; position: absolute; left: 0; color: var(--cyan); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.step { padding: 32px 28px 34px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { font-size: 11px; letter-spacing: .14em; color: var(--cyan); }
.step h3 { font: 900 30px/1 var(--display); text-transform: uppercase; margin: 16px 0 12px; }
.step p { color: var(--muted); font-size: 14px; }

.cta { margin: 0 clamp(16px, 5vw, 56px) clamp(56px, 7vw, 90px); padding: clamp(36px, 5vw, 64px); background: var(--grad); color: var(--ink-on-grad); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { font-size: clamp(44px, 6vw, 84px); }
.cta p { margin-top: 12px; font-size: 16px; }
.cta .btn { border-color: rgba(0, 0, 0, .45); color: var(--ink-on-grad); }
.cta .btn:hover { border-color: #000; }

.site-foot { border-top: 1px solid var(--line); padding: 30px clamp(16px, 5vw, 56px) 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-size: 12px; color: var(--muted); }
.site-foot .brand { font-size: 19px; }
.site-foot a:hover { color: var(--cyan); }

/* Account pages */
.auth { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 56px); border-right: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 50% at 40% 40%, rgba(22, 199, 223, .16), transparent 70%), radial-gradient(ellipse 50% 40% at 70% 75%, rgba(67, 238, 114, .1), transparent 70%); }
.auth-side h1 { font-size: clamp(56px, 7vw, 110px); margin-top: 20px; }
.auth-side p { color: #c9cfcb; margin-top: 18px; max-width: 460px; }
.auth-main { padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.auth-main h2 { font-size: 44px; margin-bottom: 8px; }
.auth-main > p { color: var(--muted); margin-bottom: 28px; font-size: 14px; }
.auth-main form .btn-grad { width: 100%; margin-top: 6px; }
.auth-alt { margin-top: 22px; font-size: 13px; color: var(--muted); }
.auth-alt a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.auth-alt a:hover { color: var(--cyan); border-color: var(--cyan); }
.slug-input { display: flex; align-items: center; background: var(--panel-2); border: 1px solid var(--line-strong); }
.slug-input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.slug-input span { padding-left: 13px; color: var(--muted); white-space: nowrap; }
.slug-input input { border: 0 !important; box-shadow: none !important; background: transparent !important; padding-left: 1px !important; }
.slug-status { font-size: 12px; min-height: 1.2em; }
.slug-status.ok { color: var(--green); }
.slug-status.bad { color: var(--danger); }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 8px; }
.notice { padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--panel); font-size: 13px; color: #c9cfcb; margin-bottom: 20px; }
.notice code { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }

.notfound { min-height: calc(100vh - 76px); display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: 40px 16px; }
.notfound h1 { font-size: clamp(60px, 10vw, 130px); }
.notfound p { color: var(--muted); }

/* Studio */
.studio-top { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 clamp(12px, 2vw, 24px); border-bottom: 1px solid var(--line); background: rgba(10, 11, 11, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.studio-top .site-logo .brand { font-size: 19px; }
.studio-url { display: flex; align-items: center; gap: 8px; min-width: 0; margin-left: 12px; padding: 6px 6px 6px 12px; border: 1px solid var(--line); font: 12px var(--mono); }
.studio-url a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-url a:hover { color: var(--cyan); }
.studio-url button { border: 0; background: var(--panel-2); color: var(--muted); padding: 6px 9px; font: 700 10px var(--body); letter-spacing: .12em; text-transform: uppercase; }
.studio-url button:hover { color: var(--text); }
.studio-status { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.studio-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.studio-status.live i { background: var(--green); }
.studio-status.changes i { background: #ffc857; }
.studio-status.offline i { background: var(--danger); }
.studio-actions { display: flex; gap: 8px; }

.studio { display: grid; grid-template-columns: 220px minmax(0, 1fr) 420px; min-height: calc(100vh - 64px); }
.studio-tabs { border-right: 1px solid var(--line); padding: 22px 0; position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); display: flex; flex-direction: column; }
.studio-tabs button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 13px 22px; border: 0; border-left: 2px solid transparent; background: none; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.studio-tabs button:hover { color: var(--text); }
.studio-tabs button[aria-selected=true] { color: var(--text); border-left-color: var(--cyan); background: var(--panel); }
.studio-tabs button small { font-weight: 400; letter-spacing: 0; color: var(--muted); }
.studio-tabs .studio-tabs-foot { margin-top: auto; padding: 0 22px; font-size: 11px; color: var(--muted); }
.studio-tabs .studio-tabs-foot a { display: block; margin-top: 8px; }
.studio-tabs .studio-tabs-foot a:hover { color: var(--cyan); }
.studio-main { padding: clamp(20px, 3vw, 40px); max-width: 860px; width: 100%; }
.studio-main h1 { font-size: clamp(40px, 4vw, 60px); margin-bottom: 8px; }
.studio-main .lead { color: var(--muted); font-size: 14px; margin-bottom: 30px; max-width: 600px; }
.panel { border: 1px solid var(--line); background: var(--panel); padding: clamp(18px, 2.4vw, 28px); margin-bottom: 18px; }
.panel > h2 { font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.panel > .hint { margin-bottom: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.counter { float: right; font-weight: 400; letter-spacing: 0; color: var(--muted); text-transform: none; }

.list-rows { display: grid; gap: 10px; margin-bottom: 14px; }
.list-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.list-row .fields { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.list-row .field { margin: 0; }
.list-row .field.wide { grid-column: 1 / -1; }
.list-row .field label { font-size: 10px; }
.list-row .field input, .list-row .field textarea { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.list-row .field textarea { min-height: 70px; }
.row-tools { display: flex; flex-direction: column; gap: 4px; }
.row-tools button { width: 32px; height: 32px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--muted); font-size: 13px; line-height: 1; }
.row-tools button:hover:not(:disabled) { color: var(--text); border-color: var(--cyan); }
.row-tools button:disabled { opacity: .3; cursor: default; }
.row-tools button.remove:hover { border-color: var(--danger); color: var(--danger); }
.embed-hint { font-size: 11px; color: var(--green); }
.embed-hint.link { color: var(--muted); }
.empty-row { padding: 18px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; text-align: center; }

.media-row { grid-template-columns: 110px minmax(0, 1fr) auto; align-items: start; }
.media-thumb { width: 110px; aspect-ratio: 1; display: grid; place-items: center; background: repeating-conic-gradient(#151818 0 25%, #101212 0 50%) 0 0 / 14px 14px; border: 1px solid var(--line); overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb.contain img { object-fit: contain; padding: 8px; }
.media-thumb.doc { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--cyan); }
.media-meta { font-size: 11px; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.drop { position: relative; display: grid; place-items: center; gap: 6px; padding: 26px 16px; border: 1px dashed var(--line-strong); text-align: center; color: var(--muted); font-size: 13px; transition: border-color .15s, background .15s; }
.drop.over, .drop:hover { border-color: var(--cyan); background: rgba(22, 199, 223, .05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { color: var(--text); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.progress { height: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.hero-edit { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; align-items: start; }
.hero-frame { aspect-ratio: 9 / 16; max-height: 360px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.field input[type=range] { width: 100%; accent-color: var(--cyan); }
.storage { margin-top: 10px; font-size: 11px; color: var(--muted); }
.storage .progress { margin-top: 6px; }

.studio-preview { border-left: 1px solid var(--line); position: sticky; top: 64px; height: calc(100vh - 64px); padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #080909; }
.studio-preview header { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.studio-preview header a:hover { color: var(--cyan); }
.phone { flex: 1; min-height: 0; width: 100%; max-width: 384px; margin: 0 auto; border: 7px solid #1c2020; border-radius: 30px; overflow: hidden; background: var(--bg); }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.danger-zone { border-color: rgba(255, 107, 107, .35); }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.modal { width: min(480px, 100%); background: var(--panel); border: 1px solid var(--line-strong); padding: 28px; }
.modal h2 { font-size: 36px; margin-bottom: 12px; }
.modal p { color: #c9cfcb; font-size: 14px; margin-bottom: 18px; }
.loading { display: grid; place-items: center; min-height: 60vh; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* Admin */
.admin-main { padding: clamp(20px, 3vw, 40px); }
.admin-main h1 { font-size: clamp(40px, 5vw, 70px); margin: 14px 0 24px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--panel); }
td .actions { flex-wrap: nowrap; gap: 6px; }
.chip { display: inline-block; padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-strong); }
.chip.live { color: var(--green); border-color: rgba(67, 238, 114, .4); }
.chip.off { color: var(--danger); border-color: rgba(255, 107, 107, .4); }

@media (max-width: 1280px) {
  .studio { grid-template-columns: 200px minmax(0, 1fr); }
  .studio-preview { display: none; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .mock { min-height: 480px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .audiences, .compare { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .studio { grid-template-columns: 1fr; }
  .studio-tabs { position: sticky; top: 64px; z-index: 20; height: auto; flex-direction: row; overflow-x: auto; padding: 0; border-right: 0; border-bottom: 1px solid var(--line); background: var(--bg); }
  .studio-tabs button { width: auto; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 14px 16px; }
  .studio-tabs button[aria-selected=true] { border-bottom-color: var(--cyan); }
  .studio-tabs button small, .studio-tabs .studio-tabs-foot { display: none; }
}
@media (max-width: 700px) {
  .site-links > a:not(.btn) { display: none; }
  .site-logo .brand { font-size: 20px; }
  .claim { flex-direction: column; }
  .claim .btn { width: 100%; }
  .mock { min-height: 430px; }
  .mock-browser { width: 92%; }
  .mock-phone { width: 190px; }
  .mock-tag { display: none; }
  .row-2 { grid-template-columns: 1fr; }
  .list-row .fields { grid-template-columns: 1fr; }
  .media-row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .media-thumb { width: 72px; }
  .hero-edit { grid-template-columns: 1fr; }
  .hero-frame { max-width: 200px; }
  .studio-top { height: auto; min-height: 64px; flex-wrap: wrap; padding-block: 10px; gap: 10px; }
  .studio-top .site-logo { display: none; }
  .studio-url { margin-left: 0; flex: 1 1 100%; order: 3; }
  .studio-status { margin-left: 0; }
  .studio-actions { margin-left: auto; }
  .studio-tabs { top: 0; position: relative; }
}

/* Homepage entrance: headline copy cascades in, then the browser and phone mock-ups arrive */
@keyframes ss-phone { from { opacity: 0; transform: translate3d(-10px, 50px, 0) rotate(-6deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes ss-tag { 0% { opacity: 0; transform: scale(.7) rotate(8deg); } 70% { opacity: 1; transform: scale(1.04) rotate(2deg); } 100% { opacity: 1; transform: rotate(3deg); } }
@keyframes ss-slide { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero > div:first-child > * { animation: ss-rise 1s var(--ease-out) both; }
  .hero > div:first-child > :nth-child(1) { animation-delay: .05s; }
  .hero > div:first-child > :nth-child(2) { animation-delay: .15s; }
  .hero > div:first-child > :nth-child(3) { animation-delay: .3s; }
  .hero > div:first-child > :nth-child(4) { animation-delay: .42s; }
  .hero > div:first-child > :nth-child(n+5) { animation-delay: .52s; }
  .mock-browser { animation: ss-slide 1.1s var(--ease-out) .35s both; }
  .mock-phone { animation: ss-phone 1.2s var(--ease-out) .55s both; }
  .mock-tag { animation: ss-tag .8s var(--ease-out) 1.1s both; }
  .site-nav { animation: ss-fade .8s ease both; }
}

/* Turnstile bot check */
.turnstile { min-height: 0; margin: 4px 0 14px; }
.turnstile:empty { margin: 0; }
.totp-key { font: 15px var(--mono); letter-spacing: .12em; word-break: break-all; padding: 12px; background: var(--panel-2); border: 1px solid var(--line-strong); user-select: all; }

/* Legal pages */
.legal { width: min(820px, 100%); margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 32px) 80px; }
.legal h1 { font-size: clamp(48px, 8vw, 88px); margin: 18px 0 10px; }
.legal-meta { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.legal section { padding-top: 34px; scroll-margin-top: 20px; }
.legal h2 { font-family: var(--body); font-size: 20px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.3; margin-bottom: 12px; }
.legal h3 { font-size: 15px; margin: 18px 0 8px; color: #d8ddd9; }
.legal p, .legal li { color: #c9cfcb; font-size: 15px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.legal a { color: var(--cyan); border-bottom: 1px solid rgba(22, 199, 223, .35); }
.legal a:hover { border-color: var(--cyan); }
.legal code { font-family: var(--mono); font-size: 13px; color: var(--text); }
.legal .table-wrap { margin: 14px 0; }
.legal td { white-space: normal; vertical-align: top; color: #c9cfcb; line-height: 1.55; }
.legal th { white-space: nowrap; }
.legal-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; padding: 18px 20px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; }
.legal-toc a { border: 0; color: #d8ddd9; }
.legal-toc a:hover { color: var(--cyan); }
.legal-card { font-style: normal; margin: 16px 0; padding: 16px 18px; border: 1px solid var(--line-strong); background: var(--panel); color: #d8ddd9; line-height: 1.7; font-size: 14px; }
.legal-links a:hover, .site-foot a:hover { color: var(--cyan); }
.legal-note { margin-top: 22px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.legal-note a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
