/* Staging Genie — hand-written, dependency-free styles
   Design: Apple-clean (approved Board E, 2026-11-05)
   Ink #1D1D1F · secondary #6E6E73 · accent blue #0071E3 · panel gray #F5F5F7 · hairline #D2D2D7 */

:root {
  --blue: #0071E3;
  --blue-dark: #0066CC;
  --gold: #FFB700;
  --gold-dark: #E5A600;
  --bg: #FFFFFF;
  --ink: #1D1D1F;
  --slate: #1D1D1F;
  --slate-light: #6E6E73;
  --panel: #F7F7F8;
  --card: #FFFFFF;
  --line: #D2D2D7;
  --radius: 20px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 253, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img {
  width: 38px; height: 38px; object-fit: cover;
  border-radius: 9px;
}
.brand-name { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-name .genie { color: var(--ink); }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 0.88rem; }
.header-nav a { color: var(--ink); font-weight: 500; opacity: 0.88; }
.header-nav a:hover { color: var(--ink); opacity: 1; text-decoration: none; }
.header-nav .nav-cta {
  background: var(--blue); color: #fff; padding: 8px 18px; border-radius: 999px; opacity: 1;
}
.header-nav .nav-cta:hover { background: #0077ED; color: #fff; }

/* ---------- Hero ---------- */
.hero { background: var(--panel); text-align: center; padding: 72px 0 0; overflow: hidden; }
.hero .eyebrow { font-size: 0.88rem; font-weight: 600; color: #B25000; margin-bottom: 10px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.5rem);
  line-height: 1.06; letter-spacing: -0.022em; font-weight: 800;
  max-width: 760px; margin: 0 auto 16px;
}
.hero h1 .magic { color: var(--ink); }
.hero .sub {
  font-size: clamp(1.02rem, 2.4vw, 1.26rem); color: var(--slate-light); font-weight: 500;
  max-width: 640px; margin: 0 auto; line-height: 1.45;
}
.hero .cta-row { margin-top: 24px; display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-pill {
  background: var(--blue); color: #fff; font-size: 1rem; font-weight: 500;
  padding: 12px 26px; border-radius: 999px; display: inline-block;
}
.btn-pill:hover { background: #0077ED; text-decoration: none; }
.link-arrow { color: var(--blue-dark); font-size: 1.02rem; }
.hero-photo { max-width: 1024px; margin: 44px auto 0; padding: 0 22px; }
.hero-photo img { width: 100%; height: 440px; object-fit: cover; border-radius: 18px 18px 0 0; }
.turn-line { padding: 15px 20px 19px; font-size: 0.88rem; color: var(--slate-light); }
.hero .promise {
  display: inline-block; margin-top: 18px;
  background: #fff; color: var(--slate-light); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.9rem;
  padding: 6px 16px; border-radius: 999px;
}

/* The card — the front page IS the tool */
.tool-sec { padding-top: 64px; }
.upload-card {
  background: var(--panel);
  border-radius: var(--radius);
  max-width: 680px;
  margin: 0 auto;
  padding: 30px;
  text-align: left;
}
.upload-card h2 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.upload-card .card-sub { color: var(--slate-light); font-size: 0.97rem; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px;
}
.field label .optional { font-weight: 500; color: var(--slate-light); }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Drop zone */
.dropzone {
  border: 2px dashed #B9B9BE;
  border-radius: 16px;
  background: #fff;
  padding: 30px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone:hover, .dropzone.dragging {
  border-color: var(--blue); background: #FBFBFD;
}
.dropzone .dz-icon { font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.dropzone .dz-main { font-weight: 700; }
.dropzone .dz-main .browse { color: var(--blue-dark); text-decoration: underline; }
.dropzone .dz-hint { font-size: 0.85rem; color: var(--slate-light); margin-top: 4px; }
.dropzone input[type="file"] { display: none; }

.file-list { list-style: none; margin-top: 12px; font-size: 0.9rem; }
.file-list li {
  display: flex; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px; margin-bottom: 6px;
}
.file-list .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fsize { color: var(--slate-light); flex-shrink: 0; }

.link-alt {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font-size: 0.93rem;
}
.link-alt strong { color: var(--ink); }
.link-alt label { display: block; font-size: 1rem; }
.link-hint { margin: 10px 0 2px; color: var(--slate-light); font-size: 0.9rem; }
.info-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-left: 6px; vertical-align: 2px;
  border-radius: 50%; border: 1.5px solid var(--blue);
  background: #fff; color: var(--blue);
  font-size: 0.8rem; font-weight: 800; font-style: italic;
  cursor: pointer; padding: 0; line-height: 1;
}
.link-info {
  margin-top: 12px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; font-size: 0.92rem; color: var(--ink);
}
.link-info p { margin: 0 0 8px; }
.link-info p:last-child { margin-bottom: 0; }

.upload-toggle {
  display: block; width: 100%; margin-top: 22px;
  background: #fff; color: var(--slate-light);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 14px; font: inherit; font-size: 0.97rem;
  cursor: pointer; text-align: center; line-height: 1.45;
}
.upload-toggle:hover { border-color: #A1A1A6; }
.upload-toggle .ut-cta { display: block; margin-top: 5px; color: var(--blue-dark); font-weight: 600; font-size: 1.02rem; }

.submit-btn {
  display: block; width: 100%;
  background: var(--blue); color: #fff;
  font: inherit; font-size: 1.05rem; font-weight: 500;
  border: none; border-radius: 999px;
  padding: 14px 20px; margin-top: 22px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.submit-btn:hover { background: #0077ED; }
.submit-btn:active { transform: scale(0.99); }
.card-note { text-align: center; font-size: 0.88rem; color: var(--slate-light); margin-top: 14px; }
.card-note strong { color: var(--ink); }

/* ---------- Sections ---------- */
section { padding: 64px 0 8px; }
.section-alt { background: var(--panel); }
.section-title {
  text-align: center; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px;
}
.section-sub { text-align: center; color: var(--slate-light); max-width: 560px; margin: 0 auto 34px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 22px; text-align: center;
}
.section-alt .step { background: #fff; }
.step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.94rem; color: var(--slate-light); }

.samples-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair .half { position: relative; }
.pair .half img { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ba-label {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(29, 29, 31, 0.82); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.ba-label.after { background: var(--blue); }
.sample figure {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.sample img { width: 100%; height: auto; }
.sample figcaption { padding: 14px 18px; font-size: 0.94rem; }
.sample .tag {
  display: inline-block; background: var(--panel); color: var(--blue-dark);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 10px; margin-bottom: 6px;
}

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px;
}
.service .svc-icon { font-size: 1.7rem; margin-bottom: 10px; }
.service h3 { font-size: 1.05rem; margin-bottom: 6px; }
.service p { font-size: 0.94rem; color: var(--slate-light); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; }
.faq details[open ] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 0.95rem; color: var(--slate-light); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 72px; background: var(--panel); border-top: 1px solid var(--line);
  padding: 34px 0 42px; text-align: center;
}
.site-footer .foot-brand { font-weight: 700; font-size: 1.05rem; }
.site-footer .tagline { color: var(--ink); font-weight: 600; margin: 4px 0 10px; }
.site-footer p { font-size: 0.88rem; color: var(--slate-light); max-width: 620px; margin: 0 auto 6px; }

/* ---------- Thank-you page ---------- */
.thanks-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 620px; margin: 70px auto; padding: 48px 38px; text-align: center;
}
.thanks-card .check { font-size: 3rem; margin-bottom: 10px; }
.thanks-card h1 { font-size: 1.9rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.thanks-card p { color: var(--slate-light); margin-bottom: 12px; }
.thanks-card p strong { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .steps, .services { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .upload-card { padding: 24px 18px 22px; }
  .header-nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 46px; }
  .hero-photo img { height: 250px; }
}
