:root {
  --paper: #fbf4e3;
  --paper-deep: #ead7a7;
  --ink: #201a16;
  --muted: #6d5b4c;
  --red: #9f2732;
  --red-dark: #681821;
  --green: #2f6b58;
  --gold: #b88732;
  --line: rgba(32, 26, 22, 0.18);
  --shadow: 0 24px 70px rgba(41, 25, 13, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 244, 227, 0.96), rgba(234, 215, 167, 0.72)),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("assets/Patterns/synctura-seal-tent-path-monogram-tile.png");
  background-size: 184px 184px;
  opacity: 0.11;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(180deg, rgba(251, 244, 227, 0), rgba(251, 244, 227, 0.86));
  pointer-events: none;
}

.hero-seal {
  position: absolute;
  width: min(58vw, 640px);
  right: max(3vw, 24px);
  top: 50%;
  translate: 0 -46%;
  opacity: 0.24;
  filter: drop-shadow(0 28px 46px rgba(62, 32, 18, 0.18));
}

.hero-inner,
.band-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.brand {
  position: absolute;
  top: clamp(20px, 4vw, 42px);
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--red-dark);
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(251, 244, 227, 0.74);
  border: 1px solid rgba(104, 24, 33, 0.28);
  padding: 4px;
}

.hero-copy {
  max-width: 690px;
  padding: 118px 0 70px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(4.1rem, 13vw, 9.5rem);
  text-shadow: 0 3px 0 rgba(184, 135, 50, 0.18);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
}

.lede {
  max-width: 660px;
  margin: 26px 0 0;
  font-size: clamp(1.28rem, 2.5vw, 1.82rem);
  line-height: 1.36;
  color: #30251e;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.reader-note {
  max-width: 420px;
  margin: 12px 0 0;
  color: #4a3b31;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 20px;
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(44, 25, 13, 0.16);
  cursor: pointer;
}

.primary {
  color: #fff9ed;
  background: var(--red);
  border: 1px solid rgba(104, 24, 33, 0.28);
}

.secondary {
  color: var(--red-dark);
  background: rgba(251, 244, 227, 0.72);
  border: 1px solid rgba(104, 24, 33, 0.24);
}

.signup-form {
  max-width: 570px;
  margin-top: 34px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.signup-title {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 1rem;
  font-weight: 800;
}

.signup-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 12px;
}

.signup-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.signup-form em {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.signup-form input[type="email"],
.signup-form input[type="text"],
.signup-form input[name="name"],
.signup-form input[name="website"] {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(104, 24, 33, 0.22);
  border-radius: 8px;
  background: rgba(255, 249, 237, 0.84);
  color: var(--ink);
  font: 1rem/1.2 "Segoe UI", Arial, sans-serif;
  padding: 10px 12px;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
}

.consent input {
  margin-top: 2px;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile {
  min-height: 65px;
  margin-top: 14px;
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.signup-actions .button {
  box-shadow: none;
  cursor: pointer;
}

.signup-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.signup-status.error {
  color: var(--red-dark);
  font-weight: 750;
}

.signup-status.success {
  color: var(--green);
  font-weight: 750;
}

.reader-dialog {
  width: min(440px, calc(100% - 34px));
  border: 1px solid rgba(104, 24, 33, 0.24);
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 249, 237, 0.98);
  box-shadow: var(--shadow);
}

.reader-dialog::backdrop {
  background: rgba(32, 26, 22, 0.38);
}

.dialog-inner {
  padding: 24px;
}

.dialog-inner h2 {
  max-width: none;
  color: var(--red-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

.dialog-inner p {
  margin: 12px 0 18px;
  color: #3c3028;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .hero {
    min-height: 82svh;
  }

  .hero-seal {
    width: min(86vw, 420px);
    right: 50%;
    top: 39%;
    translate: 50% -50%;
    opacity: 0.18;
  }

  .hero-copy {
    padding-top: 116px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }

  .signup-fields {
    grid-template-columns: 1fr;
  }

  .signup-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }
}
