/* PromoClips — Orbital typography × Mux light */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --bg:          #F6F5F2;   /* warm light grey — page */
  --surface:     #FFFFFF;   /* white — cards, sections */
  --surface-alt: #F0EFEC;   /* slightly deeper grey — alternating sections */
  --border:      #E3E2DF;
  --border-dark: #1A1A1A;
  --text:        #1A1A1A;
  --muted:       #6B6B69;
  --accent:      #FF7A59;   /* Orbital secondary — CTA orange */
  --accent-h:    #E56240;
  --green:       #CBE1CC;   /* Orbital primary — sage */
  --green-text:  #27622A;
  --error:       #D93025;
  --success:     #2E7D32;
  --warn:        #B45309;

  /* Typography — Orbital system */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Spacing (8px base) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;

  /* Shape — Orbital: 2px tight radius */
  --r: 2px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── TYPOGRAPHY ─────────────────────────────────── */

/* Orbital display — large, tight, heavy */
.display {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Orbital body-md: small caps label */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── LAYOUT ─────────────────────────────────────── */

.container      { max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-3); }
.container-md   { max-width: 760px;  margin: 0 auto; padding: 0 var(--sp-3); }
.container-sm   { max-width: 560px;  margin: 0 auto; padding: 0 var(--sp-3); }

/* ─── NAV ────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,245,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}

/* ─── BUTTONS ────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 11px 22px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-h); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--surface); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ─── BADGE ──────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--green);
  color: var(--green-text);
  border-radius: var(--r);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── HERO ───────────────────────────────────────── */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-6) 0;
}

.hero .container { display: flex; flex-direction: column; align-items: flex-start; }

.hero h1 { max-width: 820px; margin-top: var(--sp-3); margin-bottom: var(--sp-2); }

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: var(--sp-4);
  line-height: 1.65;
}

.hero-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }

.hero-price-note {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* ─── VIDEO PLACEHOLDER ──────────────────────────── */

.video-wrap {
  margin-top: var(--sp-5);
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-2);
  color: var(--muted);
}

.video-play-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-icon::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

/* ─── SECTION BASE ───────────────────────────────── */

.section { padding: var(--sp-6) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: var(--sp-5); }
.section-head .label { display: block; margin-bottom: var(--sp-2); }
.section-head h2 { margin-bottom: var(--sp-1); }
.section-head p { color: var(--muted); font-size: 17px; max-width: 560px; }

/* ─── HOW IT WORKS ───────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  counter-reset: steps;
}

.step {
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  position: relative;
}

.step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ─── FEATURES ───────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.feature {
  padding: var(--sp-4);
  background: var(--surface);
}

.feature-icon {
  font-size: 22px;
  margin-bottom: var(--sp-2);
}

.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ─── PRICING ────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: border-color 0.15s;
}

.pricing-card:hover { border-color: var(--text); }
.pricing-card.featured { border-color: var(--accent); }

.pricing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-price {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pricing-per { font-size: 13px; color: var(--muted); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  margin: var(--sp-1) 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

.pricing-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r);
  margin-bottom: var(--sp-1);
}

/* ─── TESTIMONIALS ───────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-4);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: var(--sp-3);
  color: var(--text);
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ─── CTA SECTION ────────────────────────────────── */

.cta-section {
  background: var(--text);
  color: var(--surface);
  padding: var(--sp-6) 0;
  text-align: center;
}

.cta-section h2 { color: var(--surface); margin-bottom: var(--sp-2); }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 18px; margin-bottom: var(--sp-4); }

.cta-section .btn-primary {
  background: var(--accent);
  font-size: 16px;
  padding: 16px 40px;
}

/* ─── FOOTER ─────────────────────────────────────── */

.footer {
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.footer-links { display: flex; gap: var(--sp-3); }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

.footer-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
}

/* ─── ORDER PAGE ─────────────────────────────────── */

.order-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0 var(--sp-4);
}

.order-hero .label { display: block; margin-bottom: var(--sp-2); }
.order-hero h1 { margin-bottom: 8px; }
.order-hero p { color: var(--muted); font-size: 16px; }

/* Package picker */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1);
}

.pkg-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  position: relative;
}

.pkg-card:hover { border-color: #AEAEAB; }

.pkg-card.selected {
  border-color: var(--accent);
  background: #FFF5F2;
}

.pkg-card .pkg-qty {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.pkg-card .pkg-price {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.pkg-card .pkg-per { font-size: 12px; color: var(--muted); margin-top: 4px; }

.pkg-best {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 0 var(--r) 0 var(--r);
}

/* Form sections */
.form-body { padding: var(--sp-4) 0 var(--sp-6); }

.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-4);
  margin-bottom: var(--sp-2);
}

.form-block-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.form-block-head h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form-block-head .label { margin: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-2); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-2);
}
.form-group:last-child { margin-bottom: 0; }

label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  width: 100%;
  transition: border-color 0.12s, background 0.12s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border-dark);
  background: var(--surface);
}

input::placeholder, textarea::placeholder { color: #AEAEAB; }

textarea { resize: vertical; min-height: 80px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6B69'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

input[type="file"] {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
}

/* Property block */
.prop-block {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-3);
  margin-bottom: var(--sp-2);
  background: var(--bg);
}

.prop-block:last-child { margin-bottom: 0; }

.prop-block-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

/* Payment element container */
#payment-element-wrap {
  display: none;
  margin-top: var(--sp-2);
}

#payment-element {
  padding: var(--sp-2) 0;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: var(--sp-2);
  border-left: 3px solid transparent;
}

.alert-error {
  background: #FFF0EF;
  border-color: var(--error);
  color: var(--error);
}

.alert-success {
  background: #F0F7F0;
  border-color: var(--success);
  color: var(--success);
}

.alert-warn {
  background: #FFFBF0;
  border-color: var(--warn);
  color: var(--warn);
}

/* Submit section */
.submit-block {
  margin-top: var(--sp-3);
}

.secure-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--sp-1);
  letter-spacing: 0.02em;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── SUCCESS PAGE ───────────────────────────────── */

.success-page { padding: var(--sp-6) 0; }

.success-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: var(--sp-3);
}

.success-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-4);
  margin: var(--sp-3) 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.success-box strong { color: var(--text); }

/* ─── TERMS / PRIVACY ────────────────────────────── */

.prose-page { padding: var(--sp-6) 0; }
.prose-page h1 { margin-bottom: var(--sp-4); }
.prose-page h2 { font-size: 20px; margin: var(--sp-4) 0 var(--sp-2); }
.prose-page p, .prose-page li { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: var(--sp-2); }
.prose-page ul { padding-left: var(--sp-3); }

/* ─── RESPONSIVE ─────────────────────────────────── */

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

@media (max-width: 640px) {
  .form-row, .form-row-3  { grid-template-columns: 1fr; }
  .pkg-grid               { grid-template-columns: 1fr; }
  .hero                   { padding: var(--sp-5) 0; }
  .hero-actions           { flex-direction: column; align-items: flex-start; }
  .hero-sub               { font-size: 16px; }
  .features-grid          { grid-template-columns: 1fr; }
  .section                { padding: var(--sp-5) 0; }
  .nav-inner              { height: 52px; }
}
