:root {
  color-scheme: light;
  --ink: #17342b;
  --muted: #60736d;
  --paper: #f7f4e9;
  --card: #fffdf6;
  --green: #2f7257;
  --line: #d9dfd5;
  --gold: #d4a72c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

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

.brand {
  color: var(--ink);
  font: 700 22px/1 Georgia, serif;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a {
  text-decoration: none;
  font-weight: 650;
}

.nav-status {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 99px;
  background: #e9e2ca;
  color: #78641d;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 72px 24px 96px;
}

.hero {
  max-width: 820px;
  padding: 40px 0 78px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--green);
  font-weight: 750;
  font-size: 12px;
}

.hero h1,
.card h1,
.account-head h1 {
  font: 700 clamp(42px, 7vw, 78px)/.98 Georgia, serif;
  letter-spacing: -.045em;
  margin: 16px 0 24px;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.button,
button {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: white;
  padding: 13px 19px;
  text-decoration: none;
  font: 700 15px/1 inherit;
  cursor: pointer;
}

.secondary,
.text-link { font-weight: 700; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-card,
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 12px 35px #17342b0b;
}

.product-card h2,
.card h2 {
  margin: 13px 0 16px;
  font: 700 30px/1.12 Georgia, serif;
  letter-spacing: -.025em;
}

.product-card > p:not(.eyebrow),
.card p { color: var(--muted); }
.product-live { border-top: 4px solid var(--green); }
.product-soon {
  border-top: 4px solid var(--gold);
  background: #f3eedf;
}

.product-status {
  position: absolute;
  right: 24px;
  top: 24px;
  border-radius: 99px;
  background: #e0eee5;
  color: var(--green);
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-soon .product-status {
  background: #efe2b5;
  color: #755c14;
}

.text-link { text-decoration: none; }
.coach-capabilities {
  padding-left: 19px;
  color: var(--muted);
  margin: 20px 0;
}
.coach-capabilities li + li { margin-top: 7px; }

.coming-soon {
  display: inline-flex;
  border: 1px solid #c7b46e;
  border-radius: 9px;
  color: #756017;
  padding: 10px 14px;
  font-weight: 800;
}

.launch-note {
  margin-top: 22px;
  padding: 22px 27px;
  border: 1px dashed #bdc9c1;
  border-radius: 14px;
  color: var(--muted);
}
.launch-note p { margin: 0; }
.launch-note strong { color: var(--ink); }

.narrow { max-width: 560px; margin: auto; }
.card h1 { font-size: 44px; }
.card form { display: grid; gap: 10px; margin-top: 24px; }
label { font-weight: 700; }
input {
  width: 100%;
  border: 1px solid #bdc9c1;
  border-radius: 9px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.error { color: #9d352d !important; }
.success { color: var(--green) !important; font-weight: 700; }
.dev-link {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  border: 1px dashed var(--gold);
  border-radius: 10px;
  background: #fff9dd;
  padding: 16px;
}
dl { display: grid; grid-template-columns: 100px 1fr; gap: 8px; margin: 22px 0; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }
.account-head { margin-bottom: 34px; }
.account-head h1 { font-size: 48px; }
.pill {
  display: inline-block;
  border-radius: 999px;
  background: #dceee4;
  color: var(--green);
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 800;
}
.pill.muted { background: #e8e8e3; color: var(--muted); }
.installation-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.installation-list p { margin: 4px 0; }
.danger { background: #9d352d; }
.logout { margin-top: 24px; }
.secondary-button { background: transparent; color: var(--green); border: 1px solid var(--green); }

body:has(.calendar-shell) main { max-width: none; padding: 0; }
body:has(.calendar-shell) .nav-status { background: #315a53; color: #dbe9df; }

.coach-preview {
  display: grid;
  grid-template-columns: 1.4fr .75fr;
  align-items: center;
  gap: 40px;
  margin: 0 7.5% 55px;
  padding: 36px;
  border: 1px solid #d7bf68;
  border-radius: 18px;
  background: #f4ecd1;
}
.coach-preview h2 {
  margin: 0 0 10px;
  font: 700 35px/1.08 Georgia, serif;
  letter-spacing: -.03em;
}
.coach-preview p:last-child { max-width: 650px; margin-bottom: 0; color: #5f7168; }
.coach-preview-state {
  display: grid;
  gap: 4px;
  border-left: 1px solid #cdbc80;
  padding-left: 26px;
}
.coach-preview-state span {
  color: #846b1e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.coach-preview-state strong { font: 700 21px/1.2 Georgia, serif; }
.coach-preview-state small { color: #6e776e; }

@media (max-width: 720px) {
  main { padding-top: 36px; }
  .product-grid,
  .coach-preview { grid-template-columns: 1fr; }
  .hero { padding-top: 20px; }
  .installation-list article { align-items: flex-start; flex-direction: column; }
  .actions { align-items: flex-start; flex-direction: column; }
  .site-header nav { gap: 14px; }
  .nav-status { display: none; }
  .coach-preview { margin: 0 6% 39px; padding: 25px 20px; gap: 20px; }
  .coach-preview-state { border-left: 0; border-top: 1px solid #cdbc80; padding: 18px 0 0; }
}
