/* SreenHawk site theme: black, frosted glass, pill controls. Same tokens as the studio. */
:root {
  --ease: cubic-bezier(.2, .8, .2, 1);
  --frost: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.08));
  --frost-lo: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  --edge: rgba(255,255,255,.20);
  --edge-lo: rgba(255,255,255,.12);
  --dark: rgba(28,28,30,.66);
  --txt2: rgba(255,255,255,.62);
  --txt3: rgba(255,255,255,.42);
  --blue: #0a84ff;
  --ok: #30d158; --bad: #ff453a; --warn: #ffd60a;
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: #000; color-scheme: dark; scroll-behavior: smooth; }
body {
  min-height: 100vh; background: #000; color: #fff;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* soft ambient light behind everything */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 40vh at 78% -8%, rgba(10,132,255,.20), transparent 70%),
    radial-gradient(50vw 40vh at 8% 6%, rgba(155,107,255,.14), transparent 70%);
}
a { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - 44px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- pills & buttons ---------- */
.pill, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--edge); outline: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-size: 14px; letter-spacing: .005em; white-space: nowrap; color: #fff; background: var(--frost);
  -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 14px 40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.32);
  transition: background .25s ease, color .25s ease, transform .35s var(--ease), opacity .3s ease;
}
.pill:hover, .btn:hover { background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.12)); }
.pill:active, .btn:active { transform: scale(.98); }
.pill:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.85); outline: 0; }
.btn.solid, .pill.on { background: rgba(255,255,255,.94); color: #000; border-color: transparent; }
.btn.solid:hover { background: #fff; }
.btn.big { height: 56px; padding: 0 34px; font-size: 16px; }
.btn.danger { color: var(--bad); }
.btn[disabled], .btn.off { opacity: .4; pointer-events: none; }
.btn svg, .pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- glass surfaces ---------- */
.glass {
  background: var(--dark); border: 1px solid var(--edge-lo); border-radius: 28px;
  -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.14);
}
.card { padding: 28px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--txt2); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; padding: max(14px, env(safe-area-inset-top)) 0 14px; pointer-events: none; }
.top .bar { display: flex; align-items: center; gap: 8px; pointer-events: auto; padding: 8px 8px 8px 18px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 26px; height: 28px; object-fit: contain; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--txt2); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgba(255,255,255,.1); }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 4px); flex-direction: column; align-items: stretch; padding: 10px; border-radius: 24px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease); background: var(--dark); border: 1px solid var(--edge-lo); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); pointer-events: auto; }
  .top.open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 16px; }
  .top .wrap { position: relative; }
}

/* ---------- landing ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: 104px 0 96px; text-align: center; }
.scroll-cue { position: absolute; left: 0; right: 0; bottom: 26px; margin: 0 auto; width: max-content; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .04em; color: var(--txt3); text-decoration: none; transition: color .25s ease; }
.scroll-cue:hover { color: #fff; }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); padding: 7px 14px; border: 1px solid var(--edge-lo); border-radius: 999px; background: var(--frost-lo); margin-bottom: 26px; }
.hero h1 { font-size: clamp(40px, 7.4vw, 88px); max-width: 15ch; margin: 0 auto 22px; background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2vw, 21px); color: var(--txt2); max-width: 54ch; margin: 0 auto 34px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fade { animation: fade .9s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* animated showcase: plain black, no card (assets/js/showcase.js draws into the canvas) */
.stage-sec { padding: 0 0 clamp(40px, 6vw, 90px); }
.showcase { width: min(1360px, 100% - 24px); margin: 0 auto; height: clamp(480px, min(56vw, calc(100vh - 110px)), 780px); height: clamp(480px, min(56vw, calc(100svh - 110px)), 780px); background: #000; position: relative; overflow: hidden; }
.showcase .sc-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s var(--ease); }
.showcase .sc-cv.on { opacity: 1; }
.showcase .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--txt3); font-size: 14px; }
.showcase .ph[hidden] { display: none; }
/* the five background cards, shown at once while the 3D scene loads, then faded out when it starts */
.showcase { container-type: size; }
.sc-poster { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; --cw: min(92cqh * .4605, 97cqw / 5.28); gap: calc(var(--cw) * .07); transition: opacity .7s var(--ease); }
.sc-poster img { flex: none; width: var(--cw); aspect-ratio: 921 / 2000; height: auto; object-fit: cover; border-radius: calc(var(--cw) * .07); }
.sc-poster.off { opacity: 0; pointer-events: none; }

