@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --paper: #f8f5ef;
  --ink: #25241f;
  --muted: #716e67;
  --orange: #f27852;
  --orange-deep: #d95c39;
  --line: #e8e3da;
  --green: #c9d7ac;
  --lilac: #d7c9e8;
  --serif: Georgia, "Times New Roman", serif;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

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

.site-header {
  height: 88px;
  padding: 0 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(37, 36, 31, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-mark {
  width: 25px;
  height: 25px;
  position: relative;
  display: inline-block;
  transform: rotate(-35deg);
}

.brand-mark span {
  position: absolute;
  width: 11px;
  height: 17px;
  border-radius: 100% 100% 45% 45%;
  background: var(--orange);
  top: 1px;
  left: 7px;
  transform-origin: 50% 12px;
}

.brand-mark span:nth-child(2) {
  transform: rotate(120deg);
  background: #d6a8be;
}

.brand-mark span:nth-child(3) {
  transform: rotate(240deg);
  background: #bdc995;
}

.main-nav {
  display: flex;
  gap: 38px;
  margin-left: 66px;
  color: #5f5c55;
  font-size: 13px;
}

.main-nav a,
.header-cta {
  transition: color 160ms ease;
}

.main-nav a:hover,
.header-cta:hover {
  color: var(--orange-deep);
}

.header-cta {
  font-size: 13px;
  font-weight: 700;
}

.header-cta span {
  color: var(--orange-deep);
  padding-left: 5px;
}

.hero {
  min-height: 590px;
  padding: 72px 11.3% 74px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 6.2%;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  max-width: 510px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #757067;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.eyebrow-dot {
  height: 7px;
  width: 7px;
  background: var(--orange);
  border-radius: 50%;
}

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

h1,
h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: -4.2px;
}

h1 {
  font-size: clamp(56px, 6.4vw, 82px);
  line-height: 0.99;
  margin: 27px 0 23px;
}

h1 span,
.section-heading h2 span,
.closing-cta h2 span {
  color: var(--orange-deep);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -4px;
}

.hero-description {
  max-width: 405px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 26px;
}

.hero-description em {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 21px;
}

.button {
  min-height: 49px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: white;
  background: var(--ink);
}

.button-primary:hover {
  background: #444139;
}

.button-primary span,
.button-light span {
  color: #ff9b79;
  font-size: 16px;
}

.time-note {
  color: #77736b;
  font-size: 11px;
}

.time-note span {
  color: var(--orange-deep);
  padding-right: 4px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 42px;
}

.avatar-stack {
  display: flex;
  padding-left: 2px;
}

.avatar {
  width: 27px;
  height: 27px;
  margin-left: -3px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
}

.avatar-one {
  background: #efc4ac;
}

.avatar-two {
  background: #c9d0ac;
}

.avatar-three {
  background: #d4bfd8;
}

.avatar-four {
  background: #eee8dc;
  color: #77736b;
}

.social-proof p {
  margin: 0;
  color: #827e75;
  font-size: 10px;
  line-height: 1.6;
}

.social-proof strong {
  color: #45433d;
  font-weight: 600;
}

.hero-art {
  height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: #f1e4d2;
  opacity: 0.75;
}

.hero-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 225px;
  height: 225px;
  border: 1px solid rgba(217, 92, 57, 0.2);
  border-radius: 50%;
}

.art-orbit {
  position: absolute;
  width: 390px;
  height: 270px;
  border: 1px solid rgba(217, 92, 57, 0.18);
  border-radius: 50%;
  transform: rotate(-34deg);
}

.orbit-two {
  width: 300px;
  height: 390px;
  transform: rotate(38deg);
  border-color: rgba(87, 104, 66, 0.2);
}

