/* Shared by the learn.surgexi.com pages beyond the home page. Base styles copied from index.html. */
:root {
  --bg: #FDFBF7;
  --bg-warm: #F6EFE3;
  --text: #2C2A26;
  --text-soft: #6B665C;
  --accent: #B07843;
  --accent-deep: #8B5A3C;
  --border: #E8E1D4;
  --card: #FFFFFF;
  --success: #4A6741;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; overflow-x: hidden; } body { overflow-x: hidden; max-width: 100vw; }
body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 9vw, 4rem); word-break: break-word;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Section */
section { padding: 56px 0; }
section.alt { background: var(--bg-warm); }
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 6vw, 2.4rem); word-break: break-word;
  margin-bottom: 28px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}
p { font-size: 1.15rem; margin-bottom: 20px; color: var(--text); }
p.lead { font-size: 1.3rem; line-height: 1.55; color: var(--text); }
strong { color: var(--accent-deep); font-weight: 600; }

/* What you'll learn list */
.learn-list { list-style: none; }
.learn-list li {
  padding: 18px 0 18px 56px;
  position: relative;
  font-size: 1.15rem;
  border-bottom: 1px solid var(--border);
}
.learn-list li:last-child { border-bottom: 0; }
.learn-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 32px; height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* Event details card */
.event-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  margin: 40px 0;
}
.event-detail {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.event-detail:last-child { border-bottom: 0; }
.event-detail .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
  min-width: 130px;
}
.event-detail .value { color: var(--text); font-size: 1.15rem; }

/* Registration form */
.register-section {
  background: var(--bg-warm);
  padding: 72px 0;
}
.form-wrap {
  background: var(--card);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(176, 120, 67, 0.08);
}
.form-row { margin-bottom: 22px; }
fieldset.form-row { border: 0; }
.session-pick legend { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; margin-bottom: 10px; color: var(--text); }
.session-pick .choice { display: flex; gap: 12px; align-items: center; font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; font-size: 1.15rem; padding: 14px 16px; border: 2px solid var(--border); border-radius: 8px; margin-bottom: 10px; cursor: pointer; background: var(--card); }
.session-pick .choice:has(input:checked) { border-color: var(--accent-deep); background: var(--bg-warm); }
.session-pick input[type="radio"] { width: 22px; height: 22px; accent-color: var(--accent-deep); flex: none; }
.hero-when { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--text); margin: 24px auto 8px; }
.hero-venue { font-size: 1.1rem; color: var(--text-soft); max-width: 580px; margin: 0 auto; }
.hero-venue a, .event-detail a { color: var(--accent-deep); font-weight: 600; }
label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.optional {
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.85rem;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border 0.15s;
}
input:focus, textarea:focus {
  outline: 0;
  border-color: var(--accent);
}
textarea { min-height: 100px; resize: vertical; }
.submit-btn {
  width: 100%;
  background: var(--accent-deep);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 18px 24px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.submit-btn:hover { background: var(--accent); }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { background: var(--text-soft); cursor: wait; }

.form-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-top: 18px;
}

#result {
  display: none;
  padding: 24px;
  border-radius: 10px;
  margin-top: 24px;
  text-align: center;
  font-size: 1.1rem;
}
#result.success {
  display: block;
  background: #EEF3E9;
  color: var(--success);
  border: 1px solid var(--success);
}
#result.error {
  display: block;
  background: #F8EDE9;
  color: #8B3C3C;
  border: 1px solid #8B3C3C;
}

