/* Agent Reality Check -- body flavor only: "Dark Memphis, all green".
   The Playful Geometric (Memphis) system recolored to pageBody greens, on the
   near-black foundation ground. Chrome (tokens, top bar, footer, background)
   comes from foundation.css; everything here is scoped to .arc so it never
   touches the shared chrome. Fonts: Outfit (headings) + Plus Jakarta Sans (body). */

.arc {
  --ink: #060706;
  --panel: #10150e;
  --panel-line: #2a331f;
  --lime: #c8f542;
  --mint: #4bdc8a;
  --teal: #00e8ed;
  --shadow-green: #2d5400;   /* hard-shadow offset that still reads on near-black */
  --shadow-amber: #5a3d00;
  --bw: 2.5px;
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.arc h1, .arc h2, .arc h3 { font-family: "Outfit", system-ui, sans-serif; letter-spacing: -0.02em; }
.arc .hi { color: var(--accent); }
.arc .wrap { position: relative; z-index: 1; }

/* Entrance: pop in (scale + lift), disabled under reduced-motion */
.pop { opacity: 0; transform: translateY(14px) scale(0.98); }
.pop.in { opacity: 1; transform: none; transition: opacity 0.5s var(--bounce), transform 0.5s var(--bounce); }
.no-js .pop { opacity: 1; transform: none; }

/* Memphis label tag */
.arc .tag {
  display: inline-block; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  background: var(--lime); border-radius: 999px; padding: 6px 14px;
  box-shadow: 3px 3px 0 var(--shadow-green);
}

/* Candy buttons (the primary CTA). No dark border -- it would vanish on the dark
   ground -- so the hard green shadow carries the sticker "pop". */
.arc .candy {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 15px; line-height: 1;
  color: var(--ink); background: var(--accent); border: none; border-radius: 999px;
  padding: 14px 24px; box-shadow: 4px 4px 0 var(--shadow-green);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s var(--bounce), background 0.2s ease;
}
.arc .candy:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow-green); background: #a6ff33; }
.arc .candy:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow-green); }
.arc .candy:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: 2px 2px 0 var(--shadow-green); }
.arc .candy:disabled:hover { transform: none; background: var(--accent); box-shadow: 2px 2px 0 var(--shadow-green); }
.arc .candy-lg { font-size: 17px; padding: 16px 30px; }
.arc .candy-ico { font-weight: 800; }
.arc .pill-ghost {
  display: inline-flex; align-items: center; cursor: pointer;
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: 15px; color: var(--fg);
  background: transparent; border: var(--bw) solid var(--fg); border-radius: 999px; padding: 12px 22px;
  transition: transform 0.25s var(--bounce), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.arc .pill-ghost:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: translate(-2px, -2px); }

/* Sticker cards: dark panel, chunky colored border, hard offset shadow, wiggle on hover */
.arc .sticker {
  position: relative; background: var(--panel); border: var(--bw) solid var(--panel-line);
  border-radius: 22px; box-shadow: 8px 8px 0 #16240b;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s var(--bounce);
}
.arc .sticker.good { border-color: var(--accent); box-shadow: 8px 8px 0 var(--shadow-green); }
.arc .sticker.bad { border-color: var(--amber); box-shadow: 8px 8px 0 var(--shadow-amber); }
.arc .cards .sticker:hover { transform: translate(-2px, -3px) rotate(-0.7deg); }
.arc .cards .sticker.bad:hover { transform: translate(-2px, -3px) rotate(0.7deg); }

/* Floating icon badge, half out of the top border */
.arc .badge {
  position: absolute; top: -20px; left: 26px; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  border: var(--bw) solid var(--ink);
}
.arc .good .badge { background: var(--accent); }
.arc .bad .badge { background: var(--amber); }

