/* ==========================================================================
   Peldot — design tokens (derived from onegtmlab.com's real computed styles)
   ========================================================================== */
:root {
  --bg-light: #f0f0ed;
  --bg-white: #ffffff;
  --bg-dark: #000a08;
  --bg-dark-alt: #042d25;
  --bg-dark-card: #0b201c;

  --border-light: rgba(4, 45, 37, 0.1);
  --border-light-strong: rgba(4, 45, 37, 0.18);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-strong: rgba(255, 255, 255, 0.2);

  --heading-on-light: #042d25;
  --body-on-light: #4b544e;
  --faint-on-light: #7c857e;

  --text-on-dark: #ffffff;
  --dim-on-dark: rgba(255, 255, 255, 0.68);
  --faint-on-dark: rgba(255, 255, 255, 0.45);

  --lime: #e7ffb4;
  --lime-soft: rgba(231, 255, 180, 0.16);
  --teal: #307a67;
  --teal-bright: #72e9d5;
  --teal-deep: #00705a;

  --font-display: "Geist", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;

  --container: 1180px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --section-pad: 120px;
}

@media (max-width: 900px) {
  :root { --section-pad: 80px; }
}
@media (max-width: 560px) {
  :root { --section-pad: 60px; }
}

/* ==========================================================================
   Reset
   ========================================================================== */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-light);
  color: var(--body-on-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--heading-on-light);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 560px) {
  .container { padding-inline: 20px; }
}

/* ==========================================================================
   Dark section variant
   ========================================================================== */
.section--dark {
  background: var(--bg-dark-alt);
  border-top-color: var(--border-dark);
}
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: var(--dim-on-dark); }
.section--dark .card,
.section--dark .tool-card {
  background: var(--bg-dark-card);
  border-color: var(--border-dark);
}
.section--dark .card h3, .section--dark .tool-card h3 { color: var(--text-on-dark); }
.section--dark .card p, .section--dark .tool-card p { color: var(--dim-on-dark); }
.section--dark .card__icon { background: rgba(231,255,180,0.14); border-color: rgba(231,255,180,0.3); }
.section--dark .tool-card__icon { background: rgba(114,233,213,0.14); border-color: rgba(114,233,213,0.32); }
.section--dark .tool-card__footer { border-top-color: var(--border-dark); }

/* ==========================================================================
   Background texture — grain + soft glow (muted, not neon)
   ========================================================================== */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  will-change: transform;
}
.glow--lime {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--lime), transparent 70%);
  top: -180px; left: 50%;
  transform: translateX(-70%);
  animation: float-a 22s ease-in-out infinite;
}
.glow--teal {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--teal-bright), transparent 70%);
  top: 60px; right: -140px;
  animation: float-b 26s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate(-70%, 0) scale(1); }
  50% { transform: translate(-60%, 30px) scale(1.06); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, -24px) scale(1.04); }
}

/* ==========================================================================
   Nav — always dark, sits above hero
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: rgba(0, 10, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.nav.is-scrolled {
  background-color: rgba(0, 10, 8, 0.92);
  border-bottom-color: var(--border-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  font-size: 0.92rem;
  color: var(--dim-on-dark);
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--text-on-dark); }
.nav__link.is-active { color: var(--lime); }
.nav__right { display: flex; align-items: center; gap: 18px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 12px 24px 20px;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding-block: 10px; width: 100%; }
  .nav__toggle { display: flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* Primary: signature lime -> teal gradient, for use on dark backgrounds */
.btn--primary {
  background-image: linear-gradient(90deg, var(--lime) 0%, var(--lime) 65%, var(--teal-bright) 100%);
  color: #18181b;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(231, 255, 180, 0.45);
}

/* Solid dark button, for use on light backgrounds */
.btn--dark {
  background: var(--bg-dark-alt);
  color: var(--text-on-dark);
}
.btn--dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(4, 45, 37, 0.35);
}

