/* 写了么简历 — 官方首页 */
:root {
  --brand: #FF6700;
  --brand-soft: #FFF0E6;
  --brand-deep: #e55c00;
  --brand-2: #ff8a3d;
  --ink: #1f1a2e;
  --muted: #5c5670;
  --line: #eee;
  --bg: #fff;
  --bg-soft: #fafafa;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  --max: 1180px;
  --page-pad: 24px;
  --fan-w: 720px;
  --fan-h: 480px;
  --nav-h: 74px;
  --screen-h: 100vh;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
@supports (height: 100dvh) {
  :root { --screen-h: 100dvh; }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 0;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-bg {
  position: fixed;
  inset: -8%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(255, 186, 120, 0.45), transparent 55%),
    radial-gradient(820px 480px at 88% 12%, rgba(255, 160, 200, 0.35), transparent 50%),
    radial-gradient(700px 420px at 70% 40%, rgba(186, 200, 255, 0.35), transparent 55%),
    radial-gradient(640px 400px at 30% 70%, rgba(255, 220, 180, 0.25), transparent 50%),
    linear-gradient(165deg, #fff7f0 0%, #f3f0ff 42%, #eef6ff 72%, #ffffff 100%);
  animation: bg-drift 28s var(--ease-in-out) infinite;
}
@keyframes bg-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-1.4%, 1%) scale(1.04); }
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: max(var(--page-pad), env(safe-area-inset-left, 0px))
    max(var(--page-pad), env(safe-area-inset-right, 0px));
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: max(12px, env(safe-area-inset-top, 0px)) 0 0;
}
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  height: 58px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(40, 20, 60, 0.08);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: height 0.35s var(--ease-out), min-height 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.nav.is-compact .nav-pill {
  height: 50px;
  min-height: 50px;
  box-shadow: 0 8px 22px rgba(40, 20, 60, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}
.brand-logo {
  width: auto;
  height: 32px;
  max-width: min(168px, 42vw);
  display: block;
  flex-shrink: 1;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
.nav-links > a:not(.nav-cta) {
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-links > a:not(.nav-cta):hover {
  color: var(--brand);
  background: rgba(255, 103, 0, 0.06);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  margin-left: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a3d, #FF6700 55%, #ff5a1f);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(255, 103, 0, 0.32);
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.03); }

.hero {
  padding: 48px 0 64px;
  min-height: calc(var(--screen-h) - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: visible;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: center;
}
.hero-copy { max-width: 520px; position: relative; z-index: 2; min-width: 0; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 103, 0, 0.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.4;
  animation: rise-in 0.9s var(--ease-out) both;
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 820;
  color: #2a2040;
  animation: rise-in 0.9s var(--ease-out) 0.08s both;
}
.hero-sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.7;
  max-width: 28em;
  animation: rise-in 0.9s var(--ease-out) 0.16s both;
}
.hero-sub em {
  font-style: normal;
  color: var(--brand);
  font-weight: 750;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: rise-in 0.9s var(--ease-out) 0.24s both;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  animation: rise-in 0.9s var(--ease-out) 0.32s both;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 103, 0, 0.12);
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    filter 0.35s var(--ease-out), background 0.35s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, #ff8a3d, #FF6700 50%, #ff5a1f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 103, 0, 0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.38) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 32px rgba(255, 103, 0, 0.4);
}
.btn-primary:hover::after {
  transform: translateX(120%);
  transition: transform 0.7s var(--ease-out);
}
.btn-soft {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 103, 0, 0.18);
  color: var(--brand);
  backdrop-filter: blur(8px);
}
.btn-soft:hover {
  background: #fff;
  border-color: var(--brand);
}

