/* Nura Resto — identity "Noche" (2026-09-08).
   Indigo ink + magenta action + warm yellow for money/status.
   Landing = dark heroes on indigo; help site = light reading ground. */
:root {
  --indigo: #17163A;
  --indigo-2: #232257;
  --magenta: #FF3D8A;
  --magenta-deep: #E0246F;
  --yellow: #FFD166;
  --slate: #8D8AA8;
  --ground: #FBFAFF;
  --panel: #FFFFFF;
  --line: #E4E2F0;
  --ink: #17163A;
  --muted: #5E5C7A;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --max: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 500; }
p { margin: 0; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--indigo); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--indigo); color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--magenta); }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: .92rem; font-weight: 600; }
.nav-links a { text-decoration: none; opacity: .9; }
.nav-links a:hover { opacity: 1; }
.nav .btn { padding: 10px 16px; font-size: .9rem; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* dark sections */
.dark { background: var(--indigo); color: #fff; }
.dark .muted { color: #C9C7DD; }
.dark h2 { color: #fff; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.muted { color: var(--muted); }
.lede { font-size: 1.15rem; max-width: 56ch; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* hero */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(closest-side, rgba(255,61,138,.35), transparent 70%); pointer-events: none; }
.hero-copy { display: grid; gap: 22px; max-width: 34ch; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .88rem; color: #C9C7DD; }
.hero .proof b { color: var(--yellow); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.phone { background: var(--ground); color: var(--ink); border-radius: 28px; padding: 18px; width: min(100%, 360px); margin-left: auto; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 6px solid #0E0D26; }
.phone .p-bar { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); padding: 2px 6px 10px; }
.phone .p-brand { font-family: var(--display); font-size: .95rem; padding: 0 6px 10px; }
.p-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 6px; border-top: 1px solid var(--line); font-size: .92rem; }
.p-item small { display: block; color: var(--muted); font-size: .76rem; }
.p-item .price { font-family: var(--mono); font-size: .86rem; }
.p-cta { margin-top: 12px; background: var(--indigo); color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-size: .95rem; }
.p-cta span { color: var(--yellow); font-family: var(--mono); }

/* stakes */
.math { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.math .row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.math .row:last-child { border-bottom: 0; }
.math .row b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.math .total { font-size: 1.15rem; }
.math .total b { color: var(--magenta-deep); font-weight: 700; }
.math .win b { color: #1F7A4D; font-weight: 700; }
.math .fine { font-size: .78rem; color: var(--muted); }

/* steps */
.step { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.step .n { font-family: var(--display); color: var(--magenta); font-size: .85rem; }
.step p { color: #C9C7DD; font-size: .95rem; }

/* features */
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; }
.feat .ic { width: 38px; height: 38px; border-radius: 10px; background: #F2ECFF; display: grid; place-items: center; font-size: 1.1rem; }
.feat p { color: var(--muted); font-size: .93rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #FFF1D6; color: #7A5200; width: max-content; }

/* pricing */
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; position: relative; }
.plan.hot { border-color: var(--magenta); box-shadow: 0 16px 40px rgba(255,61,138,.15); }
.plan .price { font-family: var(--display); font-size: 2.2rem; }
.plan .price small { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .93rem; display: grid; gap: 6px; }
.plan .badge { position: absolute; top: -12px; left: 22px; background: var(--magenta); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* faq */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--magenta); font-family: var(--display); }
details[open] summary::after { content: "–"; }
details p { margin-top: 8px; color: var(--muted); max-width: 66ch; }

/* footer */
footer { background: var(--indigo); color: #C9C7DD; padding: 40px 0; font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: #fff; }

/* help site */
.help-nav { background: var(--indigo); color: #fff; }
.help-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.help-nav .search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 8px 12px; font-size: .9rem; color: #C9C7DD; }
.help-nav .search input { background: transparent; border: 0; color: #fff; font: inherit; width: 100%; outline: none; }
.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 40px 0 80px; }
@media (max-width: 860px) { .help-layout { grid-template-columns: 1fr; } .help-side { order: 2; } }
.help-side { font-size: .9rem; }
.help-side h4 { font-family: var(--body); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 18px 0 8px; }
.help-side a { display: block; text-decoration: none; padding: 5px 8px; border-radius: 6px; color: var(--muted); }
.help-side a:hover { background: #F2ECFF; color: var(--ink); }
.help-side a.on { background: var(--indigo); color: #fff; }
.article { max-width: 68ch; }
.article .crumb { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.article .crumb a { text-decoration: none; }
.article h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.article h2 { font-size: 1.25rem; margin: 34px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.article p, .article li { color: #2E2C4A; }
.article p { margin: 10px 0; }
.article ol, .article ul { padding-left: 22px; margin: 8px 0; }
.article li { margin: 6px 0; }
.article code { font-family: var(--mono); font-size: .84em; background: #F2ECFF; padding: 1px 5px; border-radius: 4px; }
.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font-size: .88rem; margin: 0 0 20px; }
.meta b { color: var(--slate); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; display: block; }
.shot { margin: 14px 0 6px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.shot img { display: block; width: 100%; }
.shot figcaption { font-size: .8rem; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
.article table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 10px 0; }
.article th, .article td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.article th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.tw { overflow-x: auto; }
.err { border-left: 3px solid var(--magenta); padding: 6px 12px; margin: 8px 0; background: #FFF3F8; border-radius: 0 8px 8px 0; }
.err code { background: transparent; color: var(--magenta-deep); }
.callout { background: #FFF8E6; border: 1px solid #FFE6A8; border-radius: 10px; padding: 12px 16px; margin: 14px 0; font-size: .93rem; }
.related { display: grid; gap: 8px; }
.related a { text-decoration: none; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-weight: 600; }
.related a:hover { border-color: var(--magenta); }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 40px; }
@media (max-width: 860px) { .role-cards { grid-template-columns: 1fr; } }
.role { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.role h3 { font-weight: 700; }
.role ol { margin: 0; padding-left: 20px; font-size: .92rem; color: var(--muted); display: grid; gap: 4px; }
.role a { color: var(--ink); text-decoration: none; }
.role a:hover { color: var(--magenta-deep); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } html { scroll-behavior: auto; } }
