/* KiSmet Studio Software — dark, sleek theme */
:root {
  --color-background: #0b0a0f;
  --color-surface: #14121a;
  --color-surface-2: #1c1924;
  --color-line: rgba(255, 255, 255, 0.09);
  --color-line-strong: rgba(255, 255, 255, 0.16);
  --color-text: #f4efe6;
  --color-muted: #aaa3b5;
  --color-accent: #e7b866;
  --color-accent-strong: #f2cb85;
  --color-accent-ink: #1a1408;
  --color-plum: #7b4fd6;
  --color-destructive: #ff9a8f;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-control: 10px;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 85% -120px, rgba(123, 79, 214, 0.22), transparent 70%),
    radial-gradient(700px 420px at -10% 10%, rgba(231, 184, 102, 0.10), transparent 70%),
    var(--color-background);
  background-repeat: no-repeat;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-strong); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--font-display); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-accent); color: var(--color-accent-ink); padding: 10px 14px; border-radius: var(--radius-control); font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.lead { color: var(--color-muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 60ch; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--radius-control); border: 1px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 10px 30px -12px rgba(231, 184, 102, 0.6); }
.btn-primary:hover { background: var(--color-accent-strong); color: var(--color-accent-ink); transform: translateY(-1px); }
.btn-primary[disabled], .btn-primary[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-line-strong); }
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--color-text); }
.text-link::after { content: "\2192"; color: var(--color-accent); transition: transform .2s ease; }
.text-link:hover { color: var(--color-accent); }
.text-link:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 15, 0.72);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--color-text); }
.wordmark-name { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; letter-spacing: -0.01em; }
.wordmark-name span { color: var(--color-accent); font-style: italic; }
.wordmark-sub { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted); }
.wordmark:hover { color: var(--color-text); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--color-muted); text-decoration: none; font-weight: 600; font-size: 0.96rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--color-text); }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: transparent; color: var(--color-text); border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-control); cursor: pointer;
}
@media (max-width: 860px) {
  .wordmark-sub { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 16px var(--gutter) 24px;
    background: rgba(11, 10, 15, 0.97); border-bottom: 1px solid var(--color-line);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--color-line); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { font-size: clamp(3.3rem, 8vw, 6.6rem); line-height: 0.98; }
.hero h1 em { color: var(--color-accent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--color-muted); font-size: 0.95rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 6px rgba(231, 184, 102, 0.15); flex: none; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; }
}

/* Statement band */
.statement { border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); background: rgba(20, 18, 26, 0.6); }
.statement-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.statement-text { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; }
.statement-text em { color: var(--color-accent); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); }
.facts strong { display: block; }
.facts span { color: var(--color-muted); font-size: 0.95rem; }
.facts svg { color: var(--color-accent); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feature-card {
  grid-column: span 2;
  padding: 30px 28px 32px; border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(28, 25, 36, 0.9), rgba(20, 18, 26, 0.9));
  display: grid; gap: 14px; align-content: start;
}
.feature-card.wide { grid-column: span 3; }
.feature-card svg { color: var(--color-accent); }
.feature-card h3 { font-size: 1.25rem; }
.check-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 26px; color: #d9d3e0; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 7px;
  border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg) translateY(-50%);
}
@media (max-width: 1020px) { .feature-card, .feature-card.wide { grid-column: span 3; } }
@media (max-width: 680px) { .feature-grid { grid-template-columns: 1fr; } .feature-card, .feature-card.wide { grid-column: auto; } }

/* Founding band */
.founding { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(231, 184, 102, 0.35);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(231, 184, 102, 0.16), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(123, 79, 214, 0.18), transparent 70%),
    var(--color-surface);
  padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.founding h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.founding .copy { display: grid; gap: 18px; }
@media (max-width: 860px) { .founding { grid-template-columns: 1fr; } }

/* FAQ strip */
.faq-strip-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-line); }
.faq-links a { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--color-line); color: var(--color-text); text-decoration: none; font-weight: 600; font-size: 1.08rem; }
.faq-links a::after { content: "\2192"; color: var(--color-accent); }
.faq-links a:hover { color: var(--color-accent); }
@media (max-width: 860px) { .faq-strip-grid { grid-template-columns: 1fr; } }

