/* The Anxiety Reset pages. Cream and soft yellow, calm and unhurried. */
:root {
  --cream: #FBF6EA;
  --cream-deep: #F5ECD6;
  --card: #FFFDF7;
  --butter: #F8E9B5;
  --yellow: #F2D27A;
  --yellow-deep: #E6BE55;
  --ink: #3F3A33;
  --ink-soft: #6B6358;
  --line: #EFE1BC;
  --error: #9A3B2E;
  --radius: 20px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  background-image:
    radial-gradient(circle at 15% -10%, rgba(248, 233, 181, 0.9), transparent 45%),
    radial-gradient(circle at 110% 30%, rgba(242, 210, 122, 0.35), transparent 40%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--ink); }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  padding-top: 28px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

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

main { flex: 1; }

/* Landing page */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-block;
  background: var(--butter);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  text-wrap: balance;
}

h1 em {
  font-style: italic;
  background: linear-gradient(transparent 62%, var(--butter) 62%);
  padding: 0 4px;
}

.lede {
  font-size: 21px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 34em;
  text-wrap: pretty;
}

.points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.points li {
  position: relative;
  padding-left: 34px;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 5px var(--butter);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  box-shadow: 0 30px 60px -30px rgba(120, 95, 30, 0.25);
}

.card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.card .small {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 22px;
}

label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  outline: none;
  border-color: var(--yellow-deep);
  box-shadow: 0 0 0 4px rgba(242, 210, 122, 0.45);
}

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

.turnstile { margin: 0 0 18px; min-height: 65px; }

.button {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 999px;
  padding: 18px 22px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px -10px rgba(170, 125, 20, 0.7);
  transition: background 0.15s, transform 0.15s;
}

.button:hover { background: var(--yellow-deep); }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.button[disabled] { opacity: 0.7; cursor: wait; }

.form-error {
  color: var(--error);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
}

.form-error:empty { display: none; }

.privacy-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 16px 0 0;
  text-align: center;
}

/* Who it's for */
.band {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.band .inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.2;
  margin: 0 0 18px;
}

.band p { margin: 0 0 16px; color: var(--ink-soft); }

.band .button { display: inline-block; width: auto; margin-top: 12px; padding: 18px 34px; }

/* Watch page */
.watch {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 48px;
  padding-bottom: 72px;
  text-align: center;
}

.watch .lede { margin-left: auto; margin-right: auto; }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(120, 95, 30, 0.35);
  margin: 8px 0 32px;
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: left;
  color: var(--ink-soft);
  font-size: 16px;
}

.note strong { color: var(--ink); }

/* Plain text pages */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 48px;
  padding-bottom: 72px;
}

.prose h1 { font-size: clamp(32px, 4.4vw, 44px); }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

footer p { margin: 0 0 8px; }
footer a { color: var(--ink-soft); }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; padding-bottom: 56px; }
  .lede { font-size: 19px; }
  .card { padding: 28px 22px 24px; }
  .band { padding: 48px 0; }
  .watch, .prose { padding-top: 32px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
