/* CurtainCue landing — black-box palette from CCTheme */

:root {
  --charcoal: #14171c;
  --charcoal-mid: #1e242c;
  --charcoal-lift: #2a323c;
  --worklight: #3ec6c4;
  --worklight-dim: #2a9e9c;
  --paper: #ede6d9;
  --paper-dim: #c9c0b0;
  --rust: #c45c3e;
  --rust-bright: #e07050;
  --ink: #0e1114;
  --line: rgba(237, 230, 217, 0.12);
  --line-strong: rgba(62, 198, 196, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --glow-teal: 0 0 48px rgba(62, 198, 196, 0.22);
  --maxw: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  color: var(--paper);
  background: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

/* Ambient glows */
.glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.55;
}

.glow--teal {
  width: 420px;
  height: 420px;
  background: rgba(62, 198, 196, 0.18);
  top: -80px;
  right: -60px;
}

.glow--rust {
  width: 360px;
  height: 360px;
  background: rgba(196, 92, 62, 0.14);
  bottom: 20%;
  left: -120px;
}

.page-wrap,
.nav,
main,
.footer { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--worklight);
  background: rgba(62, 198, 196, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}

.eyebrow--center {
  display: block;
  width: fit-content;
  margin: 0 auto 22px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(20, 23, 28, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
}

.brand__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--worklight);
  box-shadow: 0 0 14px rgba(62, 198, 196, 0.7);
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper-dim);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--worklight); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: 0.25s;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) { opacity: 0; }

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--rust);
  color: var(--ink);
  box-shadow: var(--shadow), 0 0 28px rgba(196, 92, 62, 0.28);
}

.btn--primary:hover {
  background: var(--rust-bright);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  background: rgba(62, 198, 196, 0.08);
  border-color: var(--worklight);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(90% 70% at 90% 0%, rgba(62, 198, 196, 0.12) 0%, transparent 55%),
    radial-gradient(70% 50% at 10% 80%, rgba(196, 92, 62, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-mid) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin: 20px 0 18px;
  color: var(--paper);
}

.lead {
  font-size: 17px;
  color: var(--paper-dim);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin: 30px 0 36px;
  flex-wrap: wrap;
}

.stats {
  list-style: none;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.stats li { display: flex; flex-direction: column; }

.stats strong {
  font-family: "Fraunces", serif;
  font-size: 26px;
  color: var(--worklight);
}

.stats span {
  font-size: 13px;
  color: var(--paper-dim);
}

/* Phone mockup */
.hero__device { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 270px;
  height: 552px;
  background: var(--ink);
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--shadow), var(--glow-teal);
  border: 1px solid rgba(62, 198, 196, 0.2);
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone__screen {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(62, 198, 196, 0.14), transparent 60%),
    linear-gradient(180deg, var(--charcoal-mid), var(--charcoal));
  border-radius: 32px;
  overflow: hidden;
}

.mini { padding: 44px 16px 16px; }

.mini__cue {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--rust-bright);
  margin-bottom: 6px;
}

.mini__title {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--paper);
}

.mini__sub {
  font-size: 11px;
  color: var(--paper-dim);
  margin-bottom: 14px;
}

.mini__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.mini__stat {
  background: rgba(42, 50, 60, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.mini__stat b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 18px;
  color: var(--worklight);
}

.mini__stat span {
  font-size: 11px;
  color: var(--paper-dim);
}

.mini__row {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(42, 50, 60, 0.75);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
  margin-bottom: 8px;
}

.mini__row b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
}

.mini__row i {
  font-size: 11px;
  color: var(--paper-dim);
  font-style: normal;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.dot--teal { background: var(--worklight); box-shadow: 0 0 8px rgba(62, 198, 196, 0.6); }
.dot--rust { background: var(--rust-bright); }
.dot--paper { background: var(--paper-dim); }

/* Sections */
.section { padding: 88px 0; }

.section--about {
  background:
    linear-gradient(180deg, transparent, rgba(62, 198, 196, 0.04)),
    var(--charcoal-mid);
}

.section--privacy { background: var(--charcoal); }

.section--contact {
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(196, 92, 62, 0.08), transparent 60%),
    var(--charcoal-mid);
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--paper);
}

.section__intro {
  text-align: center;
  color: var(--paper-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 16px;
}

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: rgba(30, 36, 44, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow), 0 0 32px rgba(62, 198, 196, 0.08);
}

.card__num {
  font-family: "Fraunces", serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--worklight);
}

.card h3 {
  font-size: 20px;
  margin: 10px 0 8px;
  color: var(--paper);
}

.card p {
  font-size: 14px;
  color: var(--paper-dim);
}

/* About */
.about { display: flex; flex-direction: column; gap: 18px; }

.about p {
  font-size: 16px;
  color: var(--paper-dim);
}

.about__tagline {
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 22px;
  color: var(--worklight);
  margin-top: 36px;
  font-style: italic;
}

/* Privacy */
.privacy__date {
  text-align: center;
  color: var(--paper-dim);
  font-size: 14px;
  margin-bottom: 16px;
}

.privacy__intro {
  text-align: center;
  color: var(--paper-dim);
  font-size: 15px;
  margin-bottom: 36px;
}

.privacy {
  list-style: none;
  counter-reset: p;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy li {
  counter-increment: p;
  background: rgba(30, 36, 44, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.privacy li::before {
  content: "0" counter(p);
  font-family: "Fraunces", serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--worklight);
}

.privacy li:nth-child(n+10)::before {
  content: counter(p);
}

.privacy h3 {
  font-size: 18px;
  margin: 4px 0 8px;
  color: var(--paper);
}

.privacy p {
  font-size: 14px;
  color: var(--paper-dim);
  margin-bottom: 8px;
}

.privacy p:last-child { margin-bottom: 0; }

.privacy a {
  color: var(--worklight);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact */
.contact__reply {
  text-align: center;
  color: var(--paper-dim);
  font-size: 14px;
  margin-bottom: 32px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact__card {
  background: rgba(30, 36, 44, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.contact__card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--glow-teal);
}

.contact__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--worklight);
  margin-bottom: 10px;
}

.contact__card a,
.contact__card p {
  font-size: 15px;
  color: var(--paper);
  word-break: break-word;
}

.contact__card a:hover { color: var(--worklight); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--ink);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--paper-dim);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a:hover { color: var(--worklight); }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__device { order: -1; }

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

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

@media (max-width: 720px) {
  .nav__burger { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(14, 17, 20, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }

  .nav__links.is-open { display: flex; }

  .nav__links a {
    padding: 14px 24px;
    border-top: 1px solid var(--line);
  }

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

  .hero { padding: 48px 0 64px; }

  .section { padding: 64px 0; }

  .stats { gap: 22px; }

  .phone {
    width: 240px;
    height: 490px;
  }
}

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

  .card,
  .btn,
  .contact__card { transition: none; }

  .card:hover,
  .btn:hover,
  .contact__card:hover { transform: none; }
}
