@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/fonts/cormorant.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/fonts/cormorant-italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
  font-style: italic;
}
:root {
  color-scheme: light;
  --background: #fff8fa;
  --paper: #fffdfd;
  --ink: #261b27;
  --muted: #695764;
  --accent: #902d55;
  --accent-dark: #732042;
  --tint: #fae8ee;
  --line: #e8d5de;
  --soft-line: #f0e1e7;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: Cormorant, Georgia, serif;
  --gutter: clamp(16px, 5vw, 68px);
  --corner: 16px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--background);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
main { min-height: 60vh; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; }
img { display: block; max-width: 100%; object-fit: cover; }
.shell { width: min(100% - var(--gutter) * 2, 1180px); margin-inline: auto; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px;
  background: var(--paper); border: 1px solid var(--accent);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.topbar {
  border-bottom: 1px solid var(--soft-line);
  background: var(--background);
}
.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px;
  flex: none; display: grid; place-items: center;
  background: var(--tint); color: var(--accent);
  border-radius: 11px;
}
.brand-mark .icon { width: 21px; height: 21px; }
.top-link { font-size: 14px; color: var(--muted); font-weight: 650; text-decoration: none; }
.top-link:hover { color: var(--accent); }
.icon {
  display: inline-block;
  width: 19px; height: 19px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
}
.i-heart { --mask: url("assets/icons/heart-straight.svg"); }
.i-sparkle { --mask: url("assets/icons/sparkle.svg"); }
.i-right { --mask: url("assets/icons/arrow-right.svg"); }
.i-left { --mask: url("assets/icons/arrow-left.svg"); }
.i-check { --mask: url("assets/icons/check.svg"); }
.i-download { --mask: url("assets/icons/download-simple.svg"); }
.i-share { --mask: url("assets/icons/share-network.svg"); }
.i-link { --mask: url("assets/icons/link-simple.svg"); }
.i-reset { --mask: url("assets/icons/arrow-counter-clockwise.svg"); }
.i-image { --mask: url("assets/icons/image.svg"); }
.i-down { --mask: url("assets/icons/caret-down.svg"); }
.i-x { --mask: url("assets/icons/x.svg"); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  min-height: 620px;
  padding-block: clamp(44px, 8vw, 104px);
}
.eyebrow {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent);
  font-size: 14px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow .icon { width: 18px; height: 18px; }
.hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(72px, 8.1vw, 126px);
  line-height: .87;
  letter-spacing: -.063em;
}
.hero h1 em { color: var(--accent); font-weight: 600; line-height: 1.05; }
.hero-deck { max-width: 33ch; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.start-options { border: 0; padding: 0; margin: 29px 0 0; min-width: 0; }
.start-options legend { padding: 0; margin: 0 0 11px; font-weight: 700; font-size: 15px; }
.start-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 378px; }
.button {
  min-height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.button:active:not(:disabled) { transform: translateY(1px); }
.button-primary { color: white; background: var(--accent); }
.button-primary:hover:not(:disabled) { background: var(--accent-dark); }
.button-secondary { color: var(--accent); background: var(--paper); border-color: var(--line); }
.button-secondary:hover:not(:disabled) { border-color: var(--accent); background: var(--tint); }
.button-quiet { color: var(--ink); background: transparent; border-color: var(--line); }
.button-quiet:hover:not(:disabled) { background: var(--tint); border-color: var(--accent); }
.start-buttons .button { justify-content: space-between; padding-inline: clamp(12px, 2vw, 18px); min-height: 53px; }
.text-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 4px 0;
  color: var(--accent); font-size: 14px; font-weight: 700;
  text-decoration: underline; text-underline-offset: .22em;
}
.text-button:hover { color: var(--accent-dark); }
.resume-button { margin-top: 11px; }
.hero-meta { margin-top: 19px; color: var(--muted); font-size: 14px; font-weight: 550; }
.hero-meta span { display: inline-block; margin-inline: 5px; color: var(--accent); }
.hero-portraits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, 1vw, 13px);
  position: relative;
  isolation: isolate;
  padding: 16px 0 24px;
}
.hero-portraits::before {
  content: ""; position: absolute; z-index: -1; inset: 10% 5%;
  border-radius: 50%; background: var(--tint);
}
.portrait-strip { display: grid; gap: clamp(7px, 1vw, 13px); }
.portrait-strip:nth-child(2) { transform: translateY(23px); }
.portrait-strip:nth-child(3) { transform: translateY(-13px); }
.portrait-strip img {
  width: 100%; height: auto; aspect-ratio: 1 / 1.16;
  border-radius: 48% 48% 14px 14px / 24% 24% 14px 14px;
  object-position: center 46%;
  background: var(--tint);
}
.portrait-strip:nth-child(2) img:nth-child(2),
.portrait-strip:nth-child(1) img:nth-child(2) { border-radius: 15px 15px 45% 45% / 15px 15px 23% 23%; }

