:root {
  --ink: #10294e;
  --muted: #58677b;
  --paper: #f6f8fc;
  --surface: #fff;
  --accent: #245ddb;
  --line: #dbe3ef;
  --font-display: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --demo-radius: 8px;
  --demo-shadow: 0 20px 54px -26px rgba(16, 41, 78, .24), 0 2px 5px rgba(16, 41, 78, .025);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.site-header { background: var(--paper); }
.header-inner, .section-grid, .section-end, .footer-inner { width: min(1296px, calc(100% - 96px)); margin-inline: auto; }
.header-inner { min-height: 112px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; }
.brand img { display: block; width: 180px; max-width: 100%; height: 42px; object-fit: contain; object-position: left center; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.site-nav a { padding-block: 12px; transition: color .2s; white-space: nowrap; }
.site-nav a:hover { color: var(--accent); }
.lang-switch { width: 43px; height: 36px; flex-shrink: 0; background: transparent; color: var(--ink); border: 1px solid #c7d2e1; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 650; }
.lang-switch:hover { background: #e9eff9; }
.feature-section { position: relative; padding-block: 112px; }
.resume-section { padding-top: 74px; padding-bottom: 30px; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 740px); gap: 52px; align-items: center; }
.feature-copy { min-width: 0; padding-bottom: 6px; }
.service-label { display: flex; align-items: center; gap: 17px; margin: 0 0 29px; font-size: 28px; line-height: 1.4; font-weight: 650; letter-spacing: -.04em; }
.service-number { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 12px; letter-spacing: .02em; font-weight: 600; width: 28px; height: 28px; border: 1px solid #bacded; border-radius: 50%; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 480px; font-size: clamp(48px, 4.15vw, 60px); line-height: 1.23; }
h2 { max-width: 470px; font-size: 41px; line-height: 1.34; }
.section-lead { margin: 25px 0 0; max-width: 405px; font-size: 18px; line-height: 1.85; color: var(--muted); }
.primary-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 43px; padding: 18px 24px; min-height: 60px; margin-top: 35px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #fff; font-size: 16px; line-height: 1.2; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s; }
.primary-cta:hover { background: #174bbd; transform: translateY(-2px); }
.primary-cta svg { width: 21px; height: 21px; flex-shrink: 0; }
.brand-slogan { margin: 23px 0 0; color: #536780; font-size: 12px; line-height: 1.6; letter-spacing: -.005em; }
.demo-stage { width: 100%; min-width: 0; position: relative; }
.demo-stage::before { content: ""; position: absolute; inset: -16px; border: 1px solid #e3e9f3; pointer-events: none; border-radius: 12px; }
.section-end { margin-top: 62px; display: flex; align-items: center; gap: 21px; font-size: 12px; font-weight: 500; color: #536780; letter-spacing: .08em; }
.section-rule { height: 1px; background: var(--line); flex-grow: 1; }
.section-end svg { width: 20px; height: 20px; color: #6c7e96; }
.company-section { margin-top: 36px; background: #fff; border-block: 1px solid var(--line); }
.company-section .demo-stage::before { border-color: #eef1f7; }
.interview-section { padding-block: 112px 118px; }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 30px; min-height: 135px; }
.footer-inner .brand img { width: 210px; height: 37px; }
.footer-inner p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer-back { width: 43px; height: 43px; display: grid; place-items: center; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; }
.footer-back svg { width: 20px; height: 20px; }
html[lang="en"] h1 { max-width: 470px; font-size: 58px; line-height: 1.14; letter-spacing: -.055em; }
html[lang="en"] h2 { font-size: 41px; line-height: 1.2; }
html[lang="en"] .section-lead { line-height: 1.75; }
@media (min-width: 1550px) { .header-inner, .section-grid, .section-end, .footer-inner { width: min(1360px, calc(100% - 112px)); } .section-grid { gap: 88px; } }
@media (max-width: 1190px) {
  .header-inner, .section-grid, .section-end, .footer-inner { width: calc(100% - 64px); }
  .header-inner { min-height: 96px; gap: 28px; }
  .brand img { width: 232px; height: 40px; }
  .site-nav { gap: 22px; }
  .section-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .feature-copy { max-width: 760px; }
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 36px; }
  .hero-copy .service-label, .hero-copy h1, .hero-copy .section-lead { grid-column: 1; }
  .hero-copy .primary-cta { grid-column: 2; grid-row: 2; align-self: center; margin-top: 0; }
  .hero-copy .brand-slogan { grid-column: 2; grid-row: 3; margin-top: 25px; }
  h1, html[lang="en"] h1 { max-width: 600px; font-size: 52px; }
  h2, html[lang="en"] h2 { max-width: 650px; font-size: 40px; }
  .section-lead { max-width: 650px; }
  .demo-stage { max-width: 740px; margin-inline: auto; }
  .feature-section { padding-block: 80px; }
  .resume-section { padding-top: 57px; padding-bottom: 22px; }
  .section-end { margin-top: 46px; }
  .company-section { margin-top: 27px; }
}
@media (max-width: 760px) {
  .header-inner, .section-grid, .section-end, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 85px; gap: 16px; }
  .brand img { width: 226px; height: 39px; }
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; width: 39px; height: 33px; }
  .feature-section { padding-block: 66px; }
  .resume-section { padding-top: 42px; padding-bottom: 20px; }
  .section-grid { gap: 40px; }
  .hero-copy { display: block; }
  .service-label { font-size: 28px; gap: 13px; margin-bottom: 23px; }
  h1, html[lang="en"] h1 { max-width: 520px; font-size: 45px; line-height: 1.24; letter-spacing: -.035em; }
  h2, html[lang="en"] h2 { font-size: 36px; line-height: 1.3; }
  .section-lead { margin-top: 21px; font-size: 17px; line-height: 1.85; }
  .hero-copy .primary-cta { margin-top: 27px; }
  .primary-cta { min-height: 56px; padding: 16px 21px; gap: 39px; }
  .hero-copy .brand-slogan { margin-top: 18px; font-size: 12px; }
  .demo-stage::before { inset: -7px; border-radius: 10px; }
  .section-end { margin-top: 33px; }
  .company-section { margin-top: 23px; }
  .footer-inner { min-height: 162px; flex-wrap: wrap; gap: 12px 0; padding-block: 30px; }
  .footer-inner .brand { width: calc(100% - 44px); }
  .footer-inner .brand img { width: 209px; height: 36px; }
  .footer-inner p { order: 3; width: 100%; font-size: 12px; }
  .footer-back { order: 2; width: 36px; height: 36px; }
}
@media (max-width: 374px) {
  .header-inner, .section-grid, .section-end, .footer-inner { width: calc(100% - 32px); }
  .brand img { width: 206px; height: 36px; }
  .header-inner { gap: 8px; }
  h1, html[lang="en"] h1 { font-size: 40px; }
  h2, html[lang="en"] h2 { font-size: 33px; }
  .section-lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Selected A: no progress or playback chrome. */
body[data-direction="a"] .demo-body{height:calc(100% - 100px)}

/* A's depth system: page, recessed backing plate, elevated document. */
:root {
  --page-base: #edf2f9;
  --plate-surface: #e4ebf6;
  --header-surface: #f8faff;
  --contact-shadow: 0 2px 5px rgba(16, 41, 78, .08);
  --ambient-shadow: 0 24px 52px -24px rgba(16, 41, 78, .32);
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --demo-shadow: var(--contact-shadow), var(--ambient-shadow);
}
body[data-direction="a"] { background: var(--page-base); }
body[data-direction="a"] .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-surface);
}
body[data-direction="a"] .site-header.is-scrolled {
  box-shadow: 0 7px 22px -15px rgba(16, 41, 78, .3);
}
body[data-direction="a"] .header-inner { min-height: 88px; }
body[data-direction="a"] { scroll-padding-top: 112px; }
html { scroll-padding-top: 112px; }
body[data-direction="a"] .resume-section { background: var(--page-base); }
body[data-direction="a"] .company-section {
  background: var(--surface);
  border: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 28px -25px rgba(16, 41, 78, .3);
}
body[data-direction="a"] .interview-section { background: #f0f4fa; }
body[data-direction="a"] .demo-stage { isolation: isolate; }
body[data-direction="a"] .demo-stage::before {
  inset: -13px -12px -17px;
  z-index: -1;
  border: 0;
  border-radius: 18px;
  background: var(--plate-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
body[data-direction="a"] .company-section .demo-stage::before { background: #edf2f9; }
body[data-direction="a"] .rbr-demo {
  border: 0;
  border-radius: 12px;
  box-shadow: var(--demo-shadow);
}
body[data-direction="a"] .demo-top { background: #fcfdff; }
body[data-direction="a"] .demo-tabs { background: #f4f7fc; }
body[data-direction="a"] .resume-pages { background: #fff; }
body[data-direction="a"] .demo-tabs button {
  transition: color 140ms ease, border-color 140ms ease;
}

/* The fixed JD stays put; only the document sheet changes. */
body[data-direction="a"] .demo-scene {
  display: block;
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: #fff;
  animation: none;
  transform: translate3d(-12px, 0, 0);
  transition: opacity 240ms ease-out, transform 420ms var(--motion-ease), visibility 0s 420ms;
}
body[data-direction="a"] .demo-scene[data-scene="1"] { transform: translate3d(12px, 0, 0); }
body[data-direction="a"] .demo-scene.is-active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 320ms ease-out, transform 420ms var(--motion-ease), visibility 0s;
}
body[data-direction="a"] .employment-line { font-variant-numeric: tabular-nums; }
body[data-direction="a"] ::selection { background: #d8e5ff; color: var(--ink); }
@media (max-width: 760px) {
  body[data-direction="a"] .header-inner { min-height: 72px; }
  html { scroll-padding-top: 92px; }
  body[data-direction="a"] .demo-stage::before { inset: -7px -6px -10px; border-radius: 16px; }
  body[data-direction="a"] .company-section { border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-direction="a"] .demo-scene { transition: none; transform: none; }
  body[data-direction="a"] .demo-scene[data-scene="1"] { transform: none; }
}

.home-account-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #c7d2e1;border-radius:4px;color:var(--ink);font-size:14px;font-weight:600;white-space:nowrap;flex:none}.home-account-entry:hover{color:var(--accent);background:#e9eff9}.home-account-entry:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:600px){.home-account-entry{margin-left:auto;font-size:12px;padding:7px 9px;min-height:39px}.header-inner:has(.home-account-entry) .lang-switch{margin-left:0}}
@media(max-width:360px){.header-inner:has(.home-account-entry){gap:8px}.header-inner:has(.home-account-entry) .brand img{width:140px}.home-account-entry{padding-inline:7px}}

@media(max-width:760px){.header-inner:has(.home-account-entry){flex-wrap:wrap;gap:10px 14px;padding-block:12px}.header-inner:has(.home-account-entry) .brand{flex:1 1 100%}.header-inner:has(.home-account-entry) .brand img{width:148px;height:35px}.header-inner:has(.home-account-entry) .home-account-entry{margin-left:0}.header-inner:has(.home-account-entry) .lang-switch{margin-left:auto}}

.demo-caption{color:#536780;font-size:12px;line-height:1.7;margin:15px 0 0}.header-inner .header-account{flex:none}.header-inner .header-account-menu a{color:#10294e}.header-inner .header-account-menu button{cursor:pointer}

/* Nailrole C: editorial wordmark with the existing product layout. */
.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px}
.hero-actions .primary-cta{margin-top:0}
.hero-free-note{font-size:14px;line-height:1.7;color:var(--muted);max-width:405px;margin:18px 0 0}
.hero-copy .brand-slogan{font-family:Newsreader,Georgia,serif;font-size:21px;color:var(--ink);margin-top:16px}
#resume-demo{scroll-margin-top:112px}
@media(max-width:760px){.brand img{width:148px;height:35px}.hero-actions{gap:12px 20px}.hero-free-note{font-size:14px}.hero-copy .brand-slogan{font-size:20px}.header-inner:has(.home-account-entry) .brand img{width:148px;height:35px}}