/* Ghost / outline: adapts to context via .section--dark */
.btn--ghost {
  background: transparent;
  color: var(--heading-on-light);
  border: 1px solid var(--border-light-strong);
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.section--dark .btn--ghost,
.hero .btn--ghost {
  color: var(--text-on-dark);
  border-color: var(--border-dark-strong);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--pill-outline {
  background: transparent;
  border: 1px solid var(--border-dark-strong);
  color: var(--text-on-dark);
  padding: 9px 20px;
  font-size: 0.86rem;
}
.btn--pill-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--disabled {
  background: var(--bg-white);
  color: var(--faint-on-light);
  border: 1px solid var(--border-light);
  cursor: not-allowed;
}
.section--dark .btn--disabled {
  background: transparent;
  color: var(--faint-on-dark);
  border-color: var(--border-dark);
}
.btn--disabled:hover { transform: none; box-shadow: none; }

/* ==========================================================================
   Eyebrow / tags
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(48, 122, 103, 0.1);
  border: 1px solid rgba(48, 122, 103, 0.22);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero .eyebrow, .section--dark .eyebrow {
  color: var(--lime);
  background: var(--lime-soft);
  border-color: rgba(231, 255, 180, 0.28);
}
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-light-strong);
  color: var(--faint-on-light);
}
.tag--soon {
  color: var(--teal-deep);
  border-color: rgba(48, 122, 103, 0.3);
  background: rgba(48, 122, 103, 0.08);
}
.section--dark .tag--soon {
  color: var(--teal-bright);
  border-color: rgba(114, 233, 213, 0.3);
  background: rgba(114, 233, 213, 0.08);
}

/* ==========================================================================
   Hero — dark band
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-dark);
  padding-top: calc(var(--section-pad) + 60px);
  padding-bottom: var(--section-pad);
  text-align: center;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin-inline: auto;
}
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 {
  color: var(--text-on-dark);
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--lime);
}
.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--dim-on-dark);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 42px;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 52px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--faint-on-dark);
  font-size: 0.85rem;
}
.hero__meta span { color: var(--lime); font-family: var(--font-display); font-weight: 600; }

/* ==========================================================================
   Section shell
   ========================================================================== */
.section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border-light);
  background: var(--bg-light);
}
.section__head {
  max-width: 640px;
  margin-bottom: 60px;
}
.section__head.center { margin-inline: auto; text-align: center; }
.section__head .eyebrow { margin-bottom: 20px; }
.section__head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}
.section__head p {
  color: var(--body-on-light);
  font-size: 1.05rem;
}

/* ==========================================================================
   For-strip
   ========================================================================== */
.for-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.for-strip__pill {
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.86rem;
  color: var(--body-on-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.for-strip__pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ==========================================================================
   Grids / cards
   ========================================================================== */
.grid {
  display: grid;
  gap: 20px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

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

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 34px rgba(4, 45, 37, 0.12);
  border-color: var(--border-light-strong);
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(48, 122, 103, 0.1);
  border: 1px solid rgba(48, 122, 103, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--teal);
}
.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--body-on-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   Tool cards
   ========================================================================== */
.tool-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 34px rgba(4, 45, 37, 0.12);
  border-color: rgba(48, 122, 103, 0.3);
}
.tool-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.tool-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(48, 122, 103, 0.1);
  border: 1px solid rgba(48, 122, 103, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.tool-card h3 { font-size: 1.1rem; }
.tool-card p { color: var(--body-on-light); font-size: 0.92rem; flex-grow: 1; }
.tool-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.tool-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--body-on-light);
}
.tool-card__list li { display: flex; gap: 8px; align-items: flex-start; }
.tool-card__list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
  flex-shrink: 0;
}

.tools-teaser__foot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Process / timeline
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}
.process__step {
  position: relative;
  padding: 30px 24px 26px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.process__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 18px;
}
.process__num::before {
  content: "0" counter(step);
}
.process__step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process__step p { color: var(--body-on-light); font-size: 0.9rem; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(231,255,180,0.16), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(114,233,213,0.14), transparent 55%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  color: var(--text-on-dark);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin-bottom: 14px;
}
.cta-banner p {
  color: var(--dim-on-dark);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 32px;
}
@media (max-width: 560px) {
  .cta-banner { padding: 48px 24px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding-block: 44px;
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-on-dark);
}
.footer__brand .nav__logo-dot { width: 7px; height: 7px; }
.footer__note {
  color: var(--faint-on-dark);
  font-size: 0.85rem;
}
.footer__links {
  display: flex;
  gap: 26px;
  font-size: 0.88rem;
  color: var(--dim-on-dark);
}
.footer__links a:hover { color: var(--lime); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(.2,.8,.2,1), transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }

/* ==========================================================================
   Tools page specific
   ========================================================================== */
.tools-hero {
  padding-top: calc(var(--section-pad) + 40px);
  padding-bottom: 64px;
  text-align: center;
}
.tools-hero h1 {
  color: var(--text-on-dark);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-bottom: 18px;
}
.tools-hero p {
  color: var(--dim-on-dark);
  max-width: 560px;
  margin-inline: auto;
  font-size: 1.05rem;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 760px) {
  .tools-grid { grid-template-columns: 1fr; }
}
