
/* Sentia Legis – Minimal, modern, accessible UI */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #0A2342;
  --accent: #2CA58D;
  --ink: #1B1B1B;
  --muted: #6B7280;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: min(1100px, 92%); margin: 0 auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
  border-bottom: 1px solid #E9EDF3;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display:flex; align-items:center; gap: 10px; text-decoration: none; }
.brand img { width: 208px; height: auto; } /* bigger logo */
.nav-links { display: flex; gap: 20px; align-items:center; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display:none; background:none; border:none; }
.nav-toggle svg { width:28px; height:28px; }

@media (max-width: 760px) {
  .nav-links { display:none; position:absolute; top:64px; left:0; right:0; background:white; border-bottom:1px solid #eee; padding: 14px 4%; }
  .nav-links.open { display:flex; flex-direction:column; gap:12px; }
  .nav-toggle { display:block; }
}

/* HERO */
.hero { padding: 66px 0 32px; }
.hero-grid { display:grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: start; } /* RHS narrower */
.hero h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--primary);
}
.hero p { color: var(--muted); font-size: 1.07rem; margin: 0 0 22px; }
.cta { display:flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 11px 16px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration:none; cursor:pointer; transition: .2s ease;
}
.btn-primary { background: var(--accent); color:white; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border:1px solid #CFD8E3; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Minimal RHS card */
.hero-card {
  background: #fff;
  border: 1px solid #EEF2F7; border-radius: 12px;
  padding: 16px; box-shadow: none; /* remove heavy shadow */
}
.hero-card h3 {
  margin: 0 0 8px; font-size: .92rem; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
}
.hero-card .panel {
  display:flex; align-items:flex-start; gap:10px; background: transparent;
  padding:8px 0; border-radius: 0; border:none;
}
.hero-card .icon { width: 22px; height: 22px; color: var(--primary); }
.hero-card strong { color: var(--primary); font-weight: 600; }
.hero-card .helper { color: var(--muted); font-size: .95rem; }
.hero-card .panel + .panel { border-top: 1px dashed #E9EDF3; }

/* SECTIONS */
.section { padding: 44px 0; }
.section h2 { font-family: Montserrat, Inter, sans-serif; font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: var(--primary); margin: 0 0 6px; }
.section p.lead { color: var(--muted); margin-top: 0; }

.grid { display:grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.card {
  grid-column: span 4;
  background: var(--card); border: 1px solid #EEF2F7; border-radius: 12px;
  padding: 14px; box-shadow: none; /* lighter look */
}
.card h3 { margin: 6px 0 4px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); }
.card .icon { width: 26px; height: 26px; }

@media (max-width: 960px) { .card { grid-column: span 6; } }
@media (max-width: 600px) {
  .card { grid-column: span 12; }
  .hero-grid { grid-template-columns: 1fr; } /* stack on mobile */
  .hero-card { order: 2; } /* push RHS below text */
}

.strip { font-size: .9rem; color: var(--muted); border-top:1px solid #E6EBF2; padding: 10px 0 0; }

.footer {
  margin-top: 32px;
  padding: 24px 0; background: #0b223f; color:#e7eef8; border-top: 1px solid #0a1b31;
}
.footer a { color:#c6f4ea; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.form { max-width: 440px; margin: 0 auto; background:white; border: 1px solid #EEF2F7; padding: 20px; border-radius: 12px; box-shadow: none; }
.form h3 { margin-top:0; color: var(--primary); }
.input { width:100%; padding: 12px 12px; border:1px solid #D6DBE5; border-radius: 10px; outline:none; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(44,165,141,.12); }
.helper { color: var(--muted); font-size: .92rem; }
.toast { display:none; position: fixed; right: 16px; bottom: 16px; background: var(--primary); color:white; padding: 12px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.toast.show { display:block; }

/* tagline sizing */
.brand-tagline{font-size:0.95rem;color:#555;line-height:1.2;}
.brand-text{font-size:1.25rem;font-weight:600;}


/* Visually hidden, for screen readers only */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
