:root {
  --bg: #061325;
  --bg-soft: #0a1b32;
  --surface: rgba(14, 33, 58, .72);
  --surface-strong: #102744;
  --text: #f5f8fc;
  --muted: #aab8cc;
  --line: rgba(151, 184, 218, .16);
  --cyan: #39e4df;
  --blue: #4b8cff;
  --blue-deep: #165bc6;
  --shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 8%, rgba(34, 184, 209, .11), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(54, 113, 230, .12), transparent 24%),
    var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 19, 37, .82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }

.hero { position: relative; overflow: hidden; padding: 108px 0 92px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 68px; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 7vw, 82px); max-width: 850px; }
h2 { font-size: clamp(34px, 4.7vw, 54px); }
h3 { font-size: clamp(28px, 3.6vw, 42px); }
.hero-lead { margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 14px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #051423; background: linear-gradient(135deg, var(--cyan), #6bf2e6); box-shadow: 0 12px 34px rgba(57, 228, 223, .16); }
.button-secondary { border: 1px solid rgba(178, 205, 233, .25); background: rgba(255,255,255,.035); }
.hero-mark { position: relative; display: grid; place-items: center; min-height: 430px; }
.hero-mark img { position: relative; z-index: 2; width: min(420px, 88%); filter: drop-shadow(0 28px 45px rgba(0,0,0,.22)); }
.hero-mark-ring { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(57,228,223,.24); box-shadow: inset 0 0 70px rgba(51, 174, 215, .10), 0 0 70px rgba(51,174,215,.08); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(85px); opacity: .22; pointer-events: none; }
.hero-glow-one { width: 360px; height: 360px; background: #008ecf; right: 7%; top: 18%; }
.hero-glow-two { width: 260px; height: 260px; background: #1ee6d0; left: 4%; bottom: -10%; opacity: .10; }

.section { padding: 94px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading > p:last-child { color: var(--muted); margin: 18px 0 0; font-size: 18px; }
.section-heading.compact { margin-bottom: 34px; }

.product-card {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px;
  background: linear-gradient(150deg, rgba(19, 47, 81, .88), rgba(9, 28, 52, .90));
  border: 1px solid var(--line); border-radius: 30px; padding: 38px; box-shadow: var(--shadow); overflow: hidden;
}
.product-copy { padding: 6px; }
.product-title-row { display: flex; align-items: center; gap: 18px; }
.app-icon { width: 82px; height: 82px; border-radius: 22px; box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.product-kicker { margin: 0 0 6px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.product-intro { color: var(--muted); font-size: 18px; margin: 24px 0 28px; }
.feature-grid { display: grid; gap: 18px; }
.feature-item { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: start; }
.feature-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 0 16px rgba(57,228,223,.4); }
.feature-item strong { display: block; font-size: 15px; }
.feature-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.trust-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c7d3e2; font-size: 12px; background: rgba(255,255,255,.025); }
.product-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }
.text-link { color: #c8d7e8; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--cyan); }
.product-visual { display: flex; align-items: flex-end; justify-content: center; padding: 10px 0 0; }
.product-visual img { width: min(390px, 100%); border-radius: 30px 30px 0 0; box-shadow: 0 26px 70px rgba(0,0,0,.28); }

.showcase { background: rgba(255,255,255,.018); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.screenshots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.screenshots figure { margin: 0; }
.screenshots img { width: 100%; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 20px 54px rgba(0,0,0,.23); }
.screenshots figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }

.studio-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.studio-copy { font-size: 20px; color: var(--muted); }
.studio-copy p { margin-top: 0; }

.contact { padding-top: 34px; }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 36px; border-radius: 26px; background: linear-gradient(135deg, rgba(26, 69, 112, .56), rgba(15, 40, 70, .7)); border: 1px solid var(--line); }
.contact-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }

.footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 28px 0 38px; color: var(--muted); font-size: 13px; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 920px) {
  .hero-grid, .product-card, .studio-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 78px; }
  .hero-mark { min-height: 300px; }
  .hero-mark img { width: 300px; }
  .hero-mark-ring { width: 260px; height: 260px; }
  .product-visual { max-height: 620px; overflow: hidden; }
  .screenshots { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav { display: none; }
  .brand span { font-size: 15px; }
  .hero { padding: 64px 0 58px; }
  .hero-grid { gap: 30px; }
  .hero-mark { min-height: 240px; }
  .hero-mark img { width: 240px; }
  .hero-mark-ring { width: 205px; height: 205px; }
  .section { padding: 66px 0; }
  .product-card { padding: 22px; border-radius: 24px; }
  .product-title-row { align-items: flex-start; }
  .app-icon { width: 66px; height: 66px; border-radius: 18px; }
  .screenshots { grid-template-columns: 1fr 1fr; gap: 12px; }
  .screenshots img { border-radius: 15px; }
  .contact-card, .footer-wrap { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}

/* Compound Future product page */
.cf-hero { position: relative; overflow: hidden; padding: 88px 0 82px; }
.cf-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 76px; align-items: center; }
.cf-hero-copy { position: relative; z-index: 2; }
.cf-app-heading { display: flex; gap: 20px; align-items: center; }
.cf-app-heading img { width: 86px; height: 86px; border-radius: 23px; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.cf-app-heading h1 { font-size: clamp(48px, 6vw, 76px); }
.cf-tagline { margin: 30px 0 0; font-size: clamp(25px, 3vw, 36px); font-weight: 700; letter-spacing: -.035em; color: #dce9f7; }
.cf-trust-row { margin-top: 25px; }
.cf-hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 650px; }
.cf-hero-visual img { position: relative; z-index: 2; width: min(430px, 100%); border-radius: 34px; box-shadow: 0 32px 90px rgba(0,0,0,.38); }
.cf-phone-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: rgba(57,228,223,.14); filter: blur(75px); }
.cf-overview { border-top: 1px solid var(--line); background: rgba(255,255,255,.014); }
.cf-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cf-value-card { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.cf-value-card .cf-number { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.cf-value-card h3 { margin-top: 17px; font-size: 27px; }
.cf-value-card p { color: var(--muted); margin-bottom: 0; }
.cf-feature-section { border-top: 1px solid var(--line); }
.cf-feature-alt { background: rgba(255,255,255,.018); }
.cf-feature-row { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.cf-feature-row-reverse .cf-feature-copy { order: 2; }
.cf-feature-row-reverse .cf-feature-image { order: 1; }
.cf-feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 620px; }
.cf-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 13px; color: #d6e1ef; }
.cf-list li { position: relative; padding-left: 24px; }
.cf-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 0 14px rgba(57,228,223,.3); }
.cf-feature-image { display: flex; justify-content: center; }
.cf-feature-image img { width: min(430px, 100%); border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 25px 70px rgba(0,0,0,.28); }
.cf-pro { background: radial-gradient(circle at 75% 38%, rgba(57,228,223,.09), transparent 30%); }
.cf-pro-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; padding: 44px; border-radius: 30px; border: 1px solid rgba(57,228,223,.18); background: linear-gradient(145deg, rgba(18,49,82,.92), rgba(8,27,50,.94)); box-shadow: var(--shadow); overflow: hidden; }
.cf-pro-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.cf-pro-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.cf-pro-features > div { padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); }
.cf-pro-features strong { display: block; font-size: 14px; }
.cf-pro-features span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.cf-pro-visual { display: flex; align-items: flex-end; justify-content: center; max-height: 660px; overflow: hidden; }
.cf-pro-visual img { width: min(390px, 100%); border-radius: 26px 26px 0 0; box-shadow: 0 25px 70px rgba(0,0,0,.28); }
.cf-privacy { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); }
.cf-privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.cf-privacy-copy { color: var(--muted); font-size: 18px; }
.cf-disclaimer { padding-top: 70px; padding-bottom: 40px; }
.cf-disclaimer-card { padding: 34px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.022); }
.cf-disclaimer-card h2 { font-size: clamp(30px, 4vw, 44px); }
.cf-disclaimer-card > p:last-child { margin-bottom: 0; max-width: 900px; color: var(--muted); }
.cf-final-cta { padding-top: 34px; }

