:root {
  --ink: #0d1526;
  --muted: #5a657d;
  --line: #e3e7f2;
  --surface: #ffffff;
  --bg: #f5f7ff;
  --brand: #4338ca;
  --brand-2: #7c3aed;
  --warm: #c2410c;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 34px -22px rgba(15, 23, 42, 0.32);
  --shadow-lg: 0 30px 80px -34px rgba(67, 56, 202, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 10% -12%, rgba(99, 102, 241, 0.16), transparent 62%),
    radial-gradient(820px 500px at 94% 0%, rgba(251, 146, 60, 0.16), transparent 60%),
    var(--bg);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 24px 0;
  text-align: center;
  animation: rise 0.7s var(--ease) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid rgba(67, 56, 202, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4338ca;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(2.05rem, 5.3vw, 3.55rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.grad,
.grad-warm,
.grad-main,
.grad-school {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad {
  background-image: linear-gradient(100deg, #4338ca 10%, #7c3aed 60%, #a855f7 100%);
}

.grad-warm {
  background-image: linear-gradient(100deg, #c2410c 0%, #ea580c 45%, #d97706 100%);
}

.grad-main {
  background-image: linear-gradient(100deg, #1e3a8a 0%, #4338ca 55%, #6d28d9 100%);
}

.grad-school {
  background-image: linear-gradient(100deg, #0f766e 0%, #0d9488 50%, #059669 100%);
}

.title-dash {
  color: #94a3b8;
  font-weight: 600;
}

.nowrap {
  white-space: nowrap;
}

.hero-copy {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 8px 18px -14px var(--chip-shadow);
}

.hero-chips span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chip-dot);
  box-shadow: 0 0 0 3px var(--chip-ring);
}

.chip--notebook {
  --chip-bg: #eef2ff;
  --chip-border: #c7d2fe;
  --chip-text: #3730a3;
  --chip-dot: #6366f1;
  --chip-ring: rgba(99, 102, 241, 0.18);
  --chip-shadow: rgba(99, 102, 241, 0.55);
}

.chip--qd {
  --chip-bg: #eff6ff;
  --chip-border: #bfdbfe;
  --chip-text: #1e40af;
  --chip-dot: #2563eb;
  --chip-ring: rgba(37, 99, 235, 0.16);
  --chip-shadow: rgba(37, 99, 235, 0.5);
}

.chip--cv {
  --chip-bg: #fff7ed;
  --chip-border: #fed7aa;
  --chip-text: #9a3412;
  --chip-dot: #ea580c;
  --chip-ring: rgba(234, 88, 12, 0.16);
  --chip-shadow: rgba(234, 88, 12, 0.5);
}

.chip--time {
  --chip-bg: #ecfdf5;
  --chip-border: #a7f3d0;
  --chip-text: #065f46;
  --chip-dot: #10b981;
  --chip-ring: rgba(16, 185, 129, 0.16);
  --chip-shadow: rgba(16, 185, 129, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-download svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.download-hint {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.cards {
  max-width: 1080px;
  margin: 50px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.card {
  --accent: #fef08a;
  --accent-soft: rgba(255, 255, 255, 0.16);
  --accent-line: rgba(255, 255, 255, 0.38);
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 26px;
  color: #fff;
  box-shadow: 0 26px 60px -30px rgba(30, 41, 59, 0.65);
  animation: rise 0.7s var(--ease) both;
}

.card:nth-child(2) {
  animation-delay: 0.1s;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.card::before {
  width: 280px;
  height: 280px;
  top: -130px;
  right: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

.card::after {
  width: 240px;
  height: 240px;
  left: -100px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 72%);
}

.card > * {
  position: relative;
  z-index: 1;
}

.card--integrate {
  --accent: #fef08a;
  --accent-soft: rgba(255, 255, 255, 0.16);
  --accent-line: rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(255, 255, 255, 0.24), transparent 48%),
    linear-gradient(135deg, #1e1b4b 0%, #4338ca 30%, #7c3aed 62%, #0e7490 100%);
  box-shadow: 0 26px 60px -30px rgba(67, 56, 202, 0.75);
}

.card--twelve {
  --accent: #fde68a;
  --accent-soft: rgba(255, 255, 255, 0.16);
  --accent-line: rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(255, 255, 255, 0.26), transparent 48%),
    linear-gradient(135deg, #701a75 0%, #be123c 34%, #db2777 62%, #7c2d12 100%);
  box-shadow: 0 26px 60px -30px rgba(190, 18, 60, 0.72);
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.card-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px -16px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-kicker {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.card-sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.feature:active {
  transform: scale(0.995);
}

.feature:focus-visible {
  outline: 2px solid #fef08a;
  outline-offset: 2px;
}

.feature-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #422006;
  background: linear-gradient(135deg, #fef9c3, #fde047);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.feature-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.5;
}

.feature-arrow {
  flex: none;
  margin-top: 4px;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.feature:hover .feature-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.card-foot {
  margin: 18px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.24);
  color: #fff7ed;
  font-size: 0.75rem;
  line-height: 1.55;
}

.card-foot strong {
  color: #fde68a;
}

.tool-intro {
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 0 24px;
  animation: rise 0.7s var(--ease) both;
  animation-delay: 0.16s;
}

.tool-intro-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(45, 212, 191, 0.2), transparent 52%),
    radial-gradient(90% 90% at 100% 0%, rgba(250, 204, 21, 0.16), transparent 48%),
    linear-gradient(135deg, #042f2e 0%, #064e3b 34%, #0f766e 66%, #155e75 100%);
  box-shadow: 0 32px 80px -42px rgba(6, 78, 59, 0.8);
}

.tool-intro-panel::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.2), transparent 68%);
  pointer-events: none;
}

.tool-intro-panel::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 70%);
  pointer-events: none;
}

.tool-intro-panel > * {
  position: relative;
  z-index: 1;
}

.tool-intro-top {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1.17fr);
  align-items: center;
  gap: 32px;
}

.tool-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(253, 224, 71, 0.32);
  border-radius: 999px;
  background: rgba(253, 224, 71, 0.1);
  color: #fef9c3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tool-eyebrow-icon {
  flex: none;
  width: 14px;
  height: 14px;
  color: #fde047;
}

.tool-intro h2 {
  max-width: 560px;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
  text-wrap: balance;
}

.tool-click {
  color: #fde047;
  white-space: nowrap;
}

.tool-intro-lede {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(236, 254, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.7;
}

.tool-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tool-feature-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(236, 254, 255, 0.88);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.3;
}

.tool-feature-chips li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fde047;
}

.tool-feature-chips li:nth-child(3n + 2)::before {
  background: #67e8f9;
}

.tool-feature-chips li:nth-child(3n)::before {
  background: #fda4af;
}

.tool-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 22px;
}

.tool-stat {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.tool-stat strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.tool-stat:nth-child(1) strong {
  color: #fde047;
}

.tool-stat:nth-child(2) strong {
  color: #fda4af;
}

.tool-stat:nth-child(3) strong {
  color: #67e8f9;
}

.tool-stat span {
  display: block;
  margin-top: 4px;
  color: rgba(236, 254, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.35;
}

.tool-shot {
  min-width: 0;
  margin: 0;
}

.tool-shot-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.45);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tool-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.58);
}

.tool-shot-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.tool-shot-dot--red {
  background: #fb7185;
}

.tool-shot-dot--yellow {
  background: #fde047;
}

.tool-shot-dot--green {
  background: #4ade80;
}

.tool-shot-url {
  min-width: 0;
  margin-left: 6px;
  overflow: hidden;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tool-shot-link {
  display: block;
  cursor: zoom-in;
}

.tool-shot-link:focus-visible {
  outline: 3px solid #fde047;
  outline-offset: -3px;
}

.tool-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1918 / 1016;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.tool-shot-frame:hover img {
  transform: scale(1.015);
}

.tool-shot figcaption {
  margin-top: 10px;
  color: rgba(204, 251, 241, 0.68);
  font-size: 0.68rem;
  line-height: 1.5;
}

.tool-spotlight {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(253, 224, 71, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(253, 224, 71, 0.09), rgba(45, 212, 191, 0.06)),
    rgba(2, 6, 23, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-spotlight-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 22px;
}

.tool-spotlight-kicker {
  margin: 0 0 6px;
  color: #fde047;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tool-spotlight h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.tool-spotlight-lede {
  margin: 8px 0 0;
  color: rgba(236, 254, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1.6;
}

.tool-spotlight .tool-stats {
  max-width: none;
  margin-top: 0;
  gap: 7px;
}

.tool-spotlight .tool-stat {
  padding: 9px 10px;
  border-radius: 13px;
}

.tool-spotlight .tool-stat strong {
  font-size: 1.3rem;
}

.tool-spotlight .tool-stat span {
  font-size: 0.58rem;
  line-height: 1.3;
}

.tool-details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tool-spotlight .tool-details {
  margin-top: 18px;
  padding-top: 18px;
  border-top-color: rgba(255, 255, 255, 0.12);
}

.tool-strands h3,
.tool-grades h3 {
  margin: 0;
  color: #fef9c3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.strand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.strand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  overflow: hidden;
  padding: 9px 11px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}

.strand::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--strand-color);
}

.strand-code {
  flex: none;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--strand-soft);
  color: var(--strand-color);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.strand-name {
  color: rgba(236, 254, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

.strand--a {
  --strand-color: #fde047;
  --strand-soft: rgba(253, 224, 71, 0.14);
}

.strand--b {
  --strand-color: #fda4af;
  --strand-soft: rgba(253, 164, 175, 0.14);
}

.strand--c {
  --strand-color: #67e8f9;
  --strand-soft: rgba(103, 232, 249, 0.14);
}

.strand--d {
  --strand-color: #c4b5fd;
  --strand-soft: rgba(196, 181, 253, 0.14);
}

.grade-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: separate;
  border-spacing: 0 5px;
}

.grade-table thead th {
  padding: 0 10px 3px;
  color: rgba(204, 251, 241, 0.58);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.grade-table thead th:nth-child(2),
.grade-table thead th:nth-child(3) {
  text-align: center;
}

.grade-table tbody tr {
  background: rgba(255, 255, 255, 0.07);
}

.grade-table tbody th,
.grade-table tbody td {
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.grade-table tbody th {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px 0 0 9px;
  color: #ecfeff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.grade-table tbody td {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.grade-table tbody td:last-child {
  border-radius: 0 9px 9px 0;
}

.grade-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.12);
}

.grade-domain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.16);
  color: #99f6e4;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.4;
}

.grade-table strong {
  color: #fde047;
  font-size: 0.84rem;
  font-weight: 800;
}

.tool-note {
  margin: 16px 0 0;
  color: rgba(204, 251, 241, 0.62);
  font-size: 0.66rem;
  line-height: 1.6;
}

.tool-spotlight-note {
  margin: 12px 0 0;
  color: rgba(204, 251, 241, 0.55);
  font-size: 0.62rem;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 24px 56px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.site-footer strong {
  color: var(--ink);
}

.prompt-dialog {
  width: min(780px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.prompt-dialog::backdrop {
  background: rgba(9, 13, 25, 0.58);
  backdrop-filter: blur(5px);
}

.prompt-dialog[open] {
  animation: pop 0.24s var(--ease) both;
}

.dialog-inner {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 26px;
}

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

.dialog-eyebrow {
  margin: 0 0 4px;
  color: #4338ca;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dialog-head h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.dialog-close {
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.dialog-close:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.usage-guide {
  margin: 16px 0 20px;
  padding: 14px 16px;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: 12px;
  background: #fef2f2;
  color: #b91c1c;
}

.usage-guide-text {
  margin: 0;
  color: #b91c1c;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.7;
}

.usage-guide-text strong {
  color: #7f1d1d;
  font-weight: 800;
}

.dialog-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}

#promptText {
  width: 100%;
  min-height: 320px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faff;
  color: #1e293b;
  font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#promptText:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  padding: 11px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid #4338ca;
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4338ca, #7c3aed);
  box-shadow: 0 12px 26px -14px rgba(67, 56, 202, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(67, 56, 202, 0.85);
}

.btn-sgk {
  color: #fff;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 55%, #059669 100%);
  box-shadow: 0 12px 26px -14px rgba(13, 148, 136, 0.8);
}

.btn-sgk:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(13, 148, 136, 0.9);
}

.btn-ghost {
  color: #334155;
  background: #fff;
  border-color: var(--line);
}

.btn-ghost:hover {
  background: #f8fafc;
}

.copy-status {
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 600;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .cards {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .hero {
    padding-top: 48px;
  }

  .card {
    padding: 22px;
  }

  .dialog-inner {
    padding: 20px;
  }

  #promptText {
    min-height: 260px;
  }

  .tool-intro {
    margin-top: 22px;
  }

  .tool-intro-panel {
    padding: 26px;
    border-radius: 26px;
  }

  .tool-intro-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tool-shot {
    max-width: 640px;
  }

  .tool-details {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .tool-intro {
    margin-top: 20px;
    padding: 0 18px;
  }

  .tool-intro-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .tool-intro-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .tool-intro h2 {
    font-size: clamp(1.55rem, 6.8vw, 2rem);
  }

  .tool-stats {
    gap: 7px;
  }

  .tool-stat {
    padding: 10px;
  }

  .tool-stat strong {
    font-size: 1.35rem;
  }

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

@media (max-width: 420px) {
  .feature {
    padding: 12px 10px;
  }

  .feature-num {
    width: 27px;
    height: 27px;
  }

  .hero-actions .btn-download {
    width: 100%;
    justify-content: center;
  }

  .tool-intro {
    padding: 0 14px;
  }

  .tool-intro-panel {
    padding: 18px;
  }

  .tool-stat span {
    font-size: 0.62rem;
  }

  .tool-shot-bar {
    padding: 8px 10px;
  }
}

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