@font-face {
  font-family: "Urbanist";
  src: url("../assets/fonts/Urbanist-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("../assets/fonts/Urbanist-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("../assets/fonts/Urbanist-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2f2735;
  --muted: #736879;
  --cream: #fffaf6;
  --paper: #ffffff;
  --peach: #ff8e76;
  --peach-dark: #e36e59;
  --blush: #ffe5df;
  --lilac: #ddd0f5;
  --purple: #785c9e;
  --mint: #cfe8dc;
  --line: rgba(69, 50, 78, 0.12);
  --shadow: 0 24px 70px rgba(84, 57, 91, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(120, 92, 158, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 55%);
}

a {
  color: inherit;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px 0;
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffb5a6, var(--peach));
  box-shadow: 0 8px 18px rgba(227, 110, 89, 0.2);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  content: "";
}

.brand-mark::before {
  width: 19px;
  height: 19px;
  top: 7px;
  left: 10px;
}

.brand-mark::after {
  width: 27px;
  height: 18px;
  left: 6px;
  bottom: -7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(47, 39, 53, 0.18);
}

.button-primary:hover {
  box-shadow: 0 15px 28px rgba(47, 39, 53, 0.24);
}

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

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  color: white;
  background: var(--ink);
  font-size: 14px;
}

.hero {
  padding: 50px 0 92px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 5px var(--blush);
  content: "";
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero h1 em {
  position: relative;
  color: var(--peach-dark);
  font-style: normal;
}

.hero-copy {
  max-width: 580px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.visual-stage {
  position: relative;
  min-height: 560px;
}

.visual-stage::before,
.visual-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
}

.visual-stage::before {
  width: 370px;
  height: 370px;
  top: 20px;
  right: -80px;
  background: var(--lilac);
}

.visual-stage::after {
  width: 260px;
  height: 260px;
  bottom: 10px;
  left: -20px;
  background: var(--mint);
}

.result-card {
  position: absolute;
  z-index: 2;
  width: min(390px, 86%);
  top: 22px;
  left: 50%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transform: translateX(-50%) rotate(2.5deg);
  backdrop-filter: blur(18px);
}

.portrait {
  position: relative;
  min-height: 425px;
  overflow: hidden;
  border-radius: 25px;
  background:
    radial-gradient(circle at 50% 39%, #fff7ef 0 66px, transparent 67px),
    radial-gradient(circle at 50% 56%, #f7c8b5 0 98px, transparent 99px),
    linear-gradient(145deg, #f9d7cf, #d8c9ed 55%, #bcded0);
}

.portrait::before {
  position: absolute;
  width: 190px;
  height: 230px;
  left: 50%;
  bottom: -110px;
  border: 16px solid rgba(255, 255, 255, 0.8);
  border-radius: 50% 50% 42% 42%;
  background: #f5c2aa;
  content: "";
  transform: translateX(-50%);
}

.portrait::after {
  position: absolute;
  width: 24px;
  height: 9px;
  top: 188px;
  left: 50%;
  border-bottom: 4px solid #9a6256;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.face-details,
.face-details::before,
.face-details::after {
  position: absolute;
  z-index: 2;
  content: "";
}

.face-details {
  width: 12px;
  height: 12px;
  top: 165px;
  left: calc(50% - 30px);
  border-radius: 50%;
  background: #59454c;
  box-shadow: 60px 0 #59454c;
}

.face-details::before {
  width: 78px;
  height: 32px;
  top: -68px;
  left: -3px;
  border-top: 18px solid #694a42;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.face-details::after {
  width: 14px;
  height: 14px;
  top: 44px;
  left: 29px;
  border-radius: 50%;
  background: rgba(255, 135, 126, 0.42);
  box-shadow: -40px -13px 0 3px rgba(255, 135, 126, 0.18), 40px -13px 0 3px rgba(255, 135, 126, 0.18);
}

.result-label {
  position: absolute;
  z-index: 3;
  right: -20px;
  bottom: 42px;
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 30px rgba(47, 39, 53, 0.16);
  font-size: 14px;
  font-weight: 700;
  transform: rotate(-2.5deg);
}

.photo-chip {
  position: absolute;
  z-index: 4;
  width: 112px;
  height: 132px;
  padding: 7px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 16px 35px rgba(47, 39, 53, 0.15);
}

.photo-chip::before {
  display: block;
  height: 100%;
  border-radius: 16px;
  content: "";
}

.photo-one {
  top: 80px;
  left: -5px;
  transform: rotate(-9deg);
}

.photo-one::before {
  background: radial-gradient(circle at 50% 38%, #634941 0 28px, #f3bfa7 29px 43px, transparent 44px), linear-gradient(145deg, #ffd9cb, #cebde5);
}

.photo-two {
  right: -8px;
  bottom: 62px;
  transform: rotate(8deg);
}

.photo-two::before {
  background: radial-gradient(circle at 50% 38%, #c68c64 0 29px, #dda17d 30px 43px, transparent 44px), linear-gradient(145deg, #d0e8dd, #e7d9f5);
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.6);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 670px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.step,
.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
}

.step-number,
.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 15px;
  color: var(--ink);
  background: var(--blush);
  font-size: 16px;
  font-weight: 700;
}

.step:nth-child(2) .step-number,
.feature:nth-child(2) .feature-icon {
  background: var(--lilac);
}

.step:nth-child(3) .step-number,
.feature:nth-child(3) .feature-icon {
  background: var(--mint);
}

.step h3,
.feature h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.step p,
.feature p {
  margin: 0;
  color: var(--muted);
}

.promise {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
  padding: 46px;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.promise h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.promise-copy {
  display: grid;
  gap: 16px;
}

.promise-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.promise-copy strong {
  color: white;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 70px 34px;
  border: 1px solid rgba(227, 110, 89, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffe2db, #eee6fb 58%, #d9eee5);
  text-align: center;
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  content: "";
}

.cta-panel::before {
  top: -110px;
  left: -70px;
}

.cta-panel::after {
  right: -70px;
  bottom: -120px;
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto 16px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--muted);
}

.cta-panel .button {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 11px;
  transform: scale(0.8);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Legal pages */
.legal-hero {
  padding: 62px 0 42px;
  text-align: center;
}

.legal-hero .eyebrow {
  justify-content: center;
}

.legal-hero h1 {
  margin: 0 auto 16px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 760px);
  justify-content: center;
  gap: 48px;
  padding: 22px 0 92px;
}

.legal-toc {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--peach-dark);
}

.legal-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(84, 57, 91, 0.08);
}

.legal-meta {
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.legal-card section {
  scroll-margin-top: 24px;
}

.legal-card section + section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 25px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-card h3 {
  margin: 24px 0 9px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: #5f5664;
}

.legal-card p {
  margin: 0 0 15px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card a {
  color: var(--peach-dark);
  font-weight: 600;
}

.legal-notice {
  margin: 4px 0 32px;
  padding: 18px 20px;
  border: 1px solid rgba(227, 110, 89, 0.24);
  border-radius: 16px;
  color: #624b4b;
  background: #fff3ef;
}

/* Support page */
.support-hero {
  padding: 62px 0 54px;
  text-align: center;
}

.support-hero .eyebrow {
  justify-content: center;
}

.support-hero h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.support-hero > .shell > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
}

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

.support-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.support-card:nth-child(2) {
  background: rgba(255, 242, 239, 0.86);
}

.support-card:nth-child(3) {
  background: rgba(239, 233, 250, 0.82);
}

.support-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 15px;
  background: var(--blush);
  font-weight: 700;
}

.support-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.support-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.support-card a {
  margin-top: auto;
  color: var(--peach-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.support-card a:hover {
  text-decoration: underline;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 28px;
}

.faq-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.faq-intro p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.faq-item summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  width: 28px;
  height: 28px;
  top: 17px;
  right: 18px;
  border-radius: 50%;
  color: var(--purple);
  background: #f1ebfa;
  content: "+";
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(120, 92, 158, 0.25);
  outline-offset: -3px;
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.faq-answer li {
  margin-bottom: 6px;
}

.faq-answer a {
  color: var(--peach-dark);
  font-weight: 600;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 42px 46px;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0 0 9px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.contact-panel p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel .button {
  color: var(--ink);
  background: white;
  box-shadow: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .visual-stage {
    width: min(100%, 560px);
    margin: 0 auto;
  }

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

  .promise {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc a {
    display: inline-block;
    margin-right: 14px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    padding: 16px 0;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    padding: 38px 0 68px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .visual-stage {
    min-height: 460px;
  }

  .result-card {
    width: min(315px, 82%);
  }

  .portrait {
    min-height: 335px;
  }

  .portrait::after {
    top: 158px;
  }

  .face-details {
    top: 137px;
  }

  .photo-chip {
    width: 88px;
    height: 108px;
  }

  .photo-one {
    left: 0;
  }

  .photo-two {
    right: 0;
    bottom: 42px;
  }

  .result-label {
    right: -6px;
    bottom: 24px;
  }

  .section {
    padding: 68px 0;
  }

  .step,
  .feature,
  .promise {
    padding: 24px;
  }

  .cta-panel {
    padding: 54px 22px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding: 44px 0 30px;
  }

  .legal-layout {
    gap: 20px;
    padding-bottom: 68px;
  }

  .legal-toc {
    display: none;
  }

  .support-hero {
    padding: 44px 0 38px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .contact-panel .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
