/* EMBEDRONE — design tokens from DESIGN.md (Spotify-inspired) */
:root {
  --bg-base: #121212;
  --bg-surface: #181818;
  --bg-mid: #1f1f1f;
  --bg-card: #252525;
  --text-base: #ffffff;
  --text-muted: #b3b3b3;
  --text-soft: #cbcbcb;
  --accent: #1ed760;
  --accent-hover: #1db954;
  --border-subtle: #4d4d4d;
  --border-light: #7c7c7c;
  --negative: #f3727f;
  --shadow-card: rgba(0, 0, 0, 0.3) 0px 8px 8px;
  --shadow-elevated: rgba(0, 0, 0, 0.5) 0px 8px 24px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --space-unit: 8px;
  --font-ui: "Helvetica Neue", helvetica, arial, "Hiragino Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-base);
  background: var(--bg-base);
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
}

[id] {
  scroll-margin-top: 84px;
}

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

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

a:hover {
  color: var(--text-base);
}

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

/* —— Layout —— */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 calc(var(--space-unit) * 3);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 77, 77, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 24px;
}

.logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-base);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-mid);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 14px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 8px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}

.nav-desktop a:hover {
  color: var(--text-base);
  background: var(--bg-mid);
}

.nav-desktop a.active {
  color: var(--text-base);
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 230px;
  gap: 12px;
}

.header-cta .btn-pill-accent {
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-pill-dark {
  background: var(--bg-mid);
  color: var(--text-base);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.btn-pill-dark:hover {
  background: #2a2a2a;
}

.btn-pill-accent {
  background: var(--accent);
  color: #000000;
  padding: 10px 22px;
  border-radius: 500px;
}

.btn-pill-accent:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-card);
}

.btn-outline {
  background: transparent;
  color: var(--text-base);
  border: 1px solid var(--border-light);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--bg-mid);
  color: var(--text-base);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(77, 77, 77, 0.35);
}

.nav-mobile a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: var(--radius-pill);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--text-base);
  background: var(--bg-mid);
}

.nav-mobile.open {
  display: flex;
}

@media (min-width: 897px) {
  .nav-mobile {
    display: none !important;
  }
}

@media (max-width: 896px) {
  .nav-desktop,
  .header-cta .btn-pill-accent {
    display: none;
  }

  .header-cta {
    flex: 0 0 auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* —— Hero —— */
.hero {
  padding: calc(var(--space-unit) * 10) 0 calc(var(--space-unit) * 12);
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 215, 96, 0.12), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 0 28px;
}

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

.hero-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  background: var(--bg-surface);
  aspect-ratio: 4 / 3;
}

/* —— Sections —— */
.section {
  padding: calc(var(--space-unit) * 10) 0;
}

.section-alt {
  background: var(--bg-surface);
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}

.section-head p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 56ch;
}

/* —— Cards grid —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.card {
  background: var(--bg-mid);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: background 0.15s, box-shadow 0.15s;
}

.card:hover {
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.card-thumb {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 1;
  background: var(--bg-surface);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  margin-top: 12px;
}

/* —— Feature list —— */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-mid);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* —— About strip —— */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 896px) {
  .about-strip {
    grid-template-columns: 1fr;
  }
}

.about-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-mid);
  box-shadow: var(--shadow-elevated);
}

.about-copy h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
}

.about-copy p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

/* —— FAQ —— */
.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 12px 0 0;
  padding-right: 24px;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-base);
  background: var(--bg-mid);
  border: none;
  border-radius: 500px;
  padding: 12px 20px;
  box-shadow: rgb(18, 18, 18) 0px 1px 0px, rgb(124, 124, 124) 0px 0px 0px 1px inset;
}

.form-group textarea {
  border-radius: 8px;
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 1px solid #000000;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cf-turnstile {
  min-height: 65px;
  margin: 0 0 16px;
}

.contact-section-head {
  margin-bottom: 24px;
}

.contact-card {
  height: 100%;
}

.contact-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

.contact-email {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.contact-image {
  margin-top: 16px;
  aspect-ratio: 16 / 10;
}

.mt-8 {
  margin-top: 8px;
}

.form-status {
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #111111;
  background: #b8ffcf;
}

.form-status.error {
  color: #2a0005;
  background: #f3727f;
}

/* —— Footer —— */
.site-footer {
  padding: calc(var(--space-unit) * 6) 0 calc(var(--space-unit) * 4);
  border-top: 1px solid rgba(77, 77, 77, 0.35);
  margin-top: calc(var(--space-unit) * 4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

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

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

.footer-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin: 0 0 16px;
}

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

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

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(77, 77, 77, 0.35);
  font-size: 12px;
  color: var(--text-muted);
}

.thank-you-content {
  max-width: 760px;
  text-align: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.thank-you-content h1 {
  margin: 0 0 12px;
}

.thank-you-content > p:not(.hero-eyebrow) {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.not-found-content {
  max-width: 640px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found-content h1 {
  margin: 0 0 12px;
}

.not-found-content p:not(.hero-eyebrow) {
  color: var(--text-muted);
  margin: 0 0 28px;
}

/* —— Placeholder image utility —— */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1f1f1f 0%, #2a2a2a 50%, #181818 100%);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  line-height: 1.4;
}

.placeholder-img span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-top: 8px;
  opacity: 0.8;
}

.scenario-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* —— Page hero small —— */
.page-hero {
  padding: calc(var(--space-unit) * 8) 0 calc(var(--space-unit) * 6);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  max-width: 48ch;
}