/* Confetti: primitive shapes scattered behind a section */
.arc .confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.arc .cf { position: absolute; display: block; }
.arc .cf-1 { top: 14%; left: 8%; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); opacity: 0.85; }
.arc .cf-2 { top: 22%; right: 12%; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 26px solid var(--amber); opacity: 0.8; transform: rotate(12deg); }
.arc .cf-3 { bottom: 20%; left: 14%; width: 22px; height: 22px; background: var(--lime); border-radius: 5px; transform: rotate(18deg); opacity: 0.8; }
.arc .cf-4 { top: 30%; left: 46%; width: 30px; height: 30px; border: 5px solid var(--teal); border-radius: 50%; opacity: 0.55; }
.arc .cf-5 { bottom: 16%; right: 16%; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); opacity: 0.75; }
.arc .cf-6 { top: 60%; right: 30%; width: 24px; height: 8px; background: var(--lime); border-radius: 999px; transform: rotate(-22deg); opacity: 0.7; }

/* HERO */
.arc .hero { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; }
.arc .hero-in { padding-top: 120px; padding-bottom: clamp(48px, 8vh, 88px); max-width: 760px; }
.arc .hero .tag { margin-bottom: 22px; }
.arc .hero h1 { font-weight: 800; font-size: clamp(2.7rem, 8vw, 5.2rem); line-height: 0.98; margin-bottom: 22px; }
.arc .hero h1 .hi {
  color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='10' viewBox='0 0 48 10'%3E%3Cpath d='M1 6 Q 7 1 13 6 T 25 6 T 37 6 T 49 6' fill='none' stroke='%2390fe00' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: 0 100%; background-size: auto 9px; padding-bottom: 12px;
}
.arc .lede { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 400; color: rgba(244, 246, 243, 0.84); max-width: 46ch; margin-bottom: 32px; }
.arc .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Section rhythm */
.arc section { padding: clamp(56px, 10vh, 120px) 0; }
.arc h2 { font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.05; max-width: 20ch; }

/* THE TELL */
.arc .tell .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
@media (max-width: 720px) { .arc .tell .cards { grid-template-columns: 1fr; gap: 32px; } }
.arc .tell .sticker { padding: 34px 30px 30px; }
.arc .tell h3 { font-size: 1.35rem; font-weight: 700; margin: 6px 0 16px; }
.arc .good h3 { color: var(--accent); }
.arc .bad h3 { color: var(--amber); }
.arc .tell ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.arc .tell li { font-size: 15.5px; color: rgba(244, 246, 243, 0.9); padding-left: 22px; position: relative; }
.arc .tell li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 3px; }
.arc .good li::before { background: var(--accent); }
.arc .bad li::before { background: var(--amber); }

/* THE TEST */
.arc .rc-head { max-width: 44ch; }
.arc .rc .lede { margin-top: 18px; }
.arc .panel { margin-top: 44px; padding: clamp(26px, 4vw, 40px); }
.arc .field-label { font-family: "Outfit", sans-serif; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 12px; display: block; }
.arc textarea#t-pitch {
  width: 100%; min-height: 130px; resize: vertical; font-family: inherit; font-size: 15.5px; line-height: 1.6;
  color: var(--fg); background: #0a0d09; border: var(--bw) solid var(--panel-line); border-radius: 14px; padding: 16px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.arc textarea#t-pitch:focus { outline: none; border-color: var(--accent); box-shadow: 4px 4px 0 var(--shadow-green); }
.arc textarea#t-pitch::placeholder { color: var(--muted-2); }
.arc .rc-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.arc .rc-hint { font-size: 12.5px; color: var(--muted-2); }
.arc .rc-err { color: var(--danger); font-size: 13.5px; margin-top: 12px; min-height: 1em; }
.arc .hidden { display: none !important; }
.arc .rc-loading { margin-top: 26px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14.5px; }
.arc .spinner { width: 20px; height: 20px; border: 3px solid var(--panel-line); border-top-color: var(--accent); border-radius: 50%; animation: arc-spin 0.8s linear infinite; }
@keyframes arc-spin { to { transform: rotate(360deg); } }

