/* Trust Ledger / Universal Co - Website Styles */
:root {
  --primary: #1a5f4a;
  --primary-dark: #0f3d32;
  --accent: #2d8f6f;
  --bg: #f8faf9;
  --bg-dark: #0d1412;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --border: #e0e8e5;
  --shadow: 0 4px 20px rgba(26, 95, 74, 0.08);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero .tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.badge {
  background: rgba(255,255,255,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.section h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.section p, .section li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

/* App features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 95, 74, 0.12);
}

.feature-card h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Company / Contact */
.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.contact-box p {
  margin-bottom: 0.5rem;
}

.contact-box a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-box a:hover {
  text-decoration: underline;
}

.address-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-style: normal;
}

/* CTA */
.cta {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 1rem;
}

.cta a {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}

.cta a:hover {
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  opacity: 0.85;
  font-size: 0.9rem;
}

/* Legal pages (privacy, terms) */
.legal-page {
  padding: 2rem 0 4rem;
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-page p, .legal-page li {
  margin-bottom: 0.6rem;
}

.legal-page ul {
  margin-left: 1.25rem;
}

.back-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
