:root {
  color-scheme: light;
  --bg: #d3e2e5;
  --panel: #e8f0f2;
  --surface: #f4f9fa;
  --ink: #21454e;
  --ink-soft: #3e6871;
  --line: #b7cdd2;
  --primary: #2f848c;
  --primary-soft: #76aeb5;
  --shadow: 0 10px 25px rgba(33, 69, 78, 0.12);
  --radius-sharp: 0px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 32px 20px;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(118, 174, 181, 0.28), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(47, 132, 140, 0.18), transparent 42%),
    var(--bg);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.container { max-width: 1040px; margin: 0 auto; display: grid; gap: 16px; }

header {
  background: linear-gradient(135deg, var(--panel), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.hero-linkedin {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sharp);
  color: #fff;
  background: var(--primary);
  border: 2px solid var(--primary);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-linkedin:hover {
  background: #236b70;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47, 132, 140, 0.35);
}

.hero-linkedin svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-top .brand-logo {
  margin: 0;
}

h3, h4 { margin: 0 0 10px; color: var(--ink); }
p, li, label { color: var(--ink); }
.hero p { margin: 0; color: var(--ink-soft); }

.brand-logo {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.panel {
  background: linear-gradient(180deg, var(--panel), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  padding: 22px;
  box-shadow: var(--shadow);
}

.steps-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-box { border: 1px solid var(--line); border-radius: var(--radius-sharp); background: #fff; padding: 14px; }
.step-asset { width: 42px; height: 42px; margin-bottom: 6px; }
.step-box p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

label { display: grid; gap: 8px; margin-bottom: 12px; font-weight: 600; }

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sharp);
  color: var(--ink);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
}

input::placeholder,
textarea::placeholder {
  font-weight: 400;
  color: #5f8088;
}

textarea { min-height: 110px; resize: vertical; }

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 132, 140, 0.2);
}

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

button {
  border: 0;
  border-radius: var(--radius-sharp);
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
button:hover { filter: brightness(0.96); }
button:disabled { opacity: 0.7; cursor: not-allowed; }

.status { min-height: 1.4em; color: var(--ink-soft); margin-top: 10px; }
.hint { color: var(--ink-soft); margin-top: 0; }
.hidden { display: none !important; }

.score-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  padding: 16px;
  margin-bottom: 12px;
}
.score { font-size: clamp(2.2rem, 4vw, 3rem); margin: 0 0 2px; font-weight: 800; color: var(--primary); }
.score-summary { margin-bottom: 10px; }

.progress { width: 100%; height: 12px; background: #dbe8ea; border-radius: 0; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--primary); transition: width 0.3s ease; }

.metric-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  padding: 12px;
  text-align: center;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.metric-card p { margin: 10px 0 0; font-size: .92rem; font-weight: 600; }
.metric-circle {
  --value: 0%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary);
  background: conic-gradient(var(--primary) var(--value), #d7e6e9 0);
  position: relative;
}
.metric-circle::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}
.metric-circle {
  font-size: 1rem;
}
.metric-circle > span, .metric-circle {
  z-index: 1;
}

.breakdowns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.breakdowns > div,
.next-steps-panel,
.share-panel,
.watch-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  padding: 14px;
}

.insights,
.insights p,
.insights li,
.next-steps-panel,
.next-steps-panel p,
.next-steps-panel li,
.watch-panel,
.watch-panel p,
.watch-panel li {
  color: var(--ink);
}

ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

.breakdown-item { display: flex; align-items: center; justify-content: flex-start; gap: 6px; }
.breakdown-label { display: inline-flex; align-items: center; gap: 6px; }
.breakdown-score { color: var(--ink-soft); font-size: 0.92rem; margin-left: 0; min-width: 52px; text-align: left; }
.breakdown-context { margin-top: 12px; }

.priority-label { font-weight: 700; }
.next-steps-panel { margin-top: 12px; }
.watch-panel { margin-top: 12px; }

.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-soft);
  cursor: help;
  position: relative;
}
.tip[data-tip]:hover::after,
.tip[data-tip]:focus::after {
  content: attr(data-tip);
  position: absolute;
  left: 18px;
  top: -6px;
  width: 240px;
  background: #16353d;
  color: #fff;
  border-radius: var(--radius-sharp);
  padding: 8px;
  font-size: 12px;
  line-height: 1.35;
  z-index: 10;
}

.share-panel { margin-top: 12px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-post {
  margin: 8px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  background: #fff;
}
.sample-post img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .steps-grid,
  .grid,
  .breakdowns,
  .metric-cards,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .tip[data-tip]:hover::after,
  .tip[data-tip]:focus::after {
    left: 0;
    top: 20px;
    width: 200px;
  }
}




.cta-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  padding: 14px;
}

.cta-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sharp);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.consultation-card {
  background: var(--primary);
  border-color: var(--primary);
}

.consultation-card h4,
.consultation-card p {
  color: #fff;
}

.consultation-btn {
  background: #fff;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
