:root {
  color-scheme: dark;
  --night: #10091d;
  --night-soft: #1c1030;
  --plum: #291942;
  --surface: rgba(40, 24, 60, 0.74);
  --line: rgba(255, 190, 99, 0.22);
  --text: #fffaf2;
  --muted: #c4b9d1;
  --amber: #ffb33f;
  --coral: #ee4d2d;
  --coral-deep: #c83a23;
  --focus: #ffd589;
  --radius-large: 34px;
  --radius-medium: 22px;
  --max-width: 1180px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 16%, rgba(98, 50, 137, 0.27), transparent 30rem),
    linear-gradient(180deg, #10091d 0%, #130b22 62%, #0d0816 100%);
}

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

button { font: inherit; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: #17101f;
  background: var(--focus);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  text-decoration: none;
  font-size: 28px;
  font-weight: 780;
  letter-spacing: -1.2px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:hover { color: var(--text); }

.site-header .nav-cta {
  padding: 0 18px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.hero {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  padding: 42px 0 64px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action {
  min-height: 54px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 760;
}

.primary-action {
  background: var(--coral);
  box-shadow: 0 14px 36px rgba(238, 77, 45, 0.24);
}

.primary-action:hover { background: #ff5b39; }

.secondary-action {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.secondary-action:hover { border-color: rgba(255, 255, 255, 0.34); }

.demo-status {
  margin: 22px 0 0;
  color: #a899b8;
  font-size: 13px;
  line-height: 1.5;
}

.phone-stage { scroll-margin-top: 18px; }

.phone {
  width: min(100%, 372px);
  margin: 0 auto;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 46px;
  background: #08050e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.54), 0 0 70px rgba(255, 129, 52, 0.08);
}

.phone-screen {
  min-height: 646px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 52% 29%, rgba(80, 43, 111, 0.22), transparent 18rem),
    #160d26;
}

.phone-topbar {
  min-height: 66px;
  padding: 17px 18px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.phone-topbar > div { display: flex; flex-direction: column; }
.phone-topbar strong { font-size: 17px; letter-spacing: -0.6px; }
.phone-topbar span { margin-top: 2px; color: #998ca9; font-size: 11px; }

.language-button {
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  border: 1px solid rgba(255, 179, 63, 0.3);
  border-radius: 14px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-button span { margin: 0; color: var(--amber); font-size: 20px; }

.app-panel {
  flex: 1;
  padding: 5px 20px 16px;
  display: none;
  animation: panel-in 260ms ease both;
}

.app-panel.active { display: flex; flex-direction: column; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bloom-wrap {
  position: relative;
  width: 186px;
  height: 186px;
  margin: 8px auto 0;
  display: grid;
  place-items: center;
}

.bloom-wrap::after {
  content: "";
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: rgba(255, 101, 39, 0.16);
  filter: blur(26px);
}

.bloom-wrap img {
  position: relative;
  z-index: 2;
  width: 154px;
  height: 154px;
  object-fit: contain;
  animation: breathe 4.6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: 1;
  width: 158px;
  height: 82px;
  border: 1px solid rgba(255, 174, 65, 0.27);
  border-radius: 50%;
  transform: rotate(22deg);
}

.orbit-two { transform: rotate(-42deg); }

@keyframes breathe {
  0%, 100% { transform: scale(0.96); filter: drop-shadow(0 0 8px rgba(255, 118, 46, 0.32)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 18px rgba(255, 151, 58, 0.58)); }
}

.state-label {
  margin: 2px 0 14px;
  text-align: center;
  color: #e1d7e9;
  font-size: 13px;
  font-weight: 700;
}

.app-panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.app-panel > p:not(.state-label):not(.screen-kicker):not(.coach-boundary) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.privacy-note {
  margin-top: 14px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(19, 11, 31, 0.36);
}

.privacy-note strong { font-size: 13px; }
.privacy-note span { color: #ab9cb9; font-size: 12px; line-height: 1.42; }

.voice-button {
  min-height: 54px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  font-size: 16px;
  font-weight: 780;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.voice-button:hover { background: #ff5a38; transform: translateY(-1px); }
.voice-button.listening { background: var(--coral-deep); animation: listen-pulse 1.2s ease-in-out infinite; }
.voice-button.thinking { background: #70467d; }

@keyframes listen-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 77, 45, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(238, 77, 45, 0); }
}

.mic {
  position: relative;
  width: 13px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.mic::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 17px;
  width: 2px;
  height: 8px;
  background: currentColor;
  transform: translateX(-50%);
}

.mic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 23px;
  width: 10px;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
}

.reset-button {
  min-height: 44px;
  margin: 8px auto -6px;
  padding: 0 18px;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.screen-kicker {
  margin: 26px 0 12px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-card {
  margin-top: 26px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.job-company { color: var(--muted); font-size: 12px; }
.job-card h3 { margin: 6px 0 17px; font-size: 20px; line-height: 1.15; }
.match-value { display: block; color: var(--amber); font-size: 13px; }
.job-card ul { margin: 16px 0 12px; padding: 0; list-style: none; }
.job-card li { padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; }
.job-card li span { color: var(--muted); }
.job-card li strong { text-align: right; }
.job-card > p { margin: 10px 0 0; color: #9587a5; font-size: 10px; line-height: 1.4; }

.timeline { margin: 30px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; min-height: 75px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 39px; bottom: 0; width: 1px; background: rgba(255,255,255,0.14); }
.timeline li > span { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; color: var(--muted); background: #160d26; font-size: 12px; }
.timeline li.done > span { color: #1a1022; border-color: var(--amber); background: var(--amber); }
.timeline li.current > span { color: var(--amber); border-color: var(--amber); }
.timeline li div { padding-top: 3px; display: flex; flex-direction: column; gap: 4px; }
.timeline small { color: var(--muted); font-size: 12px; }

.coach-question { margin-top: 25px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.coach-question span { color: var(--amber); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.coach-question p { margin: 10px 0 0; font-size: 16px; line-height: 1.45; }
.feedback-row { padding: 13px 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.09); font-size: 12px; }
.feedback-row:first-of-type { margin-top: 18px; }
.feedback-row span { color: var(--muted); }
.feedback-row strong { text-align: right; }
.coach-boundary { margin-top: 16px; color: #9b8baa; font-size: 11px; line-height: 1.4; }

.profile-progress { margin-top: 28px; display: flex; align-items: center; gap: 15px; }
.profile-progress > span { flex: 1; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.1); }
.profile-progress i { display: block; width: 64%; height: 100%; background: linear-gradient(90deg, var(--coral), var(--amber)); }
.profile-progress strong { color: var(--amber); }
.profile-list { margin: 24px 0 0; }
.profile-list div { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.profile-list dt { color: var(--muted); font-size: 13px; }
.profile-list dd { margin: 0; text-align: right; font-size: 13px; font-weight: 720; }

.app-nav {
  min-height: 66px;
  padding: 7px 7px 9px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 6, 20, 0.72);
}

.app-nav button {
  min-height: 48px;
  padding: 4px 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #8e819e;
  border: 0;
  border-radius: 15px;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.app-nav button span { font-size: 17px; }
.app-nav button.selected { color: var(--amber); background: rgba(255, 179, 63, 0.1); }

.phone-caption { margin: 18px 0 0; color: #9e90ad; text-align: center; font-size: 12px; }

.path-section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(50px, 10vw, 130px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-heading { position: sticky; top: 70px; align-self: start; }
.section-heading h2, .trust-section h2 { margin: 0; font-size: clamp(37px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -0.045em; }
.section-heading p, .trust-section > div > p { margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.path-list { margin: 0; padding: 0; list-style: none; }
.path-list li { padding: 31px 0; display: grid; grid-template-columns: 58px 1fr; gap: 24px; border-top: 1px solid rgba(255,255,255,0.11); }
.path-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.11); }
.path-list li > span { color: var(--amber); font-size: 13px; font-weight: 800; }
.path-list h3 { margin: 0; font-size: 25px; letter-spacing: -0.025em; }
.path-list p { margin: 11px 0 0; color: var(--muted); font-size: 16px; line-height: 1.56; }

.trust-section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 90px;
  padding: clamp(36px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 8vw, 100px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, rgba(54, 29, 74, 0.77), rgba(27, 15, 44, 0.72));
}

.trust-section ul { margin: 0; padding: 0; list-style: none; }
.trust-section li { position: relative; padding: 17px 0 17px 27px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #e9e1ee; font-size: 15px; line-height: 1.45; }
.trust-section li::before { content: ""; position: absolute; left: 0; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px rgba(255,179,63,0.45); }

footer {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 140px;
  margin: 0 auto;
  padding: 30px 0 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer .brand { grid-row: span 2; }
footer p { margin: 0; color: #8e819d; text-align: right; font-size: 12px; }

@media (max-width: 860px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 64px; padding-top: 56px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .path-section { grid-template-columns: 1fr; }
  .section-heading { position: static; }
  .trust-section { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { width: min(calc(100% - 28px), var(--max-width)); min-height: 70px; }
  .brand { font-size: 24px; }
  .site-header .nav-cta { min-height: 42px; padding: 0 15px; }
  .hero { width: 100%; padding: 44px 0 70px; }
  .hero-copy { padding: 0 20px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-lead { font-size: 18px; }
  .primary-action, .secondary-action { width: 100%; }
  .phone-stage { width: 100%; }
  .phone { width: 100%; padding: 0; border: 0; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); border-radius: 0; box-shadow: none; }
  .phone-screen { min-height: 720px; border-radius: 0; }
  .phone-caption { padding: 0 20px; }
  .path-section { width: min(calc(100% - 40px), var(--max-width)); padding: 88px 0; }
  .path-list li { grid-template-columns: 40px 1fr; gap: 16px; }
  .trust-section { width: calc(100% - 28px); margin-bottom: 50px; padding: 30px 24px; border-radius: 26px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer .brand { grid-row: auto; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
