:root {
  --ink: #1c2128;
  --ink-light: #5b6270;
  --paper: #f7f6f3;
  --paper-alt: #eeece6;
  --navy: #1b2a41;
  --navy-dark: #101a29;
  --gold: #b08d57;
  --gold-light: #ddc9a3;
  --line: rgba(28, 33, 40, 0.1);
  --radius: 1rem;
  --shadow: 0 10px 30px -14px rgba(16, 26, 41, 0.25);
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.brand img {
  height: 3.5rem;
  width: auto;
}

.footer-grid .brand img {
  height: 4.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--navy-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--navy);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--paper-alt);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-navy .ink-light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.ink-light {
  color: var(--ink-light);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-light);
  max-width: 40rem;
}

/* Hero */
.hero {
  padding: 6rem 0 5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(27, 42, 65, 0.3);
}

.btn-secondary:hover {
  border-color: var(--navy);
}

.section-navy .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.section-navy .btn-secondary:hover {
  border-color: #fff;
}

/* Cards */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.card-elevated {
  box-shadow: var(--shadow);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card .tag {
  display: inline-block;
  width: fit-content;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--paper-alt);
  color: var(--ink-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card .tag.live {
  background: var(--gold-light);
  color: #5a4322;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-grid h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-light);
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-grid a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--ink-light);
}

.footer-grid a:hover {
  color: var(--navy);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-light);
}

/* Forms */
.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(28, 33, 40, 0.18);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.notice {
  border-radius: 0.75rem;
  border: 1px solid var(--gold);
  background: var(--gold-light);
  color: #4a3a1e;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
}

/* Media placeholder */
.media-placeholder {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-align: center;
  padding: 2rem;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-links,
  .nav-cta-wrap {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.5rem;
  }

  .site-header.open .nav-links a {
    padding: 0.6rem 0;
    width: 100%;
  }

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