:root {
  color-scheme: dark;
  --bg: #101918;
  --panel: #172220;
  --line: #31413a;
  --text: #e7e9dd;
  --muted: #a0b0a6;
  --mint: #bbd5a8;
  --gold: #c4ad76;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 85% 8%, #33473540, transparent 48%), var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; border-radius: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px 20px; background: var(--mint); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .page, .site-footer { width: min(1200px, 100%); margin-inline: auto; padding-inline: 40px; }
.header-inner { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; font: 22px Georgia, serif; }
.brand-icon { width: 32px; height: 32px; color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.nav-link { display: block; padding: 13px 0; }
.nav-link[aria-current='page'] { color: var(--mint); border-bottom: 1px solid var(--mint); }
.pages-menu { position: relative; }
.pages-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 0; color: var(--muted); }
.pages-menu summary::-webkit-details-marker { display: none; }
.pages-menu summary .icon { width: 15px; height: 15px; }
.pages-menu[open] summary, .pages-menu summary:hover { color: var(--text); }
.pages-menu[open] summary .icon { transform: rotate(180deg); }
.menu-panel { position: absolute; top: calc(100% + 12px); right: 0; width: min(330px, calc(100vw - 40px)); z-index: 5; padding: 12px; border: 1px solid #52634e; border-radius: 10px; background: #1a2722; box-shadow: 0 16px 50px #0006; }
.menu-label { margin: 6px 10px 12px; color: var(--gold); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.menu-panel ul { padding: 0; margin: 0; list-style: none; }
.menu-panel a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 10px; border-radius: 5px; }
.menu-panel a:hover { background: #bbd5a80c; }
.menu-panel strong { font-size: 13px; font-weight: 500; line-height: 1.5; }
.menu-panel small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.menu-panel .icon { width: 18px; color: var(--mint); }
.page { flex: 1; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 84px 0 76px; }
.hero-copy { max-width: 660px; }
.eyebrow { color: var(--gold); font-size: 10px; line-height: 1.6; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; margin: 0 0 22px; }
h1 { font: clamp(44px, 5.8vw, 72px)/1.08 Georgia, 'Times New Roman', serif; letter-spacing: -2.4px; margin: 0 0 24px; }
h1 em { color: var(--mint); font-weight: 400; }
.intro { max-width: 420px; font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; }
.browse-link { display: inline-flex; align-items: center; gap: 18px; font-size: 12px; margin-top: 30px; padding-block: 9px; color: var(--mint); }
.browse-link .icon { width: 17px; transform: rotate(90deg); }
.browse-link:hover { color: var(--text); }
.compass { position: relative; width: 236px; height: 236px; flex-shrink: 0; margin: 0 24px 28px; border: 1px solid #a7b89630; border-radius: 50%; outline: 1px solid #a7b8960e; outline-offset: 16px; color: var(--gold); }
.compass::before, .compass::after { content: ''; position: absolute; background: #a7b89618; }
.compass::before { width: 1px; top: -28px; bottom: -28px; left: 50%; }
.compass::after { height: 1px; left: -28px; right: -28px; top: 50%; }
.compass-inner { position: absolute; inset: 27px; display: grid; place-items: center; border: 1px dashed #a7b89630; border-radius: 50%; }
.compass-inner .icon { width: 132px; height: 132px; stroke-width: .45; transform: rotate(15deg); }
.compass > span:not(.compass-caption) { position: absolute; z-index: 1; padding: 4px; background: #16201c; font-size: 9px; letter-spacing: 1px; }
.compass-north { top: -10px; left: calc(50% - 7px); }
.compass-east { right: -7px; top: calc(50% - 9px); }
.compass-south { bottom: -10px; left: calc(50% - 7px); }
.compass-west { left: -8px; top: calc(50% - 9px); }
.compass-caption { position: absolute; top: calc(100% + 48px); width: 100%; text-align: center; color: var(--muted); font-size: 8px; letter-spacing: 2.4px; }
.pages-section { scroll-margin-top: 30px; padding-bottom: 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { font: 24px Georgia, serif; margin: 0; }
.section-heading > span { color: var(--muted); font-size: 9px; letter-spacing: 1.6px; }
.page-list { display: grid; gap: 20px; }
.page-card { display: grid; grid-template-columns: 1.15fr 1fr; min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); transition: border-color .15s ease, background .15s ease; }
.page-card:hover { border-color: #76876a; background: #1b2823; }
.card-copy { padding: 38px; }
.card-copy .eyebrow { margin-bottom: 18px; letter-spacing: 1.7px; }
.page-number { border-right: 1px solid #526045; padding-right: 13px; margin-right: 9px; color: var(--muted); }
.page-card h3 { margin: 0 0 16px; font: 32px/1.2 Georgia, serif; letter-spacing: -.7px; }
.card-description { max-width: 380px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 20px 0 0; }
.feature-tags li { border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; color: var(--muted); font-size: 10px; }
.open-page { display: flex; align-items: center; gap: 14px; color: var(--mint); font-size: 12px; margin-top: 28px; }
.open-page .icon { width: 17px; transition: transform .15s ease; }
.page-card:hover .open-page .icon { transform: translateX(5px); }
.builder-preview { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 34px; border-left: 1px solid var(--line); background: radial-gradient(ellipse at 50% 45%, #3d50343d, transparent 70%), #121e19; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; color: var(--gold); font-size: 8px; letter-spacing: 2px; }
.preview-heading .icon { width: 23px; height: 23px; }
.preview-title { text-align: center; font: 42px Georgia, serif; letter-spacing: 8px; margin: 24px 0; }
.preview-title > span { color: var(--gold); }
.preview-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.preview-slot { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 17px 4px; border: 1px solid #56644966; border-radius: 5px; background: #bbd5a805; color: var(--gold); }
.preview-slot:nth-child(2n) { color: var(--mint); }
.preview-slot .icon { width: 22px; height: 22px; }
.preview-slot > span { color: var(--muted); font-size: 8px; }
.preview-caption { color: var(--muted); font-size: 10px; text-align: center; margin: 20px 0 0; }
.reperes-illustration { display: block; width: min(240px, 100%); height: auto; align-self: center; margin: 24px 0 4px; color: var(--gold); }
.reperes-illustration-detail { color: var(--mint); }
.counters-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0 6px; }
.counters-preview > div { display: grid; gap: 15px; text-align: center; padding: 20px 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: #172820; }
.counters-preview small { color: var(--muted); font-size: 8px; letter-spacing: 1px; }
.counters-preview strong { font: 36px Georgia, serif; color: var(--mint); }
.counters-preview > div:nth-child(2) strong { color: var(--gold); }
.counters-preview span { color: var(--muted); font-size: 16px; }
.wheel-preview { position: relative; display: grid; place-items: center; align-self: center; width: 172px; aspect-ratio: 1; margin: 25px 0 4px; border: 5px solid #27382f; outline: 1px solid var(--gold); border-radius: 50%; background: conic-gradient(#b9cfa0 0deg 60deg, #779e92 60deg 120deg, #c8ad78 120deg 180deg, #a0aec3 180deg 240deg, #c79279 240deg 300deg, #929c72 300deg); transform: rotate(-15deg); }
.wheel-preview::before { content: ''; position: absolute; top: -12px; left: calc(50% - 8px); border-inline: 8px solid transparent; border-top: 17px solid var(--text); }
.wheel-preview span { display: grid; place-items: center; width: 46px; aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); color: var(--gold); font-size: 28px; }
.planning-preview-title { font: 33px/1.3 Georgia, serif; text-align: center; margin: 28px 0; }
.planning-preview-title em { color: var(--mint); }
.mini-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-size: 9px; color: var(--muted); }
.mini-week i { height: 40px; border: 1px solid var(--line); border-radius: 4px; }
.mini-week .free { border: 1px dashed #8da77b; background: #bbd5a81c; }
.mini-week .joined { border-color: var(--mint); background: #8eaa70; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 94px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.site-footer > span { display: flex; align-items: center; gap: 10px; }
.site-footer .icon { width: 18px; height: 18px; color: var(--gold); }
.site-footer a { padding: 12px 0; }
.site-footer a:hover { color: var(--text); }
.site-footer a span { margin-left: 8px; }
@media (max-width: 900px) {
  .hero { gap: 30px; padding: 64px 0; }
  .compass { width: 180px; height: 180px; margin-inline: 16px; }
  .compass-inner { inset: 20px; }
  .compass-inner .icon { width: 95px; height: 95px; }
  .card-copy, .builder-preview { padding: 28px; }
  .page-card { grid-template-columns: 1fr 1fr; }
  .page-card h3 { font-size: 28px; }
  .preview-slots { gap: 4px; }
}
@media (max-width: 650px) {
  .header-inner, .page, .site-footer { padding-inline: 22px; }
  .header-inner { min-height: 80px; gap: 16px; flex-wrap: wrap; padding-block: 14px; }
  .brand { font-size: 19px; gap: 9px; }
  .brand-icon { width: 25px; height: 25px; }
  .main-nav { gap: 18px; font-size: 12px; margin-left: auto; }
  .pages-menu summary { gap: 6px; }
  .hero { padding: 52px 0 48px; }
  h1 { font-size: clamp(38px, 9vw, 54px); letter-spacing: -1.4px; }
  .intro { font-size: 14px; }
  .compass { display: none; }
  .eyebrow { margin-bottom: 18px; }
  .browse-link { margin-top: 20px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading > span { font-size: 8px; letter-spacing: 1px; }
  .page-card { grid-template-columns: 1fr; }
  .card-copy { padding: 28px 24px; }
  .builder-preview { border-left: 0; border-top: 1px solid var(--line); padding: 26px 24px; }
  .preview-title { font-size: 34px; margin: 18px 0; }
  .preview-slots { gap: 7px; }
  .preview-slot { padding-block: 14px; }
  .pages-section { padding-bottom: 40px; }
  .site-footer { min-height: 80px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-card, .open-page .icon { transition: none; }
}