.flower {
  width: 200px;
  height: 200px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.petal {
  width: 78px;
  height: 104px;
  position: absolute;
  left: 61px;
  top: 0;
  border-radius: 52% 52% 48% 48%;
  transform-origin: 50% 100px;
  background: #ed8260;
}

.petal-two {
  transform: rotate(72deg);
  background: #eaaa72;
}

.petal-three {
  transform: rotate(144deg);
  background: #d98173;
}

.petal-four {
  transform: rotate(216deg);
  background: #b5bd84;
}

.petal-five {
  transform: rotate(288deg);
  background: #d7a6a8;
}

.flower-center {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 76px;
  left: 76px;
  border-radius: 50%;
  background: #f6d58b;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.16);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(37, 36, 31, 0.06);
  border-radius: 7px;
  background: rgba(255, 254, 250, 0.95);
  box-shadow: 0 10px 30px rgba(59, 44, 27, 0.09);
}

.card-top {
  top: 57px;
  right: -4px;
}

.card-bottom {
  bottom: 57px;
  left: -10px;
}

.card-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
}

.icon-sparkle {
  color: #b75a3d;
  background: #f8e1d5;
}

.icon-heart {
  color: #76618a;
  background: #eee7f2;
  font-size: 21px;
}

.float-card strong,
.float-card small {
  display: block;
  white-space: nowrap;
}

.float-card strong {
  font-size: 10px;
  font-weight: 700;
}

.float-card small {
  margin-top: 4px;
  color: #868178;
  font-size: 9px;
}

.art-caption {
  position: absolute;
  right: 11px;
  bottom: 20px;
  color: #858076;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.art-caption span {
  color: var(--orange-deep);
  font-family: "DM Sans", sans-serif;
  font-style: normal;
}

.hero-sunburst {
  position: absolute;
  top: 51px;
  right: 6.5%;
  color: #d8c68e;
  font-size: 27px;
}

.intro-strip {
  min-height: 87px;
  padding: 20px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f3efe7;
}

.intro-strip p {
  margin: 0;
  color: #827d73;
  font-size: 12px;
}

.intro-strip p span {
  color: #34322d;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.strip-star {
  color: var(--orange-deep);
  font-size: 18px;
}

.section-wrap {
  max-width: 1180px;
  padding: 100px 42px 93px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 36px;
}

.section-heading h2,
.closing-cta h2 {
  margin: 21px 0 0;
  font-size: 45px;
  line-height: 1.12;
  letter-spacing: -2.4px;
}

.section-heading h2 span,
.closing-cta h2 span {
  letter-spacing: -2px;
}

