:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --surface-muted: #eef3f9;
  --text: #132238;
  --text-soft: #53657d;
  --line: rgba(19, 34, 56, 0.1);
  --line-strong: rgba(19, 34, 56, 0.16);
  --primary: #1769e0;
  --primary-strong: #0f56be;
  --primary-soft: rgba(23, 105, 224, 0.12);
  --success: #0f9f6e;
  --shadow: 0 24px 70px rgba(21, 39, 66, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(23, 105, 224, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 159, 110, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 48%, #eef4fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 255, 0.7);
  border-bottom: 1px solid rgba(19, 34, 56, 0.06);
}

.nav-row,
.footer-row,
.hero-grid,
.preview-section,
.cta-panel,
.resume-card-body,
.resume-columns {
  display: flex;
  gap: 1.5rem;
}

.nav-row,
.footer-row {
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #46a1ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-text {
  font-size: 1.05rem;
}

.nav-links,
.footer-links,
.hero-actions,
.hero-highlights,
.tag-list,
.skill-stack,
.cta-actions {
  display: flex;
  gap: 1rem;
}

.nav-links,
.footer-links {
  align-items: center;
}

.nav-links a,
.footer-links a {
  color: var(--text-soft);
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.support-link:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1e84ff);
  box-shadow: 0 18px 38px rgba(23, 105, 224, 0.25);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--primary-strong), #1c74de);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.button-secondary:hover,
.button-ghost:hover {
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.08);
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1rem;
}

.hero-section,
.section {
  padding: 5rem 0;
}

.hero-section {
  padding-top: 4.5rem;
}

.hero-grid,
.preview-section,
.cta-panel,
.resume-card-body,
.resume-columns {
  align-items: center;
}

.hero-grid > *,
.preview-section > * {
  flex: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.05em;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  max-width: 12ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
  max-width: 14ch;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 60ch;
  font-size: 1.07rem;
}

.hero-actions {
  margin: 2rem 0 1.4rem;
  flex-wrap: wrap;
}

.hero-highlights,
.tag-list,
.skill-stack {
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li,
.tag-list span,
.skill-stack span,
.match-pill,
.status-chip {
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-panel,
.resume-card,
.panel-window,
.info-card,
.feature-card,
.cta-panel,
.legal-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel-window,
.resume-card,
.cta-panel,
.legal-card {
  border-radius: var(--radius-xl);
}

.hero-panel {
  border-radius: 2rem;
  padding: 1rem;
}

.panel-window {
  overflow: hidden;
}

.window-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 249, 253, 0.9);
}

.window-top span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: #d1dae7;
}

.resume-preview,
.resume-card {
  padding: 1.4rem;
}

.resume-header,
.resume-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.resume-name {
  margin-bottom: 0.2rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

.resume-role,
.resume-card-head p {
  margin-bottom: 0;
}

.match-pill {
  color: var(--success);
  background: rgba(15, 159, 110, 0.1);
}

.resume-columns {
  margin-top: 1.5rem;
}

.resume-main {
  flex: 1.45;
}

.resume-side {
  flex: 0.9;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
}

.preview-block + .preview-block {
  margin-top: 1rem;
}

.preview-label {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-line {
  width: 100%;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 105, 224, 0.14), rgba(19, 34, 56, 0.07));
}

.preview-line + .preview-line {
  margin-top: 0.65rem;
}

.preview-line-strong {
  width: 84%;
}

.preview-line-short {
  width: 62%;
}

.section-heading {
  margin-bottom: 2.25rem;
}

.section-heading p:last-child,
.preview-copy p:last-child {
  max-width: 56ch;
}

.steps-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.features-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.feature-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.section-muted {
  background: rgba(255, 255, 255, 0.38);
  border-block: 1px solid rgba(19, 34, 56, 0.06);
}

.resume-card {
  flex: 1;
}

.status-chip {
  color: var(--primary);
  background: rgba(23, 105, 224, 0.1);
}

.resume-card-body {
  align-items: flex-start;
  margin-top: 1.5rem;
}

.card-column {
  flex: 0.9;
}

.card-column-wide {
  flex: 1.4;
}

.card-gap {
  margin-top: 1.5rem;
}

.cta-section {
  padding-top: 1rem;
}

.cta-panel {
  justify-content: space-between;
  padding: 2rem;
}

.cta-panel h2 {
  max-width: 12ch;
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-copy {
  margin-bottom: 0;
  color: var(--text-soft);
}

.legal-main {
  padding: 4rem 0 5rem;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-card h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.legal-meta {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.legal-card ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.legal-card li + li {
  margin-top: 0.55rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .preview-section,
  .cta-panel,
  .resume-card-body,
  .resume-columns,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav-row {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
  }

  .hero-section,
  .section,
  .legal-main {
    padding: 3.5rem 0;
  }

  .hero-panel,
  .resume-card,
  .cta-panel,
  .legal-card,
  .info-card,
  .feature-card {
    padding: 1.25rem;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions,
  .cta-actions,
  .footer-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-row {
    gap: 1rem;
  }
}
