/* Socketfieldbase — vibrant path analytics theme */
:root {
  --ink: #0b3d3a;
  --ink-soft: #1a5551;
  --paper: #f7f3e8;
  --paper-2: #efe8d4;
  --coral: #ff6b4a;
  --coral-deep: #e84f2f;
  --lime: #c8f547;
  --lime-deep: #9fcf1a;
  --sky: #3ecfcf;
  --violet-pop: #6b5cff;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(11, 61, 58, 0.14);
  --radius: 1.25rem;
  --radius-sm: 0.65rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(200, 245, 71, 0.45), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(255, 107, 74, 0.28), transparent 38%),
    radial-gradient(circle at 70% 70%, rgba(62, 207, 207, 0.18), transparent 45%),
    linear-gradient(165deg, var(--paper) 0%, #f3efe0 48%, #e9f6f2 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--ink-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  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: -4rem;
  background: var(--ink);
  color: var(--lime);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 243, 232, 0.82);
  border-bottom: 3px solid rgba(11, 61, 58, 0.08);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

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

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--coral) 0 38%, transparent 39%),
    radial-gradient(circle at 70% 70%, var(--lime) 0 38%, transparent 39%),
    var(--ink);
  box-shadow: 0 0 0 3px rgba(200, 245, 71, 0.35);
  animation: pulse-mark 3.2s ease-in-out infinite;
}

@keyframes pulse-mark {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(8deg); }
}

.nav-toggle {
  display: none;
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

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

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

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

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

.nav-list a:hover {
  color: var(--coral-deep);
}

.nav-cta {
  background: var(--ink);
  color: var(--lime) !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--coral) !important;
  color: var(--white) !important;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    display: none;
    padding: 0.75rem 1rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .nav-list a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
  }
  .nav-cta { text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 0 rgba(11, 61, 58, 0.25);
}

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 61, 58, 0.92) 18%, rgba(11, 61, 58, 0.55) 52%, rgba(255, 107, 74, 0.35) 100%),
    radial-gradient(circle at 80% 20%, rgba(200, 245, 71, 0.35), transparent 40%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(0.5px);
  animation: floaty 9s ease-in-out infinite;
}

.blob-a {
  width: 18rem;
  height: 18rem;
  background: rgba(200, 245, 71, 0.22);
  top: 12%;
  right: 8%;
}

.blob-b {
  width: 12rem;
  height: 12rem;
  background: rgba(62, 207, 207, 0.25);
  bottom: 18%;
  left: 6%;
  animation-delay: -3s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  max-width: 12ch;
}

.hero-brand span {
  display: inline-block;
  background: linear-gradient(90deg, var(--lime), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  max-width: 34ch;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.3s; }

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

/* Sections */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid rgba(11, 61, 58, 0.06);
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--coral-deep);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  max-width: 18ch;
}

.section-lead {
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

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

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

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

/* Proof strip — not cards, continuous band */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--lime);
}

.proof-item {
  padding: 1.4rem 1.25rem;
  border-right: 3px solid var(--ink);
}

.proof-item:last-child { border-right: 0; }

.proof-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.proof-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 700px) {
  .proof-strip { grid-template-columns: 1fr; box-shadow: 8px 8px 0 var(--lime); }
  .proof-item { border-right: 0; border-bottom: 3px solid var(--ink); }
  .proof-item:last-child { border-bottom: 0; }
}

/* Feature tiles — interaction containers */
.feature {
  background: var(--white);
  border: 2px solid rgba(11, 61, 58, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}

.feature::before {
  content: "";
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 40%;
  top: -1.5rem;
  right: -1rem;
  background: var(--lime);
  opacity: 0.45;
}

.feature h3 {
  font-size: 1.25rem;
  position: relative;
}

.feature p {
  position: relative;
  margin: 0;
  color: var(--ink-soft);
}

/* Course / blog media blocks */
.media-tile {
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(11, 61, 58, 0.1);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.media-tile:hover {
  transform: translateY(-6px);
  color: inherit;
}

.media-tile img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.media-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.media-body h3 {
  font-size: 1.2rem;
}

.tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* Quote / reviews */
.quote-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.quote-block p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quote-meta {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

.quote-accent {
  background: linear-gradient(135deg, var(--coral), #ff8f55);
  color: var(--white);
}

.quote-soft {
  background: var(--white);
  color: var(--ink);
  border: 3px dashed var(--sky);
}

.stars {
  color: var(--lime);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

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

.price-plan {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-plan.featured {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-1deg);
  box-shadow: 14px 14px 0 var(--coral);
}

.price-plan h3 {
  font-size: 1.55rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.price-plan ul {
  margin: 0;
  padding-left: 1.1rem;
  flex: 1;
}

.price-plan li { margin-bottom: 0.4rem; }

.price-note {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* Forms */
.form-panel {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 12px 12px 0 var(--sky);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 2px solid rgba(11, 61, 58, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: var(--paper);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 3px solid var(--lime);
  border-color: var(--ink);
}

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

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
  display: none;
}

.form-group.has-error .field-error { display: block; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--coral);
}

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

.form-status.is-success {
  display: block;
  background: rgba(200, 245, 71, 0.35);
  border: 2px solid var(--lime-deep);
}

.form-status.is-error {
  display: block;
  background: rgba(255, 107, 74, 0.15);
  border: 2px solid var(--coral);
}

.inline-error {
  background: rgba(255, 107, 74, 0.15);
  border: 2px solid var(--coral);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
}

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

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 52ch;
  font-size: 1.08rem;
}

.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  margin-top: 1.5rem;
  border: 3px solid var(--ink);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

/* Article */
.article-prose {
  max-width: 68ch;
}

.article-prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.article-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.cover-img {
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  margin: 1.25rem 0 2rem;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 2px solid rgba(11, 61, 58, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

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

/* Modules list */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mod;
}

.module-list li {
  counter-increment: mod;
  background: var(--white);
  border-left: 6px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.1rem 1rem 1.2rem;
  margin-bottom: 0.75rem;
}

.module-list li::before {
  content: "Module " counter(mod);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--coral-deep);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* Legal */
.legal {
  max-width: 72ch;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--white);
}

.legal th,
.legal td {
  border: 1px solid rgba(11, 61, 58, 0.2);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--ink);
  color: var(--lime);
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

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

.contact-aside {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-aside a {
  color: var(--lime);
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, var(--ink) 0%, #155a55 55%, var(--coral-deep) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  text-align: left;
  box-shadow: 0 20px 50px rgba(11, 61, 58, 0.25);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 16ch;
}

.cta-band p {
  max-width: 42ch;
  opacity: 0.92;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(247, 243, 232, 0.88);
  padding: 3rem 0 0;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 1.75rem;
}

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

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

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

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.65rem;
}

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

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

.footer-col a,
.footer-contact a {
  color: rgba(247, 243, 232, 0.88);
  text-decoration: none;
}

.footer-col a:hover,
.footer-contact a:hover {
  color: var(--lime);
}

.footer-base {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(247, 243, 232, 0.15);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-left: auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: 10px 10px 0 var(--coral);
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--coral-deep);
  font-weight: 700;
}

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

.cookie-actions .btn {
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  box-shadow: none;
}

/* 404 */
.error-page {
  text-align: center;
  padding: 5rem 0;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, var(--coral), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Path diagram decorative */
.path-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 1.5rem 0;
}

.path-node {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.path-arrow {
  color: var(--coral);
  font-weight: 800;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.1rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border: 2px solid rgba(11, 61, 58, 0.1);
}

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--lime);
}

@media (max-width: 560px) {
  .instructor { grid-template-columns: 1fr; justify-items: start; }
}
