:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #6e6e6e;
  --line: #d8d8d4;
  --accent: #1e3a5f;
  --accent-soft: rgba(30, 58, 95, 0.06);
  --radius: 2px;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --container: 1080px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
  color: var(--muted);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 247, 245, 0.96);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.header__end {
  display: flex;
  gap: 0.6rem;
}

.menu-btn {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  width: 40px;
  height: 36px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--solid {
  background: var(--accent);
  color: #fff;
}

.btn--solid:hover {
  background: #162c48;
}

.btn--line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn--line:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg {
  padding: 0.9rem 1.7rem;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: start;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
  color: var(--ink);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 420px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Agenda mock — formal briefing */
.agenda {
  background: var(--surface);
  border: 1px solid var(--line);
}

.agenda__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--accent-soft);
}

.agenda__head h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.agenda__meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.agenda__body {
  padding: 0;
}

.agenda-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-item__time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.agenda-item__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.agenda-item__desc {
  font-size: 0.8rem;
  color: var(--muted);
}

.agenda-item__badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}

.agenda-item__badge--pri {
  color: var(--accent);
  border-color: var(--accent);
}

.agenda__foot {
  padding: 0.9rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

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

.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 560px;
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--muted);
  margin-top: 0.85rem;
}

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.principle {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
}

.principle:last-child {
  border-right: none;
}

.principle__num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.principle p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Nav cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  transition: background 0.2s;
}

.card:hover {
  background: var(--accent-soft);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

.card span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Page top */
.page-top {
  padding: calc(var(--header-h) + 3.5rem) 0 2.75rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-top h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
}

.page-top p {
  color: var(--muted);
  max-width: 500px;
  margin: 0.85rem auto 0;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.split h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.split p {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.list {
  list-style: none;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.list li {
  padding: 0.7rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-left: 1.25rem;
  position: relative;
}

.list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Feature list */
.feat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.feat {
  padding: 1.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.feat:nth-child(2n) {
  border-right: none;
}

.feat:nth-last-child(-n + 2) {
  border-bottom: none;
}

.feat h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--accent);
}

.feat p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Steps */
.steps {
  max-width: 680px;
  margin-inline: auto;
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.step {
  position: relative;
  padding-bottom: 2.25rem;
}

.step:last-child {
  padding-bottom: 0;
}

.step__n {
  position: absolute;
  left: -2.65rem;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
}

.cta p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.info-item {
  margin-bottom: 1.75rem;
}

.info-item h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.form-box {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2.25rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.6rem;
  max-width: 260px;
}

.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.footer__col a,
.footer__col address {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.footer__col a:hover {
  color: var(--ink);
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer__bar p {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Legal */
.legal {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.legal__box {
  max-width: 680px;
  margin-inline: auto;
}

.legal__box h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.legal__box .upd {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1rem 0 1.5rem;
}

.legal__box h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 1.75rem 0 0.5rem;
}

.legal__box p,
.legal__box li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.legal__box ul {
  padding-left: 1.2rem;
}

.legal__box a {
  color: var(--accent);
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 200;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(120%);
  opacity: 0;
  transition: 0.35s ease;
}

.cookie-bar.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-bar p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.cookie-bar a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-bar__row {
  display: flex;
  gap: 0.5rem;
}

.nav--mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
  z-index: 99;
}

.nav--mobile.open {
  display: flex;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 0.55s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero__grid,
  .split,
  .contact-grid,
  .footer__grid,
  .cta,
  .principles,
  .feat-list {
    grid-template-columns: 1fr;
  }

  .principle {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: none;
  }

  .feat {
    border-right: none !important;
  }

  .feat:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .feat:last-child {
    border-bottom: none;
  }

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

  .cta {
    flex-direction: column;
    text-align: center;
  }

  .nav,
  .header__end {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    text-align: center;
  }

  .hero__lead,
  .hero__cta {
    margin-inline: auto;
    justify-content: center;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (max-width: 600px) {
  .cookie-bar {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
