:root {
  --ink: #101426;
  --ink-soft: #45506a;
  --muted: #69748e;
  --blue: #1846c7;
  --blue-bright: #2455dc;
  --blue-pale: #eaf2ff;
  --mint: #37b989;
  --mint-pale: #e3f7ef;
  --paper: #ffffff;
  --wash: #f6f8fc;
  --line: #dce2ee;
  --shadow: 0 28px 65px rgba(26, 46, 96, 0.15), 0 5px 16px rgba(26, 46, 96, 0.09);
  --page-gutter: clamp(24px, 5vw, 78px);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 102px;
  padding: 18px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  border-radius: 10px;
}

.brand img {
  display: block;
  width: clamp(190px, 18vw, 270px);
  height: auto;
}

.header-link,
.primary-cta,
.site-footer a {
  text-decoration: none;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 800;
}

.header-link svg,
.primary-cta svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.header-link:hover svg,
.header-link:focus-visible svg,
.primary-cta:hover svg,
.primary-cta:focus-visible svg {
  transform: translateX(4px);
}

.header-link:focus-visible,
.brand:focus-visible,
.primary-cta:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(24, 70, 199, 0.28);
  outline-offset: 5px;
}

.hero {
  min-height: calc(100svh - 158px);
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  overflow: hidden;
}

.hero-copy,
.product-stage {
  min-width: 0;
}

.hero-copy {
  padding: clamp(58px, 7vh, 92px) clamp(34px, 6vw, 104px) clamp(58px, 7vh, 92px) var(--page-gutter);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(4rem, 5.6vw, 6.8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-intro {
  max-width: 590px;
  margin: clamp(30px, 4vh, 48px) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 32px;
}

.primary-cta {
  width: fit-content;
  min-height: 62px;
  padding: 0 26px 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 7px;
  box-shadow: 0 13px 30px rgba(24, 70, 199, 0.22);
  font-size: 1.03rem;
  font-weight: 800;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: #103aa9;
  box-shadow: 0 17px 36px rgba(24, 70, 199, 0.28);
  transform: translateY(-2px);
}

.primary-cta:active {
  transform: translateY(0);
}

.trust-list {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  list-style: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-list li + li::before {
  width: 3px;
  height: 3px;
  margin-right: 2px;
  background: #9aa5ba;
  border-radius: 50%;
  content: "";
}

.trust-list svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #64728f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-stage {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 62px clamp(56px, 7vw, 118px) 64px clamp(42px, 5vw, 84px);
  isolation: isolate;
}

.stage-glow {
  position: absolute;
  z-index: -2;
  inset: 7% 7% 7% 2%;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 54%, #edf3ff 100%);
}

.paper-shell {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: min(520px, 100%);
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 350ms cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.cv-paper {
  position: relative;
  z-index: 2;
  min-height: 650px;
  padding: 42px 50px 36px;
  overflow: hidden;
  color: #1d263a;
  background: var(--paper);
  border: 1px solid #e0e5ee;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.cv-header {
  padding-bottom: 20px;
}

.cv-header h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cv-header > p {
  margin: 8px 0 6px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-line {
  color: #6b7385;
  font-size: 0.56rem;
}

.cv-section {
  margin-top: 12px;
}

.cv-section h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #bec6d4;
  color: #263149;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.copy-block {
  position: relative;
  margin: 0 0 11px;
  padding: 8px 10px;
  font-size: 0.61rem;
  line-height: 1.47;
}

.copy-block p {
  margin: 4px 0 0;
}

.copy-block--before {
  color: #465168;
  background: #f5f6f9;
}

.copy-block--after {
  color: #1d3a34;
  background: var(--mint-pale);
}

.copy-label {
  display: inline-block;
  color: #3c506f;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.copy-block--after .copy-label {
  color: #287c62;
}

.success-mark {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mint);
  border-radius: 50%;
}

.success-mark svg,
.status-check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.role-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.57rem;
}

.role-line span {
  color: #6d7587;
  white-space: nowrap;
}

.before-list,
.result-block ul {
  margin: 8px 0 0;
  padding-left: 15px;
  font-size: 0.56rem;
  line-height: 1.5;
}

.result-block {
  margin-top: 12px;
}

.result-block ul {
  margin-top: 5px;
}

.cv-section--education {
  margin-top: 18px;
}

.ai-status {
  position: absolute;
  z-index: 5;
  top: 52px;
  right: -58px;
  min-height: 52px;
  padding: 9px 12px 9px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #313b51;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #d9dfe9;
  border-radius: 999px;
  box-shadow: 0 13px 35px rgba(30, 47, 85, 0.14);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.sparkle {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-check {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mint);
  border-radius: 50%;
}

.corner {
  position: absolute;
  z-index: -1;
  width: 105px;
  height: 105px;
  pointer-events: none;
}

.corner--top {
  top: 42px;
  left: 18px;
  border-top: 13px solid var(--blue);
  border-left: 13px solid var(--blue);
}

.corner--bottom {
  right: 48px;
  bottom: 37px;
  border-right: 13px solid var(--blue);
  border-bottom: 13px solid var(--blue);
}

.margin-note {
  position: absolute;
  z-index: 4;
  color: var(--blue-bright);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.05;
  transform: rotate(-5deg);
}

.margin-note::after {
  position: absolute;
  height: 1px;
  background: var(--blue-bright);
  content: "";
}

.margin-note--one {
  top: 282px;
  right: -62px;
}

.margin-note--one::after {
  width: 48px;
  top: 30px;
  right: 74px;
  transform: rotate(-22deg);
}

.margin-note--two {
  top: 438px;
  left: -73px;
  transform: rotate(-7deg);
}

.margin-note--two::after {
  width: 39px;
  top: 34px;
  left: 56px;
  transform: rotate(25deg);
}

.margin-note--three {
  top: 545px;
  right: -58px;
  transform: rotate(5deg);
}

.margin-note--three::after {
  width: 48px;
  top: 20px;
  right: 70px;
  transform: rotate(-12deg);
}

.proof-sweep {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.72) 49%, transparent 68%);
  transform: translateX(-110%);
  pointer-events: none;
}