/* Reassurance section */
.reassure {
  text-align: center;
  background: var(--card);
  padding: 56px 32px;
  border-radius: 12px;
  margin: 40px 0;
  border: 1px solid var(--border);
}
.reassure p {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Footer */
footer {
  background: var(--text);
  color: #D8D2C5;
  padding: 40px 0 32px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
}
footer a { color: #E8C599; text-decoration: none; display: inline-block; padding: 8px 2px; }
footer a:hover { text-decoration: underline; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; color: white; margin-bottom: 12px; }

/* Responsive */
@media (max-width: 560px) { h1 { font-size: 1.75rem !important; line-height: 1.15 !important; padding: 0 4px; } h2 { font-size: 1.35rem !important; } .hero-tagline { font-size: 1.05rem !important; }
  .hero { padding: 56px 0 40px; } h1 { font-size: 2rem !important; } h2 { font-size: 1.4rem !important; } .hero-tagline { font-size: 1.1rem !important; }
  section { padding: 40px 0; }
  .form-wrap { padding: 32px 24px; }
  .event-card { padding: 28px 22px; }
  .event-detail { flex-direction: column; gap: 4px; padding: 14px 0; }
  .event-detail .label { min-width: auto; }
}

/* ---- Pages beyond the home page (assets/site.css) ---- */
.topbar { font-family: 'Inter', sans-serif; font-size: 1rem; padding: 16px 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--accent-deep); font-weight: 600; text-decoration: none; display: inline-block; padding: 7px 4px; }
.topbar a:hover, .topbar a:focus-visible { text-decoration: underline; }
a { color: var(--accent-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-deep); outline-offset: 2px;
}
footer a:focus-visible { outline-color: #E8C599; }
.page-hero { background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%); padding: 56px 0 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
.jump { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn { display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.1rem; padding: 16px 24px;
  border-radius: 10px; text-decoration: none; background: var(--accent-deep); color: #fff; border: 2px solid var(--accent-deep); }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.secondary { background: var(--card); color: var(--accent-deep); }
.btn.secondary:hover { background: var(--bg-warm); }
ul.plain { padding-left: 1.3em; margin-bottom: 20px; }
ul.plain li { font-size: 1.15rem; margin-bottom: 10px; }
ol.steps { list-style: none; counter-reset: step; margin: 8px 0 24px; }
ol.steps li { counter-increment: step; position: relative; padding: 14px 0 14px 60px; font-size: 1.15rem; border-bottom: 1px solid var(--border); }
ol.steps li:last-child { border-bottom: 0; }
ol.steps li::before { content: counter(step); position: absolute; left: 8px; top: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-deep); color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.1rem; cursor: pointer; padding: 6px 0; min-height: 44px; }
.faq details p { margin: 12px 0 0; }
.facts { margin: 24px 0; }
h3 { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
select { width: 100%; font-family: 'Source Serif 4', serif; font-size: 1.1rem; padding: 14px 16px; border: 2px solid var(--border);
  border-radius: 8px; background: var(--bg); color: var(--text); }
fieldset.choices { border: 0; margin-bottom: 22px; }
fieldset.choices legend { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
fieldset.choices .opts { display: flex; gap: 10px; flex-wrap: wrap; }
fieldset.choices label.opt { display: flex; align-items: center; gap: 10px; font-family: 'Source Serif 4', serif; font-weight: 400; font-size: 1.1rem;
  padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; background: var(--card); margin: 0; cursor: pointer; }
fieldset.choices label.opt:has(input:checked) { border-color: var(--accent-deep); background: var(--bg-warm); }
fieldset.choices .opts input { width: 22px; height: 22px; accent-color: var(--accent-deep); }
.in-person-only[hidden] { display: none; }
.preset { font-size: 1.15rem; padding: 14px 16px; border: 2px dashed var(--border); border-radius: 8px; background: var(--bg); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-result { display: none; padding: 20px; border-radius: 10px; margin-top: 20px; font-size: 1.1rem; }
.form-result.error { display: block; background: #F8EDE9; color: #8B3C3C; border: 1px solid #8B3C3C; }
.divider { border: 0; border-top: 2px solid var(--border); margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
[hidden] { display: none !important; }
footer p { color: #D8D2C5; }
fieldset.choices > .form-row { margin-bottom: 14px; }

/* The family series page (rev 186) */
.container.narrow { max-width: 760px; }
.family .lede { font-size: 1.15rem; line-height: 1.65; }
.family .byline { font-style: italic; margin-top: 8px; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table.schedule { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
table.schedule th, table.schedule td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e3ddd2; }
table.schedule th { font-weight: 600; }
/* approvals 2120: a finished Part is labelled Done, the next one is highlighted */
table.schedule tr.done td { color: var(--text-soft); }
table.schedule tr.next td { background: var(--bg-warm); font-weight: 600; }
table.schedule .tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; font-size: 0.85rem; font-weight: 600; }
table.schedule tr.done .tag { background: var(--border); color: var(--text); }
table.schedule tr.next .tag { background: var(--success); color: #fff; }
.form-card { margin-top: 28px; padding: 24px; border: 1px solid #e3ddd2; border-radius: 10px; background: #fffdf9; }
.form-card h2 { margin-top: 0; }
.help, .small { font-size: 0.92rem; color: #6b6458; margin: -6px 0 14px; }
.small { margin-top: 12px; }
label.opt.check { display: block; margin: 10px 0; font-size: 1.02rem; }
label.opt.check input { width: 20px; height: 20px; vertical-align: middle; margin-right: 6px; }

/* rev 213: the marketing-consent box on the sign-up forms */
.consent { border: 0; padding: 0; margin: 16px 0 8px; }
.consent-topics { margin: 8px 0 0 28px; border: 0; padding: 0; }
.consent-lead { margin: 0 0 4px; font-size: 0.95rem; }
/* rev 243: every session is recorded; the notice sits next to each sign-up button, in large type. */
.recording-notice { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.15rem; line-height: 1.55; color: var(--text);
  background: var(--bg-warm); border: 2px solid var(--accent-deep); border-radius: 10px; padding: 16px 20px;
  margin: 20px auto; max-width: 620px; text-align: left; }
.recording-notice strong { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--accent-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
