/* Sub-page sections (hero orbs, steps, fuel, features, footer cols, CTA).
   Restored from the pre-redesign stylesheet; loaded only by the tool sub-pages. */

:root {
  --violet: #8a3ffc;
  --rose: #DB2777;
  --amber: #D97706;
  --sky: #0284C7;
  --ember: #DC2626;
}

.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: floatY 14s ease-in-out infinite;
}
.hero__orb--a {
  width: 520px; height: 520px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, var(--emerald-l) 0%, transparent 65%);
}
.hero__orb--b {
  width: 420px; height: 420px;
  bottom: -200px; left: -120px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 65%);
  animation-delay: -7s;
  opacity: .4;
}
.hero__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .035;
  mix-blend-mode: multiply;
}
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-d);
  margin-bottom: 18px;
}
.kicker--light { color: var(--mint); }
.section-title {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 96;
  color: var(--ink);
  margin: 0 auto 22px;
  max-width: 44ch;
  text-align: center;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--lp-accent, #028090);
  background: var(--lp-accent-text-grad, linear-gradient(135deg, #74DB00 0%, #00BD8C 45%, #028090 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  padding-right: 0.18em;
  padding-left: 0.02em;
  padding-top: 0.1em;
  padding-bottom: 0.05em;
}
.section-title--light { color: var(--white); }
.section-title--light em {
  color: var(--mint);
  background: var(--lp-accent-grad, linear-gradient(135deg, #D4F754 0%, #2FE5A7 50%, #0EE8C7 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  padding-right: 0.18em;
  padding-left: 0.02em;
  padding-top: 0.1em;
  padding-bottom: 0.05em;
}
.section-lede {
  font-size: 17px; line-height: 1.65;
  color: var(--ink-500);
  max-width: 55ch;
  margin: 0 auto;
  text-align: center;
}
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.feature__icon--mint { background: var(--mint-pale); color: var(--emerald-d); }
.feature__icon--ink { background: #EEF2FF;          color: #4338CA; }
.feature__icon--ember { background: #FEF2F2;          color: var(--ember); }
.feature__icon--violet { background: #F5F3FF;          color: var(--violet); }
.feature__icon--sky { background: #EFF6FF;          color: var(--sky); }
.feature__icon--rose { background: #FDF2F8;          color: var(--rose); }
.feature__icon--amber { background: #FFFBEB;          color: var(--amber); }
.how {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 6.5vw, 96px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.how::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(16,185,129,.22) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(138,63,252,.12) 0%, transparent 45%);
  z-index: -1;
}
.how::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: -1;
}
.how__inner { max-width: var(--container); margin: 0 auto; }
.steps {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.step:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(167,243,208,.4);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 320;
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  font-variation-settings: "opsz" 144;
  background: linear-gradient(180deg, var(--mint) 0%, transparent 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 0 0 10px;
  color: var(--white);
}
.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}
.showcase .section-title { margin-bottom: 40px; }
.pricing .kicker { display: block; text-align: center; }
.pricing .section-title {
  text-align: center;
  margin: 0 auto 16px;
  max-width: 22ch;
}
.cta__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  overflow: hidden;
}
.cta__orb {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 65%);
  opacity: .25;
  filter: blur(60px);
  animation: ctaPulse 8s ease-in-out infinite;
}
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer__brand .brand { margin-bottom: 16px; }
.footer__tag {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-400);
  max-width: 32ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 16px;
}
.footer__cols a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-700);
  transition: color .2s var(--ease);
}
.footer__cols a:hover { color: var(--emerald-d); }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .features, .byok, .how, .showcase, .pricing { padding-top: 40px; padding-bottom: 40px; }
  .section-title { font-size: clamp(26px, 7vw, 40px); margin-bottom: 14px; }
  .section-lede { font-size: 15px; }
  .steps { margin-top: 36px; gap: 14px; }
  .step { padding: 24px 22px; }
  .step__num { font-size: 48px; margin-bottom: 12px; }
  .step h3 { font-size: 20px; }
  .footer__inner { padding-bottom: 36px; gap: 28px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
@media (min-width: 1920px) {
  .section-title { font-size: clamp(60px, 4vw, 76px); }
  .section-lede { font-size: 19px; max-width: 60ch; }
  .step { padding: 36px; }
  .features, .byok, .how, .showcase, .pricing,
  .quote, .cta { padding-top: clamp(80px, 5vw, 120px); padding-bottom: clamp(80px, 5vw, 120px); }
}
@media (min-width: 2560px) {
  .section-title { font-size: clamp(76px, 3.8vw, 92px); }
  .section-lede { font-size: 21px; max-width: 62ch; }
  .feature, .feature--xl,
  .step,
  .provider, .provider--steps,
  .plan { padding: 44px; border-radius: 26px; }
  .feature h3, .feature--xl h3,
  .step h3, .provider h3,
  .provider__steps-title { font-size: 26px; }
  .feature p, .step p, .provider__list li,
  .provider__steps li { font-size: 16px; }
}
.fuel {
  background: var(--ink);
  padding: clamp(64px, 9vw, 108px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.fuel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 70% 55%, rgba(16,185,129,.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 20% 30%, rgba(59,130,246,.05) 0%, transparent 60%);
  pointer-events: none;
}
.fuel__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.fuel__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.eyebrow--emerald {
  color: var(--emerald-l);
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.28);
}
.eyebrow--emerald .eyebrow__dot {
  background: var(--emerald-l);
  box-shadow: 0 0 0 4px rgba(52,211,153,.2);
}
.fuel__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-300);
  max-width: 44ch;
}
.fuel__features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fuel__feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fuel__feat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(16,185,129,.5);
}
.fuel__feat strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}
.fuel__feat p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-400);
  line-height: 1.55;
}
.fuel__cta { align-self: flex-start; }
.fuel__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 900px) {
  .fuel__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .fuel__visual { order: -1; }
  .fuel__desc { max-width: 100%; }
}
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint-pale);
  color: var(--emerald-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(30px); }
}
@keyframes ctaPulse {
  0%,100% { transform: translate(-50%, -50%) scale(1); opacity: .25; }
  50%     { transform: translate(-50%, -50%) scale(1.1); opacity: .35; }
}

