/* ============================================================
   Moyu Technology — shared styles for sub-pages
   Matches preview.html (homepage) dark Synex aesthetic.
   ============================================================ */

:root {
  --black: #0A0A0A;
  --white: #FAFAFA;
  --gray-100: #F4F4F4;
  --gray-300: #D4D4D4;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #171717;
  --border: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.3);
  --serif: 'Noto Serif SC', 'Instrument Serif', Georgia, serif;
  --sans: 'Noto Sans SC', 'Inter', -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--white); color: var(--black); }
a { color: inherit; }

/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  mix-blend-mode: difference;
  color: white;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.nav-logo img { height: 32px; width: auto; display: block; }
@media (max-width: 640px) {
  .nav-logo img { content: url('assets/logo-mark.svg'); height: 28px; }
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active { opacity: 1; }

/* ============ Page Hero ============ */
.page-hero {
  padding: 200px 48px 100px;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
  display: block;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 28px;
}
.page-hero .lead {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--gray-300);
  max-width: 640px;
}

/* ============ Sections ============ */
.section {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.section:not(:last-of-type) {
  border-bottom: 1px solid var(--border);
}

/* ============ Prose ============ */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 56px;
  margin-bottom: 20px;
  color: var(--white);
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--gray-300);
  margin-bottom: 20px;
}
.prose strong {
  color: var(--white);
  font-weight: 600;
}
.prose a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.prose a:hover {
  text-decoration-color: var(--white);
}
.prose ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.prose ul li {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--gray-300);
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gray-500);
}
.prose ul li strong { color: var(--white); font-weight: 600; }

.prose .note {
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============ Legal Table ============ */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.legal-table th {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--gray-500);
  width: 40%;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.legal-table td {
  color: var(--white);
  font-weight: 400;
}
.legal-table a { color: var(--white); }

/* ============ Contact Grid ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 80px;
}
.contact-item {
  background: var(--black);
  padding: 48px 32px;
}
.contact-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.contact-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.contact-value {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  display: inline-block;
}
.contact-value:hover { border-bottom-color: var(--white); }

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.address-grid h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.address-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.address-grid p {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 4px;
}

/* ============ About Products List ============ */
.about-products {
  list-style: none;
  padding: 0;
}
.about-products li {
  font-size: 15px;
  color: var(--gray-300);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
}
.about-products li:last-child { border-bottom: none; }
.about-products strong { color: var(--white); font-weight: 600; }
.about-products a {
  color: var(--gray-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s, border-color 0.2s;
}
.about-products a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ============ Footer ============ */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px 48px 40px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-brand {
  display: block;
  margin-bottom: 20px;
}
.footer-brand img { height: 48px; width: auto; display: block; }
.footer-brand-sub {
  font-size: 13px;
  color: var(--gray-500);
  max-width: 280px;
  font-weight: 300;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 20px;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 140px 20px 60px; }
  .section { padding: 60px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { padding: 32px 24px; }
  .address-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .footer-brand img { height: 40px; }
  .legal-table th { width: 45%; }
}