section.block { padding: clamp(56px, 9vw, 110px) 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 48px); margin-bottom: 14px; }
.sec-head p { color: var(--txt2); font-size: 18px; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .g3, .g2 { grid-template-columns: 1fr; } }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--frost); border: 1px solid var(--edge); font-weight: 700; margin-bottom: 16px; font-size: 14px; }
.ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--frost); border: 1px solid var(--edge); margin-bottom: 18px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { padding: 30px; display: flex; flex-direction: column; }
.plan.hot { border-color: rgba(255,255,255,.4); box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.3); }
.plan h3 { font-size: 18px; color: var(--txt2); font-weight: 600; }
.plan .price { font-size: 46px; font-weight: 700; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 15px; color: var(--txt3); font-weight: 400; letter-spacing: 0; }
.plan ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--txt2); font-size: 15px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .tag { align-self: flex-start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: #000; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; font-weight: 700; }

/* ---------- forms ---------- */
.formcard { max-width: 460px; margin: clamp(30px, 8vh, 90px) auto; padding: 34px; }
.formcard h1 { font-size: 30px; margin-bottom: 8px; }
.formcard p.sub { color: var(--txt2); margin-bottom: 24px; }
label.f { display: block; font-size: 13px; color: var(--txt2); margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea, .inp {
  width: 100%; font: inherit; font-size: 16px; color: #fff; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.07); border: 1px solid var(--edge-lo); outline: 0; transition: border-color .2s, background .2s;
}
textarea { min-height: 150px; resize: vertical; border-radius: 20px; }
input:focus, select:focus, textarea:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
select option { background: #1c1c1e; }
.formcard .btn { width: 100%; margin-top: 24px; }
.alt { margin-top: 20px; font-size: 14px; color: var(--txt2); text-align: center; }
.alt a { color: #fff; }
.note { padding: 12px 16px; border-radius: 16px; margin-bottom: 18px; font-size: 14px; border: 1px solid var(--edge-lo); background: var(--frost-lo); }
.note.ok { border-color: rgba(48,209,88,.5); }
.note.bad { border-color: rgba(255,69,58,.6); }
.hp { position: absolute; left: -9999px; }

/* ---------- account / tables ---------- */
.page { padding: 34px 0 80px; }
.page h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 8px; }
.page .sub { color: var(--txt2); margin-bottom: 30px; font-size: 18px; }
.stack { display: grid; gap: 18px; }
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: var(--frost); border: 1px solid var(--edge); }
.meter { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; background: #fff; border-radius: 99px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--edge-lo); }
table.t th { font-weight: 600; color: var(--txt2); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
table.t tr:last-child td { border-bottom: 0; }
.tw { overflow-x: auto; padding: 8px; }
.code { font: 600 28px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .16em; padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px dashed var(--edge); display: inline-block; }

/* ---------- prose (legal, guidelines) ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: 24px; margin: 38px 0 10px; }
.prose p, .prose li { color: var(--txt2); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: #fff; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--edge-lo); padding: 44px 0 60px; color: var(--txt3); font-size: 14px; }
.foot .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.foot a { color: var(--txt2); text-decoration: none; display: block; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- icon optimizer ---------- */
.tool { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
@media (max-width: 900px) { .tool { grid-template-columns: 1fr; } }
.drop { border: 1.5px dashed var(--edge); border-radius: 24px; padding: 38px 20px; text-align: center; color: var(--txt2); cursor: pointer; transition: .25s var(--ease); background: var(--frost-lo); }
.drop:hover, .drop.over { background: var(--frost); color: #fff; border-color: rgba(255,255,255,.5); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 16px; margin-top: 20px; }
.pv { text-align: center; font-size: 12px; color: var(--txt3); }
.pv canvas { width: 100%; max-width: 96px; height: auto; display: block; margin: 0 auto 8px; background: repeating-conic-gradient(rgba(255,255,255,.07) 0 25%, transparent 0 50%) 0 0/14px 14px; border-radius: 4px; }
.setgrp { margin-top: 22px; }
.setgrp h4 { font-size: 13px; color: var(--txt2); font-weight: 600; letter-spacing: .02em; display: flex; gap: 10px; align-items: baseline; }
.setgrp h4 span { color: var(--txt3); font-weight: 400; font-size: 12px; }
.setgrp .previews { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); align-items: end; }
.setgrp .pv canvas { max-width: none; }
.pv canvas.r { border-radius: 22%; } .pv canvas.c { border-radius: 50%; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); }
.seg button { border: 0; background: transparent; color: var(--txt2); font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: #fff; color: #000; }
.range { width: 100%; min-width: 110px; accent-color: #fff; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--edge-lo); font-size: 15px; }
.opt:last-child { border-bottom: 0; }
.opt > div:first-child { flex: 0 1 auto; min-width: 0; }
.opt small { display: block; color: var(--txt3); font-size: 12px; }
input[type=color] { width: 44px; height: 32px; border: 1px solid var(--edge); border-radius: 10px; background: none; padding: 2px; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt { margin-top: 18px; } .mt2 { margin-top: 32px; }
.muted { color: var(--txt2); }
.kbd { font: 12px ui-monospace, Menlo, monospace; padding: 2px 7px; border-radius: 7px; background: rgba(255,255,255,.1); }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } .card, .plan { padding: 22px; } .formcard { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition-duration: .01s !important; scroll-behavior: auto !important; } }

/* icon optimizer: background and shadow controls */
.sub-p { padding: 6px 0 14px; border-bottom: 1px solid var(--edge-lo); }
.rowr { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--txt2); padding: 5px 0; }
.rowr > span:first-child { min-width: 74px; }
.rowr .range { flex: 1; }
.rowr output { min-width: 42px; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.grad-bar { height: 28px; border-radius: 999px; border: 1px solid var(--edge); margin: 4px 0 10px; }
.stop { border: 1px solid var(--edge-lo); border-radius: 16px; padding: 10px 14px 6px; margin-top: 10px; background: rgba(255,255,255,.03); }
.stop-h { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.stop-h .swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--edge); flex: none; }
.stop-h .hex { color: var(--txt3); font-size: 12px; margin-left: auto; font-variant-numeric: tabular-nums; }
.stop-h .rm { height: 28px; min-width: 28px; padding: 0 8px; font-size: 12px; }
.stop-h .rm:disabled { opacity: .35; cursor: default; }
.range.tint { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: var(--track, rgba(255,255,255,.2)); border: 1px solid var(--edge-lo); }
.range.tint::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,.6); }
.range.tint::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,.6); }
#bgc { width: 44px; height: 30px; border: 0; background: none; padding: 0; cursor: pointer; }
@media (max-width: 760px) { .showcase { width: 100%; height: 640px; } .hero { padding: 92px 0 84px; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
