/* Public technical feature pages. All selectors are scoped to .feature-root so
   they cannot affect the authenticated Portal or the main landing page. */

.feature-root {
  --feature-max: 1080px;
  min-height: 100vh;
  color: #14232c;
  background: #f5f8f9;
}

.feature-root .site-header .feature-header-label {
  grid-column: 2;
  color: rgba(255, 255, 255, .62);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feature-root .feature-hero {
  position: relative;
  overflow: hidden;
  padding: calc(74px + clamp(66px, 8vw, 110px)) clamp(22px, 6vw, 86px) clamp(68px, 8vw, 104px);
  color: #edf8fb;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 213, 250, .14), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(244, 124, 32, .10), transparent 26rem),
    linear-gradient(145deg, #070c12, #10212b);
}

.feature-root .feature-hero::after {
  position: absolute;
  right: -150px;
  bottom: -250px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(0, 213, 250, .12);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 76px rgba(0, 213, 250, .025),
    0 0 0 154px rgba(0, 213, 250, .018);
}

.feature-root .feature-hero-inner,
.feature-root .feature-content-inner {
  position: relative;
  z-index: 1;
  width: min(var(--feature-max), 100%);
  margin: 0 auto;
}

.feature-root .feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(237, 248, 251, .72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(.82rem, 1.2vw, .98rem);
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feature-root .feature-eyebrow::before {
  color: #00d5fa;
  content: ">";
  font-size: 1.15em;
  font-weight: 900;
}

.feature-root .feature-hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  font-weight: 790;
  letter-spacing: -.055em;
  line-height: .98;
}

.feature-root .feature-hero-lede {
  max-width: 760px;
  margin: 0;
  color: rgba(237, 248, 251, .76);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.62;
}

.feature-root .feature-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.feature-root .feature-pill {
  padding: 8px 12px;
  border: 1px solid rgba(0, 213, 250, .24);
  border-radius: 12px 4px;
  color: rgba(237, 248, 251, .84);
  background: rgba(0, 213, 250, .06);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .78rem;
}

.feature-root .feature-content {
  padding: clamp(64px, 8vw, 100px) clamp(22px, 6vw, 86px);
  background:
    radial-gradient(circle at 94% 8%, rgba(0, 213, 250, .08), transparent 23rem),
    linear-gradient(180deg, #f8fbfb, #eef5f4);
}

.feature-root .feature-section {
  margin-top: clamp(60px, 7vw, 88px);
}

.feature-root .feature-section:first-child {
  margin-top: 0;
}

.feature-root .feature-kicker {
  display: block;
  margin-bottom: 12px;
  color: #08798c;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feature-root .feature-section h2 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #0b1820;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 740;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.feature-root .feature-section > p,
.feature-root .feature-prose p {
  max-width: 78ch;
  color: #526772;
  font-size: 1.02rem;
  line-height: 1.72;
}

.feature-root .feature-section a {
  color: #08798c;
  text-decoration: underline;
  text-decoration-color: rgba(8, 121, 140, .35);
  text-underline-offset: 3px;
}

.feature-root .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.feature-root .feature-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(16, 45, 57, .12);
  border-radius: 22px 7px;
  background: rgba(255, 255, 255, .88);
  box-shadow: rgba(7, 16, 21, .07) 0 18px 48px;
}

.feature-root .feature-card::before {
  position: absolute;
  top: 28px;
  left: 0;
  width: 4px;
  height: 26px;
  border-radius: 0 4px 4px 0;
  background: #00c9eb;
  content: "";
}

.feature-root .feature-card.feature-card--orange::before {
  background: #f47c20;
}

.feature-root .feature-card h3 {
  margin: 0 0 11px;
  color: #0b1820;
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -.025em;
}

.feature-root .feature-card p {
  margin: 0;
  color: #5a6c75;
  line-height: 1.62;
}

.feature-root .feature-card p + p {
  margin-top: 12px;
}

.feature-root .feature-steps {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: feature-step;
}

.feature-root .feature-steps li {
  position: relative;
  min-height: 76px;
  padding: 18px 22px 18px 74px;
  border: 1px solid rgba(16, 45, 57, .10);
  border-radius: 16px 5px;
  color: #526772;
  background: rgba(255, 255, 255, .72);
  line-height: 1.58;
  counter-increment: feature-step;
}

.feature-root .feature-steps li::before {
  position: absolute;
  top: 16px;
  left: 20px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(0, 178, 207, .28);
  border-radius: 12px 4px;
  color: #08798c;
  background: rgba(0, 213, 250, .08);
  content: counter(feature-step, decimal-leading-zero);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .75rem;
  font-weight: 800;
}

.feature-root .feature-steps strong {
  color: #132832;
}

.feature-root .feature-callout {
  margin-top: 30px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(0, 213, 250, .18);
  border-left: 4px solid #00c9eb;
  border-radius: 4px 18px 18px 4px;
  color: rgba(237, 248, 251, .82);
  background: linear-gradient(145deg, #10232d, #09151c);
}

.feature-root .feature-callout h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
}

.feature-root .feature-callout p {
  max-width: 76ch;
  margin: 0;
  line-height: 1.65;
}

.feature-root .feature-callout code {
  color: #86edff;
}

.feature-root .feature-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-root .feature-list li {
  position: relative;
  padding-left: 28px;
  color: #526772;
  line-height: 1.62;
}

.feature-root .feature-list li::before {
  position: absolute;
  top: .55em;
  left: 2px;
  width: 10px;
  height: 3px;
  border-radius: 3px 1px;
  background: #f47c20;
  content: "";
}

.feature-root .feature-list strong {
  color: #132832;
}

.feature-root .feature-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(66px, 8vw, 100px);
  padding-top: 28px;
  border-top: 1px solid rgba(16, 45, 57, .12);
}

.feature-root .feature-bottom-nav p {
  max-width: 620px;
  margin: 0;
  color: #627680;
}

.feature-root .feature-bottom-nav .lp-btn {
  flex: 0 0 auto;
  color: #101d24;
  background: linear-gradient(135deg, #ffad66, #f47c20);
  border-color: rgba(112, 47, 4, .24);
}

@media (max-width: 780px) {
  .feature-root .site-header .feature-header-label {
    display: none;
  }

  .feature-root .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-root .feature-bottom-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .feature-root .header-actions .lp-btn {
    padding-inline: 12px;
  }

  .feature-root .feature-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .feature-root .feature-steps li {
    padding: 68px 18px 18px;
  }

  .feature-root .feature-steps li::before {
    top: 18px;
    left: 18px;
  }
}