.copy-block > :not(.proof-sweep) {
  position: relative;
  z-index: 1;
}

.site-footer {
  min-height: 56px;
  padding: 14px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js.is-ready .reveal--header { transition-delay: 40ms; }
.js.is-ready .reveal--title { transition-delay: 100ms; }
.js.is-ready .reveal--intro { transition-delay: 210ms; }
.js.is-ready .reveal--action { transition-delay: 310ms; }
.js.is-ready .reveal--trust { transition-delay: 400ms; }
.js.is-ready .reveal--stage { transition-delay: 180ms; }
.js.is-ready .reveal--footer { transition-delay: 470ms; }

.js.is-ready .proof-sweep {
  animation: proof-sweep 1150ms 900ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.js.is-ready .proof-sweep--late {
  animation-delay: 1450ms;
}

.js.is-ready .margin-note {
  animation: note-arrive 520ms cubic-bezier(0.2, 0.8, 0.2, 1.15) both;
}

.js.is-ready .margin-note--one { animation-delay: 1450ms; }
.js.is-ready .margin-note--two { animation-delay: 1850ms; }
.js.is-ready .margin-note--three { animation-delay: 2200ms; }

.js.is-ready .ai-status {
  animation: status-arrive 560ms 2450ms cubic-bezier(0.2, 0.8, 0.2, 1.15) both;
}

.js.is-ready .status-check {
  animation: check-settle 520ms 2800ms cubic-bezier(0.2, 0.8, 0.2, 1.2) both;
}

@keyframes proof-sweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@keyframes note-arrive {
  from { opacity: 0; transform: translateY(8px) rotate(-1deg) scale(0.96); }
  to { opacity: 1; }
}

@keyframes status-arrive {
  from { opacity: 0; transform: translateX(14px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes check-settle {
  from { transform: scale(0.55); }
  to { transform: scale(1); }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(330px, 0.85fr) minmax(470px, 1.15fr);
  }

  h1 {
    font-size: clamp(3.6rem, 5.8vw, 5.2rem);
  }

  .product-stage {
    padding-right: 74px;
  }

  .ai-status {
    right: -22px;
  }

  .margin-note--one,
  .margin-note--three {
    right: -28px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 84px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 60px var(--page-gutter) 34px;
  }

  h1 {
    font-size: clamp(3.6rem, 10vw, 6.2rem);
  }

  .hero-intro {
    max-width: 670px;
  }

  .product-stage {
    min-height: 720px;
    padding: 54px clamp(54px, 10vw, 96px) 68px;
  }

  .paper-shell {
    width: min(510px, 88vw);
  }

  .site-footer {
    min-height: 64px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-block: 14px;
  }

  .brand img {
    width: 166px;
  }

  .header-link {
    font-size: 0.84rem;
  }

  .header-link svg {
    width: 17px;
    height: 17px;
  }

  .hero-copy {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.85rem, 12vw, 4.4rem);
    line-height: 0.98;
  }

  .hero-intro {
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .primary-cta {
    width: 100%;
    min-height: 58px;
    padding-inline: 20px;
    font-size: 0.94rem;
  }

  .trust-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .trust-list li + li::before {
    display: none;
  }

  .product-stage {
    min-height: 610px;
    padding: 42px 30px 60px;
  }

  .paper-shell {
    width: 100%;
    max-width: 390px;
  }

  .cv-paper {
    min-height: 530px;
    padding: 31px 30px 27px;
  }

  .cv-header h2 {
    font-size: 1.55rem;
  }

  .cv-section--education {
    display: none;
  }

  .cv-section h3 {
    margin-bottom: 8px;
  }

  .copy-block,
  .before-list,
  .result-block ul {
    font-size: 0.5rem;
  }

  .ai-status {
    top: 28px;
    right: -8px;
    min-height: 43px;
    font-size: 0.73rem;
  }

  .margin-note {
    display: none;
  }

  .corner--top {
    top: 24px;
    left: 12px;
  }

  .corner--bottom {
    right: 16px;
    bottom: 38px;
  }

  .site-footer {
    padding-block: 18px;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js.is-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .paper-shell {
    transform: none !important;
  }
}
