@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* palette */
  --paper: #f4f1ea;
  /* warm off-white background */
  --paper-deep: #ebe6db;
  /* slightly deeper section */
  --ink: #111111;
  /* near-black text */
  --ink-soft: #2a2a2a;
  --muted: #6b6760;
  --line: #1a1a1a;
  --rule: #d8d2c4;
  --accent: #d4ff3a;
  /* electric chartreuse */
  --accent-deep: #b8e022;
  --danger: #c8553d;
  --success: #4a7c59;

  /* type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 2px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* subtle grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* ---------- NAVBAR ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 26px;
  height: 26px;
  display: inline-block;
  position: relative;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-deep);
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px var(--gutter);
    gap: 20px;
    border-bottom: 1px solid var(--rule);
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--muted);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}

.hero-eyebrow {
  margin-bottom: 36px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 180px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
}

.hero-title .verb {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hero-title .verb:nth-child(2) {
  padding-left: 0.4em;
}

.hero-title .verb:nth-child(3) {
  padding-left: 0.8em;
}

.hero-title .accent-dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 0.08em;
  transform: translateY(-0.1em);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* trust badges */
.trust-row {
  margin-top: clamp(60px, 8vw, 90px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.trust-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    aspect-ratio: 1.4 / 1;
    max-width: 420px;
    margin: 0 auto;
  }

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

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.section-deep {
  background: var(--paper-deep);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--paper);
}

.section-dark .eyebrow {
  color: rgba(244, 241, 234, 0.6);
}

.section-dark .eyebrow::before {
  background: rgba(244, 241, 234, 0.4);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
}

.section-dark .section-head p {
  color: rgba(244, 241, 234, 0.7);
}

/* Dark section heading fix */
.section-dark .faq-content h4 {
  color: var(--paper);
}

.section-dark .faq-content p {
  color: rgba(244, 241, 234, 0.7);
}

.section-dark .faq-q {
  color: var(--accent);
}

@media (max-width: 800px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  padding: 36px 28px 36px 0;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: padding 0.3s ease;
}

.step:hover {
  padding-left: 8px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 16px;
}

.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

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

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

/* ---------- PLANS / PRICING ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}

.plan {
  padding: 40px 28px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.25s ease;
}

.plan:last-child {
  border-right: none;
}

.plan:hover {
  background: var(--paper-deep);
}

.plan.featured {
  background: var(--ink);
  color: var(--paper);
}

.plan.featured h3,
.plan.featured .plan-price {
  color: var(--paper);
}

.plan.featured .plan-feature::before {
  background: var(--accent);
}

.plan.featured:hover {
  background: var(--ink);
}

.plan-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.plan.featured .plan-tag {
  color: var(--accent);
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 18px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1;
}

.plan-price .currency {
  font-size: 24px;
  vertical-align: super;
  margin-right: 2px;
}

.plan-price .free {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

.plan.featured .plan-price .free {
  color: rgba(244, 241, 234, 0.6);
}

.plan-period {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 30px;
  font-family: var(--font-mono);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.plan-feature {
  font-size: 14px;
  padding: 10px 0 10px 22px;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.4;
}

.plan.featured .plan-feature {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.plan-feature:first-child {
  border-top: none;
}

.plan-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 1px;
  background: var(--ink);
}

.plan-cta {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition: padding 0.2s ease;
}

.plan.featured .plan-cta {
  border-top-color: var(--accent);
  color: var(--accent);
}

.plan-cta:hover {
  padding-left: 6px;
}

.plans-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-align: center;
}

@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }

  .plan:nth-child(even) {
    border-right: none;
  }

  .plan:nth-last-child(-n+1) {
    border-bottom: none;
  }

  .plan:nth-child(5) {
    grid-column: span 2;
  }
}

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

  .plan {
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
  }

  .plan:last-child {
    border-bottom: none;
  }

  .plan:nth-child(5) {
    grid-column: span 1;
  }
}

/* ---------- FEATURES GRID ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.feature {
  padding: 44px 32px 44px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  position: relative;
}

.feature:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}

.feature:nth-child(3n+1) {
  padding-left: 0;
  padding-right: 32px;
}

.feature:nth-child(3n+2) {
  padding: 44px 32px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.25s ease, color 0.25s ease;
}

.feature:hover .feature-icon {
  background: var(--ink);
  color: var(--accent);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

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

  .feature,
  .feature:nth-child(3n),
  .feature:nth-child(3n+1),
  .feature:nth-child(3n+2) {
    padding: 32px 20px;
    border-right: 1px solid var(--rule);
  }

  .feature:nth-child(2n) {
    border-right: none;
  }
}

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

  .feature,
  .feature:nth-child(3n),
  .feature:nth-child(3n+1),
  .feature:nth-child(3n+2) {
    border-right: none !important;
    padding: 28px 0;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  cursor: pointer;
  transition: padding 0.25s ease;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-item:hover {
  padding-left: 8px;
}

.faq-q {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding-top: 6px;
}

.faq-content h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}

.faq-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 600px) {
  .faq-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 30px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 24px;
}

.footer-brand em {
  font-style: italic;
  color: var(--muted);
}

.footer-tag {
  font-size: 14px;
  color: rgba(244, 241, 234, 0.6);
  max-width: 380px;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(244, 241, 234, 0.5);
  margin-bottom: 22px;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--paper);
  transition: color 0.2s ease;
}

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

.footer-col p {
  font-size: 14px;
  color: rgba(244, 241, 234, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(244, 241, 234, 0.5);
  letter-spacing: 0.04em;
}

.footer-pay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 241, 234, 0.15);
  border-radius: 100px;
}

.razorpay-logo {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}

/* ---------- INNER PAGE HEADER ---------- */
.page-header {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.page-header h1 em {
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
}

.page-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.55;
}

