:root {
  --ink: #07111b;
  --navy: #0a253a;
  --navy-soft: #133a53;
  --cream: #f6f0e3;
  --paper: #fffdf8;
  --gold: #e5b650;
  --gold-light: #f5d889;
  --orange: #ed6a33;
  --sky: #b9dbe6;
  --muted: #667580;
  --line: #d9d4c8;
  --shadow: 0 24px 70px rgba(7, 17, 27, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

.site-header {
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(7, 17, 27, .96);
  color: #fff;
  border-bottom: 1px solid rgba(229, 182, 80, .35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand img {
  width: 142px;
  height: 36px;
  object-fit: contain;
}

.header-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.hero {
  min-height: 610px;
  padding: clamp(64px, 8vw, 118px) max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(185, 219, 230, .2), transparent 26%),
    linear-gradient(135deg, #07111b 0%, #0a253a 58%, #12415c 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font: 750 clamp(46px, 6.6vw, 86px)/.96 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.lead {
  max-width: 740px;
  margin: 26px 0 0;
  color: #d7e4ea;
  font-size: clamp(18px, 2vw, 22px);
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 8px 12px;
  color: #e6edf0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.preview-card {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(245, 216, 137, .65);
  border-radius: 28px;
  box-shadow: 28px 28px 0 rgba(229, 182, 80, .16), var(--shadow);
  transform: rotate(2deg);
}

.preview-card::before {
  content: "";
  position: absolute;
  width: 86px;
  height: 8px;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--gold);
}

.preview-kicker {
  color: var(--orange);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.preview-card h2 {
  margin: 17px 0 12px;
  font: 750 clamp(28px, 3vw, 42px)/1 Georgia, serif;
}

.preview-card p { color: #43535e; }

.preview-meta {
  margin-top: 28px;
  padding-top: 18px;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}

.preview-meta span, .post-section > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.generator-shell {
  width: min(1180px, calc(100% - 40px));
  margin: -32px auto 80px;
  padding: clamp(28px, 5vw, 58px);
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -14px; }

.section-heading h2,
.results-heading h2 {
  margin: 0;
  font: 750 clamp(34px, 5vw, 54px)/1 Georgia, serif;
  letter-spacing: -.035em;
}

.section-heading > p:last-child,
.results-heading p {
  margin: 0;
  color: var(--muted);
}

.generator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field { min-width: 0; }
.field-wide, .submit-row, .status { grid-column: 1 / -1; }

.field > label:first-child,
.field > legend {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.field > label span { color: var(--orange); font-size: 11px; text-transform: uppercase; }

input:not([type="checkbox"]), select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfc7ca;
  border-radius: 11px;
  outline: none;
}

input:focus, select:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(19, 58, 83, .13);
}

.platform-field {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-field legend { width: 100%; }

.platform-field label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.submit-row {
  display: grid;
  grid-template-columns: minmax(240px, auto) 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

.primary-button, .secondary-button, .copy-button, .text-button {
  cursor: pointer;
  border: 0;
  font-weight: 850;
}

.primary-button {
  min-height: 56px;
  padding: 14px 19px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #171109;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(185, 135, 31, .22);
}

.primary-button:disabled { cursor: wait; opacity: .65; }

.privacy-note {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.status { min-height: 24px; color: var(--navy); font-size: 14px; font-weight: 750; }
.status.error { color: #9e2f1e; }

.results {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.results-heading > div:first-child { max-width: 760px; }

.results-heading p:not(.eyebrow) { margin-top: 14px; }

.result-actions { display: flex; gap: 10px; align-items: center; }

.secondary-button {
  padding: 12px 15px;
  color: #fff;
  background: var(--navy);
  border-radius: 10px;
}

.text-button { padding: 10px; color: var(--navy); background: transparent; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.post-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 14px 0 9px;
  font: 750 27px/1.05 Georgia, serif;
}

.post-idea { margin: 0 0 20px; color: #40515d; }

.post-section {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.post-section p {
  margin: 7px 0 0;
  color: #43535e;
  font-size: 14px;
  white-space: pre-line;
}

.copy-button {
  margin-top: auto;
  padding: 11px;
  color: var(--navy);
  background: #e7f0f2;
  border-radius: 9px;
}

.trust-strip {
  padding: 56px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  color: #fff;
  background: var(--navy);
}

.trust-strip div { display: grid; gap: 5px; }
.trust-strip b { color: var(--gold-light); font: 750 24px/1 Georgia, serif; }
.trust-strip span { color: #c7d4d9; font-size: 14px; }

footer {
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #c3ccd2;
  background: var(--ink);
  font-size: 13px;
}

footer > div { display: grid; gap: 4px; }
footer b { color: #fff; }
footer nav { display: flex; gap: 18px; align-items: center; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .preview-card { max-width: 520px; transform: none; }
  .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .site-header { min-height: 64px; }
  .brand img { width: 116px; }
  .brand span { display: none; }
  .header-link { font-size: 12px; }
  .hero { padding: 60px 20px 76px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .proof-list { display: grid; }
  .generator-shell { width: calc(100% - 20px); margin-top: -24px; padding: 25px 18px; border-radius: 20px; }
  .section-heading, .generator-form { grid-template-columns: 1fr; }
  .section-heading .eyebrow, .field-wide, .submit-row, .status { grid-column: auto; }
  .section-heading .eyebrow { margin-bottom: -8px; }
  .submit-row { grid-template-columns: 1fr; }
  .primary-button { width: 100%; }
  .results { width: calc(100% - 24px); }
  .results-heading { display: grid; }
  .result-actions { width: 100%; }
  .secondary-button { flex: 1; }
  .calendar-grid, .trust-strip { grid-template-columns: 1fr; }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
