/* Clouddevenable — modern minimalist theme */
:root {
  --bg: #fbfcfc;
  --bg-soft: #f0f5f4;
  --surface: #ffffff;
  --ink: #1a2b29;
  --ink-muted: #4d5f5c;
  --accent: #1f5c57;
  --accent-soft: #a8d5ce;
  --accent-deep: #143d3a;
  --line: #d7e3e0;
  --warn: #8a4b2e;
  --ok: #1f5c57;
  --err: #8b2e2e;
  --shadow: 0 18px 48px rgba(26, 43, 41, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::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 500px at 90% -10%, rgba(168, 213, 206, 0.35), transparent 55%),
    radial-gradient(900px 420px at -5% 20%, rgba(31, 92, 87, 0.06), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

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

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

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

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 0.55em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 0 0 0.45em; }

p { margin: 0 0 1em; color: var(--ink-muted); }

.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: -3rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 252, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  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: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

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

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

.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-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease;
}

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

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }
  .site-nav.is-open {
    max-height: 28rem;
    opacity: 1;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem var(--space) 1.25rem;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: none !important;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 0.85rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 40rem;
}

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

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

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

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

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

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

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

.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 61, 58, 0.88) 18%, rgba(20, 61, 58, 0.45) 58%, rgba(20, 61, 58, 0.25) 100%),
    linear-gradient(to top, rgba(20, 61, 58, 0.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 7rem) var(--space) clamp(3rem, 7vw, 4.5rem);
  animation: riseIn 0.9s ease both;
}

.hero .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 0.35em;
  color: #fff;
}

.hero .hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 420;
  max-width: 18ch;
  margin: 0 0 0.75em;
  color: var(--accent-soft);
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  font-size: 1.08rem;
}

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

.hero .btn-primary:hover {
  background: var(--accent-soft);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.proof-strip {
  background: var(--accent-deep);
  color: #fff;
  padding: 1.35rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 520;
}

.proof-grid span {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.spotlight-media {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 360px;
  background: var(--bg-soft);
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.spotlight-meta strong {
  color: var(--ink);
  font-weight: 650;
}

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

.benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

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

.quote-panel {
  background: var(--bg-soft);
  padding: clamp(2rem, 5vw, 3rem);
  border-left: 3px solid var(--accent);
}

.quote-panel blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink);
}

.quote-panel cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.item-link:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

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

.item-body {
  padding: 1.25rem 1.3rem 1.45rem;
}

.item-body h3 {
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.item-body p {
  margin: 0;
  font-size: 0.98rem;
}

.item-meta {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.page-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) 0 clamp(3rem, 6vw, 4rem);
  overflow: hidden;
}

.page-hero.has-media {
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.page-hero.has-media .page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero.has-media .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.has-media .page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 61, 58, 0.9) 10%, rgba(20, 61, 58, 0.5) 70%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero.has-media h1,
.page-hero.has-media .lede {
  color: #fff;
}

.page-hero.has-media .lede {
  opacity: 0.9;
}

.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-tier {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.price-tier.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price-tier h3 { margin-bottom: 0.35rem; }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  margin: 0.75rem 0 0.35rem;
}

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

.price-tier ul {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-tier li {
  padding: 0.45rem 0 0.45rem 1.2rem;
  position: relative;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.price-tier li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-soft);
  position: absolute;
  left: 0;
  top: 0.85rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 1.5rem;
}

.review-stack {
  display: grid;
  gap: 1.5rem;
}

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

.review:first-child {
  border-top: 1px solid var(--line);
}

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

.review p {
  margin-bottom: 0.75rem;
}

.review footer {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}

.case-study {
  background: var(--bg-soft);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 2rem;
  border-radius: var(--radius);
}

.case-study h3 {
  margin-top: 0;
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

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

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

.field-error {
  color: var(--err);
  font-size: 0.88rem;
  min-height: 1.2em;
}

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

.form-status.is-success {
  display: block;
  background: rgba(31, 92, 87, 0.12);
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  background: rgba(139, 46, 46, 0.1);
  color: var(--err);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

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

.contact-details {
  background: var(--bg-soft);
  padding: 1.75rem;
  border-radius: var(--radius);
  height: fit-content;
}

.contact-details h2 {
  font-size: 1.35rem;
}

.contact-details p {
  margin-bottom: 0.85rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

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

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item .faq-body {
  padding: 1rem 1.15rem 1.2rem;
}

.legal {
  max-width: 46rem;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

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

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

.module-list li {
  counter-increment: mod;
  padding: 1.25rem 0 1.25rem 3.25rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
}

.outcomes {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcomes li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink-muted);
}

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

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

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

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

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

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

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

.inline-error {
  background: rgba(139, 46, 46, 0.1);
  color: var(--err);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 0.5rem 0;
}

.site-footer {
  background: var(--accent-deep);
  color: rgba(255, 255, 255, 0.82);
  margin-top: clamp(3rem, 8vw, 5rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-tagline {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2rem;
}

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

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 0.85rem;
}

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

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

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-col a:hover { color: #fff; }

.footer-contact p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

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

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--space);
}

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

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
}

.prose-meta {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

@media (max-width: 760px) {
  .split-2 { grid-template-columns: 1fr; }
}

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

.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-left: auto; margin-right: auto; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--accent-deep);
}
.cta-band .btn-primary:hover {
  background: var(--accent-soft);
}
