/* Origin — light studio aesthetic. Committed to a clean, bright world so the light-mode
   plugin screenshots read as white cards floating on a soft cool-gray page. Navy ink
   from the logo carries the type; the plugin's signal-blue is the accent. */
:root {
  --bg: #f5f8fc;          /* soft cool gray page */
  --bg-2: #eef3fa;        /* alt band */
  --panel: #ffffff;       /* cards / screenshots */
  --panel-2: #f0f4fa;
  --border: #e2e9f3;
  --border-2: #d2dcea;
  --ink: #16233d;         /* deep navy — the logo's ink */
  --ink-dim: #5c6b85;
  --ink-faint: #8b97ac;
  --accent: #2f6df6;      /* signal blue — the plugin's accent */
  --accent-ink: #1f52d0;
  --amber: #cf7a1e;       /* price + one warm highlight only */
  --good: #2f9e5b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image: radial-gradient(1000px 520px at 78% -12%, rgba(47,109,246,.08), transparent 60%);
  background-repeat: no-repeat;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { font: 700 11.5px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: inline-flex; align-items: center; }
.brand .logo { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--ink-dim); font-weight: 600; font-size: 14px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.buy { color: var(--accent-ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-block; border: none; cursor: pointer; font-family: var(--font);
  font-weight: 650; font-size: 15px; padding: 13px 26px; border-radius: 10px;
  background: var(--accent); color: #fff; transition: filter .15s, transform .05s, box-shadow .15s;
  box-shadow: 0 8px 20px -8px rgba(47,109,246,.55);
}
.btn:hover { filter: brightness(1.06); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.line { background: #fff; color: var(--ink); border: 1px solid var(--border-2); box-shadow: none; }
.btn.line:hover { background: var(--panel-2); filter: none; }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---- Hero ---- */
.hero { padding: 84px 0 40px; text-align: center; }
.hero h1 {
  font-size: clamp(40px, 6vw, 74px); line-height: 1.0; letter-spacing: -.035em; font-weight: 800;
  margin: 22px auto 20px; max-width: 15ch; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-dim); max-width: 52ch; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero .actions .trial { color: var(--ink-dim); font-weight: 600; font-size: 14.5px; }

/* Product shot — a white card that lifts off the page */
.showcase { margin-top: 54px; position: relative; }
.showcase::before {
  content: ""; position: absolute; inset: -4% 6% 26% 6%;
  background: radial-gradient(58% 58% at 50% 30%, rgba(47,109,246,.22), transparent 70%);
  filter: blur(34px); z-index: 0;
}
.shot {
  position: relative; z-index: 1; border: 1px solid var(--border-2); border-radius: 14px;
  overflow: hidden; background: var(--panel); margin: 0;
  box-shadow: 0 30px 70px -28px rgba(22,45,90,.28), 0 2px 6px rgba(22,45,90,.06);
}
.shot img { width: 100%; height: auto; }
.hero .shot { max-width: 1040px; margin: 0 auto; }

.chain {
  margin: 30px auto 0; max-width: 900px; padding: 13px 18px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--border); color: var(--ink-dim);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; text-align: center;
  overflow-x: auto; white-space: nowrap;
}
.chain b { color: var(--accent-ink); }
.chain .amber { color: var(--amber); }

/* ---- Feature rows ---- */
.features { padding: 40px 0 20px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 46px 0; border-top: 1px solid var(--border);
}
.feature > * { min-width: 0; }
.feature:first-child { border-top: none; }
.feature.rev .copy { order: 2; }
.feature.rev .media { order: 1; }
.feature .copy .label { display: block; margin-bottom: 12px; }
.feature .copy h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.08; text-wrap: balance; }
.feature .copy p { color: var(--ink-dim); font-size: 16px; margin: 0 0 16px; max-width: 44ch; }
.feature .copy .facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.feature .copy .facts dt { font: 700 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.feature .copy .facts dd { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--ink); }

/* ---- Studio photo band (the real "source") ---- */
.band {
  position: relative; margin-top: 40px;
  min-height: min(64vh, 620px); display: flex; align-items: flex-end;
  background-size: cover; background-position: center 58%; background-repeat: no-repeat;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,16,28,.74) 0%, rgba(10,16,28,.42) 40%, rgba(10,16,28,0) 72%),
    linear-gradient(0deg, rgba(10,16,28,.55) 0%, rgba(10,16,28,0) 40%);
}
.band .wrap { position: relative; z-index: 1; padding: 56px 32px; }
.band .label { color: #a8c6ff; }
.band h2 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -.03em; line-height: 1.02; margin: 12px 0 12px; max-width: 15ch; text-wrap: balance; }
.band p { color: rgba(255,255,255,.86); font-size: clamp(15px, 1.6vw, 18px); max-width: 46ch; margin: 0; }

