/* rNexa landing v2 - sections below the hero: product, pricing, reviews, questions, closing */

/* Product: orchestration leads, two more cards follow */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; text-align: left; }
.tile { padding: 14px 14px 28px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--lift); }
.tile:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -36px rgba(var(--az-rgb), 0.3); }
.tile h3 { margin: 24px 14px 6px; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; }
.tile p { margin: 0 14px; color: var(--ink-2); }
.tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 12px; padding: 14px; }
.tile-wide h3 { margin-top: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.08; letter-spacing: -0.035em; }
.tile-wide p:not(.kicker) { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; }
.tile-wide .kicker { margin: 0 14px 10px; color: var(--az); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin: 44px 0 0; padding: 0; list-style: none; text-align: left; }
.feats li { display: flex; flex-direction: column; gap: 2px; padding: 20px 0; border-top: 1px solid var(--line); }
.feats b { font-weight: 500; }
.feats span { font-size: 15px; color: var(--ink-2); }

/* Pricing */
.price {
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 0 44px;
  max-width: 880px; margin: 52px auto 0; padding: 40px; text-align: left;
  border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--lift);
}
.price-tag { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.amount { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.amount strong { font-size: clamp(60px, 8vw, 80px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; }
.amount span { color: var(--ink-2); }
.price-main p { margin: 12px 0 0; color: var(--ink-2); }
.price-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.price .ledger { padding-left: 40px; border-left: 1px solid var(--line); }
.rung b { font-weight: 500; }
.rung span, .ledger small, .pay-note, .pay .fine { font-size: 13px; }
.ledger .now .rung span { color: var(--az); }
.bar { height: 5px; background: var(--track); }
.ledger .now .bar i { position: relative; overflow: hidden; background: linear-gradient(90deg, #0169cc, #2a8dff); }
/* A soft light runs along the filled part. */
.ledger .now .bar i::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); animation: beam 3s ease-in-out infinite; }
@keyframes beam { from { transform: translateX(-120%); } to { transform: translateX(300%); } }
.pay { margin-top: 28px; }
.price .btn-accent { font-size: 15px; font-weight: 500; }
.pay-seam, .pay-btn b { font-weight: 500; }

/* Reviews */
.rq-card { border: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.rq-avatar { background: rgba(var(--az-rgb), 0.1); color: var(--az); }
.rq-note { margin-top: 28px; font-size: 13px; }
.rq-name b { font-weight: 500; }

/* Questions */
.faq { max-width: 760px; text-align: left; }
.faq .kicker, .faq h2 { text-align: center; }
.faq h2 { margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--az); }
.faq details p { margin: -8px 0 22px; max-width: 640px; color: var(--ink-2); }
/* Answers open and close smoothly where the browser can size them. */
.faq { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 0.35s var(--ease), opacity 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; opacity: 1; }
.faq details a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* Closing: the mark and its light once more, on the page's own surface */
.closer {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1120px; margin: 144px auto 0; padding: 88px 24px 104px;
  border-radius: 28px; text-align: center; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), var(--lift);
}
.closer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(46% 64% at 50% 0%, rgba(var(--hi-rgb), 0.16), rgba(var(--az-rgb), 0.04) 60%, transparent 80%);
}
.closer .core { position: relative; left: auto; top: auto; width: 76px; height: 76px; margin: 0 auto 30px; animation: none; }
.closer .core::before { inset: -70px; }
.closer .core-ring { border-radius: 21.5px; }
.closer .core-tile { border-radius: 20px; }
.closer .core-tile img { width: 36px; height: 36px; }
.closer h2 { margin: 0; }
.closer .hero-ctas { margin-top: 32px; }
.closer.is-off .core::before, .closer.is-off .core-ring i, .closer.is-off .core-tile::after { animation-play-state: paused; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 48px 24px; font-size: 14px; color: var(--ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot a { transition: color 0.2s var(--ease); }
.foot a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .tiles, .feats, .tile-wide { grid-template-columns: 1fr; }
  .tile-wide { padding-bottom: 28px; }
  .tile-wide h3 { margin-top: 22px; }
  .price { grid-template-columns: 1fr; gap: 26px; padding: 28px 24px; }
  .price .ledger { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .closer { margin: 104px 16px 0; padding: 72px 24px 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .ledger .now .bar i::after { animation: none; display: none; }
  .faq details::details-content { transition: none; }
}
