:root {
  color-scheme: light;
  --ink: #1b2730;
  --muted: #5d6d73;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --soft: #eef4f1;
  --line: #dce5e1;
  --teal: #176b62;
  --teal-dark: #0e4f4a;
  --gold: #d8943d;
  --shadow: 0 18px 50px rgba(29, 58, 53, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(12px);
}

.nav-row, .footer-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Keep the site destinations in one predictable place on every page. */
.nav-row {
  min-height: 0;
  padding-block: 12px 14px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
}
.nav-row nav { justify-content: flex-start; gap: 8px 22px; }
.nav-row nav a { white-space: nowrap; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 9px;
  font-weight: 800;
}

nav a, .footer-row a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
nav a[aria-current="page"] { color: var(--teal-dark); font-weight: 750; }
.destination-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.destination { display: block; padding: clamp(16px, 2.3vw, 26px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.destination:hover { transform: translateY(-3px); border-color: #9abbb1; }
.destination h2 { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 1.6rem; }
.destination p { margin: 6px 0 0; color: var(--muted); }
.destination-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #dcefe1; color: #237746; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.health-icon { background: #eaf2fd; color: #1c60a8; }
.home-destinations .destination-icon { background: #f2e8dc; color: #775236; }
.home-destinations .health-destination .destination-icon { background: #eaf2fd; color: #1c60a8; }
.home-destinations .family-destination .destination-icon { background: #f8ebad; color: #77580c; }
.home-destinations .home-destination .destination-icon { background: #ead8c5; color: #69452d; }
.home-destinations .destination:hover { border-color: #c9ad8e; }
.family-theme { --ink:#46380e; --muted:#786523; --paper:#fffdf3; --soft:#fff3c6; --line:#ead99a; --teal:#a17b13; --teal-dark:#705405; --gold:#c49c2d; --shadow:0 15px 38px #7b5e1717; }
.family-theme .site-header { background:#fffdf3f2; }
.family-theme .brand-mark { background:#a17b13; }
.family-theme .finance-tabs a:hover { background:var(--soft); }
.family-theme .site-footer { border-color:var(--line); }
.home-project-theme { --ink:#493a2e; --muted:#786352; --paper:#fbf7f1; --soft:#f0e5d8; --line:#dfcbb5; --teal:#866040; --teal-dark:#614329; --gold:#a57641; --shadow:0 15px 38px #49362217; }
.home-project-theme .site-header { background:#fbf7f1f2; }
.home-project-theme .brand-mark { background:#866040; }
.home-project-theme .finance-tabs a:hover { background:var(--soft); }
.collection-page { min-height:calc(100vh - 148px); background:linear-gradient(180deg,var(--paper),var(--soft)); padding:0 0 72px; }
.collection-page h1 { font-size:clamp(2.4rem,5vw,4.2rem); }
.collection-heading { border-color:var(--line); }
.collection-heading h1 { margin:0 0 10px; }
.collection-heading .finance-tabs { margin:0; }
.collection-content { padding-top:24px; }
.collection-intro { max-width:650px; margin:14px 0 30px; color:var(--muted); font-size:1.08rem; }
.collection-tabs { display:flex; gap:8px; margin:28px 0 26px; border-bottom:1px solid var(--line); }
.collection-tabs a { padding:10px 18px; border-radius:12px 12px 0 0; text-decoration:none; color:var(--muted); font-weight:700; }
.collection-tabs a[aria-current="page"] { background:var(--teal); color:white; }
.collection-toolbar { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-bottom:16px; }
.collection-toolbar h2 { margin:0; font-size:1.55rem; }
.collection-add { min-height:42px; padding:0 17px; border:0; border-radius:999px; color:white; background:var(--teal); font:inherit; font-weight:700; cursor:pointer; }
.collection-add:hover { background:var(--teal-dark); }
.collection-list { display:grid; gap:8px; }
.collection-empty,.collection-card { padding:22px 24px; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
.collection-empty { color:var(--muted); }
.collection-card { display:grid; gap:8px; }
.collection-card-heading { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; justify-content:space-between; }
.collection-card h3 { margin:0; font-size:1.18rem; }
.collection-card p { margin:0; color:var(--muted); white-space:pre-wrap; }
.collection-badge { padding:3px 10px; border-radius:999px; background:var(--soft); color:var(--teal-dark); font-size:.82rem; font-weight:700; }
.collection-meta { font-size:.87rem; color:var(--muted); }
.collection-remove { justify-self:start; padding:4px 0; border:0; color:var(--muted); background:none; font:inherit; cursor:pointer; text-decoration:underline; }
.collection-card { position:relative; padding:12px 16px; }
.purchase-card { grid-template-columns:minmax(180px,1.1fr) minmax(220px,1.35fr) minmax(220px,1.2fr); align-items:center; gap:8px 18px; padding:14px 18px; }
.purchase-card > .collection-card-heading:first-child { grid-column:1; grid-row:1; }
.purchase-card > .collection-meta { grid-column:2; grid-row:1; }
.purchase-card > p { grid-column:2; grid-row:2; }
.purchase-card > .collection-card-heading:last-child { grid-column:3; grid-row:1 / span 2; justify-content:flex-end; align-items:center; }
.purchase-card > .collection-card-heading:last-child > .card-menu-wrap { align-self:center; }
.project-card { gap:4px; padding:10px 14px; }
.project-collapse { margin-left:auto; padding:5px 10px; border:1px solid var(--line); border-radius:999px; color:var(--teal-dark); background:transparent; font:inherit; font-size:.85rem; font-weight:700; cursor:pointer; }
.card-menu-wrap { position:relative; justify-self:end; }
.card-menu-toggle { display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--line); border-radius:50%; color:var(--muted); background:var(--surface); font-size:1.35rem; cursor:pointer; }
.card-actions { position:absolute; z-index:2; top:42px; right:0; min-width:140px; padding:5px; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); }
.card-actions[hidden] { display:none; }
.card-actions button { display:block; width:100%; padding:10px 12px; border:0; border-radius:8px; color:var(--ink); background:transparent; font:inherit; text-align:left; cursor:pointer; }
.card-actions button:hover { background:var(--soft); }
.project-tasks { display:grid; gap:0; padding:5px 0 0; border-top:1px solid var(--line); }
.project-task-node { min-width:0; }
.project-task { display:grid; grid-template-columns:24px minmax(180px,1fr) minmax(180px,auto) 30px; gap:5px 8px; align-items:center; min-height:34px; padding:2px 0; border-bottom:1px solid color-mix(in srgb,var(--line),transparent 52%); line-height:1.15; }
.task-toggle,.task-title-toggle { min-width:0; border:0; color:var(--ink); background:transparent; font:inherit; cursor:pointer; }
.task-toggle { width:24px; height:26px; padding:0; color:var(--muted); font-size:.9rem; }
.task-title-toggle { justify-self:start; padding:3px 0; text-align:left; font-size:.96rem; font-weight:700; }
.project-task small { min-width:0; overflow:hidden; color:var(--muted); font-size:.75rem; text-overflow:ellipsis; white-space:nowrap; }
.project-task .card-menu-toggle { width:28px; height:28px; border:0; font-size:1.1rem; }
.task-branch { margin-left:12px; padding:2px 0 3px 12px; border-left:1px solid var(--line); }
.task-note { margin:1px 0 4px !important; font-size:.8rem; }
.task-add { justify-self:start; padding:3px 0; border:0; color:var(--teal-dark); background:none; font:inherit; font-size:.83rem; font-weight:700; cursor:pointer; }
.task-add-subtask { margin:0 0 3px; }
.project-task-form { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; align-items:center; padding:7px 0; }
.project-task-form[hidden] { display:none; }
.project-task-form input,.project-task-form select,.project-task-form textarea { min-width:0; min-height:34px; padding:5px 8px; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:7px; font:inherit; font-size:.85rem; }
.project-task-form textarea { min-height:48px; resize:vertical; grid-column:span 2; }
.task-cancel { padding:5px 0; border:0; color:var(--muted); background:none; font:inherit; cursor:pointer; }
.collection-dialog { width:min(520px,calc(100% - 32px)); padding:28px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:0 24px 70px #20170f38; }
.collection-dialog::backdrop { background:#1c1710a1; backdrop-filter:blur(3px); }
.collection-dialog h2 { margin:0 0 20px; font-size:1.65rem; }
.collection-form { display:grid; gap:14px; }
.collection-form label { display:grid; gap:5px; color:var(--muted); font-size:.9rem; font-weight:700; }
.collection-form input,.collection-form select,.collection-form textarea { width:100%; min-height:44px; padding:9px 12px; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:9px; font:inherit; }
.collection-form textarea { min-height:104px; resize:vertical; }
.collection-dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:4px; }
.collection-cancel { padding:0 16px; border:1px solid var(--line); border-radius:999px; color:var(--ink); background:transparent; font:inherit; font-weight:650; cursor:pointer; }
nav a:hover, .footer-row a:hover, .text-link:hover { color: var(--teal); }

.hero { padding: 92px 0 84px; background: linear-gradient(135deg, #f4f8f4 0%, #fbfaf7 62%); }
.hero.home-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 36px); }
.home-hero .lede { margin-top: 14px; }
.home-destinations { padding-bottom: clamp(26px, 5vw, 58px); }
.hero-grid, .split-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 70px; align-items: center; }

.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { margin: 0 0 10px; font-size: 1.2rem; }
.lede { max-width: 660px; margin: 26px 0 0; color: var(--muted); font-size: 1.18rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.button-primary { color: #fff; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { color: var(--teal-dark); border: 1px solid #a9c4bc; }

.hero-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.card-label { margin-bottom: 22px; color: var(--muted); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.boundary-row { display: grid; grid-template-columns: 12px auto; gap: 0 11px; padding: 15px 0; border-top: 1px solid var(--line); }
.boundary-row span:last-child { grid-column: 2; color: var(--muted); font-size: 0.9rem; }
.dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; grid-row: span 2; }
.dot-local { background: var(--teal); }.dot-drive { background: var(--gold); }.dot-server { background: #9aa8aa; }

.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.feature-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.feature-card p, .split-grid p, .contact-card p { color: var(--muted); }
.icon { margin-bottom: 28px; color: var(--gold); font-weight: 850; letter-spacing: 0.08em; }
.contact-card { padding-bottom: 108px; }

.finance-theme {
  --ink: #173628;
  --muted: #466453;
  --paper: #f5faf5;
  --soft: #dcefe1;
  --line: #b9d6bf;
  --teal: #237746;
  --teal-dark: #175536;
  --gold: #9b681e;
  --shadow: 0 15px 38px #174f2e1c;
}
.finance-theme .site-header { background: #f6fbf6f2; }
.finance-theme .nav-row a[aria-current] { color: var(--teal-dark); font-weight: 750; }
.finance-heading { padding-top: clamp(21px, 3.6vw, 44px); border-bottom: 1px solid #9dc7a7; }
.finance-heading h1 { margin-bottom: 17px; font-size: clamp(2.1rem, 4vw, 3.25rem); }
.finance-tabs { gap: clamp(4px, 1.5vw, 16px); }
.finance-tabs a {
  display: inline-block;
  padding: 9px clamp(10px, 1.8vw, 18px);
  color: var(--teal-dark);
  font-weight: 700;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.finance-tabs a:hover { background: #dceee1; }
.finance-tabs a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.finance-page section[id] { scroll-margin-top: 105px; }
.finance-hero {
  padding-block: clamp(42px, 6vw, 82px);
  background: linear-gradient(110deg, #c3e7cc 0%, #e1f2e3 65%, #edf7ee 100%);
}
.finance-hero h1 { margin-bottom: 18px; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.finance-page .hero-card { border-color: #8fbca0; }
.finance-page .button-secondary { border-color: #4d9166; }
.finance-tagline { margin: 0; font-size: clamp(1.3rem, 2.3vw, 1.9rem); line-height: 1.3; font-weight: 650; }
.finance-subheading { margin-bottom: 18px; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.finance-personal { min-height: 42vh; }
.finance-personal h2 { margin: 0; }

.policy { max-width: 820px; padding: 76px 0 100px; }
.policy h1 { margin-bottom: 12px; font-size: clamp(2.6rem, 6vw, 4.7rem); }
.policy h2 { margin-top: 44px; font-size: 1.55rem; letter-spacing: -0.02em; }
.policy p, .policy li { color: #3e4e53; }
.policy-meta { color: var(--muted) !important; }
.policy code { padding: 2px 6px; color: var(--teal-dark); background: #e6f0ec; border-radius: 5px; font-size: 0.9em; }
.policy-back { margin-top: 54px; }
.text-link { color: var(--teal-dark); font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

@media (max-width: 760px) {
  .nav-row { padding-block: 12px; gap: 7px; }
  .nav-row nav { gap: 5px 14px; }
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-page { min-height:calc(100vh - 148px); }
  .shell { width: min(100% - 28px, 620px); }
  .hero { padding: 64px 0; }
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .contact-card { padding-bottom: 76px; }
  .policy { padding: 54px 0 74px; }
}
@media (max-width: 900px) { .purchase-card { grid-template-columns:minmax(0,1fr) auto; }.purchase-card > .collection-card-heading:first-child { grid-column:1;grid-row:1; }.purchase-card > .collection-meta,.purchase-card > p { grid-column:1/-1;grid-row:auto; }.purchase-card > .collection-card-heading:last-child { grid-column:2;grid-row:1/span 2; }.project-task { grid-template-columns:22px minmax(0,1fr) 30px; }.project-task small { grid-column:2;grid-row:2; }.project-task > .card-menu-wrap { grid-column:3;grid-row:1/span 2; }.task-toggle { grid-column:1;grid-row:1/span 2; }.task-title-toggle { grid-column:2;grid-row:1; }.project-task-form { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .destination-grid { grid-template-columns:1fr; }.project-task-form { grid-template-columns:1fr 1fr; }.project-task-form input:first-child,.project-task-form textarea { grid-column:1/-1; }.project-task { grid-template-columns:22px minmax(0,1fr) 30px; }.project-task small { white-space:normal; }.finance-tabs { flex-wrap:wrap; } }
