@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Noto+Sans+JP:wght@400;500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  color-scheme: light;
  --ink: #1a1f2e;
  --ink-2: #3d4659;
  --ink-3: #6b7488;
  --ink-4: #9099ac;
  --rule: #e5e1d8;
  --rule-strong: #c9c3b5;
  --surface-paper: #faf7f0;
  --surface-card: #ffffff;
  --surface-sunken: #f2eee3;
  --coral: #f26b47;
  --coral-2: #dc5733;
  --coral-soft: #ffd9c7;
  --coral-ink: #8c3418;
  --sun: #ffc857;
  --sun-soft: #ffefc8;
  --moss: #5c7a5a;
  --moss-soft: #e4ece2;
  --bg: var(--surface-paper);
  --surface: var(--surface-card);
  --text: var(--ink);
  --muted: var(--ink-3);
  --line: var(--rule);
  --primary: var(--coral);
  --primary-dark: var(--coral-2);
  --accent: var(--sun);
  --font-rounded-jp: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "YuGothic", sans-serif;
  --font-sans-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "YuGothic", sans-serif;
  --font-ui: "Plus Jakarta Sans", var(--font-sans-jp);
  --font-display: var(--font-rounded-jp);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26, 31, 46, .05), 0 1px 1px rgba(26, 31, 46, .04);
  --shadow-md: 0 4px 12px rgba(26, 31, 46, .06), 0 2px 4px rgba(26, 31, 46, .04);
  --shadow-lg: 0 16px 40px rgba(26, 31, 46, .08), 0 4px 12px rgba(26, 31, 46, .04);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-micro: 160ms;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
}

