/* TrueRow Data — Direction 1: Precision data */

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #172B3A;
  --muted: #526373;
  --accent: #0F766E;
  --border: #DCE5EA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 12px 0 24px;
}

h3 { font-size: 19px; font-weight: 600; }

.mono-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.mono-label-dark { color: #67D9CB; }

/* ---------- Header ---------- */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
}

.wordmark-accent { color: var(--accent); }

.site-nav { display: flex; gap: 28px; }

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */

.hero { padding: 80px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  line-height: 20px;
}

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

.btn-primary:hover { background: #0d635c; }

.btn-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.btn-link:hover { text-decoration: underline; }

.btn:focus-visible,
.site-nav a:focus-visible,
.email-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }

.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 36px;
}

/* ---------- Services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}

.service-card .price {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.price-num {
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
}

.service-card .scope { font-size: 15px; color: var(--muted); margin-bottom: 16px; }

.spec-list {
  list-style: none;
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.spec-list li {
  padding: 4px 0 4px 18px;
  position: relative;
}

.spec-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Sample ---------- */

.sample-table-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  background: var(--surface);
  margin-bottom: 36px;
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}

.sample-table th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  background: var(--bg);
}

.sample-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sample-table tbody tr:nth-child(even) { background: #FBFCFD; }
.sample-table tbody tr:last-child td { border-bottom: none; }

.quality-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.quality-point p { font-size: 15px; margin-top: 6px; }

/* ---------- About ---------- */

.about-inner { max-width: 760px; }

.about-inner p:not(.mono-label) {
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Contact ---------- */

.section-dark {
  background: #14232B;
  color: #F3F7F8;
}

.dark-heading { color: #F3F7F8; }

.dark-sub { color: #9FB2BD; font-size: 17px; margin-bottom: 20px; }

.email-link {
  color: #67D9CB;
  font-weight: 500;
  text-decoration: none;
}

.email-link:hover { text-decoration: underline; }

.contact-list {
  list-style: none;
  margin: 0 0 32px;
  color: #C9D6DD;
  font-size: 16px;
}

.contact-list li { padding: 5px 0 5px 20px; position: relative; }

.contact-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #67D9CB;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #14232B;
  border-top: 1px solid #24363F;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #9FB2BD;
  font-size: 14px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-points { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
}

/* ---------- New: guarantee note, legal links, legal pages ---------- */

.guarantee-note {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  max-width: 720px;
}

.footer-legal { font-size: 13px; margin-top: 4px; }
.footer-legal a { color: #9FB2BD; text-decoration: none; }
.footer-legal a:hover { color: #67D9CB; text-decoration: underline; }

/* Legal pages (privacy.html / terms.html) reuse site chrome */
.legal-body { max-width: 760px; }
.legal-body h2 { margin-top: 40px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; }
.legal-body strong { color: var(--text); }
.legal-updated { font-size: 14px; color: var(--muted); margin-bottom: 8px; }