:root {
  --charcoal: #242426;
  --cream: #f2ebdf;
  --gold: #a6904e;
  --teal: #00a896;
  --white: #ffffff;
  --off-white: #e0e0e0;
  --text-dark: #1a1a1a;
  --text-muted: #5c5c5c;
  --shadow: 0 12px 40px rgba(36, 36, 38, 0.12);
  --radius: 12px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: Montserrat, "Segoe UI", sans-serif;
  margin: 0 0 0.6em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

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

/* Header */
.site-header {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.logo__mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo__title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.logo__sub {
  font-size: 0.72rem;
  color: var(--off-white);
  opacity: 0.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  border: none;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 168, 150, 0.28);
}

.btn--teal:hover {
  background: #009484;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Hero */
.hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 3.5rem 0 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(166, 144, 78, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero__sub {
  color: var(--off-white);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 52ch;
  margin-bottom: 0;
}

/* Video / Demo */
.demo {
  background: #faf8f4;
  padding: 3rem 0;
}

.demo__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1c;
  box-shadow: var(--shadow);
  border: 1px solid rgba(36, 36, 38, 0.08);
}

.demo__frame iframe,
.demo__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.demo__caption {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form block */
.form-block {
  background: var(--white);
  padding: 1rem 0 4rem;
}

.form-card {
  background: var(--cream);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(166, 144, 78, 0.2);
}

.form-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.35rem;
}

.form-card__intro {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.dummy-form {
  display: grid;
  gap: 1rem;
}

.dummy-form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .dummy-form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.dummy-form label {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.dummy-form input,
.dummy-form select,
.dummy-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(36, 36, 38, 0.18);
  border-radius: 8px;
  background: var(--white);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dummy-form input:focus,
.dummy-form select:focus,
.dummy-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.18);
}

.dummy-form__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.dummy-form__consent input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--teal);
}

.dummy-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.dummy-form__note {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Pillars */
.pillars {
  background: var(--white);
  padding: 1rem 0 4.5rem;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 6px 18px rgba(36, 36, 38, 0.06);
}

.pillar-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--charcoal);
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Authority */
.authority {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 0;
}

.authority__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.book-slot {
  aspect-ratio: 3 / 4;
  max-width: 280px;
  margin-inline: auto;
  border-radius: 10px;
  border: 1px solid rgba(166, 144, 78, 0.45);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: #1a1a1c;
}

.book-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-slot__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(26, 26, 28, 0.92));
  color: var(--cream);
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.pillar-card__img {
  width: calc(100% + 2.8rem);
  margin: -1.6rem -1.4rem 1rem;
  height: 140px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}

.badge {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.authority h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

.authority p {
  color: var(--off-white);
}

.founder {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: var(--off-white);
}

/* Footer */
.site-footer {
  background: #1a1a1c;
  color: rgba(255, 255, 255, 0.65);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  text-align: center;
}

.site-footer strong {
  color: var(--cream);
}

@media (max-width: 900px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }

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

  .book-slot {
    max-width: 220px;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .btn--header {
    width: 100%;
  }

  .form-card {
    margin-top: -2.5rem;
  }
}
