/* Data Connect Point — soft neutral minimalist theme */
:root {
  --ink: #1a2422;
  --ink-soft: #3d4a46;
  --muted: #6b7873;
  --line: #d8ddd9;
  --paper: #f6f7f5;
  --paper-deep: #eef1ee;
  --surface: #ffffff;
  --accent: #1e3a3a;
  --accent-soft: #2f5550;
  --accent-mist: #dce8e2;
  --highlight: #a8c4b0;
  --danger: #8b3a3a;
  --ok: #2a5c45;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-soft: 0 12px 40px rgba(26, 36, 34, 0.06);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e4ebe6 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e8ece8 0%, transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #fafbfa 40%, var(--paper-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 0.55em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(26, 36, 34, 0.04);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 50%, var(--highlight) 0 28%, transparent 29%),
    radial-gradient(circle at 72% 28%, #e8efe9 0 18%, transparent 19%),
    radial-gradient(circle at 72% 72%, #e8efe9 0 18%, transparent 19%),
    var(--accent);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-cta {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  background: var(--accent);
  color: #f4f7f5 !important;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.nav-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

  .site-nav.is-open { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-list a {
    display: block;
    padding: 0.65rem 0.4rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

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

.btn-primary {
  background: var(--accent);
  color: #f5f8f6;
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #fff;
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full-bleed, brand-forward */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f3f6f4;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 32, 30, 0.88) 0%, rgba(18, 32, 30, 0.55) 48%, rgba(18, 32, 30, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 32, 30, 0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  animation: rise 0.9s var(--ease) both;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  max-width: 22ch;
  margin: 0 0 0.75rem;
  color: #e4ebe6;
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero-support {
  max-width: 34ch;
  color: #c5d0cb;
  margin: 0;
  animation: rise 0.9s 0.22s var(--ease) both;
}

.hero .btn-row {
  animation: rise 0.9s 0.32s var(--ease) both;
}

.hero .btn-primary {
  background: #e8efe9;
  color: var(--accent);
}

.hero .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Proof strip */
.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .proof-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Featured course band */
.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-band img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

@media (max-width: 860px) {
  .feature-band {
    grid-template-columns: 1fr;
  }
  .feature-band img { height: 280px; }
}

/* Benefit list — not cards */
.benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.benefit-row.is-visible {
  opacity: 1;
  transform: none;
}

.benefit-num {
  font-family: var(--font-display);
  color: var(--highlight);
  font-size: 1.1rem;
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 2rem;
}

.quote {
  max-width: 40rem;
  padding: 0;
  margin: 0;
  border: none;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.quote-alt {
  margin-left: auto;
  text-align: right;
}

.quote-alt p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lede {
  margin-bottom: 0;
}

/* Course / blog grids */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease);
}

.item:hover img {
  transform: scale(1.02);
}

.item h3 {
  margin: 0;
  text-decoration: none;
}

.item p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

.item-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.price-tier {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(165deg, #fff 0%, var(--accent-mist) 140%);
}

.price-tier h3 {
  font-size: 1.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.5rem 0 0.25rem;
  letter-spacing: -0.03em;
}

.price-amount span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.price-tier ul {
  margin: 1.25rem 0 1.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.price-tier li + li {
  margin-top: 0.45rem;
}

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

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.contact-panel {
  padding: 1.5rem 0;
}

.contact-panel p {
  margin-bottom: 0.75rem;
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-mist);
  border-color: var(--accent-soft);
}

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

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e4f0e8;
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  background: #f5e8e8;
  color: var(--danger);
}

@media (max-width: 800px) {
  .form-layout { grid-template-columns: 1fr; }
}

/* Legal / prose */
.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose ul, .prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  display: block;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  background: var(--surface);
}

.cookie-table th {
  background: var(--paper-deep);
  font-weight: 600;
}

/* Modules / FAQ */
.module-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.module-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
}

.module-list strong {
  font-family: var(--font-display);
  color: var(--accent-soft);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* Instructor */
.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
}

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

/* Reviews page */
.review-grid {
  display: grid;
  gap: 2.5rem;
}

.review-block {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.review-block .stars {
  letter-spacing: 0.15em;
  color: var(--accent-soft);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1rem;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--accent-mist);
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 420px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
  animation: rise 0.45s var(--ease);
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

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

.cookie-actions .btn {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.inline-error {
  background: #f5e8e8;
  color: var(--danger);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 0.5rem 0;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.footer-tag {
  color: var(--ink-soft);
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li + li {
  margin-top: 0.4rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* Split CTA band */
.cta-band {
  background: var(--accent);
  color: #e8efe9;
  padding: 3.5rem 0;
  margin-top: 2rem;
}

.cta-band h2 {
  color: #f5f8f6;
  max-width: 16ch;
}

.cta-band p {
  color: #b8c9bf;
  max-width: 36ch;
}

.cta-band .btn-primary {
  background: #e8efe9;
  color: var(--accent);
}

/* Blog article */
.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 2rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Reveal utility */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
