/* PIN-UP Landing — site4 (Emerald Nexus) */

:root {
  --bg: #0a1a16;
  --surface: #0f2922;
  --surface-2: #14332a;
  --ink: #ecfdf5;
  --muted: #94a3b8;
  --line: rgba(236, 253, 245, 0.1);
  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.14);
  --mint: #34d399;
  --mint-dim: rgba(52, 211, 153, 0.1);
  --radius: 8px;
  --container: 1060px;
  --header-h: 68px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(16, 185, 129, 0.07), transparent),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--emerald);
  color: #061210;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 26, 22, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 36px;
  width: auto;
}

.header__actions {
  display: flex;
  gap: 8px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn--emerald {
  background: var(--emerald);
  color: #061210;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--mint {
  background: var(--mint);
  color: #061210;
}

/* Ribbon hero */

.ribbon-hero {
  position: relative;
  padding-bottom: 40px;
}

.ribbon-hero__bg-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.ribbon-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ribbon-hero__bg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, var(--bg) 100%);
}

.ribbon-hero__body {
  position: relative;
  margin-top: -80px;
  z-index: 1;
}

.ribbon-hero__card {
  padding: 36px 40px;
  background: rgba(15, 41, 34, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ribbon-hero__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}

.ribbon-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
}

.ribbon-hero__lead {
  margin-top: 14px;
  color: var(--muted);
  max-width: 58ch;
  margin-inline: auto;
}

.ribbon-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* Pill stats */

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
}

.pill strong {
  color: var(--mint);
  margin-right: 6px;
}

/* Blocks */

.block {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.block--tint {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05), transparent);
}

.block__ribbon {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 16px;
  background: var(--emerald);
  color: #061210;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.block__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 28ch;
}

.block__title + .block__text,
.block__title + .cards,
.block__title + .block__grid {
  margin-top: 16px;
}

.block__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}

.block__aside {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid var(--emerald);
}

.block__aside h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--mint);
}

.block__text {
  color: var(--muted);
}

.block__text + .block__text {
  margin-top: 12px;
}

.block__main .block__text:first-child {
  margin-top: 0;
}

.list {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.list li {
  margin-top: 6px;
}

/* Cards row */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.card p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Table */

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.table th {
  background: var(--surface-2);
  color: var(--mint);
  font-weight: 600;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* FAQ */

.faq {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--muted);
}

.highlight {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--mint-dim);
  border-left: 4px solid var(--mint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.96rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* CTA */

.cta-end {
  margin: 48px auto 0;
  padding: 40px;
  text-align: center;
  background: var(--emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
}

.cta-end h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
}

.cta-end p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 46ch;
  margin-inline: auto;
}

.cta-end .btn {
  margin-top: 20px;
}

/* Footer */

.footer {
  margin-top: 48px;
  padding: 32px 0 40px;
  background: #061210;
  border-top: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__brand img {
  height: 32px;
  width: auto;
}

.footer__copy,
.footer__disclaimer,
.cookies-note {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .block__grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .ribbon-hero__card {
    padding: 28px 22px;
  }
}

@media (min-width: 801px) and (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
