/* ============================================================
   Ruler Pick / 安庆收尺网络科技有限公司
   Design System — Precision, measurement, clean tech
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --color-steel: #2D3748;
  --color-amber: #C47B2E;
  --color-offwhite: #F7F5F0;
  --color-white: #FFFFFF;
  --color-teal: #319795;
  --color-beige: #EDE8DC;
  --color-steel-light: #4A5568;
  --color-steel-dark: #1A202C;
  --color-amber-dark: #9C5F20;
  --color-amber-light: #E8A84C;
  --color-border: #D4CFC4;
  --color-text: #2D3748;
  --color-text-light: #4A5568;
  --color-text-muted: #718096;

  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', 'Monaco', monospace;
  --font-sans: 'Inter', 'SF Pro Display', 'Helvetica Neue', 'Arial', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;

  --space-unit: 4px;
  --ruler-tick: 24px;
  --max-width: 1120px;
  --grid-gap: clamp(16px, 3vw, 32px);

  --radius-sm: 2px;
  --radius-md: 4px;

  --shadow-sm: 0 1px 3px rgba(45, 55, 72, 0.08);
  --shadow-md: 0 4px 12px rgba(45, 55, 72, 0.1);
  --shadow-lg: 0 8px 32px rgba(45, 55, 72, 0.12);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-amber);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus-visible {
  color: var(--color-amber-dark);
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-steel);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.125rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber);
  display: block;
  margin-bottom: 8px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-steel);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 10000;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 8px;
}

/* --- Ruler Marks (decorative) --- */
.ruler-marks {
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 48px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-text-muted);
}
.ruler-marks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-width: calc(var(--ruler-tick) * 4);
  position: relative;
}
.ruler-marks li::before {
  content: '';
  display: block;
  width: 1px;
  background: var(--color-steel);
}
.ruler-marks li:nth-child(5n+1)::before {
  height: 24px;
}
.ruler-marks li:nth-child(5n+2)::before,
.ruler-marks li:nth-child(5n+3)::before,
.ruler-marks li:nth-child(5n+4)::before {
  height: 12px;
}
.ruler-marks li:nth-child(5n)::before {
  height: 20px;
}
.ruler-marks li:nth-child(5n+1) span {
  margin-top: 4px;
}

.ruler-marks--light li::before {
  background: var(--color-border);
}
.ruler-marks--light {
  color: var(--color-text-muted);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-steel);
}
.logo:hover {
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--color-steel);
}
.logo-sub {
  display: block;
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Navigation --- */
.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--color-beige);
  color: var(--color-steel);
  text-decoration: none;
}
.nav-list a:focus-visible {
  outline-offset: -1px;
}

.nav-cta {
  background: var(--color-steel) !important;
  color: var(--color-white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--color-steel-dark) !important;
  color: var(--color-white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-steel);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-steel);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 1px;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Sections --- */
.section {
  padding: clamp(48px, 8vw, 96px) 24px;
}

.section--white {
  background: var(--color-white);
}
.section--beige {
  background: var(--color-beige);
}
.section--offwhite {
  background: var(--color-offwhite);
}
.section--steel {
  background: var(--color-steel);
  color: var(--color-white);
}
.section--steel h1,
.section--steel h2,
.section--steel h3,
.section--steel h4 {
  color: var(--color-white);
}
.section--steel .section-label {
  color: var(--color-amber-light);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Ruler Header Band --- */
.ruler-band {
  position: relative;
  border-bottom: 2px solid var(--color-steel);
  padding-bottom: 48px;
  margin-bottom: 48px;
}
.ruler-band::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 16px;
  background: repeating-linear-gradient(
    to right,
    var(--color-steel) 0px,
    var(--color-steel) 1px,
    transparent 1px,
    transparent calc(var(--ruler-tick) * 1 - 1px)
  );
}
.ruler-band--amber::after {
  background: repeating-linear-gradient(
    to right,
    var(--color-amber) 0px,
    var(--color-amber) 1px,
    transparent 1px,
    transparent calc(var(--ruler-tick) * 1 - 1px)
  );
}
.ruler-band--white::after {
  background: repeating-linear-gradient(
    to right,
    var(--color-white) 0px,
    var(--color-white) 1px,
    transparent 1px,
    transparent calc(var(--ruler-tick) * 1 - 1px)
  );
}

