:root {
  --ink: #ffffff;
  --muted: #b7b7b7;
  --cream: #050505;
  --paper: #111111;
  --sage: #1d1d1d;
  --green: #ff6a00;
  --green-dark: #d94c00;
  --orange: #ff6a00;
  --orange-soft: rgba(255, 106, 0, .16);
  --line: rgba(255, 255, 255, .14);
  --charcoal: #111111;
  --graphite: #1d1d1d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, .28), transparent 34rem),
    linear-gradient(135deg, #050505 0%, #111 58%, #1b0d03 100%);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; }

.site-header { max-width: 1180px; height: 88px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.brand b { font-weight: 700; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #ff7a11, var(--orange)); border-radius: 50%; font-family: "Fraunces", serif; font-size: 19px; font-weight: 700; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a { padding: 8px 11px; color: var(--muted); border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--orange); background: rgba(255,106,0,.14); }

main { overflow: hidden; }
.hero { position: relative; max-width: 1080px; margin: 0 auto; padding: 76px 24px 58px; display: grid; grid-template-columns: 1fr 245px; align-items: center; gap: 80px; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -135px; top: 5px; border: 1px solid rgba(255,106,0,.18); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,106,0,.06), 0 0 0 92px rgba(255,255,255,.025); }
.eyebrow, .section-label { margin: 0 0 16px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 28px; height: 1px; margin: 0 10px 4px 0; background: var(--orange); }
h1, .buzzword-guide h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(48px, 6.2vw, 76px); line-height: 1.01; letter-spacing: -.045em; }
h1 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-score { padding: 27px 25px; color: white; background: linear-gradient(180deg, #ff7a11, var(--orange)); border-radius: 22px; text-align: center; box-shadow: 0 18px 42px rgba(255,106,0,.22); transform: rotate(2deg); }
.score-kicker { margin: 0; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.score-number { margin: 5px 0 -4px; font-family: "Fraunces", serif; font-size: 66px; line-height: 1; }
.score-label { margin: 0 0 17px; font-size: 16px; font-weight: 700; }
.hero-score span { display: block; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.76); font-size: 10px; line-height: 1.45; }

.calendar-shell { max-width: 1080px; margin: 0 auto 105px; padding: 34px; background: rgba(17,17,17,.9); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.calendar-toolbar .section-label { margin-bottom: 7px; color: var(--orange); }
.calendar-toolbar h2 { margin: 0; font-family: "Fraunces", serif; font-size: 32px; letter-spacing: -.03em; }
.month-controls { display: flex; align-items: center; gap: 8px; }
.icon-button, .today-button { height: 39px; padding: 0 14px; color: #fff; background: var(--graphite); border: 1px solid var(--line); border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; }
.icon-button { width: 39px; padding: 0; font-size: 17px; }
.icon-button:hover, .today-button:hover { border-color: var(--orange); background: var(--orange-soft); }
.month-summary { margin: 27px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.month-summary > div { min-height: 82px; padding: 14px 20px; display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,.04); }
.month-summary > div + div { border-left: 1px solid var(--line); }
.summary-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; color: #fff; background: var(--green); border-radius: 10px; font-family: "Fraunces", serif; font-weight: 700; }
.summary-icon.squat { background: var(--orange); }
.summary-icon.people { color: var(--orange); background: var(--sage); font-size: 13px; }
.month-summary p { margin: 0; }
.month-summary strong { display: block; font-family: "Fraunces", serif; font-size: 24px; line-height: 1; }
.month-summary small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays { border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; }
.calendar-weekdays span { padding: 10px 8px; color: var(--muted); background: var(--graphite); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.calendar-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-day { position: relative; min-width: 0; min-height: 124px; padding: 11px; color: var(--ink); background: #151515; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; overflow: hidden; }
.calendar-day:hover { z-index: 1; background: #1b1b1b; box-shadow: inset 0 0 0 2px var(--orange); }
.calendar-day:focus-visible { z-index: 2; outline: 3px solid rgba(255,106,0,.45); outline-offset: -3px; }
.calendar-day.outside { color: #737373; background: #0d0d0d; }
.calendar-day.today .day-number { color: #fff; background: var(--orange); }
.calendar-day.selected { box-shadow: inset 0 0 0 2px var(--orange); }
.day-number { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; }
.day-entries { margin-top: 7px; display: grid; gap: 4px; }
.person-total { min-width: 0; padding: 5px 6px; background: var(--orange-soft); border-radius: 6px; font-size: 9px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-total span { color: var(--muted); font-weight: 600; }
.more-entries { color: var(--orange); font-size: 9px; font-weight: 700; }
.calendar-help { margin: 16px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.calendar-help span { width: 7px; height: 7px; margin-right: 7px; display: inline-block; background: var(--orange); border-radius: 50%; }

.buzzword-guide { max-width: 1080px; margin: 0 auto 110px; padding: 0 24px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: center; }
.buzzword-guide h2 { font-size: clamp(38px, 4.5vw, 55px); }
.buzzword-guide > div:first-child > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.7; }
.buzzword-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.buzzword-chip { padding: 12px 16px; color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; }
.buzzword-chip.bonus { color: #fff; background: var(--orange-soft); border-color: rgba(255,106,0,.3); }
.buzzword-chip.bonus::after { content: " +5 bonus"; margin-left: 6px; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }

footer { min-height: 90px; padding: 25px max(24px, calc((100% - 1080px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); background: #0d0d0d; font-size: 11px; }
footer span { color: var(--orange); margin: 0 5px; }

.overlay { position: fixed; z-index: 20; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.day-panel { width: min(760px, 100%); max-height: calc(100vh - 48px); padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.42); overflow-y: auto; }
.panel-header, .form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.panel-header { padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.panel-header .section-label, .form-heading .section-label { margin-bottom: 5px; color: var(--orange); }
.panel-header h2 { margin: 0; font-family: "Fraunces", serif; font-size: 29px; }
.close-button { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.close-button:hover { color: var(--ink); background: var(--graphite); }
.day-totals { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.day-total-chip { padding: 8px 11px; color: #fff; background: var(--orange-soft); border-radius: 8px; font-size: 10px; font-weight: 700; }
.empty-day { margin: 20px 0; padding: 15px; color: var(--muted); background: var(--graphite); border-radius: 10px; font-size: 12px; text-align: center; }
.saved-meetings { display: grid; gap: 8px; }
.meeting-card { padding: 13px 14px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; }
.meeting-card p { margin: 0; font-size: 12px; font-weight: 700; }
.meeting-card p span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; }
.meeting-workout { color: var(--green); font-size: 10px; font-weight: 700; white-space: nowrap; }
.delete-meeting { width: 28px; height: 28px; color: #ffb36b; background: transparent; border: 1px solid rgba(255,106,0,.32); border-radius: 7px; cursor: pointer; }
.delete-meeting:hover { background: var(--orange-soft); }
#meeting-form { margin-top: 24px; padding-top: 25px; border-top: 1px solid var(--line); }
.form-heading h3 { margin: 0; font-family: "Fraunces", serif; font-size: 23px; }
.date-pill { padding: 7px 10px; color: #fff; background: var(--orange-soft); border-radius: 99px; font-size: 10px; font-weight: 700; }
.meeting-basics { margin-top: 19px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; }
label, legend { display: block; margin: 0 0 7px; font-size: 11px; font-weight: 700; }
input { width: 100%; height: 47px; padding: 0 13px; color: var(--ink); background: #0d0d0d; border: 1px solid var(--line); border-radius: 9px; outline: none; }
input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,0,.16); }
fieldset { margin: 24px 0 0; padding: 0; border: 0; }
legend { margin-bottom: 4px; font-size: 13px; }
.fieldset-help { margin: 0 0 12px; color: var(--muted); font-size: 10px; }
.buzzword-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.buzzword-row { min-height: 47px; padding: 6px 7px 6px 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--graphite); border: 1px solid transparent; border-radius: 9px; }
.buzzword-row.active { background: var(--orange-soft); border-color: rgba(255,106,0,.28); }
.buzzword-name { font-size: 10px; font-weight: 700; }
.bonus-label { display: block; color: var(--orange); font-size: 7px; letter-spacing: .07em; text-transform: uppercase; }
.counter { display: flex; align-items: center; gap: 2px; }
.counter button { width: 29px; height: 29px; padding: 0; color: #fff; background: #101010; border: 1px solid var(--line); border-radius: 7px; font-weight: 700; cursor: pointer; }
.counter button:hover { border-color: var(--orange); }
.counter input { width: 36px; height: 29px; padding: 0; border: 0; background: transparent; font-size: 11px; font-weight: 700; text-align: center; box-shadow: none; }
.counter input::-webkit-inner-spin-button { appearance: none; }
.form-summary { margin: 17px 0 0; padding: 12px 14px; display: flex; justify-content: space-between; gap: 15px; color: var(--muted); background: var(--orange-soft); border-radius: 9px; font-size: 10px; }
.form-summary p { margin: 0; }
.form-summary strong { color: var(--ink); font-size: 14px; }
.save-button, .done-button { width: 100%; height: 52px; margin-top: 14px; color: #fff; background: linear-gradient(180deg, #ff7a11, var(--orange)); border: 0; border-radius: 9px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(255,106,0,.22); }
.save-button { display: flex; align-items: center; justify-content: center; gap: 10px; }
.save-button:hover, .done-button:hover { background: var(--green-dark); }
.save-button:disabled { cursor: not-allowed; opacity: .45; }

.result-overlay { z-index: 30; }
.result-card { position: relative; width: min(500px, 100%); padding: 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.45); text-align: center; }
.result-close { position: absolute; right: 19px; top: 19px; }
.result-card .eyebrow { color: var(--orange); }
.result-card h2 { margin: 0; font-family: "Fraunces", serif; font-size: 35px; letter-spacing: -.03em; }
.result-meeting { margin: 10px 0 24px; color: var(--muted); font-size: 12px; }
.exercise-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.exercise-results > div { position: relative; padding: 24px 12px 20px; color: #fff; background: #1d1d1d; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.exercise-results > .squat-result { background: var(--orange); border-color: var(--orange); }
.exercise-results span { position: absolute; right: 10px; top: 6px; color: rgba(255,255,255,.24); font-family: "Fraunces", serif; font-size: 38px; font-weight: 700; }
.exercise-results strong { position: relative; display: block; font-family: "Fraunces", serif; font-size: 55px; line-height: 1; }
.exercise-results small { position: relative; display: block; margin-top: 6px; color: rgba(255,255,255,.75); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bonus-result { margin: 13px 0 0; padding: 9px; color: #fff; background: var(--orange-soft); border-radius: 8px; font-size: 10px; font-weight: 700; }
.done-button { margin-top: 20px; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 35px; }
  .hero-score { width: 220px; justify-self: center; }
  .calendar-shell { margin-inline: 18px; padding: 24px; }
  .calendar-day { min-height: 104px; padding: 8px; }
  .buzzword-guide { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .site-header { height: 72px; padding-inline: 16px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 32px; height: 32px; }
  .header-nav a { padding: 7px 7px; font-size: 9px; }
  .hero { padding: 50px 20px 42px; }
  h1 { font-size: 45px; }
  .hero-copy { font-size: 15px; }
  .calendar-shell { padding: 18px 12px; border-radius: 17px; }
  .calendar-toolbar { padding: 0 5px; align-items: flex-end; }
  .calendar-toolbar h2 { font-size: 25px; }
  .today-button { display: none; }
  .month-summary { grid-template-columns: 1fr 1fr; }
  .month-summary > div { min-height: 70px; padding: 11px; }
  .month-summary > div + div { border-left: 1px solid var(--line); }
  .month-summary > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .calendar-day { min-height: 72px; padding: 5px; }
  .day-number { width: 23px; height: 23px; }
  .person-total { padding: 3px 4px; font-size: 7px; }
  .person-total span { display: none; }
  .more-entries { font-size: 7px; }
  .buzzword-guide { margin-bottom: 75px; }
  footer { flex-direction: column; align-items: flex-start; }
  .overlay { padding: 0; place-items: end center; }
  .day-panel { max-height: 94vh; padding: 25px 18px; border-radius: 22px 22px 0 0; }
  .meeting-basics, .buzzword-list { grid-template-columns: 1fr; }
  .meeting-card { grid-template-columns: 1fr auto; }
  .meeting-workout { grid-column: 1 / 2; }
  .result-card { width: calc(100% - 24px); margin: auto; padding: 38px 22px 24px; }
  .form-summary { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
