/* Springrock Ventures LLC — springrock.ai
   Single stylesheet. No build step, no dependencies, no JavaScript. */

/* ---------- tokens ---------- */

:root {
  color-scheme: light dark;

  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f4f4f1;
  --text: #16181c;
  --text-muted: #5b6068;
  --text-faint: #8a9098;
  --border: #e4e4e0;
  --border-strong: #d3d3ce;
  --accent: #1f6a58;
  --accent-hover: #17513f;
  --accent-soft: #e9f2ef;
  --shadow: 0 1px 2px rgba(16, 20, 24, 0.04), 0 8px 24px -12px rgba(16, 20, 24, 0.12);

  --wrap: 68rem;
  --prose: 44rem;
  --radius: 10px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e10;
    --surface: #14171a;
    --surface-2: #191d21;
    --text: #f0f1f2;
    --text-muted: #a0a7ae;
    --text-faint: #767d85;
    --border: #23272b;
    --border-strong: #343a41;
    --accent: #5cb59c;
    --accent-hover: #7fcbb5;
    --accent-soft: #11221d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.021em;
  font-weight: 640;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
}
h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

strong {
  font-weight: 620;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 660;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 0.9rem;
}

.lede {
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 42rem;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-intro h2 {
  margin-bottom: 0.85rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wordmark {
  font-size: 1.08rem;
  font-weight: 660;
  letter-spacing: -0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wordmark:hover {
  color: var(--text);
  text-decoration: none;
}

.wordmark-mark {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 570;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #08130f;
  }
  .btn-primary:hover {
    color: #08130f;
  }
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text-faint);
  color: var(--text);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- hero ---------- */

.hero {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  max-width: 20ch;
  margin-bottom: 1.4rem;
}

.hero .lede {
  font-size: 1.24rem;
}

.page-head {
  padding: 3.75rem 0 2.75rem;
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  margin-bottom: 1.1rem;
}

/* ---------- cards / grids ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}

/* min() keeps the track from forcing overflow on narrow viewports, where a
   fixed minmax floor would be wider than the available content width. */
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card p:last-of-type {
  margin-bottom: 0;
}

/* product card on the home page */

.product-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.product-card .product-name {
  font-size: 1.3rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.product-card .product-domain {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.product-card .product-desc {
  margin-bottom: 1.25rem;
}

.product-card .product-foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.price-from {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-from b {
  color: var(--text);
  font-weight: 620;
}

/* feature list */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  border-color: var(--accent);
}

.plan-name {
  font-size: 0.78rem;
  font-weight: 660;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
}

.plan-featured .plan-name {
  color: var(--accent);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.plan-amount {
  font-size: 2.2rem;
  font-weight: 660;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 1.4rem;
  min-height: 1.2em;
}

.plan .feature-list {
  margin-bottom: 1.5rem;
}

.plan-foot {
  margin-top: auto;
}

/* ---------- prose (legal pages) ---------- */

.prose {
  max-width: var(--prose);
}

.prose h2 {
  font-size: 1.3rem;
  margin: 2.75rem 0 0.9rem;
}

.prose h3 {
  font-size: 1.02rem;
  margin: 2rem 0 0.6rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose > p:first-child {
  margin-top: 0;
}

.updated {
  font-size: 0.88rem;
  color: var(--text-faint);
  margin-bottom: 0;
}

/* ---------- misc blocks ---------- */

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.callout p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.contact-line {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.contact-line span {
  color: var(--text-muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 660;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.back-link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.94rem;
}

th,
td {
  text-align: left;
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  font-weight: 620;
  color: var(--text);
  white-space: nowrap;
}

td {
  color: var(--text-muted);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 3.5rem 0 2.5rem;
  margin-top: 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 46rem) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 2rem;
  }
}

.footer-desc {
  color: var(--text-muted);
  margin-top: 0.9rem;
  max-width: 26rem;
  font-size: 0.9rem;
}

.footer-col h3 {
  font-size: 0.74rem;
  font-weight: 660;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--text-muted);
}

/* ---------- responsive ---------- */

@media (max-width: 34rem) {
  .hero {
    padding: 3.5rem 0 3rem;
  }
  .section {
    padding: 3.25rem 0;
  }
  .site-nav {
    gap: 1.1rem;
    font-size: 0.88rem;
  }
  .card,
  .plan {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