/* --- Hero --- */
.hero {
  padding: clamp(64px, 10vw, 120px) 24px clamp(48px, 8vw, 96px);
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-amber);
  background: var(--color-beige);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.hero-heading {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-steel);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-sans);
  line-height: 1.2;
}
.btn:hover {
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-steel);
  color: var(--color-white);
  border-color: var(--color-steel);
}
.btn--primary:hover {
  background: var(--color-steel-dark);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-steel);
  border-color: var(--color-steel);
}
.btn--outline:hover {
  background: var(--color-steel);
  color: var(--color-white);
}

.btn--amber {
  background: var(--color-amber);
  color: var(--color-white);
  border-color: var(--color-amber);
}
.btn--amber:hover {
  background: var(--color-amber-dark);
  color: var(--color-white);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-ruler {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid var(--color-border);
  background: var(--color-beige);
  padding: 24px;
}

.hero-ruler-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  height: 100%;
}

.hero-ruler-grid .cell {
  background: var(--color-white);
  border-radius: 1px;
  transition: background 0.3s ease;
}

.hero-ruler-grid .cell:nth-child(3n) { background: var(--color-steel); opacity: 0.15; }
.hero-ruler-grid .cell:nth-child(5n+1) { background: var(--color-amber); opacity: 0.2; }
.hero-ruler-grid .cell:nth-child(7n) { background: var(--color-teal); opacity: 0.2; }

/* Precision tick across top and bottom */
.hero-ruler::before,
.hero-ruler::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    to right,
    var(--color-steel) 0px,
    var(--color-steel) 1px,
    transparent 1px,
    transparent calc(var(--ruler-tick) * 0.5 - 1px)
  );
}
.hero-ruler::before { top: 0; }
.hero-ruler::after { bottom: 0; }

/* --- Stats Counter Row --- */
.stats-band {
  background: var(--color-steel);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Tick mark decoration on each stat */
.stat-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--color-amber);
  border-radius: 0 0 1px 1px;
}

/* --- Section Header --- */
.section-header {
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 24px;
}
.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--color-amber);
}

.section-header--center {
  text-align: center;
}
.section-header--center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.25s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-beige);
  margin-bottom: 20px;
  position: relative;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-steel);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-steel);
}
.service-card:nth-child(2)::before { background: var(--color-amber); }
.service-card:nth-child(3)::before { background: var(--color-teal); }

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.service-measure {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-measure-marks {
  display: flex;
  gap: 3px;
  height: 20px;
  align-items: flex-end;
}
.service-measure-marks span {
  display: block;
  width: 1px;
  background: var(--color-text-muted);
}
.service-measure-marks span:nth-child(3n+1) { height: 16px; }
.service-measure-marks span:nth-child(3n+2) { height: 10px; }
.service-measure-marks span:nth-child(3n) { height: 8px; }

.service-measure-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.about-measure {
  display: flex;
  gap: 4px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.about-measure-marks {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
.about-measure-row {
  display: flex;
  gap: 3px;
  height: 8px;
  align-items: flex-end;
}
.about-measure-row span {
  display: block;
  width: 1px;
  background: var(--color-border);
}
.about-measure-row span:nth-child(5n+1) { height: 8px; }
.about-measure-row span:nth-child(5n+2) { height: 4px; }
.about-measure-row span:nth-child(5n+3) { height: 6px; }
.about-measure-row span:nth-child(5n+4) { height: 3px; }
.about-measure-row span:nth-child(5n) { height: 5px; }

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 16px;
}
.about-text p:last-child {
  margin-bottom: 0;
}

.about-detail {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 28px;
}

.about-detail h3 {
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.about-detail-list {
  list-style: none;
}
.about-detail-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-detail-list li:last-child {
  border-bottom: none;
}
.about-detail-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--color-amber);
  border-radius: 1px;
  margin-top: 7px;
  flex-shrink: 0;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
}

.contact-info h3 {
  margin-bottom: 12px;
}
.contact-info > p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--color-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-steel);
}
.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 0.9375rem;
  color: var(--color-steel);
}

