/* Synatra landing: a fund factsheet, not a crypto dashboard.
   Ink-green and cream paper, serif display, hairline rules, square corners.
   The brand green (#79e984) is shared with the app. */
:root {
  --ink: #0b1210;
  --paper: #f4f0e6;
  --paper-tint: #ebe6d8;
  --cream: #f1ede2;
  --green: #79e984;
  --green-deep: #12683a;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

.dark {
  --bg: var(--ink);
  --fg: var(--cream);
  --muted: #9ba69f;
  --rule: rgba(241, 237, 226, 0.16);
  --accent: var(--green);
  --accent-wash: rgba(121, 233, 132, 0.12);
}

.light {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #59625c;
  --rule: rgba(11, 18, 16, 0.16);
  --accent: var(--green-deep);
  --accent-wash: rgba(18, 104, 58, 0.09);
}

.light.tint {
  --bg: var(--paper-tint);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

ol,
ul {
  list-style: none;
}

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

em {
  font-style: italic;
  color: var(--accent);
}

.dark,
.light {
  background: var(--bg);
  color: var(--fg);
}

.wrap {
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 15px;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
}

.btn-primary:hover {
  background: #96f09f;
}

.light .btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.light .btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--fg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 18, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--fg);
}

/* ---- hero ---- */
.hero {
  overflow: hidden;
}

.hero-inner {
  position: relative;
  min-height: 800px;
  padding-top: 88px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow,
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin-top: 28px;
  font-size: clamp(56px, 9.4vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 500px;
  margin-top: 32px;
  font-size: 18px;
  color: var(--muted);
}

.lede span {
  color: var(--fg);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* A slow glow on the main call to action. The shadow is static; only its opacity animates. */
.cta-row .btn-primary {
  position: relative;
}

.cta-row .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 22px 2px rgba(121, 233, 132, 0.45);
  opacity: 0;
  pointer-events: none;
  animation: glow 2.8s ease-in-out infinite;
}

.cta-row .btn-primary:hover::after,
.cta-row .btn-primary:focus-visible::after {
  animation-play-state: paused;
}

@keyframes glow {
  50% {
    opacity: 1;
  }
}

/* The signature: the real ySOL redemption rate, drawn across the hero. */
.hero-curve {
  position: absolute;
  inset: 380px 24px 24px;
  pointer-events: none;
}

.hero-curve svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-curve .line,
.plot .line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-start,
.hero-end {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.hero-start {
  left: 0;
  bottom: -6px;
  transform: translateY(100%);
}

.hero-end {
  right: 0;
  padding-bottom: 22px;
  text-align: right;
  transform: translateY(-100%);
}

.hero-end b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.hero-end b small {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--accent);
}

.hero-dot {
  position: absolute;
  right: 0;
  width: 11px;
  height: 11px;
  margin: -5.5px -5.5px 0 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--accent-wash);
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}

.strip > div {
  padding: 24px 24px 32px 0;
}

.strip > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

dt {
  font-size: 13px;
  color: var(--muted);
}

.strip dd {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

small {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
}

/* ---- sections ---- */
.section {
  padding: 112px 0;
}

.section-head {
  max-width: 720px;
}

h2 {
  margin-top: 16px;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.section-lede {
  max-width: 600px;
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
}

/* ---- track record: two factsheets ---- */
.sheets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  margin-top: 64px;
}

.sheet {
  border-top: 2px solid var(--fg);
  padding-top: 20px;
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sheet-head h3 {
  font-size: 26px;
}

.sheet-head p {
  font-size: 13px;
  color: var(--muted);
}

.badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.rate {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.rate .from {
  color: var(--muted);
}

.arrow {
  margin: 0 0.25em;
  color: var(--accent);
}

.chart {
  margin-top: 32px;
}

.plot {
  position: relative;
  height: 220px;
  touch-action: pan-y;
}

.plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.y-tick {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transform: translateY(-100%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  opacity: 0.8;
}

.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-wash);
  pointer-events: none;
}

.tip {
  position: absolute;
  bottom: 8px;
  margin-left: 10px;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
}

.tip.flip {
  margin-left: -10px;
  transform: translateX(-100%);
}

.x-axis {
  position: relative;
  height: 22px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.x-axis span {
  position: absolute;
  transform: translateX(-50%);
}

.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  border-block: 1px solid var(--rule);
}

.figures > div {
  padding: 16px 0;
}

.figures > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}

.figures dt {
  font-size: 12px;
}

.figures dd {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
}

/* a stat or rate counting up (main.js): the real text keeps its place unseen, the count is drawn on top */
[data-count] {
  position: relative;
  -webkit-text-fill-color: transparent;
}

[data-count]::after {
  content: attr(data-count);
  content: attr(data-count) / '';
  position: absolute;
  top: 0;
  left: 0;
  padding: inherit;
  white-space: nowrap;
  -webkit-text-fill-color: currentcolor;
}

.example {
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
}

.example strong {
  color: var(--accent);
  font-weight: 600;
}

.footnote {
  margin-top: 56px;
  font-size: 13px;
  color: var(--muted);
}

/* ---- new assets: four cards on the dark band ---- */
.assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.assets li {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--accent);
  padding-top: 18px;
}