/* Sub-page section heads are centred; overrides the homepage's left-aligned .features__head */
.features__head {
  max-width: var(--container);
  margin: 0 auto 48px;
  text-align: center;
}
.section-lede { max-width: 62ch; }

/* ─── Studio Interface & Template Showcase ─── */
.studio-preview {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.studio-preview__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.studio-frame {
  background: #0A121B;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(10, 18, 27, 0.16), 0 4px 16px rgba(10, 18, 27, 0.08);
  overflow: hidden;
  margin: 40px auto 44px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.studio-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 232, 199, 0.35);
  box-shadow: 0 32px 80px rgba(10, 18, 27, 0.22), 0 8px 30px rgba(14, 232, 199, 0.14);
}
.studio-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #101923;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}
.studio-frame__dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.studio-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.studio-frame__dot--red { background: #FF5F56; }
.studio-frame__dot--yellow { background: #FFBD2E; }
.studio-frame__dot--green { background: #27C93F; }
.studio-frame__url {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.studio-frame__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0A121B;
  background: var(--lp-accent-grad, linear-gradient(135deg, #D4F754, #0EE8C7));
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.studio-frame__content {
  position: relative;
  display: block;
  text-decoration: none;
  background: #0A121B;
}
.studio-frame__img {
  width: 100%;
  height: auto;
  display: block;
}
.studio-frame__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 27, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.studio-frame:hover .studio-frame__overlay {
  opacity: 1;
}
.studio-frame__launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: #FFFFFF;
  color: #0A121B;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(6px);
  transition: transform 0.25s ease;
}
.studio-frame:hover .studio-frame__launch-btn {
  transform: translateY(0);
}
.studio-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.studio-highlight {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.studio-highlight:hover {
  border-color: var(--lp-accent, #028090);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 18, 27, 0.06);
}
.studio-highlight__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lp-accent-soft, #E8FBF7);
  color: var(--lp-accent, #028090);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.studio-highlight h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.studio-highlight p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-500);
  margin: 0;
}
@media (max-width: 960px) {
  .studio-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .studio-highlights {
    grid-template-columns: 1fr;
  }
  .studio-frame__url {
    display: none;
  }
}
