@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url("/fonts/plus-jakarta-sans-latin.woff2?v=153fc85b70") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url("/fonts/inter-latin.woff2?v=3100e775e8") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --teal: #0B6E6E;
  --teal-dark: #085858;
  --teal-mid: #0E8585;
  --wake: #1DB5A6;
  --wake-soft: #5CCFBD;
  --ink: #142428;
  --ink-soft: #2A3A3E;
  --coral: #C2473A;
  --coral-soft: #D46A5E;
  --mint: #D5EDEA;
  --mint-deep: #B8DFD9;
  --fog: #F4F7F6;
  --fog-deep: #EBF1F0;
  --white: #FFFFFF;
  --muted: #5A6B6E;
  --muted-soft: #7A8B8E;
  --line: #E2EAE8;
  --line-strong: #C5D2D0;
  --success: #1B7A4A;
  --success-bg: #E3F5EC;
  --warning: #9A6B10;
  --warning-text: #8A5E0E;
  --warning-bg: #FFF6E0;
  --error: #A33B30;
  --error-bg: #FFF0ED;
  --info: #0B6E6E;
  --info-bg: #D5EDEA;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow: 0 24px 60px rgba(20,36,40,0.08), 0 0 0 1px rgba(11,110,110,0.06);
  --shadow-sm: 0 4px 16px rgba(20,36,40,0.06);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --site-max: 1200px;
  --pad-x: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
}
body.site { min-height: 100vh; display: flex; flex-direction: column; }
body.site.auth-page { display: block; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 700; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
body.site a:hover { color: var(--teal); }
a.btn:hover { color: inherit; }
a.btn-primary:hover, button.btn-primary:hover { color: #fff; background: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 80;
  background: var(--teal); color: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 650;
}
.skip:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px 20px; border-radius: var(--radius); border: none; cursor: pointer;
  text-decoration: none; line-height: 1.2; background: transparent;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
a.btn-ghost:hover, button.btn-ghost:hover { color: var(--ink); background: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 650; padding: 4px 10px; border-radius: 999px;
}
.badge-teal { background: var(--mint); color: var(--teal); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning-text); }
.badge-danger { background: var(--error-bg); color: var(--error); }
.badge-muted { background: var(--fog-deep); color: var(--muted); }
.badge-info { background: var(--info-bg); color: var(--info); }
.card { background: var(--white); border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--line); }
.card-title {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px;
}
.input, .select, .textarea {
  width: 100%; font-family: var(--font-body); font-size: 14px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 11px 14px;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,110,110,0.15); }