.page-meta {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-meta span::before {
  content: "→";
  margin-right: 8px;
  color: var(--ink);
}

/* ---------- LEGAL / PROSE ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 32px 0 12px;
}

.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.prose ul {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
}

.prose ul li:first-child {
  border-top: none;
  padding-top: 0;
}

.prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--muted);
}

.prose ul li:first-child::before {
  top: 0;
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose .callout {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  font-size: 15px;
  line-height: 1.6;
}

.prose .callout strong {
  color: var(--accent);
}

.prose .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 40px;
  display: block;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: clamp(60px, 8vw, 100px) 0;
}

.contact-card {
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--paper);
  position: relative;
}

.contact-card-dark {
  background: var(--ink);
  color: var(--paper);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-card-dark h3 {
  color: var(--paper);
}

.contact-row {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.contact-card-dark .contact-row {
  border-top-color: rgba(244, 241, 234, 0.12);
}

.contact-row:first-of-type {
  border-top: none;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  flex-shrink: 0;
}

.contact-card-dark .contact-label {
  color: rgba(244, 241, 234, 0.5);
}

.contact-value {
  font-size: 15px;
  text-align: right;
  line-height: 1.4;
}

.contact-value a:hover {
  color: var(--accent-deep);
}

.contact-card-dark .contact-value a:hover {
  color: var(--accent);
}

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

  .contact-card {
    padding: 28px 22px;
  }

  .contact-row {
    flex-direction: column;
    gap: 4px;
  }

  .contact-value {
    text-align: left;
  }
}

/* ---------- ABOUT ---------- */
.about-lead {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 60px;
}

.about-lead em {
  font-style: italic;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.about-block h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-block ul {
  list-style: none;
}

.about-block li {
  border-top: 1px solid var(--rule);
  padding: 14px 0;
  font-size: 16px;
}

.about-block li:first-child {
  border-top: 1px solid var(--ink);
}

.about-block dl {
  margin: 0;
}

.about-block dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 14px;
}

.about-block dt:first-child {
  margin-top: 0;
}

.about-block dd {
  font-size: 16px;
  margin: 4px 0 14px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.about-block dd:last-child {
  border-bottom: none;
}

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

/* ---------- DECORATIVE: animated cube graphic ---------- */
.cube-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-art svg {
  width: 100%;
  height: auto;
  max-width: 460px;
}

.cube-spin {
  transform-origin: center;
  animation: slowSpin 30s linear infinite;
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* fade-in on load */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.25s;
}

.delay-3 {
  animation-delay: 0.4s;
}

.delay-4 {
  animation-delay: 0.55s;
}

.delay-5 {
  animation-delay: 0.7s;
}

/* ticker */
.ticker {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ticker-track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.ticker-track span::after {
  content: "✦";
  color: var(--accent);
  font-style: normal;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* selection */
::selection {
  background: var(--accent);
  color: var(--ink);
}

/* small responsive tweaks */
@media (max-width: 540px) {
  .btn {
    padding: 14px 22px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 64px;
  }
}

/* Hide nav CTA button until auth state resolves */
.nav-cta {
  visibility: hidden;
}