:root {
  --bg: #f2f8fc;
  --bg-card: #ffffff;
  --blue-50: #eef6fc;
  --blue-100: #d9ebf8;
  --blue-200: #b8d9f0;
  --blue-400: #5b9fd9;
  --blue-500: #4a8fd4;
  --blue-600: #3a7fc4;
  --blue-700: #2d6aa8;
  --blue-900: #1e3f66;
  --teal: #5ec4d4;
  --teal-50: #eefaf9;
  --teal-700: #2a8f96;
  --amber-50: #fff8ed;
  --amber-200: #f5d9a8;
  --amber-700: #9a6b1a;
  --text: #1a334d;
  --text-muted: #5a7a96;
  --border: rgba(74, 143, 212, 0.18);
  --shadow: 0 12px 40px rgba(45, 106, 168, 0.1);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(94, 196, 212, 0.14), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(74, 143, 212, 0.12), transparent 34%),
    var(--bg);
}

a {
  color: var(--blue-600);
}

/* Hero */
.hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-profile-wrap {
  flex-shrink: 0;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-profile {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-title {
  margin: 1rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}

.hero-x-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue-600);
  text-decoration: none;
}

.hero-x-link:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

/* Main */
.main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.section + .section {
  margin-top: 3rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.headline {
  margin: 0.6rem 0 0;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--blue-900);
}

.lede {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 38rem;
}

/* Prompt card */
.prompt-card {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.prompt-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--blue-100);
  background: linear-gradient(180deg, var(--blue-50), #fff);
}

.prompt-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-900);
}

.prompt-hint {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 14px rgba(58, 127, 196, 0.35);
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(58, 127, 196, 0.4);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #3cb88a, #2ea070);
  box-shadow: 0 4px 14px rgba(46, 160, 112, 0.35);
}

.copy-btn-icon {
  font-size: 1rem;
  line-height: 1;
}

.prompt-text {
  margin: 0;
  padding: 1.15rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--blue-900);
  white-space: pre-wrap;
  word-break: break-word;
  background: #fff;
}

.fine-print {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fine-print a {
  font-weight: 500;
  color: var(--blue-600);
}

/* Skill detail dropdowns */
.skill-details {
  margin-top: 2rem;
  border-top: 1px dashed var(--blue-200);
  padding-top: 1.25rem;
}

.skill-details-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-item {
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.detail-item + .detail-item {
  margin-top: 0.5rem;
}

.detail-item[open] {
  border-color: var(--blue-200);
  background: #fff;
  box-shadow: 0 4px 16px rgba(45, 106, 168, 0.06);
}

.detail-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.detail-summary::-webkit-details-marker {
  display: none;
}

.detail-summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease;
}

.detail-item[open] .detail-summary::after {
  content: "−";
  background: var(--blue-100);
}

.detail-summary:hover {
  color: var(--blue-700);
}

.detail-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--blue-50);
}

.detail-body p {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.detail-body p:first-child {
  margin-top: 0.85rem;
}

.detail-body ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.detail-body li + li {
  margin-top: 0.35rem;
}

.detail-body li strong {
  color: var(--blue-900);
  font-weight: 600;
}

.detail-body em {
  font-style: normal;
  font-weight: 600;
  color: var(--blue-900);
}

.detail-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--blue-50);
  color: var(--blue-700);
}

/* Dichotomy */
.dichotomy {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.dichotomy-headline {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  text-align: center;
}

.dichotomy-intro {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}

.dichotomy-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dichotomy-panel {
  padding: 1.25rem 1.35rem;
}

.dichotomy-panel--consumer {
  background: linear-gradient(160deg, var(--teal-50) 0%, #fff 100%);
  border-bottom: 1px solid rgba(94, 196, 212, 0.25);
}

.dichotomy-panel--business {
  background: linear-gradient(200deg, var(--amber-50) 0%, #fff 100%);
}

.dichotomy-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.dichotomy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.dichotomy-panel--consumer .dichotomy-icon {
  background: rgba(94, 196, 212, 0.25);
  color: var(--teal-700);
}

.dichotomy-panel--business .dichotomy-icon {
  background: rgba(245, 217, 168, 0.55);
  color: var(--amber-700);
}

.dichotomy-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dichotomy-panel--consumer .dichotomy-label {
  color: var(--teal-700);
}

.dichotomy-panel--business .dichotomy-label {
  color: var(--amber-700);
}

.dichotomy-sublabel {
  margin: 0.1rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
}

.dichotomy-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2f5575;
}

.dichotomy-text em {
  font-style: normal;
  font-weight: 600;
  color: var(--blue-900);
}

.dichotomy-text code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(154, 107, 26, 0.1);
  color: var(--amber-700);
}

.dichotomy-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: linear-gradient(90deg, var(--teal-50), #fff 50%, var(--amber-50));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dichotomy-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(45, 106, 168, 0.08);
}

.dichotomy-close {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}

.dichotomy .secondary-btn {
  display: flex;
  width: fit-content;
  margin: 1.25rem auto 0;
}

.secondary-btn {
  display: inline-flex;
  margin-top: 1.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--blue-200);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-700);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.secondary-btn:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
}

/* Consult */
.consult {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.consult-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.consult-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--blue-200);
}

.consult-link:hover {
  color: var(--blue-700);
  text-decoration-color: var(--blue-400);
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 3rem 1.5rem 2.5rem;
  }

  .hero-profile {
    width: 128px;
    height: 128px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .main {
    padding: 2.5rem 1.5rem 3.5rem;
  }

  .dichotomy {
    padding: 2rem;
  }

  .dichotomy-split {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .dichotomy-panel--consumer {
    border-bottom: none;
    border-right: none;
  }

  .dichotomy-divider {
    flex-direction: column;
    padding: 0 0.35rem;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: linear-gradient(180deg, var(--teal-50), #fff 50%, var(--amber-50));
  }

  .dichotomy-panel {
    padding: 1.5rem;
  }
}