.shell {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.hero {
  min-height: 72svh;
  display: grid;
  align-content: center;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 12vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
  font-family: var(--font-display);
}

h2, h3, p {
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
}

.resultPage {
  min-height: 100svh;
  display: grid;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
}

.panelHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panelHeader h2 {
  margin: 4px 0 0;
}

.stepLabel {
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.hidden {
  display: none;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
}

.linkButton {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  width: fit-content;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.primary {
  width: fit-content;
  background: var(--primary);
  color: #fff;
}

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

.secondary {
  background: #e8efeb;
  color: var(--primary-dark);
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.question {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.question.singleQuestion {
  min-height: 36svh;
  align-content: center;
  border-top: 0;
  padding-top: 0;
}

.question label {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.option {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  min-height: 50px;
  padding: 10px 12px;
  text-align: center;
}

.option.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.stepActions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.resultGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.resultGridWide {
  align-items: start;
}

.scoreChart {
  width: min(100%, 360px);
  margin: 8px auto 18px;
}

.scoreChart svg {
  display: block;
  width: 100%;
  height: auto;
}

.radarGrid {
  fill: none;
  stroke: #d9e1dc;
  stroke-width: 1;
}

.radarArea {
  fill: rgba(23, 107, 91, 0.22);
  stroke: var(--primary);
  stroke-width: 2;
}

.radarLabel {
  fill: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

dl {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 10px 16px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

.resultSummary {
  font-size: 18px;
  line-height: 1.8;
}

.muted {
  color: var(--muted);
}

.chatLog {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.bubble {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f1f4f1;
  white-space: pre-wrap;
}

.bubble.user {
  background: #e8f2ee;
}

.chatInput {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  line-height: 1.6;
}

input[type="email"] {
  width: 100%;
}

.sliderQuestion {
  display: grid;
  gap: 14px;
}

.sliderValue {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.rangeInput {
  width: 100%;
  accent-color: var(--primary);
}

.sliderLabels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.emailCapture {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}

.benefitList {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--text);
  font-weight: 700;
}

.detailForm {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.detailForm label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.errorText {
  color: #a33b2f;
  font-weight: 700;
}

.growthList {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.growthItem {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfa;
}

.growthItem h3 {
  margin-top: 0;
}

.matchHeader {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.matchHeader h3 {
  margin: 0;
}

.matchHeader strong {
  color: var(--primary);
  font-size: 24px;
}

.matchBar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8e4;
  margin: 12px 0;
}

.matchBar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.matchDetails {
  grid-template-columns: minmax(76px, 0.32fr) 1fr;
  margin: 14px 0;
  padding: 14px;
  border-radius: 8px;
  background: #f1f5f2;
  font-size: 14px;
  line-height: 1.65;
}

.matchDetails dt {
  font-weight: 800;
  color: var(--primary-dark);
}

.matchDetails dd {
  font-weight: 500;
}

pre {
  overflow: auto;
  background: #15201d;
  color: #eaf3ef;
  padding: 16px;
  border-radius: 8px;
  min-height: 80px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 480px);
    padding-top: 14px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero .primary,
  .stepActions .primary,
  .stepActions .secondary,
  .chatInput .secondary {
    width: 100%;
  }

  .panelHeader {
    align-items: flex-start;
  }

  .resultGrid,
  .chatInput,
  .emailCapture {
    grid-template-columns: 1fr;
  }

  .resultPage {
    min-height: 100svh;
    padding: 18px 16px;
  }

  .scoreChart {
    width: 100%;
  }

  .radarLabel {
    font-size: 7px;
  }

  .panel {
    padding: 18px 16px;
  }

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

  .question.singleQuestion {
    min-height: 42svh;
  }

  .stepActions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 20px -16px -18px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
  }

  .stepActions:has(.secondary:not(.hidden)) {
    grid-template-columns: 0.8fr 1.2fr;
    display: grid;
  }
}

.lpBody {
  background: #f7f8f5;
}

.lpNav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(18px, calc((100vw - 1120px) / 2));
  background: rgba(15, 25, 23, 0.72);
  backdrop-filter: blur(12px);
}

.lpBrand,
.lpNav a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.lpBrand {
  font-size: 18px;
}

.lpNav nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lpNav nav a {
  font-size: 14px;
}

.lpNavCta {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 6px;
  background: #e09a3a;
  color: #17201d;
}

.lpHero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image: url("/assets/aicari-hero-career-ai.png");
  background-size: cover;
  background-position: center right;
}

.lpHeroShade {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 14, 0.56);
}

.lpHeroInner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 56px;
  color: #fff;
}

.lpKicker,
.lpSectionLabel {
  margin: 0 0 10px;
  color: #e09a3a;
  font-size: 13px;
  font-weight: 900;
}

.lpHero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 10vw, 112px);
  line-height: 0.96;
}

.lpHeroCopy {
  max-width: 600px;
  margin: 22px 0 0;
  font-size: 21px;
  line-height: 1.7;
  color: #eef4f0;
}

.lpHeroSubcopy {
  max-width: 690px;
  margin: 14px 0 0;
  color: #dce6e1;
  font-size: 16px;
  line-height: 1.85;
}

.lpHeroActions,
.lpTrustRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.lpPrimary,
.lpSecondary {
  min-height: 50px;
  display: inline-grid;
  place-items: center;
  width: fit-content;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.lpPrimary {
  background: #e09a3a;
  color: #17201d;
}

.lpSecondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.lpTrustRow span {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #eef4f0;
  font-size: 13px;
  font-weight: 800;
}

.lpBand,
.lpCtaBand {
  padding: 72px 0;
}

.lpContainer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.lpIntroGrid,
.lpCta {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.lpIntro h2,
.lpSectionHead h2,
.lpCta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.18;
}

.lpIntro p,
.lpCta p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.lpTextStack {
  display: grid;
  gap: 14px;
}

.lpSectionHead {
  display: grid;
  gap: 6px;
  margin-bottom: 26px;
}

.lpSectionHead p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.lpServiceBand {
  background: #fff;
}

.lpServiceGrid,
.lpAudienceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lpServiceItem,
.lpAudienceGrid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lpServiceItem span {
  color: var(--primary);
  font-weight: 900;
}

.lpServiceItem h3,
.lpAudienceGrid h3 {
  margin: 0;
  font-size: 22px;
}

.lpServiceItem p,
.lpAudienceGrid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.lpValueGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.lpValueGrid div {
  min-height: 128px;
  display: grid;
  align-content: center;
  padding: 14px;
  border-radius: 8px;
  background: #18302b;
  color: #fff;
  font-weight: 800;
  line-height: 1.55;
}

.lpJobGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lpJobCard {
  min-height: 172px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid #d9e1dc;
  border-radius: 8px;
  background: #fff;
}

.lpJobCard h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.lpJobCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.lpJobCardAccent {
  border-color: #e09a3a;
  background: #fff8ed;
}

.lpFlowBand {
  background: #18302b;
  color: #fff;
}

.lpFlowBand .lpSectionLabel {
  color: #f0b765;
}

.lpFlow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.lpFlow li {
  min-height: 170px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  counter-increment: flow;
}

.lpFlow li::before {
  content: counter(flow, decimal-leading-zero);
  color: #f0b765;
  font-weight: 900;
}

.lpFlow strong {
  font-size: 20px;
}

.lpFlow span {
  color: #dce6e1;
  line-height: 1.75;
}

.lpAudienceGrid article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.lpAudienceGrid p {
  color: #dce6e1;
}

.lpCtaBand {
  background: #fff;
}

.lpCta {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .lpNav {
    position: absolute;
  }

  .lpNav nav a:not(.lpNavCta) {
    display: none;
  }

  .lpHero {
    min-height: 88svh;
    background-position: 68% center;
  }

  .lpHeroInner {
    width: min(100% - 28px, 520px);
  }

  .lpHeroCopy {
    font-size: 18px;
  }

  .lpHeroActions .lpPrimary,
  .lpHeroActions .lpSecondary,
  .lpCta .lpPrimary {
    width: 100%;
  }

  .lpBand,
  .lpCtaBand {
    padding: 48px 0;
  }

  .lpIntroGrid,
  .lpCta,
  .lpFlow,
  .lpServiceGrid,
  .lpAudienceGrid {
    grid-template-columns: 1fr;
  }

  .lpJobGrid,
  .lpValueGrid {
    grid-template-columns: 1fr;
  }

  .lpJobCard,
  .lpFlow li,
  .lpServiceItem,
  .lpAudienceGrid article,
  .lpValueGrid div {
    min-height: 0;
  }
}

/* AiCari Design System Remix application */
.diagnosisBrand {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
}

.diagnosisBrand img {
  display: block;
  width: 210px;
  height: auto;
}

.hero {
  min-height: 78svh;
  align-content: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: min(34vw, 340px);
  aspect-ratio: 1;
  border: 2px solid var(--coral);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: 0.28;
  pointer-events: none;
}

.eyebrow,
.stepLabel,
.lpKicker,
.lpSectionLabel {
  color: var(--coral);
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1,
.resultPage h2,
.panel h2,
.lpIntro h2,
.lpSectionHead h2,
.lpCta h2 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.lead,
.muted,
.resultSummary,
.lpIntro p,
.lpCta p,
.lpSectionHead p,
.lpServiceItem p,
.lpAudienceGrid p,
.lpJobCard p {
  color: var(--ink-2);
}

.panel,
.resultPage,
.growthItem,
.lpJobCard,
.lpServiceItem,
.lpAudienceGrid article {
  border-color: var(--rule);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

button,
.linkButton,
.lpPrimary,
.lpSecondary,
.lpNavCta {
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  transition: transform var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}

.primary,
.lpPrimary,
.lpNavCta {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 2px 0 var(--coral-2), 0 4px 12px rgba(242, 107, 71, 0.24);
}

.primary:hover,
.lpPrimary:hover,
.lpNavCta:hover {
  background: var(--coral-2);
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--coral-ink), 0 2px 8px rgba(242, 107, 71, 0.22);
}

.secondary,
.lpSecondary {
  border: 1.5px solid var(--coral);
  background: var(--surface-card);
  color: var(--coral-ink);
}

.secondary:hover,
.lpSecondary:hover {
  background: var(--coral-soft);
}

.option {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.option.selected {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 2px 0 var(--coral-2);
}

input,
textarea {
  border-color: var(--rule);
  border-radius: var(--r-md);
  background: var(--surface-card);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

.sliderValue,
.radarArea,
.matchBar span {
  background: var(--coral);
}

.radarArea {
  fill: rgba(242, 107, 71, 0.2);
  stroke: var(--coral);
}

.lpBody {
  background: var(--surface-paper);
}

.lpNav {
  position: sticky;
  background: rgba(250, 247, 240, 0.9);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
}

.lpBrand {
  display: inline-flex;
  align-items: center;
}

.lpBrand img {
  display: block;
  width: 148px;
  height: auto;
}

.lpBrand,
.lpNav a {
  color: var(--ink-2);
}

.lpNavCta {
  color: #fff;
}

.lpHero {
  min-height: 84svh;
  background-image: none;
  background-color: var(--surface-paper);
}

.lpHero::before {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  top: 22%;
  width: min(38vw, 420px);
  aspect-ratio: 1;
  border: 3px solid var(--coral);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: 0.34;
}

.lpHeroShade {
  background: transparent;
}

.lpHeroInner {
  color: var(--ink);
}

.lpHeroLogo {
  display: block;
  width: min(520px, 84vw);
  height: auto;
  margin: 0 0 24px;
}

.lpHero h1 {
  color: var(--ink);
}

.lpHeroCopy {
  max-width: 720px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.18;
}

.lpHeroSubcopy {
  color: var(--ink-2);
}

.lpTrustRow span {
  border-color: var(--rule);
  background: var(--surface-card);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.lpServiceBand,
.lpCtaBand {
  background: var(--surface-card);
}

.lpFlowBand {
  background: var(--coral);
}

.lpFlowBand .lpSectionLabel {
  color: var(--sun);
}

.lpValueGrid div {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 2px 0 var(--coral-2);
}

.lpJobCardAccent {
  border-color: var(--coral);
  background: var(--coral-soft);
}

.lpAudienceGrid article {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.lpAudienceGrid h3 {
  color: #fff;
}

.lpAudienceGrid p {
  color: #fff5ef;
}

@media (max-width: 720px) {
  .diagnosisBrand img {
    width: 176px;
  }

  .hero::after {
    width: 220px;
    right: -70px;
    bottom: 80px;
  }
}
