:root {
  --ink: #13241d;
  --green: #0d2d21;
  --green-2: #173c2e;
  --lime: #d9ff64;
  --paper: #f3f0e6;
  --orange: #ff6847;
  --line: rgba(19, 36, 29, 0.18);
  --muted: #68736d;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, sans-serif;
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }

.page-shell { min-height: 100vh; overflow: hidden; }
.topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font: 16px/1 "Archivo Black", sans-serif;
  letter-spacing: .04em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--lime);
  background: var(--green);
  transform: rotate(-5deg);
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink);
  text-decoration: none;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4fb66b; box-shadow: 0 0 0 4px rgba(79,182,107,.15); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.edit-copy-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  color: var(--green);
  background: var(--lime);
  border: 1px solid rgba(13,45,33,.12);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.edit-copy-link:hover { background: #c9f04e; }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 54px;
}
.eyebrow { font: 500 12px/1 DM Mono, monospace; letter-spacing: .12em; color: var(--orange); }
.hero h1 {
  margin: 18px 0 22px;
  font: clamp(58px, 8.5vw, 118px)/.88 "Archivo Black", sans-serif;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero h1 .solid-line { color: var(--ink); -webkit-text-stroke: 0; }
.hero-copy { max-width: 660px; margin: 0; color: #415048; font-size: 18px; line-height: 1.6; }
.event-strip {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.event-strip div { padding: 18px 24px 18px 0; border-right: 1px solid var(--line); }
.event-strip div:not(:first-child) { padding-left: 24px; }
.event-strip div:last-child { border-right: 0; }
.event-strip span, .preview-topline, label > span { display: block; margin-bottom: 6px; color: var(--muted); font: 500 10px/1 DM Mono, monospace; letter-spacing: .11em; text-transform: uppercase; }
.event-strip strong { font-size: 14px; }
.event-strip .countdown-cell {
  position: relative;
  align-self: stretch;
  padding: 16px 20px;
  color: #fff;
  background: var(--green);
  box-shadow: inset 5px 0 0 var(--lime);
}
.event-strip .countdown-cell > span { display: flex; align-items: center; gap: 8px; color: var(--lime); }
.countdown-cell i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,104,71,.16); animation: countdownPulse 1.8s ease-in-out infinite; }
.event-strip .countdown { display: block; color: #fff; font: 700 22px/1 DM Mono, monospace; font-variant-numeric: tabular-nums; letter-spacing: .025em; white-space: nowrap; }
@keyframes countdownPulse { 50% { box-shadow: 0 0 0 9px rgba(255,104,71,0); } }

.builder-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  border: 1px solid var(--line);
  background: #f8f6ee;
  box-shadow: 0 24px 70px rgba(16, 40, 31, .08);
}
.builder-panel { padding: 44px; border-right: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; margin-bottom: 24px; }
.section-heading.compact { margin-top: 36px; }
.step { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--lime); font: 500 12px/1 DM Mono, monospace; }
.section-heading h2 { margin: 1px 0 5px; font-size: 22px; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pick-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pick-row, .call-grid label { display: block; }
select, input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
}
select:focus, input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,45,33,.09); }
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reason-field { grid-column: 1 / -1; }
.reason-field > span { display: flex; align-items: center; justify-content: space-between; }
.reason-field em { color: #8a948f; font-style: normal; letter-spacing: .04em; }
.avatar-field { grid-column: 1 / -1; }
.avatar-field > span:first-child { display: flex; align-items: center; justify-content: space-between; }
.avatar-field em { color: #8a948f; font-style: normal; letter-spacing: .04em; }
.avatar-upload-box {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  color: #526159;
  background: #fff;
  border: 1px dashed rgba(19,36,29,.27);
  border-radius: 4px;
  font-size: 12px;
  transition: border-color .18s ease, background .18s ease;
}
.avatar-field:hover .avatar-upload-box { border-color: var(--green); background: #fbfff0; }
.avatar-thumb {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--lime);
  background-color: var(--green);
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  font-size: 20px;
}
#avatar-upload { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error { min-height: 18px; margin: 13px 0 0; color: #bd3b27; font-size: 12px; }
.primary-button {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--lime);
  background: var(--green);
  border: 0;
  border-radius: 3px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: transform .18s ease, background .18s ease;
}
.primary-button:hover { background: #194535; transform: translateY(-2px); }
.privacy-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 11px; }

.preview-panel { min-height: 670px; padding: 26px; display: flex; flex-direction: column; background: var(--green); }
.preview-topline { display: flex; justify-content: space-between; margin-bottom: 20px; color: rgba(255,255,255,.56); }
.empty-preview { flex: 1; display: grid; align-content: center; justify-items: center; color: rgba(255,255,255,.55); }
.empty-preview p { font-size: 13px; }
.ghost-card {
  width: 260px;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px dashed rgba(217,255,100,.35);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.025), rgba(255,255,255,.025) 10px, transparent 10px, transparent 20px);
}
.ghost-card span, .ghost-card small { font: 500 11px/1.2 DM Mono, monospace; letter-spacing: .1em; }
.ghost-card strong { margin: 10px 0 3px; color: var(--lime); font: 100px/.75 "Archivo Black", sans-serif; }
#card-preview { width: 100%; max-height: 590px; object-fit: contain; flex: 1; min-height: 0; }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.share-actions button { height: 46px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; font-weight: 700; }
.share-actions button:first-child { color: var(--green); background: var(--lime); border-color: var(--lime); }