/* Final CTA */
.cta-band { text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta-band h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.cta-band p { color: var(--color-muted); }

/* Page header */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); }
.page-head .inner { display: grid; gap: 20px; max-width: 820px; }
.page-head h1 { font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 20px;
  padding: 32px 28px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface);
}
.plan.featured { border-color: rgba(231, 184, 102, 0.45); background: linear-gradient(180deg, rgba(231, 184, 102, 0.07), rgba(20, 18, 26, 1) 45%); }
.plan h2 { font-size: 2.3rem; }
.plan .for { color: var(--color-muted); }
.includes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.includes li { padding: 6px 12px; border: 1px solid var(--color-line-strong); border-radius: var(--radius-control); font-size: 0.9rem; font-weight: 600; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td { padding: 12px 6px; text-align: right; border-bottom: 1px solid var(--color-line); vertical-align: bottom; }
.price-table thead th { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; }
.price-table th[scope="row"] { text-align: left; font-weight: 600; color: #d9d3e0; padding-left: 0; }
.price-table thead th:first-child { text-align: left; padding-left: 0; }
.price-founding { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--color-accent); }
.price-regular { color: var(--color-muted); font-weight: 600; }
.per { font-size: 0.8rem; color: var(--color-muted); font-family: var(--font-body); }
.addon { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 18px 28px; align-items: center; padding: 24px 28px; border: 1px dashed var(--color-line-strong); border-radius: var(--radius-lg); }
.addon h3 { font-size: 1.05rem; }
.addon ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; color: #d9d3e0; }
.addon strong { color: var(--color-accent); }
.tax-note { margin-top: 18px; color: var(--color-muted); font-size: 0.92rem; }
.benefits-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.panel { padding: clamp(26px, 4vw, 40px); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); display: grid; gap: 16px; align-content: start; }
.panel h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.panel.gold { border-color: rgba(231, 184, 102, 0.4); }
@media (max-width: 1020px) { .plans { grid-template-columns: 1fr; max-width: 560px; } .benefits-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .addon { grid-template-columns: 1fr; } }

/* Reserve + contact layout */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split aside { display: grid; gap: 22px; position: sticky; top: 104px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split aside { position: static; } }

/* Forms */
.form-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.form-status { color: var(--color-muted); }
.wix-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-label, .field legend { font-weight: 700; font-size: 0.96rem; color: var(--color-text); padding: 0; }
.field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.req { color: var(--color-accent); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="number"], .field input[type="date"], .field input[type="time"], .field input[type="datetime-local"],
.field input[type="password"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--color-surface-2); color: var(--color-text);
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-control);
  font: 500 1rem/1.4 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-accent) 50%), linear-gradient(135deg, var(--color-accent) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(231, 184, 102, 0.22); }
.field [aria-invalid="true"] { border-color: var(--color-destructive); }
.field ::placeholder { color: #7d768a; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--color-line); border-radius: var(--radius-control); background: var(--color-surface-2); cursor: pointer; }
.choice:hover { border-color: var(--color-line-strong); }
.choice input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--color-accent); flex: none; }
.choice:has(input:checked) { border-color: rgba(231, 184, 102, 0.6); }
.choice-plain { padding: 0; border: 0; background: none; }
.field-help { color: var(--color-muted); font-size: 0.9rem; }
.field-error, .form-error { color: var(--color-destructive); font-size: 0.92rem; font-weight: 600; }
.form-error:empty, .field-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.thanks { display: grid; gap: 14px; }
.thanks h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

/* FAQ page */
.faq-tools { display: grid; gap: 18px; margin-bottom: 28px; }
.search { position: relative; max-width: 560px; }
.search input { width: 100%; min-height: 54px; padding: 12px 16px 12px 46px; background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-line-strong); border-radius: var(--radius-control); font: 500 1rem var(--font-body); }
.search input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(231, 184, 102, 0.22); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--color-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: var(--radius-control); border: 1px solid var(--color-line-strong); background: transparent; color: var(--color-muted); font: 600 0.92rem var(--font-body); cursor: pointer; }
.chip:hover { color: var(--color-text); }
.chip[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.results-line { color: var(--color-muted); font-size: 0.92rem; min-height: 1.4em; }
.faq-section + .faq-section { margin-top: 44px; }
.faq-section h2 { font-size: 1.9rem; margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item h3 { margin: 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; color: var(--color-text); text-align: left; font: 700 1.1rem/1.4 var(--font-body); cursor: pointer; }
.faq-q:hover { color: var(--color-accent); }
.faq-q .plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--color-accent); transition: transform .2s ease; }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.faq-a { padding: 0 0 24px; color: #d9d3e0; max-width: 72ch; }
.faq-a p + p, .faq-a p + ul, .faq-a ul + p { margin-top: 12px; }
.faq-a ul, .faq-a ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.faq-a .copy-link { margin-top: 14px; background: none; border: 0; padding: 0; color: var(--color-muted); font: 600 0.85rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.faq-a .copy-link:hover { color: var(--color-accent); }
.empty-line { color: var(--color-muted); padding: 20px 0; }
.empty-line button { margin-left: 8px; }

/* Contact */
.contact-email { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--color-line); padding: 56px 0 40px; color: var(--color-muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--color-text); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--color-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--color-accent); }
.footer-brand { display: grid; gap: 12px; max-width: 34ch; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--color-line); font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Brand word: gold K and S in "KiSmet" */
.ks { white-space: nowrap; }
.ks-k, .ks-s { color: var(--color-accent); }
.btn-primary .ks-k, .btn-primary .ks-s, .chip[aria-pressed="true"] .ks-k, .chip[aria-pressed="true"] .ks-s { color: inherit; }