/* Sai Services LLC — site styles */

:root {
  --bg: #faf6ef;
  --text: #2a2520;
  --text-muted: #6b6258;
  --text-soft: #a8957d;
  --accent: #8c5a2b;
  --surface: #ffffff;
  --border: rgba(42, 37, 32, 0.10);
  --border-strong: rgba(42, 37, 32, 0.18);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-w: 760px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 0.5px solid var(--border-strong);
  background: var(--bg);
}
.site-header .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }
.nav a.active {
  color: var(--text);
  font-weight: 500;
}

/* Main */
main { padding: 56px 0 64px; }

/* Hero */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 16px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 32px;
}

/* Page heading */
.page-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 36px);
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

/* Section */
section { margin-top: 48px; }
.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 18px;
}

/* App grid */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.app-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.app-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.app-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}
.app-card .app-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text);
}
.app-card .app-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Prose */
.prose {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  max-width: 620px;
}
.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.75px;
}
.prose a:hover { color: var(--text); }

/* Press list */
.press {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.press-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 0.5px solid var(--border);
}
.press-item:first-child { padding-top: 0; }
.press-item:last-child { border-bottom: none; }
.press-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
}
.press-item .press-app {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
}
.press-item .press-app a {
  color: var(--text);
  text-decoration: none;
}
.press-item .press-app a:hover { color: var(--accent); }
.press-item .press-citation {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.press-item .press-citation a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.press-item .press-citation .source {
  color: var(--text-muted);
}
.press-item .press-citation .date {
  color: var(--text-soft);
}

/* CTA button */
.cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--bg);
  background: var(--text);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.cta:hover { background: var(--accent); }

/* Divider */
.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 40px 0;
}

/* Footer */
footer {
  border-top: 0.5px solid var(--border-strong);
  margin-top: 64px;
  padding: 24px 0 32px;
  font-size: 13px;
  color: var(--text-soft);
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer a {
  color: var(--text-muted);
  text-decoration: none;
}
footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 600px) {
  .site-header .container {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .nav { gap: 16px; font-size: 13px; }
  main { padding: 36px 0 48px; }
  .hero p { font-size: 16px; }
  .apps { grid-template-columns: 1fr; }
  footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
