/* The Settled Mind · dark plum theme (brand decision 2026-09-29). Mobile first. */
:root {
  --bg: #2B2135; --bg-deep: #1E1726; --card: #3A2D45; --line: #4A3C57;
  --ink: #F6EEE8; --muted: #B3A3B5; --peach: #FFB385; --orange: #FF9550; --sage: #A8CFA8; --error: #F29A8E;
  --serif: 'Lora', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 17px/1.55 var(--sans);
  background: radial-gradient(ellipse 80% 60% at 20% 0%, #4A3450 0%, var(--bg) 60%) fixed, var(--bg);
}
a { color: var(--peach); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 6px; }

.top, main, .foot { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.top { padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 20px var(--serif); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-block: 24px 40px; }
.eyebrow { color: var(--peach); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0; }
h1 { font: 600 clamp(40px, 7vw, 64px)/1.05 var(--serif); margin: 10px 0 16px; text-wrap: balance; }
h1 em, h2 em { color: var(--peach); }
h2 { font: 600 clamp(28px, 4vw, 36px)/1.15 var(--serif); margin: 0 0 12px; text-wrap: balance; }
h3 { font: 600 20px var(--serif); margin: 26px 0 10px; }
.lead { font-size: 20px; color: #E3D6E3; max-width: 34ch; margin: 0 0 24px; }
.small { font-size: 14px; color: var(--muted); }
.sub { color: #E3D6E3; margin: 0 0 22px; max-width: 60ch; }
.art { display: flex; justify-content: center; }
.cover { width: min(340px, 80%); height: auto; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); transform: rotate(-3deg); }

.btn {
  display: inline-block; background: var(--peach); color: var(--bg); font: 600 18px var(--sans); border: 0; border-radius: 999px;
  padding: 14px 28px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #FFC4A0; transform: translateY(-1px); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* what's inside */
.inside { padding-block: 20px 40px; }
.practices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 16px; }
.practice { background: var(--card); border-radius: 16px; padding: 18px; min-width: 0; }
.practice .n { color: var(--peach); font-weight: 600; font-size: 14px; }
.practice h3 { margin: 4px 0 6px; font-size: 20px; }
.practice p { margin: 0; color: var(--muted); font-size: 15px; }

/* form */
.join { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 24px; padding: 32px clamp(18px, 4vw, 40px); margin-block: 20px 50px; }
.row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
label, legend { font-weight: 600; }
label span, legend span { color: var(--muted); font-weight: 400; font-size: 14px; }
input[type=text], input[type=email], input:not([type]) {
  background: var(--bg-deep); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 17px var(--sans); width: 100%;
}
input:focus { border-color: var(--peach); outline: none; }
input.bad { border-color: var(--error); }
.hint { font-size: 15px; min-height: 1.2em; }
.hint .err { color: var(--error); }
.hint .sug { color: var(--ink); }
.hint button {
  margin: 6px 8px 0 0; background: transparent; color: var(--peach); border: 1.5px solid var(--peach); border-radius: 999px;
  padding: 6px 14px; font: 600 14px var(--sans); cursor: pointer;
}
.hint button.primary { background: var(--peach); color: var(--bg); }

fieldset { border: 0; padding: 0; margin: 10px 0 24px; }
legend { margin-bottom: 12px; font-size: 18px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 10px; text-align: left; background: var(--bg-deep); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; font: 16px/1.3 var(--sans); cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choice::before {
  content: ''; flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted);
  background: center / 14px no-repeat;
}
.choice:hover { border-color: var(--peach); }
.choice[aria-pressed=true] { background: #4A3450; border-color: var(--peach); }
.choice[aria-pressed=true]::before {
  border-color: var(--peach); background-color: var(--peach);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%232B2135' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin: 6px 0 6px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--peach); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--error); margin-top: 12px; min-height: 1.2em; }

.done { text-align: center; }
.done .sub { margin-inline: auto; }
.audio { list-style: none; padding: 0; margin: 0 auto; max-width: 560px; display: grid; gap: 10px; text-align: left; }
.audio li { background: var(--card); border-radius: 14px; padding: 12px 14px; }
.audio .t { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; margin-bottom: 6px; }
.audio .t a { font-weight: 400; font-size: 14px; }
.audio audio { width: 100%; height: 36px; }

.foot { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-block: 20px 40px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .cover { width: min(200px, 55%); }
  .row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
