/* Severina AI · black-and-champagne-gold theme */
:root {
  --ink: #0a0907;
  --onyx: #120f0b;
  --onyx-2: #19150f;
  --text: #f1ebdd;
  --muted: #a89f8c;
  --faint: #6f6757;
  --gold: #d6b25e;
  --gold-hi: #f6e3a6;
  --gold-lo: #9a7432;
  --champagne: #f7edd3;
  --line: rgba(232, 200, 130, 0.16);
  --line-strong: rgba(232, 200, 130, 0.34);
  --glass: linear-gradient(180deg, rgba(255, 248, 230, 0.055), rgba(255, 248, 230, 0.015));
  --emerald: #5fd3a2;
  --ruby: #ee8a76;
  --gold-grad: linear-gradient(120deg, #8a6528 0%, #d6b25e 22%, #fbeec0 42%, #d9b562 58%, #a17a35 80%, #e9cf8a 100%);
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 240, 205, 0.07);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
body::before { /* black-and-gold marble from the Severina brand, under a soft dark veil and gold glow */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(214, 178, 94, 0.20), transparent 65%),
    radial-gradient(ellipse at 50% 40%, rgba(10, 9, 7, 0.30) 0%, rgba(10, 9, 7, 0.62) 75%, rgba(10, 9, 7, 0.8) 100%),
    url("../img/marble.jpg") center / cover no-repeat,
    var(--ink);
}
/* ---- Shine: polished marble catching the light ---- */
.gloss { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.gloss::before { /* the polished surface: a soft reflection across the stone */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 246, 220, 0.075) 0%, rgba(255, 246, 220, 0) 28%),
    linear-gradient(295deg, rgba(255, 236, 190, 0.05) 0%, rgba(255, 236, 190, 0) 30%);
}
.gloss::after { /* a slow beam of light travelling across the stone */
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(100deg, rgba(255, 240, 200, 0) 0%, rgba(255, 240, 200, 0.04) 30%, rgba(255, 250, 230, 0.12) 50%, rgba(255, 240, 200, 0.04) 70%, rgba(255, 240, 200, 0) 100%);
  filter: blur(18px);
  transform: skewX(-18deg); animation: beam 14s ease-in-out infinite;
}
.gloss-veins { /* the gold veins light up where the beam passes */
  position: absolute; inset: 0;
  background: url("../img/marble.jpg") center / cover no-repeat;
  filter: brightness(1.9) saturate(1.3) contrast(1.15);
  mix-blend-mode: screen; opacity: 0.5;
  -webkit-mask-image: linear-gradient(100deg, transparent 22%, rgba(0, 0, 0, 0.35) 38%, #000 50%, rgba(0, 0, 0, 0.35) 62%, transparent 78%);
  mask-image: linear-gradient(100deg, transparent 22%, rgba(0, 0, 0, 0.35) 38%, #000 50%, rgba(0, 0, 0, 0.35) 62%, transparent 78%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: veins 14s ease-in-out infinite;
}
.gloss i { /* twinkling points of light, like the poster */
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0%, rgba(246, 227, 166, 0.8) 35%, transparent 70%);
  box-shadow: 0 0 12px 3px rgba(246, 227, 166, 0.35);
  animation: twinkle 6s ease-in-out infinite; opacity: 0;
}
.gloss i::before, .gloss i::after { content: ""; position: absolute; left: 50%; top: 50%; background: linear-gradient(90deg, transparent, rgba(255, 248, 225, 0.9), transparent); transform: translate(-50%, -50%); }
.gloss i::before { width: 34px; height: 1px; }
.gloss i::after { width: 1px; height: 34px; background: linear-gradient(180deg, transparent, rgba(255, 248, 225, 0.9), transparent); }
@keyframes beam { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes veins { 0% { -webkit-mask-position: 100% 0; mask-position: 100% 0; } 55%, 100% { -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 12% { opacity: 1; transform: scale(1) rotate(45deg); } 24% { opacity: 0; transform: scale(0.4) rotate(90deg); } }

/* glossy glass panels: a highlight on the top edge, like polished stone */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 248, 230, 0.07) 0%, rgba(255, 248, 230, 0) 28%),
              linear-gradient(115deg, rgba(255, 248, 230, 0.05) 0%, rgba(255, 248, 230, 0) 35%);
}
/* gold-edged panels: light runs along the gold border */
.card-gold { background: linear-gradient(var(--onyx), var(--onyx)) padding-box,
  linear-gradient(120deg, #8a6528, #d6b25e, #fff3c8, #d9b562, #8a6528, #d6b25e, #fff3c8, #8a6528) border-box;
  background-size: 100% 100%, 300% 100%; animation: edge 8s linear infinite; }
@keyframes edge { from { background-position: 0 0, 0% 0; } to { background-position: 0 0, 300% 0; } }

/* the logo catches the light now and then */
.brand img[src$="logo.svg"], .chat-head img { animation: glint 7s ease-in-out infinite; }
@keyframes glint { 0%, 80%, 100% { filter: drop-shadow(0 0 10px rgba(214, 178, 94, 0.35)) brightness(1); }
  88% { filter: drop-shadow(0 0 22px rgba(255, 240, 200, 0.85)) brightness(1.35); } }

/* main gold buttons: a gleam sweeps across every few seconds */
.btn:not(.btn-ghost):not(.btn-danger)::after { animation: gleam 6s ease-in-out infinite; }
@keyframes gleam { 0%, 70% { left: -60%; } 90%, 100% { left: 130%; } }

.frame { /* the poster's thin gold border */
  position: fixed; inset: 14px; z-index: 50; pointer-events: none;
  border: 1px solid rgba(214, 178, 94, 0.28);
}
.frame::before, .frame::after { content: ""; position: absolute; width: 46px; height: 46px; border-color: rgba(233, 207, 138, 0.75); border-style: solid; }
.frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
@media (max-width: 960px) { .frame { display: none; } }
body::after { /* fine grain for a rich, printed feel */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: var(--champagne); }
img { max-width: 100%; display: block; }
::selection { background: rgba(214, 178, 94, 0.35); color: #fff; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: 0.005em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 0.875rem; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font: 600 0.74rem/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); }

/* Polished gold lettering with a slow shine */
.gold {
  background: var(--gold-grad);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hairline { height: 1px; border: 0; margin: 2.5rem 0; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 120px) 0; }

/* ------------------------------------------------------------ buttons */
.btn {
  --h: 48px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--h); padding: 0 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 0.95rem/1 var(--sans); letter-spacing: 0.02em; color: #1b1406;
  background: var(--gold-grad); background-size: 200% 100%;
  box-shadow: 0 10px 30px rgba(214, 178, 94, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(90, 60, 10, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.6s ease;
  text-decoration: none; white-space: nowrap;
}
.btn::after { /* light sweep */
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg); transition: left 0.75s ease;
}
.btn:hover { color: #1b1406; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px rgba(214, 178, 94, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm svg { width: 15px; height: 15px; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.btn-ghost {
  color: var(--champagne); background: rgba(255, 245, 220, 0.03);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover { color: #fff; background: rgba(214, 178, 94, 0.08); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-ghost::after { display: none; }
.btn-sm { --h: 36px; padding: 0 1.05em; font-size: 0.82rem; }
.btn-danger { color: var(--ruby); background: transparent; box-shadow: inset 0 0 0 1px rgba(238, 138, 118, 0.35); }
.btn-danger::after { display: none; }
.btn-danger:hover { color: #ffd2c8; background: rgba(238, 138, 118, 0.08); box-shadow: inset 0 0 0 1px var(--ruby); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------ glass cards */
.card {
  background: var(--glass), rgba(18, 15, 11, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card-gold { border: 1px solid transparent; }  /* the moving gold edge is set in the Shine section */
.card h3 { margin-bottom: 0.3em; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

/* ------------------------------------------------------------ public header */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.92), rgba(10, 9, 7, 0.7));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: 38px; }
.brand b { font: 600 1.5rem/1 var(--serif); letter-spacing: 0.04em; }
.brand small { display: block; font: 600 0.6rem/1.2 var(--sans); letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 0.92rem; }
.site-nav a:not(.btn) { color: var(--muted); }
.site-nav a:not(.btn):hover { color: var(--champagne); }
@media (max-width: 820px) { .site-nav a.hide-sm { display: none; } .site-nav { gap: 14px; } }

/* Severina logo lockup: gold S-hexagon + spaced SEVERINA + — AI — */
.brand img[src$="logo.svg"] { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(214, 178, 94, 0.35)); }
.wordmark { display: grid; justify-items: center; gap: 4px; }
.wordmark b {
  font: 600 1.3rem/1 var(--serif); letter-spacing: 0.34em; margin-right: -0.34em;
  background: linear-gradient(180deg, #fffaf0 0%, #f1e3c4 55%, #cdb88d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark small { display: flex; align-items: center; gap: 8px; font: 600 0.58rem/1 var(--sans); letter-spacing: 0.3em; margin-right: -0.3em; color: var(--gold); text-transform: uppercase; }
.wordmark small i { width: 16px; height: 1px; background: var(--gold-grad); }
.brand-stacked { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand-stacked img[src$="logo.svg"] { width: 96px; height: 96px; filter: drop-shadow(0 0 24px rgba(214, 178, 94, 0.45)); }
.brand-stacked .wordmark b { font-size: 2rem; }
.brand-stacked .wordmark small { font-size: 0.72rem; }
.brand-stacked .wordmark small i { width: 28px; }
@media (max-width: 560px) {
  .site-nav a.hide-xs { display: none; }
  .site-head .btn-sm { padding: 0 0.9em; font-size: 0.78rem; }
}
.hero-grid > * { min-width: 0; }
@media (max-width: 420px) { .site-head .wordmark b { font-size: 1.05rem; letter-spacing: 0.26em; } .site-head .brand img[src$="logo.svg"] { width: 36px; height: 36px; } }

/* ------------------------------------------------------------ hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 0.35em 0 0.3em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d9d0bd; max-width: 34em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: var(--muted); font-size: 0.9rem; }
.hero-proof span::before { content: "◆"; color: var(--gold); margin-right: 8px; font-size: 0.7em; vertical-align: 2px; }
.offer-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(214, 178, 94, 0.07); font-size: 0.86rem; color: var(--champagne);
}
.offer-pill b { padding: 4px 10px; border-radius: 999px; background: var(--gold-grad); color: #1b1406; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ------------------------------------------------------------ chat (demo, app and widget share this look) */
.chat { display: flex; flex-direction: column; height: min(620px, 78vh); padding: 0; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 42px; height: 42px; filter: drop-shadow(0 0 8px rgba(214, 178, 94, 0.35)); }
.chat-head b { font: 600 1.25rem/1 var(--serif); }
.chat-head .status { font-size: 0.78rem; color: var(--emerald); }
.chat-head .status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); margin-right: 6px; box-shadow: 0 0 10px var(--emerald); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.bubble { max-width: 86%; padding: 12px 16px; border-radius: 18px; white-space: pre-wrap; word-wrap: break-word; font-size: 0.95rem; animation: rise 0.35s ease both; }
.bubble.severina { align-self: flex-start; background: rgba(255, 245, 220, 0.05); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.user { align-self: flex-end; background: var(--gold-grad); color: #1b1406; border-bottom-right-radius: 6px; font-weight: 500; box-shadow: 0 8px 24px rgba(214, 178, 94, 0.2); }
.bubble.error { align-self: center; background: rgba(238, 138, 118, 0.1); border: 1px solid rgba(238, 138, 118, 0.35); color: #ffd2c8; font-size: 0.86rem; }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 245, 220, 0.04); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 12px; }
.chip { border: 1px solid var(--line-strong); background: rgba(214, 178, 94, 0.06); color: var(--champagne); border-radius: 999px; padding: 7px 13px; font: 500 0.8rem/1.2 var(--sans); cursor: pointer; transition: all 0.2s; }
.chip:hover { border-color: var(--gold); background: rgba(214, 178, 94, 0.14); }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); align-items: flex-end; }
.chat-form textarea { flex: 1; resize: none; min-height: 48px; max-height: 140px; border-radius: 24px; padding: 13px 18px; }
.chat-form .btn { --h: 48px; padding: 0 1.2em; }
.icon-btn { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(214, 178, 94, 0.06); color: var(--gold-hi); display: grid; place-items: center; cursor: pointer; transition: all 0.2s; }
.icon-btn:hover { border-color: var(--gold); background: rgba(214, 178, 94, 0.14); }
.icon-btn svg { width: 22px; height: 22px; }

/* Severina's suggested bookkeeping entries */
.entry-card { align-self: flex-start; width: min(100%, 420px); border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(214, 178, 94, 0.10), rgba(214, 178, 94, 0.02)); animation: rise 0.35s ease both; }
.entry-card .row1 { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.entry-card .amt { font: 600 1.5rem/1 var(--serif); }
.entry-card .meta { color: var(--muted); font-size: 0.82rem; margin: 6px 0 12px; }
.entry-card.done { opacity: 0.7; border-color: rgba(95, 211, 162, 0.4); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 0.68rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.tag.in { color: var(--emerald); background: rgba(95, 211, 162, 0.1); border: 1px solid rgba(95, 211, 162, 0.3); }
.tag.out { color: var(--ruby); background: rgba(238, 138, 118, 0.1); border: 1px solid rgba(238, 138, 118, 0.3); }
.tag.gold { color: var(--gold-hi); background: rgba(214, 178, 94, 0.1); border: 1px solid var(--line-strong); }

/* ------------------------------------------------------------ features, hustles, pricing */
.feature { position: relative; }
.feature .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: radial-gradient(circle at 30% 25%, rgba(251, 238, 192, 0.35), rgba(214, 178, 94, 0.08) 60%); border: 1px solid var(--line-strong); color: var(--gold-hi); }
.feature .ico svg { width: 26px; height: 26px; }
.feature ul { padding-left: 1.1em; margin: 0.6em 0 0; color: #d6cdb9; }
.feature li { margin: 0.25em 0; }
.feature li::marker { color: var(--gold); }

.hustle h3 { font-size: 1.35rem; }
.hustle p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step, upper-roman); position: absolute; left: 0; top: -4px; font: 600 2.2rem/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.price { display: flex; flex-direction: column; position: relative; }
.price.featured { transform: translateY(-10px); box-shadow: 0 30px 90px rgba(214, 178, 94, 0.18), var(--shadow); }
.price .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--gold-grad); color: #1b1406; font: 700 0.7rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.price .amount { font: 600 3.6rem/1 var(--serif); margin: 14px 0 2px; }
.price .amount small { font: 500 1rem var(--sans); color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.price li { padding: 9px 0 9px 28px; border-bottom: 1px solid rgba(232, 200, 130, 0.08); position: relative; font-size: 0.94rem; color: #ddd4c1; }
.price li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.price li.no { color: var(--faint); }
.price li.no::before { border: 0; width: 10px; height: 1px; background: var(--faint); transform: none; top: 20px; }
@media (max-width: 960px) { .price.featured { transform: none; } }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 1.25rem/1.3 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta-band { text-align: center; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 60px); background: radial-gradient(600px 240px at 50% 0%, rgba(214, 178, 94, 0.2), transparent 70%), var(--glass), var(--onyx); }

.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 0.86rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-foot a { color: var(--muted); }

/* ------------------------------------------------------------ forms */
label { display: block; font: 600 0.8rem/1.4 var(--sans); letter-spacing: 0.04em; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 178, 94, 0.15); }
input::placeholder, textarea::placeholder { color: var(--faint); }
select option { background: var(--onyx); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--gold); padding: 0; }
input[type="file"] { padding: 10px; }
input[type="date"] { color-scheme: dark; }
.field { margin-bottom: 16px; }
.field .help { font-size: 0.78rem; color: var(--faint); margin-top: 4px; }
.field .err, .errorlist { color: var(--ruby); font-size: 0.82rem; margin: 4px 0 0; padding: 0; list-style: none; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text); font-weight: 400; letter-spacing: 0; }
.check input { margin-top: 3px; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; color: var(--text); font-weight: 500; letter-spacing: 0; margin: 0; }
.checks label:has(input:checked) { border-color: var(--gold); background: rgba(214, 178, 94, 0.1); }

.flash { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.flash li { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(214, 178, 94, 0.08); font-size: 0.92rem; animation: rise 0.35s ease both; }
.flash li.error { border-color: rgba(238, 138, 118, 0.4); background: rgba(238, 138, 118, 0.08); color: #ffd2c8; }
.flash li.success { border-color: rgba(95, 211, 162, 0.35); background: rgba(95, 211, 162, 0.07); }

/* ------------------------------------------------------------ the client app */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 26px 18px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(25, 21, 15, 0.72), rgba(10, 9, 7, 0.82)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 28px; }
.side nav { display: grid; gap: 4px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--muted); font-weight: 500; font-size: 0.94rem; transition: all 0.2s; }
.side nav a svg { width: 19px; height: 19px; flex: none; }
.side nav a:hover { color: var(--champagne); background: rgba(214, 178, 94, 0.06); }
.side nav a.on { color: var(--champagne); background: linear-gradient(90deg, rgba(214, 178, 94, 0.16), rgba(214, 178, 94, 0.02)); box-shadow: inset 2px 0 0 var(--gold); }
.side .who { margin-top: auto; padding: 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 0.85rem; }
.side .who b { display: block; font: 600 1.1rem/1.2 var(--serif); color: var(--text); }
.main { padding: clamp(20px, 3.5vw, 44px); padding-bottom: 110px; min-width: 0; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin: 0.2em 0 0; }
.tabbar { display: none; }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(10, 9, 7, 0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; font-size: 0.68rem; color: var(--faint); padding: 6px 0; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--gold-hi); }
  .mobile-top { display: flex !important; }
}
.mobile-top { display: none; justify-content: space-between; align-items: center; margin-bottom: 18px; }

.stat .label { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.stat .value { font: 600 clamp(2rem, 3.6vw, 2.8rem)/1.05 var(--serif); margin: 10px 0 4px; }
.stat .sub { font-size: 0.85rem; color: var(--muted); }
.pos { color: var(--emerald); } .neg { color: var(--ruby); }

.meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin: 10px 0 6px; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--gold-grad); box-shadow: 0 0 14px rgba(214, 178, 94, 0.5); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(232, 200, 130, 0.08); }
.list li:last-child { border-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { text-align: left; font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid rgba(232, 200, 130, 0.08); vertical-align: top; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:hover td { background: rgba(214, 178, 94, 0.03); }

.post { white-space: pre-wrap; font-size: 0.94rem; color: #e4dccb; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 12px 0; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .serif { font-size: 1.6rem; color: var(--text); }
.inline { display: inline; }
.code { font: 0.82rem/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); border-radius: 12px; padding: 14px; overflow-x: auto; color: var(--gold-hi); white-space: pre-wrap; word-break: break-all; }

.overlay { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(10, 9, 7, 0.85); backdrop-filter: blur(8px); text-align: center; padding: 24px; }
.overlay.show { display: grid; }
.spinner { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid rgba(214, 178, 94, 0.15); border-top-color: var(--gold-hi); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rec-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ruby); margin-right: 8px; animation: blink 1.2s infinite; }

/* ------------------------------------------------------------ tool tiles, gallery */
.tool { display: grid; gap: 6px; color: var(--text); transition: transform 0.25s, border-color 0.25s; }
.tool:hover { color: var(--text); transform: translateY(-3px); border-color: var(--line-strong); }
.tool svg { width: 26px; height: 26px; color: var(--gold-hi); }
.tool b { font: 600 1.25rem/1.2 var(--serif); }
.tool span { color: var(--muted); font-size: 0.85rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.gallery figcaption { font-size: 0.82rem; color: var(--muted); margin: 8px 0; }
.prose ul { padding-left: 1.2em; } .prose li { margin: 0.3em 0; } .prose li::marker { color: var(--gold); }
.doc { background: #fffdf8; color: #1d1912; border-radius: 10px; padding: clamp(22px, 5vw, 56px); font-size: 1rem; line-height: 1.7; }
.doc h2, .doc h3, .doc h4 { color: #1d1912; } .doc h2 { font-size: 1.9rem; } .doc h3 { font-size: 1.4rem; margin-top: 1.4em; }
.doc li::marker { color: #b8913f; }
.voice-btn.recording { border-color: var(--ruby); color: var(--ruby); animation: blink 1.2s infinite; }
@media print { .side, .tabbar, .page-head .btn-row, .mobile-top, .no-print { display: none !important; } .app { display: block; } body { background: #fff; } .doc { padding: 0; } }

/* ------------------------------------------------------------ welcome setup, industries, logos */
.steps-bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 30px; }
.steps-bar span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 0.85rem var(--sans); color: var(--muted); border: 1px solid var(--line-strong); }
.steps-bar span.on { color: #1b1406; background: var(--gold-grad); border-color: transparent; box-shadow: 0 0 18px rgba(214, 178, 94, 0.45); }
.steps-bar span.done { color: var(--gold-hi); border-color: var(--gold); }
.steps-bar i { width: 34px; height: 1px; background: var(--line-strong); }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.industry-card { position: relative; display: grid; gap: 4px; padding: 18px; border-radius: 18px; cursor: pointer; margin: 0;
  border: 1px solid var(--line); background: var(--glass), rgba(18, 15, 11, 0.72); color: var(--text); letter-spacing: 0; font-weight: 400;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.industry-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.industry-card input { position: absolute; opacity: 0; pointer-events: none; }
.industry-card .emoji { font-size: 1.9rem; line-height: 1; }
.industry-card b { font: 600 1.2rem/1.2 var(--serif); margin-top: 6px; }
.industry-card small { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.industry-card:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 12px 40px rgba(214, 178, 94, 0.18); background: linear-gradient(135deg, rgba(214, 178, 94, 0.14), rgba(214, 178, 94, 0.03)), rgba(18, 15, 11, 0.8); }
.industry-card:has(input:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.logo-tile img { background: #fff; }
.logo-tile.chosen { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.logo-current { display: flex; align-items: center; gap: 12px; }
.logo-current img, .who img.biz-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; padding: 4px; }
.who img.biz-logo { width: 44px; height: 44px; margin-bottom: 8px; }

/* ------------------------------------------------------------ website preview */
.preview { padding: clamp(14px, 3vw, 28px); background: radial-gradient(600px 300px at 50% 0%, rgba(214, 178, 94, 0.12), transparent 70%), rgba(0, 0, 0, 0.3); }
.browser { margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); transition: width 0.35s ease; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: linear-gradient(180deg, #221c13, #15110c); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(214, 178, 94, 0.35); }
.browser-bar span { flex: 1; margin-left: 10px; padding: 4px 12px; border-radius: 99px; background: rgba(0, 0, 0, 0.4); color: var(--muted); font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-view { position: relative; overflow: hidden; background: #fff; }
.browser-view iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
.preview.phone .browser { width: 360px; max-width: 100%; border-radius: 34px; border-width: 8px; border-color: #1f1a12; }
.preview.phone .browser-bar { display: none; }

/* ------------------------------------------------------------ auth pages */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth .card { width: min(440px, 100%); }
.auth .brand { justify-content: center; margin-bottom: 26px; }

/* ------------------------------------------------------------ legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose p, .prose li { color: #d9d0bd; }
.notice { border: 1px solid var(--line-strong); background: rgba(214, 178, 94, 0.07); border-radius: 14px; padding: 14px 18px; font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