/* Result */
.arc .rc-result { margin-top: 28px; border-top: var(--bw) dashed var(--panel-line); padding-top: 28px; }
.arc .verdict-badge { display: inline-flex; align-items: center; gap: 10px; font-family: "Outfit", sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; padding: 10px 18px; border-radius: 999px; color: var(--ink); box-shadow: 3px 3px 0 var(--shadow-green); }
.arc .verdict-badge .conf { font-weight: 500; opacity: 0.7; letter-spacing: 0; text-transform: none; }
.arc .v-real { background: var(--accent); }
.arc .v-relabel { background: var(--amber); box-shadow: 3px 3px 0 var(--shadow-amber); }
.arc .v-unsure { background: var(--lime); }
.arc .r-block { margin-top: 22px; }
.arc .r-block .r-k { font-family: "Outfit", sans-serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; font-weight: 700; }
.arc .r-block .r-v { font-size: 16px; color: rgba(244, 246, 243, 0.92); }
.arc .r-tell { font-size: 19px; font-weight: 600; color: var(--fg); }
.arc .q-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.arc .q-item { display: flex; gap: 14px; align-items: baseline; background: #0a0d09; border: 2px solid var(--panel-line); border-radius: 12px; padding: 14px 16px; }
.arc .q-item .q-n { font-family: "Outfit", sans-serif; color: var(--ink); background: var(--accent); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: 0 0 auto; }
.arc .q-item .q-t { font-size: 15px; color: rgba(244, 246, 243, 0.92); }
.arc .r-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.arc .r-cta .note { font-size: 13.5px; color: var(--muted); }
.arc .r-cta .note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Gate: shared markup (gate.css), nudged to sit on the dark Memphis panel */
.arc .pb-gate { border-top: var(--bw) dashed var(--panel-line); }
.arc .pb-gate input[type="email"] { border-radius: 12px; }
/* Honeypot: display:none (not just off-screen) so browser autofill / password
   managers skip it -- an off-screen text field named "website" was getting
   autofilled with the visitor's email, tripping the bot trap and locking the
   gate (the Reveal button stayed disabled). */
.arc .pb-hp { display: none !important; }
/* Stack the gate so the reveal button sits on its own full-width row, never
   beside the email field where a browser/password-manager autofill overlay
   could cover it (also cleaner on mobile). The email must keep its natural
   height (flex:0 0 auto) -- its row-era flex-basis:280px would otherwise make
   it a 280px TALL field once the row becomes a column. */
.arc .pb-gate-row { flex-direction: column; align-items: stretch; }
.arc .pb-gate-row input[type="email"] { flex: 0 0 auto; }
.arc .pb-gate-row .candy { justify-content: center; }

/* BOOK A CALL: a sticker card with a link, never a widget */
.arc .book { position: relative; overflow: hidden; }
.arc .book-card { padding: clamp(34px, 5vw, 56px); text-align: left; max-width: 640px; }
.arc .book-card .tag { background: var(--accent); margin-bottom: 18px; }
.arc .book-card h2 { margin-bottom: 14px; }
.arc .book-card p { color: var(--muted); font-size: 15.5px; max-width: 48ch; margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  .arc .candy, .arc .pill-ghost, .arc .sticker { transition: none; }
  .arc .candy:hover, .arc .pill-ghost:hover, .arc .cards .sticker:hover { transform: none; }
  .arc .confetti { display: none; }
}
@media (max-width: 600px) {
  .arc .cf-4, .arc .cf-6 { display: none; }
  .arc .sticker { box-shadow: 5px 5px 0 #16240b; }
  .arc .sticker.good { box-shadow: 5px 5px 0 var(--shadow-green); }
  .arc .sticker.bad { box-shadow: 5px 5px 0 var(--shadow-amber); }
}
