:root {
  --bg: #08110f;
  --bg-soft: #0f1c19;
  --surface: rgba(19, 32, 29, 0.76);
  --surface-2: rgba(247, 242, 230, 0.82);
  --surface-3: rgba(255, 255, 255, 0.08);
  --ink: #e9eadf;
  --ink-dark: #16211d;
  --ink-soft: rgba(233, 234, 223, 0.72);
  --ink-muted: rgba(233, 234, 223, 0.52);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --accent: #76d8b8;
  --accent-strong: #53be9d;
  --warm: #f1c47b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 2rem;
  --radius-lg: 1.35rem;
  --radius-md: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(118, 216, 184, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(241, 196, 123, 0.14), transparent 24%),
    linear-gradient(180deg, #08110f 0%, #0c1513 45%, #101a17 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='18' cy='24' r='1.2'/%3E%3Ccircle cx='109' cy='47' r='1'/%3E%3Ccircle cx='57' cy='88' r='1.1'/%3E%3Ccircle cx='136' cy='121' r='1.2'/%3E%3Ccircle cx='32' cy='143' r='0.9'/%3E%3C/g%3E%3C/svg%3E");
}

.site-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), #2b7d68);
  color: #0a1512;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(83, 190, 157, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span:last-child {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.site-nav a,
.text-link,
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--ink);
}

main {
  padding-bottom: 4rem;
}

.hero-section {
  padding-top: clamp(2rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.eyebrow,
.tiny-label,
.mini-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.97;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}

.hero-text,
.section-copy p:last-child,
.premium-card p,
.reader-surface p,
.rail-card p,
.policy-card p,
.footer-copy {
  color: var(--ink-soft);
}

.hero-text {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
  line-height: 1.78;
}

.hero-actions,
.hero-badges,
.mode-row,
.cta-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin: 1.9rem 0 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #09110f;
  background: linear-gradient(135deg, var(--accent), #a7ebd3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--line);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-stack {
  position: relative;
  padding: 1.1rem 0 2.8rem;
}

.phone-card,
.floating-panel,
.signal-strip,
.premium-card,
.reader-shell,
.policy-card,
.cta-band,
.legal-card,
.support-card {
  box-shadow: var(--shadow);
}

.phone-card {
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14, 25, 23, 0.95), rgba(10, 18, 16, 0.98));
  border: 1px solid var(--line);
}

.phone-card-top,
.reader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-pill,
.meta-label,
.mode {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.79rem;
}

.status-pill {
  background: rgba(118, 216, 184, 0.14);
  border: 1px solid rgba(118, 216, 184, 0.24);
  color: var(--accent);
  font-weight: 700;
}

.status-live {
  background: rgba(241, 196, 123, 0.12);
  border-color: rgba(241, 196, 123, 0.22);
  color: var(--warm);
}

.meta-label {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-muted);
}

.phone-card h2,
.reader-surface h2 {
  max-width: 12ch;
}

.phone-card p,
.mini-card p,
.mini-note {
  color: var(--ink-soft);
  line-height: 1.62;
}

.mini-card-grid,
.premium-grid,
.reader-columns,
.policy-preview {
  display: grid;
  gap: 1rem;
}

.mini-card-grid {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.mini-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
}

.mini-card-accent {
  background: linear-gradient(180deg, rgba(83, 190, 157, 0.14), rgba(255, 255, 255, 0.04));
}

.mini-card h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.08rem;
}

.mode-row {
  margin-bottom: 0.75rem;
}

.mode {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
}

.mode.active {
  background: #f2efe4;
  color: var(--ink-dark);
  font-weight: 700;
}

.floating-panel {
  position: absolute;
  right: -0.3rem;
  bottom: 0;
  width: min(18rem, 92%);
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  background: rgba(245, 242, 233, 0.92);
  color: var(--ink-dark);
  border: 1px solid rgba(22, 33, 29, 0.08);
}

.floating-panel p,
.floating-panel .tiny-label {
  margin: 0;
}

.floating-panel p {
  margin-top: 0.4rem;
  line-height: 1.55;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1rem;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.signal-strip div {
  display: grid;
  gap: 0.35rem;
}

.signal-strip strong {
  font-size: 0.95rem;
}

.signal-strip span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.feature-layout,
.reader-band,
.trust-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.25rem, 3vw, 2.3rem);
  align-items: start;
  margin-top: 3rem;
}

.section-copy p:last-child {
  max-width: 52ch;
  line-height: 1.72;
}

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

.premium-card,
.policy-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(247, 242, 230, 0.94), rgba(233, 228, 215, 0.9));
  color: var(--ink-dark);
  border: 1px solid rgba(20, 31, 28, 0.08);
}

.premium-card h3,
.policy-card h3,
.reader-columns h3 {
  margin: 0.45rem 0 0.45rem;
  font-size: 1.12rem;
}

.premium-card p,
.policy-card p {
  margin: 0;
  color: rgba(22, 33, 29, 0.74);
  line-height: 1.62;
}

.reader-shell {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.reader-surface,
.rail-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.reader-surface {
  padding: 1.2rem;
}

.reader-surface p {
  max-width: 58ch;
  line-height: 1.7;
}

.reader-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.reader-columns article {
  padding: 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.reader-columns p {
  margin: 0;
  font-size: 0.95rem;
}

.reader-rail {
  display: grid;
  gap: 1rem;
}

.rail-card {
  padding: 1rem;
}

.rail-card p {
  margin: 0.45rem 0 0;
  line-height: 1.58;
}

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

.text-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--ink-dark);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(118, 216, 184, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2.2rem;
}

.footer-brand,
.footer-copy {
  margin: 0;
}

.footer-brand {
  font-weight: 700;
}

.footer-copy {
  margin-top: 0.25rem;
}

.legal-shell {
  padding: 3.25rem 0 4rem;
}

.legal-hero {
  max-width: 54rem;
}

.legal-hero p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.legal-card {
  margin-top: 1.4rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.legal-card section + section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.legal-card h2 {
  max-width: none;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.legal-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.03rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.legal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.support-card {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(247, 242, 230, 0.92);
  color: var(--ink-dark);
  border: 1px solid rgba(20, 31, 28, 0.08);
}

.support-card p {
  margin: 0.4rem 0 0;
  color: rgba(22, 33, 29, 0.74);
}

@media (max-width: 1080px) {
  .hero-grid,
  .feature-layout,
  .reader-band,
  .trust-layout,
  .reader-shell {
    grid-template-columns: 1fr;
  }

  .premium-grid,
  .reader-columns,
  .policy-preview,
  .signal-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .cta-band,
  .legal-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-nav {
    gap: 0.9rem;
  }

  h1 {
    max-width: none;
  }

  .floating-panel {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }

  .site-shell {
    width: min(1180px, calc(100vw - 24px));
  }
}
