/* nuclair.app/start/ (#230; docs/product/2026-11-16-promo-alineacion-pdf.md, task A).
   Tokens are the home's (landing/site/index.html); Amber is the guide's probable value, not a new token. */
@font-face {
  font-family: "Newsreader";
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/newsreader-latin-500.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin-400.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-latin-500.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin-600.woff2) format("woff2");
}
:root {
  --ink: #14213d;
  --ink-deep: #0d1730;
  --ink-soft: #2a3756;
  --porcelain: #f7f8f6;
  --white: #ffffff;
  --line: #dde1e5;
  --text-2: #5c6675;
  --lagoon: #0e8a86;
  --lagoon-ink: #0a6764;
  --lagoon-dark: #3fc7bf;
  --amber: #e3a23e;
  --on-ink: #eef2f6;
  --on-ink-2: #a9b5c5;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}
.wrap {
  width: min(1180px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-block {
  display: flex;
  width: 100%;
}
/* The one main action on ink: Lagoon's dark-ground variant with Ink text. */
.btn-start {
  background: var(--lagoon-dark);
  color: var(--ink);
}
.btn-start:hover {
  background: #5fd3cc;
}
/* The same action on Porcelain. */
.btn-lagoon {
  background: var(--lagoon);
  color: var(--white);
}
.btn-lagoon:hover {
  background: var(--lagoon-ink);
}
.btn-ink {
  background: var(--ink);
  color: var(--white);
}
.btn-ink:hover {
  background: var(--ink-soft);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: rgba(20, 33, 61, 0.06);
}
.btn-outline-dark {
  background: transparent;
  color: var(--on-ink);
  border-color: rgba(238, 242, 246, 0.55);
}
.btn-outline-dark:hover {
  border-color: var(--on-ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  padding-bottom: clamp(56px, 8vw, 96px);
}
/* Decoration: an open ring and a soft disc, drawn on their own so they never read as the logo (no node). */
.deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.deco .ring {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -150px;
  top: 40px;
  border-radius: 50%;
  border: 26px solid rgba(169, 181, 197, 0.16);
  clip-path: polygon(0 0, 62% 0, 62% 30%, 100% 30%, 100% 100%, 0 100%);
}
.deco .core {
  position: absolute;
  width: 200px;
  height: 200px;
  right: 30px;
  top: 220px;
  border-radius: 50%;
  background: rgba(14, 138, 134, 0.28);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 84px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  text-decoration: none;
  font: 500 26px/1 var(--serif);
  letter-spacing: -0.01em;
  color: var(--on-ink);
}
.logo svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}
.wordmark .ai {
  color: var(--lagoon-dark);
}
.nav-r {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 15px;
  text-decoration: none;
  color: var(--on-ink);
}
.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lang {
  display: inline-flex;
  border: 1px solid rgba(238, 242, 246, 0.3);
  border-radius: 999px;
  padding: 2px;
}
.lang button {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.04em;
  color: var(--on-ink-2);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: rgba(238, 242, 246, 0.14);
  color: var(--on-ink);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  padding-top: clamp(24px, 4vw, 48px);
}
.hero.has-panel .hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
}
.hero-copy {
  max-width: 620px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid rgba(238, 242, 246, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}
[data-offer="closed"] .pill .dot {
  background: var(--on-ink-2);
}
.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.lead {
  margin: 24px 0 0;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--on-ink);
  max-width: 34em;
}
.lead strong {
  font-weight: 600;
  color: var(--white);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.small {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--on-ink-2);
}
.small a {
  color: var(--lagoon-dark);
}

.panel {
  position: relative;
  background: rgba(13, 23, 48, 0.72);
  border: 1px solid rgba(169, 181, 197, 0.24);
  border-radius: var(--radius);
  padding: 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel h2 {
  font-size: 24px;
}
#panel-upto {
  font-size: 13px;
  color: var(--on-ink-2);
  white-space: nowrap;
}
.weeks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.weeks li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px dashed rgba(169, 181, 197, 0.5);
  font-size: 14px;
}
.weeks b {
  font-weight: 600;
  min-width: 4.6em;
  white-space: nowrap;
}
.weeks li.earned {
  background: var(--amber);
  border: 1px solid var(--amber);
  color: var(--ink);
}
.panel-sum {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-ink-2);
}

/* ---------- Sections ---------- */
.band {
  padding: clamp(64px, 9vw, 112px) 0;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lagoon);
}
.h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
}
.muted {
  color: var(--text-2);
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
}
.step-wide {
  grid-column: 1 / -1;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
.step h3 {
  margin-top: 18px;
  font-size: 26px;
}
.step > p {
  margin: 10px 0 18px;
  color: var(--text-2);
}
.mock-post {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-head b {
  display: block;
  font-weight: 600;
  line-height: 1.2;
}
.mock-head small {
  display: block;
  font-size: 12px;
  color: var(--text-2);
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  flex: none;
}
.mock-post p {
  margin: 10px 0 0;
}
.mock-field {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.mock-label {
  font-size: 13px;
  font-weight: 600;
}
.mock-input {
  display: block;
  padding: 12px 14px;
  border: 1px solid #c9d3d0;
  border-radius: 10px;
  background: var(--porcelain);
  font-size: 14px;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.invites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.invites li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.invites .state {
  color: var(--text-2);
}
.invites .earned .state {
  background: var(--amber);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 600;
}

.post {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.post-grid .h2 {
  margin-bottom: 18px;
}
.post-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.post-body p {
  margin: 0 0 14px;
  font: 500 20px/1.45 var(--serif);
  overflow-wrap: anywhere;
}
.post-body .post-note {
  font: 400 13px/1.5 var(--sans);
  color: var(--text-2);
}
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
/* Rules in Ink and Amber only: Lagoon stays for the main action (design 3.2). */
.col {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.col.amber {
  border-top-color: var(--amber);
}
.col h3 {
  font-size: 22px;
}
.col p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--text-2);
}
.fine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 48px;
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.fine h2 {
  font-size: 26px;
  line-height: 1.2;
}
.fine ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.terms-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--lagoon-ink);
}

.close {
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 0;
}
.symbol {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  display: block;
}
.close h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.1;
  max-width: 13em;
  margin-inline: auto;
}
.close p {
  margin: 18px 0 28px;
  color: var(--on-ink);
}

footer {
  background: var(--ink);
  color: var(--on-ink-2);
  font-size: 14px;
  border-top: 1px solid rgba(169, 181, 197, 0.16);
  padding: 24px 0 32px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
footer .mail {
  margin-left: auto;
  color: var(--lagoon-dark);
}

/* ---------- Narrow screens ---------- */
@media (max-width: 960px) {
  .hero.has-panel .hero-grid,
  .post-grid,
  .fine {
    grid-template-columns: minmax(0, 1fr);
  }
  .cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deco .ring {
    width: 420px;
    height: 420px;
    right: -220px;
    top: 20px;
  }
  .deco .core {
    width: 140px;
    height: 140px;
    right: -40px;
    top: 160px;
  }
}
@media (max-width: 640px) {
  .nav {
    height: 68px;
  }
  .nav-r {
    gap: 10px;
  }
  .nav-link {
    display: none;
  }
  .logo {
    font-size: 23px;
  }
  .steps,
  .cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .step,
  .post-card,
  .fine,
  .panel {
    padding: 20px;
  }
  .weeks li {
    gap: 12px;
  }
  .ctas .btn {
    flex: 1 1 auto;
  }
  footer .mail {
    margin-left: 0;
  }
}
@media (max-width: 380px) {
  .nav .btn-sm {
    padding: 0 12px;
  }
}