.label { display: block; font-size: 12.5px; font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.mark-img { width: 36px; height: 36px; border-radius: 9px; display: block; flex-shrink: 0; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
.wordmark span { color: var(--teal); font-weight: 500; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px var(--pad-x); background: rgba(244,247,246,0.92);
  border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.brand:hover { color: inherit; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a.active { color: var(--ink); font-weight: 700; }
.nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.nav-toggle {
  display: none; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 8px;
  padding: 8px 12px; font-size: 13px; font-weight: 650; color: var(--ink); font-family: var(--font-body); cursor: pointer;
}
.mobile-only { display: none; }
.site-main { flex: 1; }
.wrap { width: 100%; max-width: var(--site-max); margin: 0 auto; padding: 0 var(--pad-x); }
.page-hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 80% 50% at 85% 20%, rgba(29,181,166,0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(11,110,110,0.08), transparent 50%);
}
.page-hero.compact { padding: 40px 0 32px; }
.eyebrow {
  display: inline-flex; gap: 8px; font-size: 12px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); background: var(--mint); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.page-hero h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 16px; max-width: 720px; }
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero .lede { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.section { padding: 72px 0; }
.section.alt { background: var(--white); }
.section h2 { font-size: 32px; letter-spacing: -0.03em; margin-bottom: 12px; }
.section .intro { font-size: 16px; color: var(--muted); max-width: 640px; margin-bottom: 36px; line-height: 1.55; }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.trust { display: flex; gap: 28px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.trust strong { display: block; color: var(--ink); font-size: 20px; font-family: var(--font-display); margin-bottom: 2px; }
.panel { background: var(--white); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 18px; }
.panel-h h3 { font-size: 15px; }
.boat { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.boat strong { color: var(--ink); }
.split-row {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: center;
}
.split-row:last-child { border-bottom: none; }
.amt { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; font-family: var(--font-display); }
.total {
  margin-top: 16px; padding: 14px 16px; background: var(--fog); border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px;
}
.total strong { font-family: var(--font-display); font-size: 18px; color: var(--teal); }
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.feat { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.section.alt .feat { background: var(--fog); }
.feat .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; font-weight: 700;
}
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.ticks { margin-top: 14px; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.ticks li { margin: 4px 0; }
.how { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step { padding: 24px; border-radius: 16px; background: var(--fog); border: 1px solid var(--line); }
.step .n { font-family: var(--font-display); font-size: 28px; color: var(--teal); font-weight: 700; margin-bottom: 8px; }
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.pricing { display: grid; grid-template-columns: 1fr; gap: 24px; }
.price-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; padding: 32px; position: relative; }
.price-card.featured { border-color: var(--teal); box-shadow: var(--shadow); }
.price-card .plan { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.price-card .price { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price-card .price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.indicative-tag {
  display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--warning-text); background: var(--warning-bg); padding: 4px 10px; border-radius: 999px;
}
.price-card .blurb { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.price-card ul { list-style: none; margin: 24px 0; }
.price-card li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.price-card li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.notes { margin-top: 32px; max-width: 640px; font-size: 14px; color: var(--muted); line-height: 1.6; padding-left: 18px; }
.faq-teaser { margin-top: 28px; font-size: 15px; }
.faq-teaser a { color: var(--teal); font-weight: 650; }
.cta-band {
  margin: 0 var(--pad-x) 72px; background-color: #0A5A5A;
  background-image: linear-gradient(135deg, var(--teal), #0A5A5A);
  border-radius: 24px; padding: 48px 56px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 26px; margin-bottom: 8px; color: #fff; }
.cta-band p { color: #f3fbfa; font-size: 15px; max-width: 520px; line-height: 1.5; }
.cta-band .btn { background: #fff; color: var(--teal); }
.cta-band a.btn:hover { color: var(--teal-dark); background: #fff; }
.site-footer { padding: 48px var(--pad-x) 28px; border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: var(--site-max); margin: 0 auto 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .mark-img { width: 32px; height: 32px; border-radius: 8px; }
.footer-col h2, .footer-col h3, .footer-col .footer-heading {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; font-weight: 700;
}
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.footer-note { font-size: 13px; color: var(--muted); line-height: 1.45; max-width: 36em; }
.email-text { color: var(--ink-soft); font-weight: 600; }
.ph-mark { color: var(--warning-text); font-weight: 700; }
.footer-bar {
  max-width: var(--site-max); margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.45;
}
.footer-bar .disclaimer { flex: 1 1 280px; max-width: 760px; }
.sample-banner {
  display: block; max-width: 100%; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 16px; line-height: 1.45; border: 1px solid var(--line);
}
.sample-banner.warn { background: var(--warning-bg); color: var(--warning-text); border-color: #E6C98A; }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h2 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.01em; }
.faq-item p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.prose p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 16px; max-width: 640px; }
.form-panel, .contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm);
}
.form-panel h2 { font-size: 22px; margin-bottom: 6px; }
.form-panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-status {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: var(--warning-bg); color: var(--warning-text); font-size: 14px; font-weight: 700;
}
.form-status[hidden] { display: none; }
.auth-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.auth-left {
  background-color: #085050;
  background-image: linear-gradient(160deg, #0B6E6E 0%, #085050 55%, #142428 100%);
  color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative;
}
.auth-left a { color: #fff; }
.auth-left a:hover { color: #fff; }
.brand-lg { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; width: fit-content; }
.brand-lg .mark-img { width: 48px; height: 48px; border-radius: 12px; }
.auth-quote { font-family: var(--font-display); font-size: 30px; line-height: 1.25; letter-spacing: -0.02em; max-width: 440px; font-weight: 650; }
.auth-sub { display: block; margin-top: 14px; font-size: 17px; font-weight: 500; letter-spacing: 0; font-family: var(--font-body); color: #E7F4F2; line-height: 1.45; }
.auth-meta { font-size: 13.5px; color: #E7F4F2; line-height: 1.5; max-width: 460px; }
.auth-right { display: flex; align-items: center; justify-content: center; background: var(--fog); padding: 48px 24px; }
.auth-card { background: #fff; border-radius: 20px; padding: 40px; width: 100%; max-width: 440px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.hint a { color: var(--teal); font-weight: 650; }
.back-home { display: inline-block; margin-top: 16px; color: var(--teal); font-size: 13px; font-weight: 650; }
.timeline { display: grid; gap: 0; max-width: 800px; }
.timeline-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 0 0 28px; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--mint-deep); }
.timeline-item:last-child::before { display: none; }
.timeline-n {
  width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.timeline-item h2 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.headline-switch { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 18px; font-size: 12px; color: var(--muted); }
.headline-switch a { color: var(--teal); font-weight: 650; padding: 2px 0; }
.headline-switch a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.preview-badge {
  display: inline-flex; align-items: center;
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 8px; border-radius: 999px; flex-shrink: 0;
}
.preview-toast {
  position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 650; max-width: min(440px, calc(100% - 32px)); text-align: center;
}
.preview-toast[hidden] { display: none; }
.legal-page { padding-bottom: 48px; }
.legal-page p { max-width: 640px; color: var(--ink-soft); line-height: 1.6; }

@media (min-width: 801px) {
  .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how.how-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .auth-shell { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  :root { --pad-x: 20px; }
  .site-header { padding: 14px 16px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fog); border-bottom: 1px solid var(--line); padding: 4px 16px 12px;
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-only { display: block; }
  html:not(.js) .nav-links { display: flex; position: static; flex-basis: 100%; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { flex-wrap: wrap; }
  .page-hero { padding: 32px 0 36px; }
  .page-hero h1, .page-hero .home-copy h1 { font-size: 32px; max-width: none; }
  .page-hero .lede { font-size: 15.5px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .section { padding: 48px 0; }
  .section h2 { font-size: 26px; }
  .cta-band { margin: 0 var(--pad-x) 40px; padding: 28px 20px; }
  .cta-band .btn { width: 100%; }
  .auth-left { padding: 28px 20px; min-height: 0; }
  .auth-quote { font-size: 26px; }
  .auth-right { padding: 20px 16px 36px; }
  .auth-card { padding: 24px 16px; }
  .form-panel, .contact-card { padding: 22px 16px; }
  .trust { gap: 16px; }
  .panel { padding: 18px 14px; }
  .price-card .float-badge { position: static; margin-bottom: 10px; }
}
@media (min-width: 801px) {
  .price-card .float-badge { position: absolute; top: 16px; right: 16px; }
}

/* App demo */
body.app { background: var(--fog-deep); min-height: 100vh; }
.app-shell { display: flex; min-height: 100vh; align-items: stretch; }
.sidebar {
  width: 220px; background: var(--ink); color: #C8D5D4; padding: 28px 18px; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.sidebar .brand { color: #fff; margin-bottom: 28px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.sidebar .brand:hover { color: #fff; }
.sidebar .mark-img { width: 28px; height: 28px; border-radius: 7px; }
.nav-item {
  padding: 10px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; margin-bottom: 3px;
  display: flex; align-items: center; gap: 10px; color: #C8D5D4; text-decoration: none;
}
.nav-item .ico { width: 16px; text-align: center; color: #C8D5D4; }
.nav-item.active, .nav-item[aria-current="page"] { background: rgba(29,181,166,0.18); color: #fff; }
a.nav-item:hover { color: #fff; }
.sidebar .back { margin-top: 28px; font-size: 12.5px; }
.app-main { flex: 1; min-width: 0; padding: 28px 36px 48px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; }
.page-head .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.app-banner { font-size: 12.5px; color: var(--warning-text); background: var(--warning-bg); border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; }
.xero { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: var(--ink); }
.xero .ok { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 18px; margin-bottom: 18px; }
.dash-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th {
  text-align: left; color: var(--muted); font-weight: 600; padding: 0 8px 10px 0;
  border-bottom: 1px solid var(--line); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em;
}
table.data td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-family: var(--font-display); }
.bar { height: 6px; background: var(--fog-deep); border-radius: 99px; overflow: hidden; width: 72px; display: inline-block; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.stack-row { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.stack-row:last-child { border-bottom: none; }
.stack-row .when { font-weight: 650; }
.stack-row .who, .muted { color: var(--muted); }
.tag { font-size: 10.5px; font-weight: 700; color: var(--teal); letter-spacing: 0.04em; text-transform: uppercase; }
.balances { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.bal { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-width: 0; }
.bal .name { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.bal .who { font-weight: 650; font-size: 13.5px; margin-bottom: 8px; }
.bal .amt { font-family: var(--font-display); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bal .amt.due { color: var(--coral); }
.bal .amt.credit { color: var(--success); }
.bal .share { font-size: 11px; color: var(--muted); margin-top: 4px; }
.bal.you { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.filters { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.chip { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: #fff; border: 1px solid var(--line); color: var(--ink); font-family: var(--font-body); cursor: pointer; }
.chip.on, .chip[aria-pressed="true"] { background: var(--mint); color: var(--teal); border-color: transparent; }
.ledger-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr); gap: 18px; }
.chart { height: 140px; display: flex; align-items: flex-end; gap: 10px; padding-top: 8px; }
.chart .col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.chart .bar-wrap { width: 100%; height: 90px; display: flex; align-items: flex-end; }
.chart .b { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--wake), var(--teal)); }
.chart .lbl { font-size: 10.5px; color: var(--muted); font-weight: 600; text-align: center; }
.tot-row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tot-row strong { color: var(--ink); font-family: var(--font-display); }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
.cal { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 20px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.cal-head h2 { font-size: 18px; }
.dow, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dow { margin-bottom: 6px; }
.dow span { text-align: center; font-size: 11px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 0; }
.day { min-height: 84px; border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: var(--fog); font-size: 12px; min-width: 0; }
.day.empty { background: transparent; border-color: transparent; }
.day .d { font-weight: 700; margin-bottom: 4px; }
.day.today { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 1px var(--teal); }
.evt { font-size: 10.5px; font-weight: 650; padding: 3px 5px; border-radius: 5px; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evt.you { background: var(--mint); color: var(--teal); }
.evt.other { background: #E8EEF5; color: #243E56; }
.evt.maint { background: var(--warning-bg); color: var(--warning-text); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat .lbl { font-size: 12px; color: var(--muted); }
.stat .val { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-top: 4px; }
.stat .val.small { font-size: 18px; }
.log-item {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.log-item:last-child { border-bottom: none; }
.log-item .title { font-weight: 700; }
.log-item .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vote-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr); gap: 18px; }
.proposal { border: 1.5px solid var(--teal); border-radius: 16px; padding: 24px; background: #fff; }
.proposal h2 { font-size: 20px; margin: 8px 0; }
.proposal .meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.proposal .body { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 16px; }
.vote-bar { height: 12px; background: var(--fog); border-radius: 99px; overflow: hidden; display: flex; margin: 8px 0 4px; }
.vote-bar .yes { background: var(--teal); }
.vote-bar .no { background: var(--coral); }
.vote-bar .abs { background: var(--line-strong); }
.ov { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.hist { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.hist .t { font-weight: 700; }
.hist .m { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tabbar { display: none; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-cal .day {
  min-height: 0; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; padding-top: 6px; background: #fff;
}
.dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 3px; }
.dot.you { background: var(--teal); }
.dot.other { background: #3E5870; }
.dot.maint { background: var(--warning-text); }
.pay-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.app-only-mobile { display: none; }
@media (max-width: 960px) {
  .sidebar { display: none; }
  .app-main { padding: 16px 16px 96px; }
  .dash-grid, .dash-row, .ledger-grid, .cal-wrap, .vote-grid, .stats, .balances { grid-template-columns: 1fr; }
  .balances { grid-template-columns: 1fr 1fr; }
  .app-only-desktop { display: none; }
  .app-only-mobile { display: block; }
  .log-item { grid-template-columns: 1fr; gap: 6px; }
  .page-head h1 { font-size: 22px; }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: 64px; background: #fff;
    border-top: 1px solid var(--line); z-index: 45; justify-content: space-around; align-items: center;
  }
  .tabbar a, .tabbar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 10px; font-weight: 700; color: var(--muted); background: none; border: 0; font-family: var(--font-body); min-width: 64px;
  }
  .tabbar a[aria-current="page"], .tabbar button[aria-expanded="true"], .tabbar button.on { color: var(--teal); }
  .tabbar .ico { font-size: 16px; }
  body.has-tabs .preview-toast { bottom: 84px; }
  .more-panel {
    position: fixed; left: 12px; right: 12px; bottom: 72px; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; padding: 8px; z-index: 46; box-shadow: var(--shadow);
  }
  .more-panel a { display: block; padding: 12px; border-radius: 10px; font-weight: 650; color: var(--ink); }
  .more-panel a[aria-current="page"] { background: var(--mint); color: var(--teal); }
}
.more-panel[hidden] { display: none; }
@media (min-width: 961px) {
  .more-panel { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-ok { background: var(--mint); color: var(--teal); }
.form-status.is-err { background: var(--warning-bg); color: var(--warning-text); }
.form-status.is-wait { background: var(--fog); color: var(--ink-soft); font-weight: 650; }
.legal-page .wrap { max-width: 760px; }
.legal-toc { list-style: none; padding: 0; margin: 8px 0 36px; }
.legal-toc li { margin: 0 0 6px; }
.legal-toc a { color: var(--teal); font-weight: 650; font-size: 15px; }
.legal-page h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.02em; }
.legal-page h3 { font-size: 16.5px; margin: 22px 0 8px; }
.legal-page ul, .legal-page ol { max-width: 68ch; margin: 0 0 16px; padding-left: 1.25em; color: var(--ink-soft); line-height: 1.6; font-size: 15.5px; }
.legal-page li { margin-bottom: 6px; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 20px; max-width: 760px; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-page th, .legal-page td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-page th { font-weight: 700; background: var(--fog); }
.legal-page a { color: var(--teal); font-weight: 650; }