/* Top band variant: centered text over a stronger bottom scrim (bright top-down photo). */
.band.top { align-items: flex-end; text-align: center; background-position: center 42%; }
.band.top::before {
  background: linear-gradient(0deg, rgba(10,16,28,.78) 0%, rgba(10,16,28,.30) 40%, rgba(10,16,28,.12) 100%);
}
.band.top .wrap { max-width: 760px; margin: 0 auto; }
.band.top h2, .band.top p { margin-left: auto; margin-right: auto; }

/* ---- Pricing ---- */
.pricing { text-align: center; padding: 76px 0; border-top: 1px solid var(--border); }
.pricing .price { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(52px, 8vw, 78px); font-weight: 800; letter-spacing: -.04em; color: var(--amber); line-height: 1; }
.pricing .price small { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0; }
.pricing h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; margin: 0 0 26px; }
.pricing .includes { color: var(--ink-dim); font-size: 14.5px; margin: 22px auto 0; max-width: 60ch; }
.pricing .includes b { color: var(--ink); font-weight: 600; }
.pricing .note { color: var(--ink-faint); font-size: 12.5px; margin-top: 14px; min-height: 16px; }

/* ---- Portal ---- */
section.plain { padding: 72px 0; }
.section-head { max-width: 620px; margin: 0 auto 30px; text-align: center; }
.section-head h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; margin: 10px 0 10px; }
.section-head p { color: var(--ink-dim); margin: 0; }
.portal { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 15px; }
.field label { display: block; font: 700 11.5px/1 var(--font); letter-spacing: .14em; color: var(--ink-dim); margin-bottom: 8px; text-transform: uppercase; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 11px; border: 1px solid var(--border-2);
  font-family: var(--font); font-size: 15px; background: #fff; color: var(--ink);
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus { outline: none; border-color: var(--accent); }
.portal .btn { width: 100%; }
.msg { margin: 14px 0; font-size: 14px; min-height: 20px; text-align: center; }
.msg.err { color: #c0392b; }
.msg.ok { color: var(--good); }

.license-summary { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-top: 20px; box-shadow: 0 10px 30px -20px rgba(22,45,90,.25); }
.license-summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.license-summary .row span:first-child { color: var(--ink-dim); }
.badge { font: 700 11px/1 var(--font); padding: 4px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.badge.active { background: color-mix(in srgb, var(--good) 16%, #fff); color: var(--good); }
.badge.revoked { background: #fbe3e3; color: #c0392b; }
.seat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.seat:first-of-type { border-top: none; }
.seat .id { font-family: var(--mono); font-size: 13px; }
.seat .meta { color: var(--ink-dim); font-size: 12px; }
.btn.danger { background: #fff; color: #c0392b; border: 1px solid #f0c9c4; box-shadow: none; }
.btn.danger:hover { background: #fbeeec; filter: none; }
h3.machines { margin: 24px 0 6px; font-size: 15px; letter-spacing: .01em; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--border); padding: 34px 0; margin-top: 30px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--ink-dim); font-size: 13.5px; }
footer .logo { height: 40px; opacity: .92; }
footer nav { display: flex; gap: 20px; }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature.rev .copy { order: 1; } .feature.rev .media { order: 2; }
  .site-nav { gap: 18px; }
  .site-nav a:not(.buy) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } }
