:root {
  --ink: #0f172a;
  --muted: #475569;
  --paper: #f8fafc;
  --panel: #ffffff;
  --cedar: #0f766e;
  --cedar-dark: #115e59;
  --water: #bae6fd;
  --sky: #f0f9ff;
  --line: #e2e8f0;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  --shadow: 0 10px 25px -3px rgb(0 0 0 / 0.08);
  --shadow-hover: 0 20px 35px -5px rgb(0 0 0 / 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

.show-on-mobile {
  display: none;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  transition: color 0.2s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.tool-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cedar), var(--cedar-dark));
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  justify-content: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

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

/* Buttons */
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cedar), var(--cedar-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(15, 118, 110, 0.4);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease;
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.button:hover::after {
  left: 150%;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(15, 118, 110, 0.6);
  background: linear-gradient(to right, #115e59, #0f766e);
}

.button:active {
  transform: translateY(0);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  background: #ffffff;
  color: var(--cedar);
  box-shadow: var(--shadow);
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(95vh - 76px);
  overflow: hidden;
  padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 72px);
  color: #fff;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 118, 110, 0.25) 50%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content,
.section,
.pricing-band,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.hero-content {
  width: min(1200px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow,
.hero-copy,
.hero-stats span {
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cedar);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: currentColor;
  opacity: 0.4;
  border-radius: 2px;
}

.hero .eyebrow,
.build-stage .eyebrow,
.tools-section .eyebrow {
  justify-content: center;
}

.hero .eyebrow::after,
.build-stage .eyebrow::after,
.tools-section .eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: currentColor;
  opacity: 0.4;
  border-radius: 2px;
}

.hero .eyebrow {
  color: #5eead4; /* Teal 300 for dark mode */
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  margin: 0 auto;
}

h2 {
  max-width: 800px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 700px;
  margin: 28px auto 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 60px;
}

.hero-stats div {
  min-width: 160px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-stats span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Sections General */
.section {
  padding: 100px 0;
}

.section-heading {
  margin-bottom: 48px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  text-wrap: balance;
}

/* Intro Section */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-bottom: 60px;
}

.about-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  margin-top: 24px;
}

.about-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.about-photo:hover img {
  transform: scale(1.03);
}

/* Uses Section */
.build-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

.build-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--paper);
  height: 100%;
}

.build-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.build-image.is-changing {
  opacity: 0.1;
  transform: scale(0.96);
}

.build-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.build-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cedar), #0ea5e9);
}

.build-stage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.build-stage .eyebrow {
  margin-bottom: 24px;
}

.build-stage h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin: 0 auto;
}

.rotator {
  display: block;
  min-height: 2.2em;
  color: var(--cedar);
}

.rotator span,
.build-copy {
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotator span {
  display: inline-block;
}

.rotator.is-changing span,
.build-copy.is-changing {
  opacity: 0;
  transform: translateY(15px);
}

.build-copy {
  max-width: 720px;
  margin: 32px 0 40px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

/* Testimonials Section */
.testimonial-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

.testimonial-section .section-heading {
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
}

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 118, 110, 0.2);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 24px;
  color: rgba(15, 118, 110, 0.08);
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card blockquote,
.testimonial-card p {
  margin: 0;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  margin-bottom: 32px;
}

.testimonial-card blockquote p {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
}

.testimonial-author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
}

.testimonial-card figcaption strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.testimonial-card figcaption span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Tools Section */
.tools-section {
  width: 100%;
  background: #ffffff;
  padding: 120px 24px;
  margin: 40px 0;
}

.tools-section .section-heading {
  width: min(800px, 100%);
  text-align: center;
  margin: 0 auto 60px;
}

.tools-section .section-heading h2 {
  margin-inline: auto;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1000px, 100%);
  margin: 0 auto;
  justify-content: center;
}

.tool-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 180px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tool-chip:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -5px rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.2);
  background: #ffffff;
}

.tool-chip img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tool-chip:hover img {
  transform: scale(1.1);
}

/* Sessions Section */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.steps article {
  min-height: 260px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.steps article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 118, 110, 0.2);
}

.steps p,
.pricing-band p,
.site-footer p {
  color: var(--muted);
}

.steps p {
  margin-top: 16px;
  font-size: 1.05rem;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--water));
  color: var(--cedar-dark);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Pricing Band */
.pricing-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 100px;
  padding: clamp(40px, 8vw, 64px);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--cedar-dark), var(--cedar));
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pricing-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-band .eyebrow {
  color: #99f6e4;
}

.pricing-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-top: 20px;
}

.pricing-band .guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #ccfbf1;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 12px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-band .guarantee .icon-check {
  color: #5eead4;
}

.pricing-band h2 {
  max-width: 820px;
  color: #ffffff;
}

.pricing-band .button {
  background: #fff;
  color: var(--cedar-dark);
  border: none;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-band .button::after {
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.1), transparent);
}

.pricing-band .button:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-email {
  color: var(--cedar-dark);
  font-weight: 800;
  text-decoration-color: rgba(17, 94, 89, 0.3);
  text-underline-offset: 4px;
}

.footer-email:hover {
  color: var(--cedar);
  text-decoration-color: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .nav-links {
    display: none;
  }
  .intro-section,
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo {
    aspect-ratio: 16 / 9;
  }
  .tools-section {
    margin: 20px 0;
    padding: 80px 24px;
  }
  .pricing-band {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .pricing-band .button {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }
  .build-image-container {
    display: none;
  }
  .steps,
  .tool-list,
  .testimonial-list {
    grid-template-columns: 1fr;
  }
  .tool-chip {
    flex-direction: row;
    justify-content: flex-start;
    min-height: auto;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 20px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .hide-on-mobile {
    display: none;
  }
  .show-on-mobile {
    display: inline;
  }
  .hero {
    padding: 100px 24px 60px;
  }
  h1 {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
  }
  .hero-copy {
    font-size: 1.1rem;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions .button-secondary {
    display: none;
  }
  .section {
    padding: 60px 0;
  }
  .build-stage {
    padding: 32px 20px;
  }
  .build-stage h2 {
    font-size: 2.2rem;
  }
  .rotator {
    min-height: 3.3em;
  }
}