.how-section { border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); scroll-margin-top: 22px; }
.how-section h2, .faq-section h2 { font-size: clamp(41px, 5vw, 62px); line-height: .96; letter-spacing: -.041em; }
.steps {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steps li { padding: 0 clamp(18px, 4vw, 50px) 0 0; }
.steps li + li { padding-inline-start: clamp(18px, 4vw, 50px); border-left: 1px solid var(--line); }
.step-number { font-weight: 700; color: var(--accent); font-size: 14px; }
.steps h3 { margin-top: 8px; font-size: 19px; letter-spacing: -.024em; }
.steps p, .faq-list p { margin-top: 7px; color: var(--muted); line-height: 1.55; }
.faq-section {
  display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 32px;
  border-top: 1px solid var(--line); padding-block: clamp(38px, 6vw, 68px);
}
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 15px; }
.faq-list details:first-child { padding-top: 5px; }
.faq-list details p { max-width: 52ch; padding-right: 12px; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--accent); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.footer { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.noscript { padding: 20px; color: var(--accent); }

.dialog {
  width: min(calc(100% - 28px), 490px);
  max-height: calc(100dvh - 24px);
  padding: clamp(19px, 4vw, 28px);
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--paper); color: var(--ink);
}
.dialog::backdrop { background: rgb(38 27 39 / .46); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog h2 { font-size: 42px; line-height: 1; letter-spacing: -.04em; }
.dialog p { color: var(--muted); margin: 12px 0 16px; line-height: 1.5; }
.dialog label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.dialog input { width: 100%; background: var(--background); color: var(--ink); border: 1px solid var(--line); padding: 10px; border-radius: 8px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.icon-button {
  display: grid; place-items: center; color: var(--accent); background: var(--tint);
  width: 44px; height: 44px; border: 0; border-radius: 11px;
}
.toast {
  position: fixed; z-index: 10; right: 18px; bottom: 18px;
  max-width: min(440px, calc(100vw - 36px)); padding: 12px 16px;
  color: white; background: var(--ink); font-size: 15px; border-radius: 10px;
  box-shadow: 0 8px 24px rgb(38 27 39 / .2);
}
.dialog .dialog-status { color: var(--accent); margin-bottom: 0; font-size: 14px; }
@media (max-width: 760px) {
  .topbar-inner { min-height: 59px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: auto; padding-block: 35px 25px; }
  .hero h1 { font-size: clamp(67px, 13.5vw, 98px); }
  .hero-portraits { max-width: 540px; padding-block: 16px 18px; }
  .portrait-strip img { aspect-ratio: 1 / .95; }
  .portrait-strip:nth-child(2) { transform: translateY(10px); }
  .portrait-strip:nth-child(3) { transform: translateY(-6px); }
  .steps { grid-template-columns: minmax(0, 1fr); margin-top: 21px; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 7px; padding: 12px 0 15px; align-items: baseline; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-inline-start: 0; }
  .steps h3, .steps p { margin-top: 0; }
  .steps p { grid-column: 2; }
  .faq-section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
