/* Spindle Financial Operations — static site
   Tokens: paper #F2EEE6 · paper-2 #E7E1D4 · ink #1B1916 · muted #6E675C · pine #2A4A3C · night #161412 */

:root {
  --paper: #F2EEE6;
  --paper-2: #E7E1D4;
  --ink: #1B1916;
  --muted: #6E675C;
  --pine: #2A4A3C;
  --pine-deep: #223D31;
  --night: #161412;
  --line: #D4CEC2;
  --danger: #8A3B22;
  --header-h: 80px;
  --max: 1120px;
  --font-sans: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(27, 25, 22, 0.04), 0 8px 24px rgba(27, 25, 22, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--ink); }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(242, 238, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent !important;
  border: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
}
.logo-link img {
  height: 44px;
  width: auto;
  max-height: 48px;
  object-fit: contain;
  background: transparent !important;
  /* no white plate */
  display: block;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
}
.nav-desktop a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-desktop a:hover { color: var(--pine); }
.header-cta { display: none; }
.nav-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem 1.25rem 1.25rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.65rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-mobile .btn { margin-top: 1rem; width: 100%; text-align: center; }

@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .logo-link img { height: 48px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--pine);
  color: #fff !important;
  border-color: var(--pine);
}
.btn-primary:hover {
  background: var(--pine-deep);
  border-color: var(--pine-deep);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--paper-2);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.88rem; }

/* Sections */
section {
  scroll-margin-top: calc(var(--header-h) + 16px);
  padding: 4.5rem 0;
}
.section-tight { padding: 3.25rem 0; }
.hero {
  padding: 3.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
}
.hero h1 { margin-bottom: 1rem; max-width: 18ch; }
.hero .lede {
  font-size: 1.15rem;
  max-width: 42rem;
  color: var(--ink);
}
.hero .sub {
  color: var(--muted);
  max-width: 40rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}
.hero-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}
.pill-banner {
  margin-top: 2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.section-head p { color: var(--muted); margin: 0; }

.grid-3 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.45rem; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.card-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pine);
  margin-bottom: 0.5rem;
}

.who-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
}
.who-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.who-card h3 { margin-bottom: 0.6rem; }
.who-card p { color: var(--muted); }

.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  border-top: 2px solid var(--pine);
  padding-top: 1rem;
}
.step .n {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--pine);
  margin-bottom: 0.4rem;
}
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.packages {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.pkg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pkg:hover {
  transform: translateY(-3px);
  border-color: #A39B8E;
  box-shadow: 0 4px 8px rgba(27,25,22,0.06), 0 16px 32px rgba(27,25,22,0.08);
}
.pkg.featured {
  border-color: var(--pine);
  box-shadow: 0 0 0 1px var(--pine), var(--shadow);
}
.pkg-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--pine);
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}
.pkg .price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin: 0.35rem 0;
}
.pkg .setup { color: var(--muted); font-size: 0.92rem; margin: 0; }
.pkg ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.pkg li {
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.pkg-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--pine);
}

/* Sample close */
.band-night {
  background: var(--night);
  color: #EDE8DE;
}
.band-night .muted, .band-night p { color: #A39B8E; }
.band-night h2, .band-night h3 { color: #F2EEE6; }
.sample-panel {
  background: #1F1C18;
  border: 1px solid #3D3933;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.sample-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #3D3933;
}
.stat {
  font-size: 0.85rem;
  color: #A39B8E;
}
.stat strong {
  display: block;
  color: #F2EEE6;
  font-size: 1.15rem;
  font-family: var(--font-serif);
  margin-top: 0.15rem;
}
.tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tab {
  appearance: none;
  border: 1px solid #3D3933;
  background: transparent;
  color: #D4CEC2;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.tab[aria-selected="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}
.tab-panel[hidden] { display: none; }
.tables {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .tables { grid-template-columns: 1fr 1fr; }
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid #3D3933;
}
th { color: #A39B8E; font-weight: 500; }
td:last-child, th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.commentary {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #D4CEC2;
}

.team-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.chip {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Inquire */
.inquire-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .inquire-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}
input, select, textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--pine);
  outline-offset: 1px;
  border-color: var(--pine);
}
textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}
.role-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.role-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: #D4CEC2;
  padding: 2.75rem 0 2rem;
  font-size: 0.92rem;
}
.site-footer a { color: #EDE8DE; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #3D3933;
}
.footer-top img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(0.92);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal {
  color: #8F877A;
  max-width: 52rem;
  margin-bottom: 1rem;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: #8F877A;
}