.asset-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asset-head h3 {
  font-size: 26px;
}

.assets p {
  flex: 1;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.asset-facts {
  margin-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 13px;
}

.asset-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}

.asset-facts dt {
  font-size: 13px;
  white-space: nowrap;
}

.asset-facts a:hover {
  color: var(--accent);
}

.footnote a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- how it works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.steps li {
  border-top: 2px solid var(--fg);
  padding-top: 16px;
}

.step-n {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
}

.steps h3 {
  margin-top: 20px;
  font-size: 26px;
}

.steps p,
.pillars p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.sub-h {
  margin-top: 96px;
  font-size: 34px;
  font-weight: 300;
}

.sources {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}

.sources > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.sources dt {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.sources dd {
  max-width: 560px;
  color: var(--muted);
}

/* ---- security ---- */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}

.addresses {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 13px;
}

.addresses li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}

.addresses a {
  color: var(--fg);
}

.addresses a:hover {
  color: var(--accent);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 40px;
}

.pillars li {
  border-top: 1px solid var(--accent);
  padding-top: 18px;
}

.pillars h3 {
  font-size: 24px;
}

.pillars a {
  display: block;
  margin-top: 8px;
  color: var(--accent);
}

.steps p span,
.pillars b {
  font-weight: 500;
  color: var(--fg);
}

/* ---- card lift: transform and a pre-drawn shadow's opacity only ---- */
.sheet,
.steps li,
.assets li,
.pillars li {
  position: relative;
  isolation: isolate;
  transition: transform 180ms ease;
}

.sheet::after,
.steps li::after,
.assets li::after,
.pillars li::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.sheet:hover,
.sheet:has(:focus-visible),
.steps li:hover,
.steps li:has(:focus-visible),
.assets li:hover,
.assets li:has(:focus-visible),
.pillars li:hover,
.pillars li:has(:focus-visible) {
  transform: translateY(-3px);
}

.sheet:hover::after,
.sheet:has(:focus-visible)::after,
.steps li:hover::after,
.steps li:has(:focus-visible)::after,
.assets li:hover::after,
.assets li:has(:focus-visible)::after,
.pillars li:hover::after,
.pillars li:has(:focus-visible)::after {
  opacity: 1;
}

/* ---- audience ---- */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 64px;
  border-top: 2px solid var(--fg);
}

.audience article {
  display: flex;
  flex-direction: column;
  padding: 32px 48px 0 0;
}

.audience article + article {
  padding: 32px 0 0 48px;
  border-left: 1px solid var(--rule);
}

.audience h3 {
  font-size: 32px;
  font-weight: 300;
}

.ticks {
  flex: 1;
  margin: 20px 0 32px;
}

.ticks li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}

.audience .btn {
  align-self: flex-start;
}

/* ---- closing ---- */
.closing {
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.closing-rate {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.closing-rate span:last-child {
  color: var(--accent);
}

.closing h2 {
  margin-top: 24px;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.closing .section-lede {
  margin-inline: auto;
}

.token-row {
  display: flex;
  justify-content: center;
  margin: 36px 0;
}

.token-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--ink);
}

.token-row img + img {
  margin-left: -10px;
}

/* ---- footer ---- */
.footer {
  padding: 36px 0 44px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.disclaimer {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.75;
}

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

/* ---- responsive ---- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 56px;
  }

  .hero-curve {
    position: relative;
    inset: auto;
    height: 200px;
    margin: 120px 0 32px;
  }

  .strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip > div {
    padding: 18px 12px 20px 0;
  }

  .strip > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .strip > div:nth-child(even) {
    padding-left: 16px;
  }

  .strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .strip dd {
    font-size: 26px;
  }

  .section {
    padding: 72px 0;
  }

  .sheets,
  .steps,
  .split,
  .audience {
    grid-template-columns: minmax(0, 1fr);
  }

  .sheets,
  .split {
    gap: 56px;
  }

  .sheets,
  .steps,
  .assets,
  .audience {
    margin-top: 44px;
  }

  .assets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sources > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sub-h {
    margin-top: 64px;
  }

  .audience article,
  .audience article + article {
    padding: 28px 0 0;
    border-left: 0;
  }

  .audience article + article {
    margin-top: 48px;
    border-top: 2px solid var(--fg);
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }

  .hero-curve {
    inset: auto;
  }

  .pillars,
  .assets {
    grid-template-columns: 1fr;
  }

  .sheet-head p {
    display: none;
  }

  .figures dd {
    font-size: 21px;
  }
}

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

  .btn,
  .sheet,
  .steps li,
  .assets li,
  .pillars li,
  .sheet::after,
  .steps li::after,
  .assets li::after,
  .pillars li::after {
    transition: none;
  }

  .cta-row .btn-primary::after {
    animation: none;
  }
}

@media print {
  [data-count] {
    -webkit-text-fill-color: currentcolor;
  }

  [data-count]::after {
    content: none;
  }
}
