/* GetWithItAI · Design 4 "Daylight Chat"
   Palette: White #FFFFFF · Ice #ECF4F2 · Petrol #0E4F5C · Teal #12A594 · Teal-dark #0D7D71 · Ink #13232A · Muted #5F6E73
   Type: Space Grotesk (display) · Figtree (body)
   Signature: chat-bubble prompt demos */

:root {
  --white: #FFFFFF;
  --ice: #ECF4F2;
  --petrol: #0E4F5C;
  --teal: #12A594;
  --teal-dark: #0D7D71;
  --ink: #13232A;
  --muted: #5F6E73;
  --rule: #DCE6E4;
  --bubble-ai: #F0F2F3;
  --r-lg: 20px;
  --r-md: 14px;
  --r-pill: 999px;
  --wrap: 1060px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: "Figtree", system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

h1, h2, h3 {
  font-family: "Space Grotesk", "Figtree", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--petrol);
}
h1 { font-size: clamp(2.5rem, 6.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 0.8rem; }
h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--ink); }

p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal-dark); }
a:hover { color: var(--petrol); }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.4rem; }

.muted { color: var(--muted); }
.lead { font-size: 1.28rem; color: var(--muted); max-width: 46ch; }

/* Header */
.topbar {
  background: var(--petrol); color: #DFF0ED;
  font-size: 0.92rem; padding: 0.5rem 0; text-align: center;
}
.topbar a { color: #fff; font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem 1.25rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 1.3rem;
  text-decoration: none; color: var(--petrol);
  white-space: nowrap; letter-spacing: -0.02em;
}
.logo img {
  width: 36px; height: 36px; display: block; flex: none;
  border-radius: 9px;
}
.logo .dot { color: var(--teal); }
.nav-toggle {
  display: none;
  width: 2.5rem; height: 2.5rem;
  margin-left: auto;
  border: 0; background: transparent;
  cursor: pointer; padding: 0.45rem;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--petrol); border-radius: 2px;
}
.nav-links { display: flex; gap: 0.4rem; margin-left: auto; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  padding: 0.45rem 0.9rem; border-radius: var(--r-pill);
}
.nav-links a:hover { background: var(--ice); }
.nav-links a.active { background: var(--petrol); color: #fff; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: "Figtree", sans-serif;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(18, 165, 148, 0.28); }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-petrol { background: var(--petrol); color: #fff; }
.btn-petrol:hover { background: #0A3A44; color: #fff; }
.btn-line { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-line:hover { background: var(--petrol); color: #fff; }
.btn-line.inv { border-color: #fff; color: #fff; }
.btn-line.inv:hover { background: #fff; color: var(--petrol); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px;
}

/* Sections */
section { padding: 4rem 0; }
section.ice { background: var(--ice); }
section.deep { background: var(--petrol); color: #E6F1EF; }
section.deep h2 { color: #fff; }
section.deep .muted { color: #A9C4C0; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-dark);
  background: rgba(18, 165, 148, 0.12);
  padding: 0.3rem 0.85rem; border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.deep .eyebrow { color: #7FE0D4; background: rgba(255,255,255,0.08); }
.ice .eyebrow { background: rgba(18, 165, 148, 0.14); }

/* Hero */
.hero { padding: 4.5rem 0 4rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .mark { color: var(--teal); }
.hero .lead { margin-bottom: 1.9rem; }
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

/* Signature: chat demos */
.chat {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 1.3rem;
  box-shadow: 0 14px 40px rgba(14, 79, 92, 0.10);
  max-width: 560px;
}
.ice .chat, .deep .chat { box-shadow: 0 14px 40px rgba(14, 79, 92, 0.14); }
.chat .chat-title {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 0.5rem;
  padding-bottom: 0.9rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.chat .chat-title::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); flex: none;
}
.bubble {
  max-width: 88%;
  padding: 0.8rem 1.05rem;
  border-radius: var(--r-md);
  margin-bottom: 0.8rem;
  font-size: 0.97rem;
  line-height: 1.5;
  position: relative;
}
.bubble.you {
  background: var(--petrol); color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.bubble.ai {
  background: var(--bubble-ai); color: var(--ink);
  border-bottom-left-radius: 4px;
}
.bubble .who {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 0.3rem; opacity: 0.65;
}
.chat .copy-row { display: flex; justify-content: flex-end; margin-top: 0.2rem; }
.chat button.copy {
  font-family: "Figtree", sans-serif;
  font-size: 0.85rem; font-weight: 700;
  background: transparent; color: var(--teal-dark);
  border: 1.5px solid var(--teal); border-radius: var(--r-pill);
  padding: 0.3rem 0.9rem; cursor: pointer;
}
.chat button.copy:hover { background: var(--teal); color: #fff; }

/* Grids and cards */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: flex; order: 1; }
  .nav .btn { order: 2; }
  .nav-links {
    display: none;
    order: 3;
    flex-direction: column;
    width: 100%;
    margin: 0.4rem 0 0;
    padding: 0.4rem 0 0.2rem;
    border-top: 1px solid var(--rule);
    gap: 0.15rem;
  }
  .nav.is-open .nav-links { display: flex; }
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.deep .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.deep .card h3 { color: #fff; }
.card .step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  margin-bottom: 0.7rem;
}

/* Price cards */
.price-card { display: flex; flex-direction: column; }
.price-card .price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem; font-weight: 700; color: var(--petrol);
  margin: 0.2rem 0 0.6rem;
}
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card ul { flex: 1; }
.price-card .btn { text-align: center; }
.price-card.featured {
  border: 2px solid var(--teal);
  box-shadow: 0 16px 44px rgba(18, 165, 148, 0.18);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -0.9rem; left: 1.3rem;
  background: var(--teal); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  padding: 0.22rem 0.8rem; border-radius: var(--r-pill);
}

/* Numbers band */
.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1;
  margin-bottom: 0.4rem;
}

/* Module list */
.module {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}
.module:last-child { border-bottom: 0; }
.module .num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ice); color: var(--petrol);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem;
}
.module h3 { margin-bottom: 0.2rem; }
.module p { margin-bottom: 0; color: var(--muted); }

/* Lessons */
.lesson {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 1.7rem; margin-bottom: 1.4rem;
}
.lesson .tagline { color: var(--muted); margin-bottom: 0.9rem; font-size: 1.1rem; }

/* Forms */
form { display: grid; gap: 1rem; }
label { font-weight: 700; font-size: 0.95rem; display: block; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--rule); border-radius: var(--r-md);
  font: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }

/* FAQ */
details {
  border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 1rem 1.25rem; margin-bottom: 0.75rem; background: var(--white);
}
summary { font-weight: 700; cursor: pointer; color: var(--ink); }
details p { margin-top: 0.6rem; margin-bottom: 0; color: var(--muted); }

/* Footer */
footer {
  background: var(--petrol); color: #B9D2CE;
  padding: 2.75rem 0 1.75rem; font-size: 0.95rem;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #7FE0D4; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 1.75rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  display: flex; align-items: center; gap: 0.65rem;
  color: #fff; text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.footer-brand img {
  width: 32px; height: 32px; border-radius: 8px; display: block;
}
.footer-grid strong { color: #fff; display: block; margin-bottom: 0.5rem; font-family: "Space Grotesk", sans-serif; }
.footer-grid a { display: inline-block; margin-bottom: 0.35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem;
  font-size: 0.85rem; color: #8FB0AB;
}

/* Helpers */
.badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.badge {
  font-size: 0.87rem; font-weight: 600;
  background: var(--ice); color: var(--petrol);
  padding: 0.35rem 0.9rem; border-radius: var(--r-pill);
}
.deep .badge { background: rgba(255,255,255,0.09); color: #DFF0ED; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ---- 4.1 additions: free lessons, 28/18 cards, course blocks ---- */
.source { font-size: 0.88rem; color: #A9C4C0; margin-top: 1.5rem; }
.source a { color: #DFF0ED; }
.small { font-size: 0.9rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.number-card { display: flex; flex-direction: column; align-items: flex-start; }
.number-card .big-num {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 4.2rem; line-height: 1; color: var(--teal); margin-bottom: 0.6rem;
}
.number-card p { flex: 1; }

.lesson-index { margin: 1.6rem 0 0 1.25rem; columns: 2; column-gap: 2.5rem; max-width: 760px; }
.lesson-index li { break-inside: avoid; }
.lesson-index a { text-decoration: none; font-weight: 600; }
.lesson-index a:hover { text-decoration: underline; }
@media (max-width: 620px) { .lesson-index { columns: 1; } }

.progress-box { margin-top: 1.6rem; max-width: 520px; }
.progress-label {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.95rem; color: var(--petrol); margin-bottom: 0.4rem;
}
.progress-track { height: 10px; background: var(--ice); border-radius: var(--r-pill); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--teal); border-radius: var(--r-pill); transition: width 0.3s ease; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--muted); text-decoration: underline;
}

.lesson { scroll-margin-top: 90px; }
.lesson .chat { margin: 1.4rem 0 1rem; max-width: 100%; }
.lesson .after { color: var(--ink); border-left: 3px solid var(--teal); padding-left: 0.9rem; }
.lesson.is-done { border-color: var(--teal); }
.lesson-foot {
  display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; justify-content: space-between;
  margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--rule);
}
.done-btn.is-done { background: var(--teal); border-color: var(--teal); color: #fff; }
.done-btn.is-done::before { content: "\2713  "; }
.next-link { font-weight: 700; text-decoration: none; }
.next-link::after { content: " \2192"; }

.open-apps {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--rule);
  font-size: 0.85rem;
}
.open-apps span { color: var(--muted); font-weight: 600; margin-right: 0.2rem; }
.open-apps a {
  text-decoration: none; font-weight: 700; color: var(--petrol);
  background: var(--ice); padding: 0.25rem 0.75rem; border-radius: var(--r-pill);
}
.open-apps a:hover { background: var(--petrol); color: #fff; }

.finish { border: 2px solid var(--teal); scroll-margin-top: 90px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.8rem; }
.inline-form input { flex: 1 1 180px; width: auto; }
.inline-form .btn { flex: none; }
label.check { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; }
label.check input { width: auto; }
.footer-grid strong.mt-1 { margin-top: 1rem; }

.block-head { padding-bottom: 0.4rem; border-bottom: 2px solid var(--teal); }
.block-head h3 { color: var(--petrol); font-size: 1.3rem; }
.block-head p { margin-bottom: 0.2rem; }
