/* ===== Reattend Landing v3 — Targeted fixes ===== */


/* ========== HERO FIX ========== */
.hero-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px var(--pad) 60px !important;
}
.hero-v2-grid {
  grid-template-columns: 1.1fr 1fr !important;
  gap: 60px !important;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-v2 { min-height: auto; }
  .hero-v2-grid { grid-template-columns: 1fr !important; }
}

/* Replace the broken orb-stage with a clean vertical layout */
.orb-stage {
  display: block !important;
  position: relative;
  width: 100%;
  aspect-ratio: auto !important;
  height: 580px;
}
@media (max-width: 1000px) {
  .orb-stage { height: 700px; }
}

/* Hide the original 3-column children we don't want */
.orb-stage > .orb-lines,
.orb-stage > .orb-bottom-tags { display: none !important; }

/* Apps grid: position absolutely on the left */
.orb-stage > .orb-apps {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--bg-paper);
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 12px 32px -16px oklch(0.18 0.012 270 / 0.18);
}

/* Orb wrapper: center */
.orb-stage > div:nth-of-type(1) {
  /* the apps are first orb-apps; the orb wrapper is the next div */
}
.orb-stage > div[style*="position:relative"] {
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0 !important;
}

.orb-core {
  width: 260px !important;
  height: 260px !important;
  max-width: none !important;
  margin: 0 !important;
  animation: orbFloat 6s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Callouts: position on right */
.orb-stage > .orb-callouts {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  width: 250px;
  pointer-events: none;
}
.orb-callout {
  pointer-events: auto;
  margin: 0 !important;
  max-width: 250px !important;
  animation: calloutDrift 8s ease-in-out infinite;
}
.orb-callout:nth-child(1) { animation-delay: 0s; }
.orb-callout:nth-child(2) { animation-delay: 2s; }
.orb-callout:nth-child(3) { animation-delay: 4s; }
@keyframes calloutDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

/* Connecting lines from apps to orb to callouts */
.orb-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, oklch(0.45 0.18 280 / 0.08) 0%, transparent 30%),
    radial-gradient(circle at 70% 50%, oklch(0.78 0.16 65 / 0.06) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

/* Animated connection lines */
.orb-stage::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px;
  border: 1px dashed oklch(0.45 0.18 280 / 0.15);
  border-radius: 50%;
  z-index: 1;
  animation: orbOrbit 30s linear infinite;
}
@keyframes orbOrbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile: stack everything */
@media (max-width: 760px) {
  .orb-stage {
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .orb-stage > .orb-apps,
  .orb-stage > div[style*="position:relative"],
  .orb-stage > .orb-callouts {
    position: static !important;
    transform: none !important;
    width: auto;
  }
  .orb-stage > .orb-callouts { flex-direction: column; }
  .orb-stage::after { display: none; }
}

/* App icons: wave animation on stagger */
.orb-app {
  animation: appWave 3s ease-in-out infinite !important;
}
.orb-app:nth-child(2) { animation-delay: 0.0s !important; }
.orb-app:nth-child(3) { animation-delay: 0.15s !important; }
.orb-app:nth-child(4) { animation-delay: 0.30s !important; }
.orb-app:nth-child(5) { animation-delay: 0.45s !important; }
.orb-app:nth-child(6) { animation-delay: 0.60s !important; }
.orb-app:nth-child(7) { animation-delay: 0.75s !important; }
.orb-app:nth-child(8) { animation-delay: 0.90s !important; }
.orb-app:nth-child(9) { animation-delay: 1.05s !important; }
.orb-app:nth-child(10) { animation-delay: 1.20s !important; }
.orb-app:nth-child(11) { animation-delay: 1.35s !important; }
.orb-app:nth-child(12) { animation-delay: 1.50s !important; }
@keyframes appWave {
  0%, 100% { transform: translateY(0); box-shadow: 0 2px 6px -3px oklch(0.18 0.012 270 / 0.1); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 16px -6px oklch(0.45 0.18 280 / 0.25); }
}

/* Orb stats counter pulse */
.orb-stat-num { animation: statPulse 2s ease-in-out infinite; }
.orb-stat:nth-child(2) .orb-stat-num { animation-delay: 0.3s; }
.orb-stat:nth-child(3) .orb-stat-num { animation-delay: 0.6s; }
@keyframes statPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ========== AMBIENT QUADRANTS FIX ========== */
.ambient-quad {
  min-height: 320px !important;
  position: relative;
  overflow: hidden;
}
.qd-stage {
  margin-top: auto;
  min-height: 140px !important;
  align-items: stretch !important;
}

/* Q1: contradiction - reposition */
.ambient-quad:nth-child(1) .qd-stage {
  display: block !important;
  position: relative;
}
.ambient-quad:nth-child(1) .qd-doc {
  width: 55%;
  height: auto;
  padding: 10px;
}
.ambient-quad:nth-child(1) .qd-conflict {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
}
.ambient-quad:nth-child(1) .qd-conflict-arrow {
  display: none;
}

/* Q2: timeline - more space */
.ambient-quad:nth-child(2) .qd-stage {
  padding: 24px 0;
}
.ambient-quad:nth-child(2) .qd-timeline {
  height: 100px;
}
.ambient-quad:nth-child(2) .qd-event .lbl {
  font-size: 8px !important;
  max-width: 80px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* Q3: policy */
.ambient-quad:nth-child(3) .qd-stage {
  padding: 12px 0;
}
.ambient-quad:nth-child(3) .qd-policy {
  width: 100%;
}
.ambient-quad:nth-child(3) .qd-policy-doc {
  width: 100%;
  height: 80px;
}

/* Q4: owners - reposition */
.ambient-quad:nth-child(4) .qd-stage {
  position: relative;
}
.ambient-quad:nth-child(4) .qd-owners {
  height: 130px;
}
.qd-owner.s1 { right: 5%; top: 5%; }
.qd-owner.s2 { right: 8%; top: 50%; transform: translateY(-50%); }
.qd-owner.s3 { right: 5%; bottom: 5%; }

/* ========== HOW IT WORKS — CARD REDESIGN ========== */
.howit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .howit-cards { grid-template-columns: 1fr; }
}
.howit-card {
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
  min-height: 460px;
}
.howit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px oklch(0.18 0.012 270 / 0.2);
  border-color: var(--accent);
}
.howit-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.howit-card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.howit-card-step {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.howit-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}
.howit-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.howit-card-stage {
  margin-top: auto;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 18px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.howit-card:hover .howit-card-stage .hi-pill {
  animation: pillBob 0.6s ease-out;
}
.howit-card:hover .hi-class-row { animation: rowSlide 0.4s ease-out backwards; }
.howit-card:hover .hi-class-row:nth-child(1) { animation-delay: 0s; }
.howit-card:hover .hi-class-row:nth-child(2) { animation-delay: 0.08s; }
.howit-card:hover .hi-class-row:nth-child(3) { animation-delay: 0.16s; }
.howit-card:hover .hi-class-row:nth-child(4) { animation-delay: 0.24s; }
@keyframes rowSlide {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pillBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Hide the old how-it-works rows */
.howit-row { display: none !important; }

/* ========== SANDBOX — minimalist split ========== */
.sandbox-frame {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--bg-paper);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 380px;
}
@media (max-width: 760px) {
  .sandbox-frame { grid-template-columns: 1fr; }
}
.sandbox-list {
  background: oklch(0.97 0.01 280 / 0.55);
  border-right: 1px solid var(--rule);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sandbox-list-eye {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.sandbox-q {
  appearance: none;
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.sandbox-q:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
.sandbox-q.active {
  border-color: var(--accent);
  color: var(--accent);
  background: oklch(0.97 0.025 285);
}
.sandbox-body {
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sandbox-prompt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.sandbox-prompt em {
  font-style: normal;
  color: var(--ink-2);
}
.sandbox-answer-h {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
  font-weight: 400;
}
.sandbox-answer-p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 64ch;
}
.sandbox-cites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sandbox-cite {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 5px 11px 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sandbox-cite::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.sandbox-cite.amber::before { background: var(--amber-deep); }

/* ========== TRUST — single black card, simple cert row ========== */
.trust-card {
  position: relative;
  overflow: hidden;
  padding: 56px 60px 60px !important;
}
.trust-card::before { display: none; }
.trust-card .sec-eye.amber {
  background: oklch(0.32 0.05 270);
  color: oklch(0.85 0.08 250);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
}
.trust-card h2 {
  margin-top: 18px !important;
  margin-bottom: 18px !important;
  max-width: 18ch;
}
.trust-card > p {
  max-width: 60ch;
  margin-bottom: 40px !important;
}
.trust-grid {
  margin-top: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  border-top: 0 !important;
  padding-top: 0 !important;
}
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .trust-card { padding: 36px 28px !important; }
}
.trust-cell {
  border: 1px solid oklch(1 0 0 / 0.12) !important;
  border-radius: 10px !important;
  padding: 22px 22px 24px !important;
  background: oklch(1 0 0 / 0.02);
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.trust-cell:hover {
  border-color: oklch(1 0 0 / 0.28) !important;
  background: oklch(1 0 0 / 0.05);
}
.trust-cell::before { content: none !important; }
.trust-cell-h {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: oklch(0.96 0.01 80);
}
.trust-cell-s {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.62 0.01 80);
}

/* hide the supplementary feature row entirely */
.trust-features { display: none !important; }

/* ========== PRICING — minimal row of 4 ========== */
.pricing-grid {
  gap: 16px !important;
  grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 520px) { .pricing-grid { grid-template-columns: 1fr !important; } }
.pri-card {
  min-height: 0 !important;
  padding: 26px 26px 28px !important;
  border-radius: 14px !important;
  border: 1px solid var(--rule) !important;
  background: var(--bg-paper) !important;
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pri-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: 0 18px 40px -22px oklch(0.18 0.012 270 / 0.18);
}
.pri-card.dark {
  background: oklch(0.13 0.012 270) !important;
  border-color: oklch(0.13 0.012 270) !important;
}
.pri-card.dark::before { display: none !important; }
.pri-card.dark .pri-key { color: oklch(0.85 0.005 80) !important; }
.pri-card.dark .pri-price { color: oklch(0.96 0.005 80) !important; }
.pri-card.dark .pri-body { color: oklch(0.78 0.005 80) !important; }
.pri-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pri-price {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
}
.pri-price em {
  font-style: italic;
  color: var(--ink);
}
.pri-price .unit {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink-3);
  margin-left: 4px;
}
.pri-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.pri-features { display: none !important; }
.pri-cta { display: none !important; }
.pri-foot {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-transform: none;
  cursor: pointer;
}
.pri-foot:hover { color: var(--accent); }

/* ========== FAQ — flat hr-divided list ========== */
.faq-head { text-align: center; }
.faq-head .sec-h2 { max-width: 22ch; margin-left: auto !important; margin-right: auto !important; }
.faq-grid {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}
.faq-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: background 0.18s ease;
}
.faq-item:hover {
  background: oklch(0.97 0.01 280 / 0.4) !important;
  box-shadow: none !important;
  border-color: var(--rule) !important;
  border-bottom-color: var(--rule) !important;
}
.faq-item[open] {
  background: transparent !important;
  border-color: var(--rule) !important;
  border-bottom-color: var(--rule) !important;
}
.faq-item summary {
  padding: 22px 4px !important;
  font-family: var(--serif) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  letter-spacing: -0.005em;
}
.faq-icon {
  width: 24px !important;
  height: 24px !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--ink-2) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  transition: transform 0.25s ease, color 0.18s ease;
}
.faq-item:hover .faq-icon { color: var(--ink) !important; }
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: transparent !important;
  color: var(--ink) !important;
}
.faq-answer {
  padding: 0 4px 24px !important;
  margin-top: 0 !important;
  border-top: 0 !important;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Hide the old faq-list */
.faq-list { display: none !important; }


/* ========== Pricing/Sandbox/FAQ heads — eye absolute-left, title centered ========== */
.pricing-head, .sandbox-head, .faq-head {
  position: relative;
  display: block !important;
  grid-template-columns: none !important;
  text-align: center;
  margin-bottom: 56px;
}
.pricing-head .sec-eye, .sandbox-head .sec-eye, .faq-head .sec-eye {
  position: absolute;
  top: 4px;
  left: 0;
  margin: 0 !important;
  justify-self: start;
  text-align: left;
}
.pricing-head .sec-h2, .sandbox-head .sec-h2, .faq-head .sec-h2 {
  text-align: center;
  margin: 0 auto !important;
  max-width: 22ch;
  display: inline-block;
}
.faq-head { margin-bottom: 32px; }
@media (max-width: 760px) {
  .pricing-head, .sandbox-head, .faq-head { text-align: left; padding-top: 32px; }
  .pricing-head .sec-h2, .sandbox-head .sec-h2, .faq-head .sec-h2 { text-align: left; max-width: none; }
}