@media (max-width: 920px) {
  .cf-hero-grid, .cf-feature-row, .cf-pro-card, .cf-privacy-grid { grid-template-columns: 1fr; }
  .cf-hero-visual { min-height: 520px; }
  .cf-feature-row-reverse .cf-feature-copy, .cf-feature-row-reverse .cf-feature-image { order: initial; }
  .cf-feature-row { gap: 42px; }
  .cf-value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .cf-hero { padding: 58px 0 60px; }
  .cf-app-heading { align-items: flex-start; }
  .cf-app-heading img { width: 66px; height: 66px; border-radius: 18px; }
  .cf-hero-visual { min-height: 430px; }
  .cf-pro-card { padding: 23px; border-radius: 24px; }
  .cf-pro-features { grid-template-columns: 1fr; }
  .cf-value-card { padding: 23px; }
  .cf-disclaimer-card { padding: 24px; }
}

/* 2026-09 refresh: updated Compound Future screenshots while keeping Pelagic Dynamics as the primary studio brand */
.screenshots-six { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.screenshots-six img { aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.cf-gallery-section { border-top: 1px solid var(--line); background: rgba(255,255,255,.012); }
.cf-feature-stack { position: relative; min-height: 640px; align-items: center; }
.cf-feature-stack img { position: absolute; width: min(350px, 78%); }
.cf-feature-stack img:first-child { transform: translate(-15%, -2%) rotate(-2deg); z-index: 1; }
.cf-feature-stack img:last-child { transform: translate(15%, 5%) rotate(2deg); z-index: 2; }

@media (max-width: 920px) {
  .screenshots-six { grid-template-columns: repeat(2, 1fr); }
  .cf-feature-stack { min-height: 560px; }
}

@media (max-width: 680px) {
  .screenshots-six { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cf-feature-stack { min-height: 440px; }
  .cf-feature-stack img { width: min(270px, 78%); }
}