.hero-stage {
  container-type: inline-size;
  position: relative;
  width: 100%;
  height: 540px;
  overflow: visible;
  min-width: 0;
}
.fan {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--fan-w);
  height: var(--fan-h);
  transform: translate(-50%, -50%) scale(0.78);
  transform-style: preserve-3d;
}
@supports (width: 1cqi) {
  .fan {
    transform: translate(-50%, -50%) scale(min(0.9, calc(100cqi / 720)));
  }
}
.resume-card {
  position: absolute;
  width: 190px;
  height: 268px;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(40, 20, 60, 0.14),
    0 2px 0 rgba(255,255,255,0.8) inset;
  border: 1px solid rgba(255,255,255,0.7);
  transform-origin: center bottom;
  opacity: 0;
}
.rc-head { height: 42px; }
.rc-head.teal { background: linear-gradient(90deg, #14b8a6, #0d9488); }
.rc-head.green { background: linear-gradient(90deg, #22c55e, #16a34a); }
.rc-head.orange { background: linear-gradient(90deg, #ff8a3d, #FF6700); }
.rc-head.dark { background: linear-gradient(90deg, #334155, #0f172a); }
.rc-head.blue { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.rc-body { padding: 14px 12px; }
.rc-name {
  height: 10px;
  width: 42%;
  border-radius: 3px;
  background: #1f2937;
  margin-bottom: 8px;
}
.rc-name.light { background: #e5e7eb; }
.rc-meta {
  height: 6px;
  width: 70%;
  border-radius: 3px;
  background: #e5e7eb;
  margin-bottom: 14px;
}
.rc-sec {
  height: 7px;
  width: 38%;
  border-radius: 3px;
  background: #cbd5e1;
  margin: 10px 0 6px;
}
.rc-p {
  height: 5px;
  width: 100%;
  border-radius: 3px;
  background: #eef2f7;
  margin-bottom: 5px;
}
.rc-p.w55 { width: 55%; }
.rc-p.w60 { width: 60%; }
.rc-p.w65 { width: 65%; }
.rc-p.w70 { width: 70%; }
.rc-p.w75 { width: 75%; }
.rc-p.w80 { width: 80%; }
.rc-p.w85 { width: 85%; }
.rc-p.w90 { width: 90%; }

.resume-card.c1 {
  left: 88px;
  top: 108px;
  z-index: 1;
  transform: rotate(-18deg) translateY(18px) scale(0.92);
  animation:
    card-appear 0.7s var(--ease-out) 0.28s forwards,
    float-c1 5.6s ease-in-out 1.1s infinite;
}
.resume-card.c2 {
  left: 174px;
  top: 62px;
  z-index: 2;
  transform: rotate(-10deg) translateY(8px) scale(0.96);
  animation:
    card-appear 0.7s var(--ease-out) 0.36s forwards,
    float-c2 6s ease-in-out 1.2s infinite;
}
.resume-card.c3 {
  left: 260px;
  top: 38px;
  z-index: 5;
  width: 200px;
  height: 282px;
  transform: rotate(-2deg) scale(1.02);
  box-shadow:
    0 22px 48px rgba(255, 103, 0, 0.22),
    0 18px 40px rgba(40, 20, 60, 0.12);
  animation:
    card-appear 0.7s var(--ease-out) 0.2s forwards,
    float-c3 5.2s ease-in-out 1s infinite;
}
.resume-card.c4 {
  left: 364px;
  top: 66px;
  z-index: 3;
  transform: rotate(8deg) translateY(10px) scale(0.95);
  animation:
    card-appear 0.7s var(--ease-out) 0.44s forwards,
    float-c4 5.8s ease-in-out 1.25s infinite;
}
.resume-card.c5 {
  left: 444px;
  top: 116px;
  z-index: 2;
  transform: rotate(16deg) translateY(22px) scale(0.9);
  animation:
    card-appear 0.7s var(--ease-out) 0.52s forwards,
    float-c5 6.2s ease-in-out 1.3s infinite;
}
@keyframes card-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float-c1 {
  0%, 100% { transform: rotate(-18deg) translateY(18px) scale(0.92); }
  50% { transform: rotate(-16deg) translateY(6px) scale(0.92); }
}
@keyframes float-c2 {
  0%, 100% { transform: rotate(-10deg) translateY(8px) scale(0.96); }
  50% { transform: rotate(-8deg) translateY(-4px) scale(0.96); }
}
@keyframes float-c3 {
  0%, 100% { transform: rotate(-2deg) translateY(0) scale(1.02); }
  50% { transform: rotate(0deg) translateY(-10px) scale(1.02); }
}
@keyframes float-c4 {
  0%, 100% { transform: rotate(8deg) translateY(10px) scale(0.95); }
  50% { transform: rotate(10deg) translateY(-2px) scale(0.95); }
}
@keyframes float-c5 {
  0%, 100% { transform: rotate(16deg) translateY(22px) scale(0.9); }
  50% { transform: rotate(18deg) translateY(10px) scale(0.9); }
}

/* —— AI 辅助：第二屏打字机简历 —— */
.ai-screen {
  background: rgba(255,255,255,0.42);
}
.ai-copy {
  min-width: 0;
  max-width: 520px;
}
.ai-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ai-copy > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.ai-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ai-list li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
}
.ai-list strong {
  font-size: 14px;
  font-weight: 750;
}
.ai-list span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.ai-prompt {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(40, 20, 60, 0.05);
}
.ai-prompt-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.ai-prompt-label.out { color: var(--brand); margin-top: 8px; }
.ai-prompt p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
}
.ai-stage {
  position: relative;
  width: 440px;
  height: 622px;
  flex-shrink: 0;
  justify-self: end;
}
.ai-paper {
  position: absolute;
  left: 10px;
  top: 14px;
  width: 420px;
  height: 594px;
  padding: 22px 22px 18px;
  background: #fff;
  border-radius: 6px;
  box-shadow:
    0 24px 50px rgba(40, 20, 60, 0.14),
    0 2px 0 rgba(255,255,255,0.9) inset;
  border: 1px solid rgba(255,255,255,0.8);
  transform: rotate(-1.1deg);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.55;
  color: #222;
  box-sizing: border-box;
}
.ai-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  height: 78px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.ai-id { min-width: 0; flex: 1; }
.ai-name {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 800;
  height: 26px;
  overflow: hidden;
}
.ai-meta {
  margin: 0;
  font-size: 11px;
  color: #555;
  height: 16px;
  overflow: hidden;
}
.ai-photo {
  width: 50px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #f3f4f6, #e5e7eb);
  border: 1px solid #e5e7eb;
}
.ai-block { margin-bottom: 7px; }
.ai-block h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid #eee;
  font-size: 11.5px;
  font-weight: 800;
}
.ai-block h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}
.ai-line,
.ai-job {
  margin: 0 0 1px;
  min-height: 15px;
  height: auto;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
}
.ai-job { font-weight: 700; }
.ai-bullets {
  margin: 0 0 4px;
  padding: 0 0 0 14px;
}
.ai-bullets li {
  display: list-item;
  height: auto;
  line-height: 1.4;
  margin: 0;
  font-size: 11px;
  color: #333;
  overflow: hidden;
}
.type-slot { white-space: pre-wrap; }
.type-slot.caret::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  margin-left: 1px;
  background: var(--brand);
  vertical-align: -0.12em;
  animation: caret-blink 0.9s step-end infinite;
}
@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* —— Sections：每一屏占满视口 —— */
.section {
  min-height: var(--screen-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 16px) 0 40px;
  background: rgba(255,255,255,0.35);
  scroll-margin-top: 0;
}
.section.alt { background: rgba(255,255,255,0.55); backdrop-filter: blur(8px); }
.section > .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3.6vh, 44px);
  flex: 1 1 auto;
}
.section.ai-screen > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between;
}
.section-head {
  text-align: center;
  margin-bottom: 0;
  flex-shrink: 0;
}
.section-head .eyebrow {
  color: var(--brand);
  font-weight: 750;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0 auto;
  max-width: 36em;
  color: var(--muted);
  font-size: 15px;
  padding-inline: 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vh, 22px);
  flex: 1 1 auto;
  align-content: stretch;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.8vh, 28px) 22px 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    border-color: rgba(255, 103, 0, 0.4);
    box-shadow: 0 18px 40px rgba(255, 103, 0, 0.12);
    transform: translateY(-6px);
  }
  .feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-8deg);
    background: var(--brand);
    color: #fff;
  }
  .feature-card:hover .link span { transform: translateX(4px); }
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  transition: transform 0.4s var(--ease-out), background 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
}
.feature-icon svg {
  width: 20px;
  height: 20px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
}
.feature-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  min-height: 0;
  flex: 1 1 auto;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.feature-tags span {
  font-size: 12px;
  font-weight: 650;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 999px;
}
.feature-card .link {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.feature-card .link span {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

/* —— Flow —— */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}
.flow li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  min-width: 0;
}
.flow-n {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}
.flow strong {
  display: block;
  font-size: 16px;
  font-weight: 750;
  margin-bottom: 6px;
}
.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* —— Stats —— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vh, 18px);
}
.stat-card {
  text-align: left;
  padding: 22px 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 103, 0, 0.35);
    box-shadow: 0 16px 32px rgba(255, 103, 0, 0.1);
  }
}
.stat-card strong {
  display: block;
  font-size: clamp(22px, 3.2vw, 34px);
  color: var(--brand);
  font-weight: 820;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* —— Quotes —— */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vh, 22px);
  flex: 1 1 auto;
  align-content: stretch;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .quote-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 103, 0, 0.35);
    box-shadow: 0 16px 36px rgba(40, 20, 60, 0.08);
  }
}
.quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.quote-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  position: relative;
  flex-shrink: 0;
}
.quote-icon::before,
.quote-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 11px;
  border-radius: 0 0 8px 4px;
  background: var(--brand);
  top: 9px;
}
.quote-icon::before { left: 8px; }
.quote-icon::after { left: 17px; opacity: 0.55; }
.quote-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.quote-card p {
  margin: 0;
  font-size: 15px;
  color: #333;
  line-height: 1.75;
  flex: 1 1 auto;
}
.quote-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.quote-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.quote-who strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.quote-who em {
  font-style: normal;
  font-size: 12px;
}
.scene-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.scene-row li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
    background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .scene-row li:hover {
    color: var(--brand);
    border-color: rgba(255, 103, 0, 0.35);
    background: #fff;
    transform: translateY(-2px);
  }
}