.section-heading > p {
  max-width: 325px;
  margin: 0 4px 6px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

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

.personality-card {
  min-height: 273px;
  padding: 23px 24px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.card-peach {
  background: #f1d7c8;
}

.card-lilac {
  background: #e4dced;
}

.card-green {
  background: #dfe5ce;
}

.personality-number {
  color: rgba(37, 36, 31, 0.63);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.personality-shape {
  height: 104px;
  display: grid;
  place-items: center;
  font-size: 72px;
  line-height: 1;
}

.shape-spark {
  color: #df7854;
}

.shape-anchor {
  color: #897aa2;
  font-size: 83px;
}

.shape-wildcard {
  color: #80905a;
  transform: rotate(17deg);
}

.personality-card h3 {
  margin: 4px 0 6px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.personality-card p {
  max-width: 245px;
  margin: 0;
  color: #625f57;
  font-size: 11px;
  line-height: 1.65;
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 17px;
}

.section-footnote {
  margin: 24px 0 0;
  color: #807b72;
  text-align: center;
  font-size: 10px;
}

.section-footnote span {
  color: var(--orange-deep);
  padding-right: 5px;
}

.closing-cta {
  min-height: 355px;
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
  color: #faf6ee;
  text-align: center;
  background: #33352e;
}

.closing-cta::before,
.closing-cta::after {
  content: "";
  width: 360px;
  height: 360px;
  position: absolute;
  top: 0;
  border: 1px solid rgba(238, 212, 164, 0.15);
  border-radius: 50%;
}

.closing-cta::before {
  left: -180px;
}

.closing-cta::after {
  right: -180px;
}

.closing-cta .eyebrow {
  justify-content: center;
  color: #c7c0af;
}

.closing-spark {
  position: absolute;
  top: 63px;
  right: calc(50% - 250px);
  color: #d9b87b;
  font-size: 22px;
}

.closing-cta h2 {
  position: relative;
  margin: 19px 0 23px;
  font-size: 43px;
}

.closing-cta h2 span {
  color: #e4a17c;
}

.button-light {
  min-height: 46px;
  color: var(--ink);
  background: #f6f1e7;
}

.button-light:hover {
  background: white;
}

.button-light span {
  color: var(--orange-deep);
}

.closing-note {
  margin: 14px 0 0;
  color: #b8b3a8;
  font-size: 10px;
}

.quiz-section {
  padding: 60px 7%;
  scroll-margin-top: 20px;
  background: #f1ece3;
}

.quiz-section[hidden] {
  display: none;
}

.quiz-shell {
  width: min(100%, 700px);
  min-height: 490px;
  padding: 28px clamp(22px, 6vw, 64px) 42px;
  margin: 0 auto;
  border: 1px solid #e8e1d6;
  border-radius: 7px;
  background: #fcfaf6;
  box-shadow: 0 18px 55px rgba(59, 44, 27, 0.07);
}

.quiz-topline,
.quiz-progress-copy,
.quiz-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-topline {
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.quiz-brand {
  font-size: 15px;
}

.quiz-brand .brand-mark {
  transform: scale(0.8) rotate(-35deg);
}

.quiz-time {
  color: #817c73;
  font-size: 10px;
}

.quiz-time span {
  color: var(--orange-deep);
}

.quiz-progress {
  margin-top: 25px;
}

.quiz-progress-copy {
  margin-bottom: 9px;
  color: #77736b;
  font-size: 10px;
}

.progress-track,
.score-track {
  overflow: hidden;
  border-radius: 99px;
  background: #eee9df;
}

.progress-track {
  height: 4px;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--orange-deep);
  transition: width 250ms ease;
}

.quiz-kicker {
  margin: 32px 0 10px;
  color: #837e74;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.quiz-question {
  margin: 0 0 23px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(23px, 4vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -1.3px;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-option {
  min-height: 58px;
  padding: 10px 16px 10px 12px;
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8e2d8;
  border-radius: 4px;
  color: #45433d;
  background: #fffefa;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.quiz-option:hover {
  transform: translateY(-1px);
  border-color: #d6aa94;
}

.quiz-option.is-selected {
  border-color: var(--orange-deep);
  background: #fbf1eb;
}

.option-letter {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #77736b;
  background: #f2eee7;
  font-size: 10px;
  font-weight: 700;
}

.is-selected .option-letter {
  color: white;
  background: var(--orange-deep);
}

.option-check {
  color: var(--orange-deep);
  opacity: 0;
}

.is-selected .option-check {
  opacity: 1;
}

.quiz-controls {
  margin-top: 23px;
}

.quiz-back,
.result-home-link {
  padding: 8px 0;
  border: 0;
  color: #706c64;
  background: none;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.quiz-back:disabled {
  cursor: default;
  opacity: 0.42;
}

.quiz-next {
  min-height: 43px;
  border: 0;
  cursor: pointer;
}

.quiz-next:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.quiz-error,
.quiz-error-panel > p:not(.quiz-kicker) {
  color: #a33f32;
  font-size: 12px;
  line-height: 1.6;
}

.quiz-error {
  margin: 14px 0 0;
}

.quiz-loading {
  padding: 90px 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.quiz-error-panel {
  padding: 55px 0;
}

.submit-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.result-header {
  height: 78px;
}

.result-main {
  min-height: calc(100vh - 161px);
  padding: 55px 20px 70px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(241, 228, 210, 0.8), transparent 56%),
    var(--paper);
}

.result-card {
  width: min(100%, 700px);
  padding: 42px clamp(24px, 7vw, 76px) 35px;
  margin: 0 auto;
  border: 1px solid rgba(37, 36, 31, 0.08);
  border-radius: 6px;
  background: rgba(255, 254, 250, 0.88);
  box-shadow: 0 14px 50px rgba(59, 44, 27, 0.06);
}

.result-card > .eyebrow {
  justify-content: center;
}

.result-flower {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 20px auto 9px;
  border-radius: 50%;
  color: var(--orange-deep);
  background: #f4e1d5;
  font-size: 39px;
  animation: float 5s ease-in-out infinite;
}

.result-anchor .result-flower {
  color: #76618a;
  background: #eee7f2;
}

.result-wildcard .result-flower {
  color: #718149;
  background: #e8ecd9;
}

.result-title {
  margin: 0 0 6px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 7vw, 54px);
  font-weight: 600;
  letter-spacing: -2.7px;
  text-align: center;
}

.result-tagline {
  margin: 0 0 17px;
  color: var(--orange-deep);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  text-align: center;
}

.result-description {
  max-width: 485px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.result-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.result-details > div {
  padding: 17px;
  border-radius: 4px;
  background: #f5f0e8;
}

.result-label {
  color: #827d73;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.result-details p {
  margin: 8px 0 0;
  color: #48453e;
  font-size: 11px;
  line-height: 1.65;
}

.result-mix {
  margin-top: 28px;
}

.result-mix-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
}

.result-mix-heading span + span {
  color: #888278;
  font-size: 9px;
  font-weight: 400;
}

.score-row {
  display: grid;
  grid-template-columns: 91px 1fr 35px;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: #625f57;
  font-size: 10px;
}

.score-track {
  height: 7px;
}

.score-fill {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #ed9677;
}

.score-anchor {
  background: #a392ba;
}

.score-wildcard {
  background: #9ca876;
}

.score-value {
  color: #77736b;
  text-align: right;
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  margin-top: 29px;
}

.result-actions .button {
  min-height: 44px;
}

.result-disclaimer {
  max-width: 465px;
  margin: 25px auto 0;
  color: #8b867d;
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}

.result-empty {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.result-empty .button {
  margin-top: 22px;
}

.site-footer {
  min-height: 83px;
  padding: 18px 7.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #817c73;
  font-size: 10px;
}

.footer-brand {
  color: var(--ink);
  font-size: 16px;
}

.footer-brand .brand-mark {
  transform: scale(0.8) rotate(-35deg);
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 5%;
  }

  .hero {
    padding-right: 7%;
    padding-left: 7%;
    gap: 2%;
  }

  .hero-art {
    transform: scale(0.86);
  }

  .section-wrap {
    padding-right: 5%;
    padding-left: 5%;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 70px;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    font-size: 11px;
  }

  .hero {
    padding: 58px 7% 44px;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  h1 {
    font-size: clamp(57px, 13vw, 76px);
  }

  .hero-art {
    height: 345px;
    margin: 0 -26px;
    transform: scale(0.82);
  }

  .hero-sunburst {
    top: 40px;
    right: 9%;
  }

  .social-proof {
    margin-top: 28px;
  }

  .intro-strip {
    min-height: 105px;
    padding: 17px 8%;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
  }

  .intro-strip p {
    font-size: 10px;
  }

  .intro-strip p span {
    font-size: 14px;
  }

  .strip-star {
    font-size: 15px;
  }

  .section-wrap {
    padding: 75px 7% 68px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .personality-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .personality-card {
    min-height: 250px;
  }

  .closing-cta {
    min-height: 330px;
    padding-top: 68px;
  }

  .closing-cta h2 {
    font-size: 37px;
  }

  .site-footer {
    padding: 20px 7%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-footer p {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .quiz-section {
    padding: 34px 5%;
  }

  .quiz-shell {
    min-height: 460px;
    padding-top: 21px;
    padding-bottom: 30px;
  }

  .quiz-time {
    font-size: 9px;
  }

  .quiz-option {
    font-size: 11px;
  }

  .result-main {
    padding: 32px 14px 45px;
  }

  .result-card {
    padding-top: 32px;
    padding-bottom: 27px;
  }

  .result-details {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .result-actions {
    flex-direction: column;
    gap: 8px;
  }

  .result-mix-heading {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
