:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #666666;
  --rule: #f2f2f2;
  --accent: #e10600;

  --content-width: 980px;
  --side-padding: 96px;
  --section-pad: 56px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* =======================
   Layout
======================= */
.content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
}

/* Make action affordances obvious */
.btn,
.link,
.footer__brand,
.brand {
  cursor: pointer;
}

/* =======================
   Topbar
======================= */
.topbar__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* stronger brand hover */
.brand:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* =======================
   Links (text)
======================= */
.link {
  font-size: 16px;
  opacity: 0.85;
  position: relative;
}

/* stronger hover: weight + opacity */
.link:hover {
  opacity: 1;
  font-weight: 600;
}

/* underline anim (more obvious than fade) */
.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 90ms ease;
}

.link:hover::after,
.link:focus-visible::after {
  transform: scaleX(1);
}

/* =======================
   Focus styles (strong)
======================= */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =======================
   Hero
======================= */
.hero {
  min-height: calc(70vh - 72px);
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.hero__inner--centered { text-align: center; }

.hero__title {
  margin: 0;
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.04;
}

.hero__tagline {
  margin: 24px auto 0;
  font-size: 32px;
  color: var(--muted);
  max-width: 720px;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* =======================
   Buttons (strong hover)
======================= */
.btn {
  height: 56px;
  padding: 0 28px;
  font-size: 18px;
  font-weight: 800;                 /* slightly bolder */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 2px solid transparent;    /* thicker = more brutal */
  transition:
    transform 90ms ease,
    background-color 90ms ease,
    color 90ms ease,
    border-color 90ms ease;
  user-select: none;
}

/* Primary */
.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: #b80000;              /* darker red */
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn--ghost:active {
  transform: translateY(0);
}

/* =======================
   Sections
======================= */
.section { padding: var(--section-pad) 0; }

.section-title {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.body {
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
}

/* =======================
   Steps
======================= */
.steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  justify-items: center;
  text-align: center;
}

.step {
  text-align: center;
  width: 100%;
  max-width: 260px;
}

.step__num {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.step__label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 900;                 /* bolder for brutal */
  letter-spacing: 0.10em;
}

.how__cta { margin-top: 44px; }

/* =======================
   Footer (stacked + centered)
======================= */
.footer {
  padding: 44px 0 56px;
  border-top: 1px solid var(--rule);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer__brand {
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
}

/* stronger hover for footer brand */
.footer__brand:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer__meta {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
}

/* =======================
   Responsive
======================= */
@media (max-width: 1024px) {
  :root {
    --side-padding: 40px;
    --content-width: 900px;
    --section-pad: 44px;
  }

  .hero__title { font-size: 72px; }
  .hero__tagline { font-size: 26px; }
  .steps { gap: 28px; }
}

@media (max-width: 640px) {
  :root {
    --side-padding: 20px;
    --section-pad: 36px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .hero__title { font-size: 48px; }
  .hero__tagline { font-size: 20px; max-width: 100%; }

  .section-title { font-size: 30px; }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .step { max-width: none; }
}
/* =========================
   Create Page (dvite.rsvp style)
   Scoped: .create-page
========================= */

.create-page {
  background: #fafafa;
  color: #111;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.create-page a { color: inherit; }
.create-page * { box-sizing: border-box; }

/* Topbar */
.create-page .c-topbar {
  background: #fafafa;
  position: sticky;
  top: 0;
  z-index: 10;
}

.create-page .c-topbar__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.create-page .c-brand {
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.create-page .c-back {
  text-decoration: none;
  color: #222;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.create-page .c-back__chev { font-size: 18px; line-height: 1; }

.create-page .c-rule {
  height: 1px;
  background: #e8e8e8;
}

/* Layout */
.create-page .c-main {
  padding: 34px 0 80px;
}

.create-page .c-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 22px;
}

.create-page .c-h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 6px 0 22px;
  font-weight: 650;
}

.create-page .c-form {
  display: grid;
  gap: 18px;
}

/* Fields */
.create-page .c-field { display: grid; gap: 10px; }

.create-page .c-label {
  font-size: 16px;
  font-weight: 600;
}

.create-page .c-label__muted {
  font-weight: 500;
  color: #6d6d6d;
}

/* Inputs */
.create-page .c-input,
.create-page .c-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 14px 14px;
  font-size: 16px;
  outline: none;
}

.create-page .c-textarea {
  min-height: 92px;
  resize: vertical;
}

.create-page .c-input::placeholder { color: #9a9a9a; }

.create-page .c-input:focus,
.create-page .c-textarea:focus {
  border-color: #cfcfcf;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.create-page .c-input--compact {
  padding: 12px 14px;
}

/* Date row */
.create-page .c-inputRow {
  position: relative;
  display: flex;
  align-items: center;
}

.create-page .c-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  opacity: 0.7;
}

.create-page .c-input--row {
  padding-left: 40px;
}

/* Tone radios (match screenshot: circles + label) */
.create-page .c-radioRow {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.create-page .c-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #222;
  cursor: pointer;
  user-select: none;
}

.create-page .c-radio input {
  width: 18px;
  height: 18px;
  accent-color: #d61f2a; /* red */
}

/* Recipients */
.create-page .c-recips {
  display: grid;
  gap: 10px;
}

.create-page .c-add {
  margin-top: 2px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  font-size: 16px;
  color: #6d6d6d;
  cursor: pointer;
}

.create-page .c-add:hover { color: #333; }

/* Upload CSV box */
.create-page .c-upload {
  position: relative;
  border: 1px dashed #d9d9d9;
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  cursor: pointer;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}

.create-page .c-upload.is-drag {
  border-color: #bfbfbf;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

.create-page .c-upload__inner {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: #6d6d6d;
}

.create-page .c-upload__icon { font-size: 20px; opacity: 0.8; }
.create-page .c-upload__title { font-weight: 600; color: #333; }
.create-page .c-upload__sub { font-size: 14px; }

.create-page .c-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Primary button */
.create-page .c-btn {
  margin-top: 6px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #d61f2a;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(214, 31, 42, 0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.create-page .c-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(214, 31, 42, 0.22);
  background: #c61b25;
}

.create-page .c-btn:active {
  transform: translateY(0px);
  box-shadow: 0 8px 16px rgba(214, 31, 42, 0.18);
}

/* Terms */
.create-page .c-terms {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: #6d6d6d;
}

.create-page .c-terms a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

.create-page .c-terms a:hover {
  border-bottom-color: rgba(0,0,0,0.35);
}

/* Mobile */
@media (max-width: 520px) {
  .create-page .c-h1 { font-size: 34px; }
  .create-page .c-radioRow { gap: 16px; }
}

/* =======================
   Preview page
======================= */
.preview-shell {
  padding-bottom: 32px;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: start;
}

.poster {
  border: 2px solid var(--text);
  background: #fff;
}

.poster__inner {
  padding: 26px;
}

.poster__tag {
  display: inline-block;
  border: 2px solid var(--text);
  padding: 8px 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 12px;
  text-transform: uppercase;
}

.poster__hero {
  margin-top: 18px;
  padding: 18px 0 14px;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
}

.poster__title {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.0;
  text-transform: uppercase;
  margin: 0;
}

.poster__sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.35;
  max-width: 70ch;
}

.poster__meta {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.poster__metaRow {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: baseline;
}

.poster__label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.poster__value {
  font-size: 16px;
  font-weight: 800;
}

.poster__footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.poster__fine {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

/* Tone accents (subtle) */
.poster[data-tone="brutal"] .poster__tag { background: var(--text); color: #fff; }
.poster[data-tone="polite"] .poster__tag { background: #fff; color: var(--text); }
.poster[data-tone="funny"] .poster__tag { background: var(--accent); color: #fff; border-color: var(--accent); }

.panel {
  border: 1px solid var(--rule);
  padding: 22px;
  background: #fff;
}

.panel__head { margin-bottom: 14px; }
.panel__kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.panel__title {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.panel__smallTitle {
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.copyrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.panel__actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.soft-rule {
  margin: 18px 0;
  opacity: 0.65;
}

/* Responsive */
@media (max-width: 980px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .poster__title { font-size: 44px; }
}
/* =========================
   DVITE Example Page
   Scoped: .dvite-page
========================= */
.dvite-page {
  background: #ffffff;
  color: #0a0a0a;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.dvite-page * { box-sizing: border-box; }

.dvite-page .dv-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

.dvite-page .dv-rule {
  height: 1px;
  background: #e6e6e6;
}

/* Header */
.dvite-page .dv-topbar {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}

.dvite-page .dv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.dvite-page .dv-brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
}

.dvite-page .dv-link {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.dvite-page .dv-link:hover {
  text-decoration: underline;
}

/* Main */
.dvite-page .dv-main {
  padding-top: 54px;
  padding-bottom: 60px;
}

.dvite-page .dv-hero {
  text-align: center;
  padding: 6px 0 28px;
}

/* Badge */
.dvite-page .dv-badge {
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid #d61f2a;
  color: #111;
  font-weight: 900;
  letter-spacing: 0.10em;
  font-size: 14px;
  border-radius: 6px;
}

/* Title */
.dvite-page .dv-title {
  margin: 28px auto 0;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.dvite-page .dv-title__name {
  display: inline-block;
}

/* Subhead */
.dvite-page .dv-sub {
  margin: 22px auto 0;
  max-width: 760px;
  font-size: 22px;
  line-height: 1.55;
  color: #5d5d5d;
}

/* Details card */
.dvite-page .dv-card {
  margin: 34px auto 0;
  max-width: 720px;
  border: 1px solid #e6e6e6;
  background: #fff;
  text-align: left;
}

.dvite-page .dv-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 22px;
}

.dvite-page .dv-row + .dv-row {
  border-top: 1px solid #efefef;
}

.dvite-page .dv-k {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
  font-weight: 800;
}

.dvite-page .dv-v {
  font-size: 22px;
  font-weight: 650;
  color: #111;
}

/* Meta line under card */
.dvite-page .dv-meta {
  margin: 18px auto 0;
  max-width: 720px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #6a6a6a;
  font-size: 18px;
}

/* CTA */
.dvite-page .dv-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.dvite-page .dv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 34px;
  border-radius: 0;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 16px;
}

.dvite-page .dv-btn--primary {
  background: #d61f2a;
  color: #fff;
  box-shadow: 0 14px 30px rgba(214, 31, 42, 0.18);
}

.dvite-page .dv-btn--primary:hover {
  background: #c61b25;
  transform: translateY(-1px);
}

.dvite-page .dv-btn--primary:active {
  transform: translateY(0px);
}

/* Footer */
.dvite-page .dv-footer {
  margin-top: 54px;
  padding-top: 44px;
  border-top: 1px solid #e6e6e6;
  text-align: center;
}

.dvite-page .dv-footer__brand {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.dvite-page .dv-footer__note {
  margin-top: 10px;
  color: #7a7a7a;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 640px) {
  .dvite-page .dv-row { grid-template-columns: 92px 1fr; }
  .dvite-page .dv-v { font-size: 20px; }
  .dvite-page .dv-meta { flex-direction: column; align-items: center; }
  .dvite-page .dv-sub { font-size: 18px; }
}

/* =========================
   Tone Switcher
========================= */
.dvite-page .dv-toneSwitch {
  margin-top: 32px;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dvite-page .dv-toneBtn {
  appearance: none;
  background: #fff;
  border: 2px solid #e3e3e3;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: #111;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

.dvite-page .dv-toneBtn:hover {
  border-color: #cfcfcf;
  transform: translateY(-1px);
}

.dvite-page .dv-toneBtn.is-active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

/* Optional subtle accent by tone */
.dvite-page[data-tone="savage"] .dv-toneBtn.is-active {
  background: #d61f2a;
  border-color: #d61f2a;
}

.dvite-page[data-tone="petty"] .dv-toneBtn.is-active {
  background: #444;
  border-color: #444;
}

.dvite-page[data-tone="neutral"] .dv-toneBtn.is-active {
  background: #777;
  border-color: #777;
}