/* —— CTA band —— */
.cta-band {
  margin: 0;
  padding: clamp(28px, 4vh, 40px) 28px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,103,0,0.95), #ff8533);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(255, 103, 0, 0.25);
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 800;
}
.cta-band p {
  margin: 0 0 20px;
  opacity: 0.92;
}
.cta-band .btn-light {
  background: #fff;
  color: var(--brand);
}
.cta-band .btn-light:hover {
  background: #fff7f0;
}

/* —— Footer —— */
.footer {
  padding: 36px 0 max(48px, env(safe-area-inset-bottom, 0px) + 24px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-author a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-author a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.footer a:hover { color: var(--brand); }

@media (min-width: 961px) and (max-width: 1120px) {
  .section.ai-screen > .wrap {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 20px 28px;
  }
  .ai-stage { width: 380px; height: 540px; }
  .ai-paper {
    left: 8px;
    top: 12px;
    width: 360px;
    height: 510px;
  }
}

@media (min-width: 961px) {
  html { scroll-snap-type: y proximity; }
  .hero,
  .section { scroll-snap-align: start; }
}

@media (min-width: 1280px) {
  .hero-stage { height: 560px; }
  .fan { transform: translate(-50%, -50%) scale(0.88); }
  @supports (width: 1cqi) {
    .fan {
      transform: translate(-50%, -50%) scale(min(0.94, calc(100cqi / 720)));
    }
  }
}

/* —— Tablet —— */
@media (max-width: 960px) {
  :root { --page-pad: 20px; }
  .nav-links .hide-sm { display: none; }
  .hero {
    min-height: calc(var(--screen-h) - var(--nav-h));
    padding: 20px 0 40px;
    align-items: center;
    overflow: hidden;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }
  .hero-copy { max-width: none; }
  .hero-stage {
    height: auto;
    aspect-ratio: 720 / 480;
    max-height: 340px;
    margin-inline: auto;
    overflow: hidden;
  }
  .fan { transform: translate(-50%, -50%) scale(0.58); }
  @supports (width: 1cqi) {
    .fan {
      transform: translate(-50%, -50%) scale(min(1, calc(100cqi / 720)));
    }
  }
  .resume-card.c1,
  .resume-card.c2,
  .resume-card.c3,
  .resume-card.c4,
  .resume-card.c5 {
    animation: card-appear 0.55s var(--ease-out) 0.12s forwards;
  }
  .section.ai-screen > .wrap,
  .ai-screen > .wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }
  .ai-copy { max-width: 560px; }
  .ai-stage {
    width: 340px;
    height: 490px;
    justify-self: center;
    order: -1;
  }
  .ai-paper {
    left: 8px;
    top: 12px;
    width: 324px;
    height: 458px;
    transform: none;
    padding: 16px 14px 12px;
  }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* —— Phone —— */
@media (max-width: 640px) {
  :root { --page-pad: 16px; }
  .nav { padding-top: max(8px, env(safe-area-inset-top, 0px)); }
  .nav-pill {
    height: 52px;
    min-height: 52px;
    padding: 0 6px 0 12px;
    gap: 8px;
  }
  .brand-logo { height: 26px; }
  .nav-cta {
    height: 36px;
    padding: 0 14px;
    margin-left: 0;
    font-size: 12px;
  }

  .hero { padding: 12px 0 28px; }
  .hero-kicker {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 12px;
  }
  .hero-copy h1 {
    font-size: clamp(26px, 8vw, 32px);
    margin-bottom: 12px;
  }
  .hero-sub {
    margin-bottom: 20px;
    font-size: 15px;
  }
  .hero-actions { gap: 10px; }
  .hero-actions .btn {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
    padding: 0 16px;
    height: 44px;
    font-size: 14px;
  }
  .hero-stage {
    aspect-ratio: 720 / 480;
    max-height: 250px;
  }
  .fan { transform: translate(-50%, -50%) scale(0.44); }
  @supports (width: 1cqi) {
    .fan {
      transform: translate(-50%, -50%) scale(min(1, calc(100cqi / 720)));
    }
  }

  :root { --nav-h: 64px; }
  .section {
    min-height: var(--screen-h);
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 12px) 0 32px;
  }
  .section > .wrap { gap: 20px; }
  .section-head p { font-size: 14px; }

  .feature-grid,
  .quote-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 18px 16px 16px; }
  .feature-card p { min-height: 0; margin-bottom: 10px; }
  .feature-card:hover { transform: none; }

  .flow { grid-template-columns: 1fr; }
  .stats { gap: 10px; grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 16px 14px; }
  .stat-card span { font-size: 12px; }

  .quote-card { padding: 16px; }
  .quote-card p { font-size: 14px; }

  .cta-band {
    padding: 28px 18px;
    border-radius: 16px;
  }
  .cta-band p { margin-bottom: 16px; font-size: 14px; }
  .cta-band .btn { width: 100%; max-width: 280px; }

  .ai-copy h2 { font-size: 24px; }
  .ai-stage {
    width: 300px;
    height: 434px;
  }
  .ai-paper {
    width: 284px;
    height: 402px;
    padding: 14px 12px 10px;
  }
  .ai-name { font-size: 16px; letter-spacing: 0.06em; }
  .ai-photo { width: 40px; height: 54px; }
  .ai-head { height: 68px; }
  .ai-bullets { margin-bottom: 3px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* —— Narrow phone —— */
@media (max-width: 400px) {
  :root { --page-pad: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn {
    flex: 1 1 auto;
    width: 100%;
  }
  .hero-stage { max-height: 210px; }
  .fan { transform: translate(-50%, -50%) scale(0.38); }
  @supports (width: 1cqi) {
    .fan {
      transform: translate(-50%, -50%) scale(min(1, calc(100cqi / 720)));
    }
  }
  .stats { grid-template-columns: 1fr; }
  .stat-card { padding: 14px 12px; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
}
.js .reveal.is-in {
  animation: rise-in 0.85s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .page-bg,
  .hero-kicker,
  .hero-copy h1,
  .hero-sub,
  .hero-actions,
  .hero-points,
  .resume-card,
  .js .reveal,
  .js .reveal.is-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .btn, .feature-card, .stat-card, .quote-card, .scene-row li { transition: none; }
  .type-slot.caret::after { animation: none !important; }
}
