:root {
  --ink: #17342c;
  --ink-soft: #51665f;
  --forest: #153f32;
  --forest-2: #0d3026;
  --moss: #557a4f;
  --sage: #dfe9dc;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --coral: #db745f;
  --gold: #d9a83d;
  --line: #d9dfd9;
  --white: #fff;
  --shadow: 0 24px 70px rgba(19, 55, 44, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
svg { display: block; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .93);
  border-bottom: 1px solid rgba(23, 52, 44, .1);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.12;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--forest);
  border-radius: 50%;
}

.brand-mark svg { width: 25px; }
.brand-mark path:first-child { fill: currentColor; stroke: none; }
.brand-mark path:last-child { fill: none; stroke: var(--forest); stroke-width: 2.4; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .01em; }
.brand small { margin-top: 3px; color: var(--ink-soft); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 30px; }
nav a { color: var(--ink-soft); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--forest); }
.nav-github { padding-left: 28px; border-left: 1px solid var(--line); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 124px;
  background: radial-gradient(circle at 83% 15%, rgba(85, 122, 79, .16), transparent 24%), linear-gradient(150deg, var(--paper) 35%, #eef3e9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -230px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(21, 63, 50, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(21, 63, 50, .025), 0 0 0 140px rgba(21, 63, 50, .02);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 92px;
  align-items: center;
}

.eyebrow { margin: 0 0 20px; color: var(--moss); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 24px; height: 2px; margin: 0 10px 3px 0; background: currentColor; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
h1 { max-width: 760px; font-size: clamp(48px, 6vw, 78px); }
h2 { font-size: clamp(38px, 4.7vw, 58px); }
.hero-lede { max-width: 690px; margin: 28px 0 0; color: var(--ink-soft); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--forest); box-shadow: 0 12px 30px rgba(21, 63, 50, .18); }
.button-primary:hover { background: var(--forest-2); box-shadow: 0 15px 34px rgba(21, 63, 50, .24); }
.button-secondary { color: var(--forest); background: transparent; border-color: rgba(21, 63, 50, .26); }
.button-secondary:hover { background: rgba(255, 255, 255, .6); }
.button-white { color: var(--forest); background: var(--white); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 30px 0 0; padding: 0; color: var(--ink-soft); font-size: 13px; list-style: none; }
.hero-facts span { margin-right: 5px; color: var(--moss); font-weight: 800; }

.plugin-card { position: relative; padding: 30px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(21, 63, 50, .12); border-radius: 10px; box-shadow: var(--shadow); }
.plugin-card::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; background: var(--sage); border-radius: 10px; }
.plugin-card-top { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.wp-mark { width: 52px; height: 52px; display: grid; place-items: center; color: var(--white); background: #28799a; border-radius: 50%; font-family: Georgia, serif; font-size: 29px; }
.plugin-card-top p { margin: 0; font-weight: 800; }
.plugin-card-top span { color: var(--ink-soft); font-size: 13px; }
.plugin-card dl { display: grid; grid-template-columns: 1fr auto; margin: 12px 0 20px; }
.plugin-card dt, .plugin-card dd { padding: 10px 0; border-bottom: 1px solid #edf0ec; }
.plugin-card dt { color: var(--ink-soft); font-size: 13px; }
.plugin-card dd { margin: 0; color: var(--forest); font-size: 13px; font-weight: 800; text-align: right; }
.plugin-card > a { color: var(--forest); font-size: 13px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.demo-section { padding: 120px 0; background: var(--white); }
.demo-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: center; }
.section-copy > p:not(.eyebrow) { max-width: 580px; margin: 25px 0; color: var(--ink-soft); font-size: 17px; }
.legend { display: flex; flex-wrap: wrap; gap: 13px 18px; margin: 30px 0; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.available { background: #82a775; }
.dot.pending { background: var(--gold); }
.dot.booked { background: var(--coral); }
.text-link, .steps a, .version-list a { color: var(--forest); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.calendar-window { overflow: hidden; background: #eef0eb; border: 1px solid #dfe4dd; border-radius: 12px; box-shadow: var(--shadow); }
.browser-bar { height: 50px; display: flex; align-items: center; gap: 7px; padding: 0 18px; background: #e4e7e2; border-bottom: 1px solid #d6dbd5; }
.browser-bar > span { width: 9px; height: 9px; background: #bec7bf; border-radius: 50%; }
.browser-bar p { width: 52%; margin: 0 auto; padding: 5px 12px; color: #7a887f; background: #f5f6f3; border-radius: 4px; font-size: 10px; text-align: center; }
.calendar-card { margin: 22px; padding: 30px; background: var(--white); border-radius: 7px; }
.calendar-heading { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; margin-bottom: 25px; }
.calendar-heading p { margin: 0; font-family: Georgia, serif; font-size: 22px; }
.calendar-heading span { color: var(--ink-soft); font-size: 11px; }
.calendar-heading strong { font-size: 13px; }
.calendar-table { width: 100%; table-layout: fixed; border-spacing: 5px; }
.calendar-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.calendar-table th { padding-bottom: 7px; color: #7d8a84; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.calendar-table td { height: 44px; border-radius: 4px; font-size: 12px; font-weight: 800; text-align: center; }
.calendar-table .available-day { color: #365a31; background: #dbe9d5; }
.calendar-table .pending-day { color: #6e5014; background: #f4e3b9; }
.calendar-table .booked-day { color: #7c372a; background: #f3d3cc; }
.calendar-table .empty { background: #f5f6f3; }
.calendar-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; color: #849089; border-top: 1px solid #edf0ec; font-size: 9px; }

.steps-section { padding: 112px 0; background: var(--cream); }
.section-heading { max-width: 700px; margin-bottom: 58px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 300px; padding: 30px 36px 26px; border-left: 1px solid rgba(21, 63, 50, .17); }
.steps li:last-child { border-right: 1px solid rgba(21, 63, 50, .17); }
.steps li > span { color: var(--moss); font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.steps h3 { margin: 52px 0 14px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.steps p { min-height: 78px; margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; }
.steps a { font-size: 13px; }

.install-section { padding: 120px 0; color: var(--white); background: var(--forest); }
.install-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.eyebrow.light { color: #b9d2af; }
.install-section .section-copy > p:not(.eyebrow) { color: #c9d5d0; }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { margin: 10px 0; color: #e4ebe8; font-size: 14px; }
.check-list li::before { content: "✓"; margin-right: 10px; color: #b9d2af; font-weight: 900; }
.code-stack { min-width: 0; }
.code-card { overflow: hidden; margin-bottom: 14px; background: #0d2b23; border: 1px solid rgba(255, 255, 255, .13); border-radius: 7px; box-shadow: 0 20px 50px rgba(0, 0, 0, .17); }
.code-label { min-height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 17px; color: #9db3aa; background: rgba(255, 255, 255, .035); border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.code-label button { padding: 5px 9px; color: #dbe6e1; background: transparent; border: 1px solid #516d62; border-radius: 3px; font: inherit; cursor: pointer; }
.code-label button:hover, .code-label button:focus-visible { background: #244c3e; }
pre { overflow-x: auto; margin: 0; padding: 24px 22px 28px; }
code { color: #f0d7a1; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-note { margin: 20px 0 0; color: #9fb1aa; font-size: 12px; }

.archives-section { padding: 120px 0; background: var(--paper); }
.archive-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 90px; align-items: start; }
.version-list { border-top: 1px solid var(--line); }
.version-list article { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.version-list article > div { display: flex; align-items: center; gap: 14px; }
.version-list h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.version-list p { margin: 12px 0; color: var(--ink-soft); font-size: 14px; }
.version-list a { font-size: 13px; }
.status { padding: 3px 8px; border-radius: 20px; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.status.current { color: #31572d; background: #deebd9; }
.status.archived { color: #775528; background: #efe5d2; }

.closing-section { padding: 0 0 110px; background: var(--paper); }
.closing-card { min-height: 240px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 55px 62px; color: var(--white); background: var(--forest); border-radius: 8px; }
.closing-card h2 { max-width: 690px; font-size: clamp(35px, 4vw, 52px); }
.closing-card .button { flex: 0 0 auto; }

footer { padding: 72px 0 28px; color: #c7d5cf; background: #0a251e; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 55px; }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark { color: #0a251e; background: #dbe6df; }
.footer-brand .brand-mark path:last-child { stroke: #0a251e; }
.footer-brand small { color: #a6bbb3; }
.footer-grid > div > p { margin-top: 20px; color: #8fa69d; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links strong { margin-bottom: 5px; color: var(--white); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: #a7bbb3; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; color: #779087; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11px; }

@media (max-width: 960px) {
  .hero-grid, .demo-grid, .install-grid, .archive-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding: 82px 0 100px; }
  .hero-copy { max-width: 760px; }
  .plugin-card { max-width: 520px; }
  .demo-section, .steps-section, .install-section, .archives-section { padding: 90px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:last-child { min-height: 0; border-right: 1px solid rgba(21, 63, 50, .17); border-bottom: 1px solid rgba(21, 63, 50, .17); }
  .steps li:first-child { border-top: 1px solid rgba(21, 63, 50, .17); }
  .steps h3 { margin-top: 22px; }
  .steps p { min-height: 0; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 68px; }
  nav a:not(.nav-github) { display: none; }
  .nav-github { padding-left: 0; border-left: 0; }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts { display: grid; }
  .plugin-card { padding: 23px; }
  .calendar-card { margin: 10px; padding: 18px 12px; }
  .calendar-heading { display: block; }
  .calendar-heading strong { display: block; margin-top: 12px; }
  .calendar-table { border-spacing: 3px; }
  .calendar-table td { height: 34px; }
  .calendar-footer { display: grid; }
  .install-grid { gap: 45px; }
  .closing-section { padding-bottom: 70px; }
  .closing-card { display: grid; padding: 42px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
