/* Placeholder-only rules: the static teaser header and the pieces the app got from Tailwind/Alpine. */

/* The subset of Tailwind's preflight reset that landing.css was written against. */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img, svg {
  display: block;
  vertical-align: middle;
}

body {
  background: var(--blade-bg);
  color: var(--blade-text);
  min-height: 100vh;
  margin: 0;
}

.ph-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--blade-header-height);
  z-index: var(--blade-header-z);
  padding: 0 var(--blade-space-3xl);
  background: var(--blade-surface);
  border-bottom: 1px solid var(--blade-border);
}

.ph-header__left,
.ph-header__right,
.ph-brand,
.ph-nav,
.ph-auth {
  display: flex;
  align-items: center;
}

.ph-header__left { gap: var(--blade-space-2xl); }
.ph-header__right { gap: var(--blade-space-lg); }
.ph-brand { gap: var(--blade-space-sm); }
.ph-nav { gap: var(--blade-space-xl); }
.ph-auth { gap: var(--blade-space-md); }

.ph-brand__name {
  font-family: var(--blade-font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--blade-text);
}

.ph-divider {
  width: 1px;
  height: 24px;
  background: var(--blade-border);
}

/* Teasers: visible, never interactive. */
.ph-teaser {
  cursor: default;
  user-select: none;
}

.ph-nav__item {
  font-family: var(--blade-font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--blade-text-muted);
  padding-bottom: 4px;
}

.ph-login {
  font-family: var(--blade-font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--blade-text-muted);
}

.ph-signup {
  font-family: var(--blade-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--blade-accent-on-accent);
  background: var(--blade-accent);
  padding: var(--blade-space-xs) var(--blade-space-lg);
  border-radius: var(--blade-radius-button);
}

/* The theme switch is the one working control on the page. */
.ph-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--blade-text);
  border: 1px solid var(--blade-border);
  border-radius: var(--blade-radius-toggle);
  background: var(--blade-toggle-bg);
  transition: var(--blade-transition-layout);
}

.ph-toggle:focus-visible {
  outline: 2px solid var(--blade-accent);
  outline-offset: 2px;
}

.ph-toggle__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  line-height: 1;
  transition: opacity 0.3s;
}

.ph-toggle__icon--sun { left: 5px; opacity: 0.8; }
.ph-toggle__icon--moon { right: 5px; opacity: 0.3; }
html.dark .ph-toggle__icon--sun { opacity: 0.3; }
html.dark .ph-toggle__icon--moon { opacity: 0.8; }

.ph-toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blade-toggle-knob);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: left 0.3s ease, box-shadow 0.3s ease;
}

html.dark .ph-toggle__knob {
  left: 22px;
  box-shadow: var(--blade-shadow-glow);
}

.ph-menu-icon {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* The CTAs keep their look but drop the hover lift that signals a clickable button. */
.lp-cta.ph-teaser:hover {
  opacity: 1;
  transform: none;
}

/* "A career agent": card and quote side by side, then the six points in two balanced columns. */
.ph-intel { align-items: center; }
.ph-intel .lp-intel__quote { margin-bottom: 0; }

.ph-intel-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  margin-top: 48px;
}

@media (max-width: 1023px) {
  .ph-intel-features { grid-template-columns: 1fr; }
  .ph-intel-features > div > .lp-feature:last-child { margin-bottom: 0; }
}

/* "The full career agent": lp-feature items on Blade's responsive columns (3 / 2 / 1). */
.ph-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px var(--blade-space-2xl);
}

.ph-vision-grid .lp-feature { margin-bottom: 0; }

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

@media (max-width: 639px) {
  .ph-vision-grid { grid-template-columns: 1fr; }
}

/* Matches Tailwind's md breakpoint used by the app header. */
@media (max-width: 767px) {
  .ph-nav,
  .ph-auth { display: none; }
  .ph-menu-icon { display: flex; }
}