.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 32px;
}

.form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-steel);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-offwhite);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.5;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(49, 151, 149, 0.15);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-message {
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  display: none;
}
.form-message--success {
  display: block;
  background: #E6FFFA;
  color: #234E52;
  border: 1px solid #81E6D9;
}
.form-message--error {
  display: block;
  background: #FFF5F5;
  color: #822727;
  border: 1px solid #FEB2B2;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-steel);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 24px 32px;
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--grid-gap);
}

.footer-brand p {
  margin-bottom: 16px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-divider {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-divider p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-measure {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}
.footer-measure span {
  display: block;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.footer-measure span:nth-child(5n+1) { height: 12px; }
.footer-measure span:nth-child(5n+2) { height: 6px; }
.footer-measure span:nth-child(5n+3) { height: 9px; }
.footer-measure span:nth-child(5n+4) { height: 5px; }
.footer-measure span:nth-child(5n) { height: 8px; }

/* --- Section Divider — Ruler Ticks --- */
.section-ruler {
  height: 40px;
  background: var(--color-offwhite);
  display: flex;
  align-items: flex-end;
  padding: 0 24px;
  overflow: hidden;
}
.section-ruler .ruler-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0;
  width: 100%;
}
.section-ruler .ruler-inner span {
  display: block;
  min-width: 12px;
  border-right: 1px solid var(--color-border);
}
.section-ruler .ruler-inner span:nth-child(10n+1) { height: 16px; }
.section-ruler .ruler-inner span:nth-child(10n+2),
.section-ruler .ruler-inner span:nth-child(10n+6) { height: 12px; }
.section-ruler .ruler-inner span:nth-child(10n+3),
.section-ruler .ruler-inner span:nth-child(10n+7) { height: 8px; }
.section-ruler .ruler-inner span:nth-child(10n+4),
.section-ruler .ruler-inner span:nth-child(10n+8) { height: 6px; }
.section-ruler .ruler-inner span:nth-child(10n+5),
.section-ruler .ruler-inner span:nth-child(10n+9) { height: 10px; }
.section-ruler .ruler-inner span:nth-child(10n) { height: 20px; }

/* --- Precision Panel --- */
.precision-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 40px;
  position: relative;
}
.precision-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    var(--color-amber) 0px,
    var(--color-amber) 2px,
    transparent 2px,
    transparent 8px
  );
}

.precision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.precision-content h2 {
  margin-bottom: 16px;
}
.precision-content p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}
.precision-content p:last-of-type {
  margin-bottom: 24px;
}

.precision-marks {
  display: flex;
  gap: 16px;
}

.precision-mark {
  text-align: center;
}
.precision-mark-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-steel);
  line-height: 1;
}
.precision-mark-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.precision-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Page Header (for sub-pages) --- */
.page-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 56px 24px;
  text-align: center;
}
.page-header h1 {
  margin-bottom: 8px;
}
.page-header p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* --- Legal Content --- */
.legal-content {
  background: var(--color-white);
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.legal-content strong {
  color: var(--color-steel);
}

.legal-content .legal-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 32px;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .hero-content {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }

  .precision-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }
  .nav-list.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .section-ruler {
    height: 24px;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-divider {
    flex-direction: column;
    align-items: flex-start;
  }

  .precision-marks {
    flex-wrap: wrap;
    gap: 12px;
  }

  .legal-content {
    padding: 32px 16px;
    font-size: 16px;
  }
}
