/* Extracted from the design's lift-life-pages/ai-mock-interview.html inline <style>.
   Loaded after learning.css (compiled Tailwind). Wrapped in @layer base so these
   page styles beat Tailwind preflight (same layer, later order) but do NOT
   override the header/footer utility classes in @layer utilities. */

@layer base {

:root {
  --orange: #ff5a1f;
  --orange-dark: #e64a0f;
  --black: #111111;
  --cream: #fff4ec;
  --gray: #6b7280;
  --border: #ececec;
  --green: #1dbf73;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--black);
  background: #fff;
  line-height: 1.5;
}

h1,
h2,
h3,
.display {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* header */

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.logo .dot {
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}

.logo .life {
  color: var(--orange);
  font-style: italic;
  font-weight: 500;
}



.signin {
  border: 1.5px solid var(--black);
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 56px 32px 40px;
  align-items: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 18px;
}

.eyebrow .ring {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid var(--orange);
  position: relative;
}

.eyebrow .ring::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--orange);
  border-radius: 50%;
}

h1.display {
  font-size: 52px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.jagged {
  background: var(--black);
  color: #fff;
  padding: 2px 14px;
  display: inline-block;
  clip-path: polygon(0% 15%,
      4% 0%,
      10% 12%,
      16% 0%,
      22% 12%,
      28% 0%,
      34% 12%,
      40% 0%,
      46% 12%,
      52% 0%,
      58% 12%,
      64% 0%,
      70% 12%,
      76% 0%,
      82% 12%,
      88% 0%,
      94% 12%,
      100% 0%,
      100% 85%,
      96% 100%,
      90% 88%,
      84% 100%,
      78% 88%,
      72% 100%,
      66% 88%,
      60% 100%,
      54% 88%,
      48% 100%,
      42% 88%,
      36% 100%,
      30% 88%,
      24% 100%,
      18% 88%,
      12% 100%,
      6% 88%,
      0% 100%);
}

.orange-text {
  color: var(--orange);
}

.subtext {
  font-size: 17px;
  color: #333;
  max-width: 480px;
  margin-bottom: 30px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 16px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.28);
}

.cta:hover {
  background: var(--orange-dark);
}

.cta.secondary {
  background: #fff;
  color: var(--black);
  border: 1.5px solid var(--black);
  box-shadow: none;
}

.avatars {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.avatars .stack {
  display: flex;
}

.avatars .stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid #fff;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.avatars .stack span:first-child {
  margin-left: 0;
}

.avatars .txt {
  font-size: 13px;
  color: #555;
}

.avatars .txt b {
  color: var(--orange);
}

/* card */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.card h3 {
  font-size: 14px;
  margin-bottom: 2px;
}

.card .sub {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 18px;
}

.lang-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.lang-chip {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  transition: 0.15s;
}

.lang-chip.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.sim-box {
  background: var(--cream);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}

.sim-box .role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.sim-box .q {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.sim-box .q-native {
  font-size: 13px;
  color: #555;
  font-style: italic;
}

.mic-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mic-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mic-btn.recording {
  background: var(--black);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.35);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(17, 17, 17, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(17, 17, 17, 0);
  }
}

.mic-status {
  font-size: 13px;
  color: var(--gray);
}

.mic-status b {
  color: var(--black);
}

.feedback {
  display: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 6px;
}

.feedback.show {
  display: block;
}

.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.metric .label {
  width: 90px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}

.bar {
  flex: 1;
  height: 8px;
  background: #f1f1f1;
  border-radius: 6px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 6px;
  width: 0%;
  transition: width 1s ease;
}

.metric .val {
  font-size: 12px;
  font-weight: 700;
  width: 32px;
  text-align: right;
}

.verdict {
  background: var(--cream);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-top: 12px;
  color: #333;
}

.verdict b {
  color: var(--orange);
}

/* how it works */
.steps-sec {
  padding: 60px 32px;
  background: var(--cream);
}

.steps-sec .head {
  text-align: left;
  margin-bottom: 34px;
}

.steps-sec .head h2 {
  font-size: 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

.step .num {
  width: 34px;
  height: 34px;
  background: var(--black);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "Space Grotesk";
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  text-transform: none;
}

.step p {
  font-size: 14px;
  color: #555;
}

/* languages strip */
.langs-sec {
  padding: 56px 32px;
  text-align: center;
}

.langs-sec h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.langs-sec p {
  color: var(--gray);
  margin-bottom: 30px;
}

.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.lang-pill {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 14px;
  min-width: 110px;
}

.lang-pill .native {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
  font-family: "Space Grotesk";
}



@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }


  h1.display {
    font-size: 36px;
  }
}

/* keep legacy headings intact under Tailwind preflight */
body h1, body h2, body h3, body h4, body h5, body h6 { font-size: revert; font-weight: revert; }
body h1, body h2, body h3, body .display {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

}