.faq-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 108px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
}
.faq-intro { position: sticky; top: 34px; align-self: start; }
.faq-intro h2 {
  margin: 14px 0 18px;
  max-width: 420px;
  font: clamp(42px, 5.7vw, 72px)/.94 "Archivo Black", sans-serif;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.faq-intro p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 2px;
  color: var(--orange);
  font: 400 27px/1 DM Mono, monospace;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 690px; margin: -5px 48px 24px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.demo-section {
  padding: 92px max(20px, calc((100vw - 1180px)/2));
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  align-items: center;
  gap: 74px;
  color: #fff;
  background: var(--green);
}
.demo-copy h2 { max-width: 560px; margin: 16px 0 22px; font: clamp(42px, 6vw, 78px)/.94 "Archivo Black", sans-serif; text-transform: uppercase; letter-spacing: -.04em; }
.demo-copy > p { max-width: 500px; margin: 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; }
.demo-legend { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; color: var(--lime); font: 500 10px/1 DM Mono, monospace; letter-spacing: .08em; }
.demo-player { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: #092218; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.demo-chrome { height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.demo-chrome > span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }
.demo-chrome > span:first-child { background: var(--orange); }
.demo-chrome strong { margin-left: auto; color: rgba(255,255,255,.46); font: 500 9px/1 DM Mono, monospace; letter-spacing: .12em; }
.demo-stage { position: relative; min-height: 430px; padding: 42px; overflow: hidden; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.018), rgba(255,255,255,.018) 10px, transparent 10px, transparent 20px); }
.demo-form-card { width: 58%; padding: 24px; color: var(--ink); background: var(--paper); border-radius: 7px; box-shadow: 0 20px 45px rgba(0,0,0,.24); animation: demoForm 12s ease-in-out infinite; }
.demo-form-card > small, .demo-result-card > small { display: block; margin-bottom: 9px; color: #748078; font: 500 9px/1 DM Mono, monospace; letter-spacing: .1em; }
.demo-select { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; background: #fff; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; font-weight: 700; }
.demo-profile { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border: 1px solid var(--line); background: #fff; }
.demo-profile > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--lime); background: var(--green); border-radius: 50%; font: 16px/1 "Archivo Black", sans-serif; }
.demo-profile div { display: grid; gap: 4px; }
.demo-profile b { font-size: 11px; }
.demo-profile small { color: #78847d; font-size: 9px; }
.demo-button { margin-top: 13px; padding: 14px; color: var(--lime); background: var(--green); font-size: 10px; font-weight: 800; text-align: center; }
.demo-result-card { position: absolute; top: 34px; right: 42px; width: 42%; min-height: 350px; padding: 24px; color: var(--green); background: var(--lime); border-radius: 7px; box-shadow: 0 22px 55px rgba(0,0,0,.32); transform: translateX(140%) rotate(4deg); animation: demoResult 12s ease-in-out infinite; }
.demo-result-card > small { color: rgba(13,45,33,.62); }
.demo-result-card > strong { display: block; margin: 24px 0 4px; font: 82px/.8 "Archivo Black", sans-serif; }
.demo-result-card > b { display: block; font: 30px/.92 "Archivo Black", sans-serif; }
.demo-result-card > em { position: absolute; left: 24px; bottom: 24px; color: #fff; background: var(--orange); padding: 12px; font: 700 11px/1.35 Inter, sans-serif; font-style: normal; }
.demo-cursor { position: absolute; top: 308px; left: 46%; color: #fff; font-size: 34px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); animation: demoCursor 12s ease-in-out infinite; }
.demo-progress { height: 4px; background: rgba(255,255,255,.1); }
.demo-progress span { display: block; width: 100%; height: 100%; background: var(--lime); transform-origin: left; animation: demoProgress 12s linear infinite; }
@keyframes demoForm {
  0%, 34% { transform: translateX(0); opacity: 1; }
  48%, 82% { transform: translateX(-115%); opacity: .2; }
  96%, 100% { transform: translateX(0); opacity: 1; }
}
@keyframes demoResult {
  0%, 34% { transform: translateX(140%) rotate(4deg); }
  49%, 82% { transform: translateX(0) rotate(-2deg); }
  96%, 100% { transform: translateX(140%) rotate(4deg); }
}
@keyframes demoCursor {
  0%, 16% { transform: translate(-110px,-120px); opacity: 0; }
  24%, 33% { transform: translate(0,0); opacity: 1; }
  38%, 100% { transform: translate(0,0) scale(.78); opacity: 0; }
}
@keyframes demoProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .demo-form-card, .demo-result-card, .demo-cursor, .demo-progress span { animation: none; }
  .demo-result-card { transform: translateX(0) rotate(-2deg); }
  .demo-form-card { opacity: .22; }
}

.why-section { padding: 92px max(20px, calc((100vw - 1180px)/2)); color: #fff; background: var(--green); }
.why-section > h2 { max-width: 800px; margin: 16px 0 52px; font: clamp(42px, 7vw, 82px)/.95 "Archivo Black", sans-serif; text-transform: uppercase; letter-spacing: -.04em; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.why-grid article { padding: 26px 30px 10px 0; }
.why-grid article + article { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.16); }
.why-grid strong { color: var(--lime); font: 500 12px/1 DM Mono, monospace; }
.why-grid h3 { margin: 42px 0 8px; font-size: 22px; }
.why-grid p { max-width: 280px; margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px max(20px, calc((100vw - 1180px)/2)); color: #718078; background: #092218; font-size: 11px; }
footer span { color: #fff; font: 16px/1 "Archivo Black", sans-serif; text-transform: uppercase; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { color: #a7b4ad; text-decoration: none; transition: color .18s ease; }
.footer-links a:hover { color: var(--lime); }

.support-main { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 78px 0 110px; }
.support-hero { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.support-hero h1 { margin: 15px 0 16px; font: clamp(46px, 8vw, 92px)/.92 "Archivo Black", sans-serif; letter-spacing: -.05em; text-transform: uppercase; }
.support-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.support-content { max-width: 760px; padding-top: 36px; }
.support-content section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.support-content h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.02em; }
.support-content p, .support-content li { color: #526159; font-size: 14px; line-height: 1.75; }
.support-content p { margin: 0 0 12px; }
.support-content ul { margin: 0; padding-left: 20px; }
.support-date { margin-top: 18px; color: var(--muted); font: 500 11px/1 DM Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }

.editor-page { background: #e9e7de; }
.editor-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(330px, 470px) 1fr; }
.editor-panel { height: 100vh; overflow: auto; padding: 30px; background: #f8f6ee; border-right: 1px solid var(--line); }
.editor-panel h1 { margin: 12px 0 8px; font: 34px/.98 "Archivo Black", sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
.editor-note { margin: 0 0 26px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.editor-group { padding: 22px 0; border-top: 1px solid var(--line); }
.editor-group h2 { margin: 0 0 14px; font-size: 15px; }
.editor-field { display: block; margin-bottom: 13px; }
.editor-field span { display: block; margin-bottom: 6px; color: var(--muted); font: 500 10px/1 DM Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }
.editor-field input, .editor-field textarea { width: 100%; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; outline: 0; resize: vertical; }
.editor-field input { height: 42px; }
.editor-field textarea { min-height: 76px; line-height: 1.45; }
.editor-field input:focus, .editor-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,45,33,.08); }
.editor-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 0 2px; background: linear-gradient(transparent, #f8f6ee 18%); }
.editor-actions button { height: 44px; border-radius: 3px; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.editor-actions .editor-primary { color: var(--lime); background: var(--green); border-color: var(--green); }
.editor-actions .editor-home { height: 44px; text-decoration: none; }
.editor-status { min-height: 18px; margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.editor-preview { height: 100vh; padding: 18px; }
.editor-preview iframe { width: 100%; height: 100%; border: 1px solid rgba(19,36,29,.15); border-radius: 8px; background: #fff; box-shadow: 0 18px 55px rgba(16,40,31,.12); }

@media (max-width: 820px) {
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(50px, 16vw, 82px); }
  .event-strip { grid-template-columns: 1fr; }
  .event-strip div, .event-strip div:not(:first-child) { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-strip .countdown-cell, .event-strip .countdown-cell:not(:first-child) { margin-top: 8px; padding: 18px 20px; border-bottom: 0; box-shadow: inset 5px 0 0 var(--lime), 0 14px 34px rgba(13,45,33,.16); }
  .event-strip .countdown { font-size: 24px; }
  .event-strip div:last-child { border-bottom: 0; }
  .builder-grid { grid-template-columns: 1fr; }
  .builder-panel { padding: 28px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-panel { min-height: 600px; }
  .faq-section { grid-template-columns: 1fr; gap: 42px; padding-bottom: 76px; }
  .faq-intro { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .why-grid h3 { margin-top: 22px; }
  .demo-section { grid-template-columns: 1fr; gap: 46px; }
  footer { align-items: flex-start; flex-direction: column; }
  .editor-shell { grid-template-columns: 1fr; }
  .editor-panel { height: auto; overflow: visible; border-right: 0; }
  .editor-preview { height: 760px; }
}

@media (max-width: 520px) {
  .topbar, .hero, .builder-grid, .faq-section { width: min(100% - 24px, 1180px); }
  .topbar { height: 66px; }
  .status-pill { padding: 7px 9px; font-size: 10px; }
  .topbar-actions { gap: 6px; }
  .edit-copy-link { height: 30px; padding: 0 9px; font-size: 9px; }
  .hero { padding-bottom: 40px; }
  .hero-copy { font-size: 15px; }
  .pick-list, .call-grid { grid-template-columns: 1fr; }
  .reason-field, .avatar-field { grid-column: auto; }
  .section-heading { grid-template-columns: 40px 1fr; }
  .step { width: 36px; height: 36px; }
  .preview-panel { min-height: 520px; padding: 18px; }
  .share-actions { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .support-main { width: min(100% - 24px, 940px); padding-top: 52px; }
  .demo-section { padding: 68px 18px; }
  .demo-stage { min-height: 390px; padding: 24px; }
  .demo-form-card { width: 80%; }
  .demo-result-card { right: 24px; width: 68%; }
  .editor-panel { padding: 22px 16px; }
  .editor-actions { grid-template-columns: 1fr; }
}

