/* AestheticFont shared design system — loaded on every page */

:root {
  --bg: #fffafd;
  --surface: #ffffff;
  --surface-2: #fff5fa;
  --surface-3: #f9f6fb;
  --text: #241a25;
  --muted: #716775;
  --line: #eadfe8;
  --primary: #9f3f78;
  --primary-strong: #7d285d;
  --accent: #d9609f;
  --accent-2: #8e66d8;
  --success: #34785d;
  --shadow-sm: 0 10px 30px rgba(85, 45, 72, .08);
  --shadow-lg: 0 30px 80px rgba(85, 45, 72, .14);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 72px;
}

[data-theme="dark"] {
  --bg: #130f16;
  --surface: #1b151e;
  --surface-2: #241a24;
  --surface-3: #19151d;
  --text: #fbf4fa;
  --muted: #c5b8c4;
  --line: #3a2e3a;
  --primary: #e385ba;
  --primary-strong: #f1a4cf;
  --accent: #e885bd;
  --accent-2: #b99aee;
  --success: #7dc7a4;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .22);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, textarea {
  font: inherit;
}

a {
  color: inherit;
}

img, svg {
  display: block;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-140%);
  transition: transform .2s ease;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 30px rgba(70, 40, 60, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px rgba(159,63,120,.22);
  font-size: 13px;
  letter-spacing: -.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button, .menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-moon {
  display: none !important;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block !important;
}

.menu-button {
  display: none;
  padding: 9px;
}

.menu-button span:not(.sr-only) {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
  margin: 2px 0;
}

.mobile-menu {
  position: absolute;
  top: calc(var(--header-height) - 1px);
  left: 16px;
  right: 16px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.mobile-menu a {
  display: block;
  padding: 11px 12px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 650;
}

.mobile-menu a:hover {
  background: var(--surface-2);
}

.eyebrow, .kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  letter-spacing: .04em;
  text-transform: none;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 14%, transparent);
}

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

/* Shared typography */

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

h1 {
  margin: 20px 0 22px;
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

h2, h3 {
  line-height: 1.12;
}

.gradient-text {
  background: linear-gradient(110deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 760;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.button-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--text) 14%, transparent);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.trust-row svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--success);
  stroke-width: 2.2;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
  opacity: .6;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -90px;
  background: radial-gradient(circle, rgba(235,143,193,.22), rgba(235,143,193,0) 70%);
}

.hero-glow-two {
  width: 360px;
  height: 360px;
  left: -100px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(163,129,230,.16), rgba(163,129,230,0) 70%);
}

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

.section-heading > div:first-child {
  max-width: 720px;
}

.section-heading h2, .styles-copy h2, .prose-grid h2, .final-cta h2, .faq-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.section-heading > p, .section-heading > div + p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.centered {
  display: block;
  text-align: center;
  margin-inline: auto;
}

.centered p:last-child {
  margin: 14px auto 0;
}

.narrow {
  max-width: 720px;
}

.clear-button {
  position: absolute;
  top: 11px;
  right: 11px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-3);
  color: var(--muted);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-weight: 800;
}

.text-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-3);
  color: var(--text);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.copy-button:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
}

.tool-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--primary);
  font-size: 14px;
  font-weight: 850;
}

.styles-section {
  background: var(--surface-3);
  border-block: 1px solid var(--line);
}

.styles-copy > p:not(.kicker) {
  margin: 18px 0;
  color: var(--muted);
}

.prose-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 70px;
  align-items: start;
}

.prose-grid article p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.info-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--primary);
}

.info-card h3 {
  margin: 22px 0 7px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-section {
  padding-top: 66px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 70px;
  align-items: start;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 19px 40px 19px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 400;
}

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

.faq-list p {
  margin: -6px 0 18px;
  padding-right: 40px;
  color: var(--muted);
  font-size: 13px;
}

.final-cta {
  padding: 20px 0 86px;
}

.final-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8d9e9, #e4dafa);
  color: #342235;
}

.final-cta p {
  margin: 10px 0 0;
  opacity: .72;
}

.final-cta .kicker {
  color: #7f315f;
}

.final-cta .button-primary {
  background: #2d202e;
  color: #fff8fc;
  white-space: nowrap;
}

.site-footer {
  padding: 58px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--surface-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-grid > div p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid nav strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.footer-grid nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}

.footer-grid nav a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 800;
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}

.toast.show {
  transform: translate(-50%,0);
  opacity: 1;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .hero-copy .eyebrow {
    margin-inline: auto;
  }
  .hero-lead {
    margin-inline: auto;
  }
  .hero-actions, .trust-row {
    justify-content: center;
  }
  .styles-grid, .prose-grid, .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .final-cta-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 64px;
  }
  .container {
    width: min(calc(100% - 24px), var(--container));
  }
  .brand {
    font-size: 14px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .icon-button, .menu-button {
    width: 39px;
    height: 39px;
  }
  .mobile-menu {
    left: 12px;
    right: 12px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .button {
    width: 100%;
  }
  .final-cta {
    padding-bottom: 62px;
  }
  .final-cta-inner {
    padding: 28px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }
  .footer-grid > div {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

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

/* Shared layout helpers */

.section {
  padding: 86px 0;
}

.explainer {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.noscript {
  padding: 16px 24px;
  margin: 0;
  background: #fff2d8;
  color: #624b1b;
}

[data-theme="dark"] .noscript {
  background: #332815;
  color: #f2dba3;
}

/* ---------- Shared internal-page components ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs [aria-hidden="true"] {
  opacity: .55;
}

.about-hero, .legal-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 68px;
}

.about-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.about-summary {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.about-summary-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffd8eb, #ddd2fb);
  color: #6f3158;
  font-weight: 900;
}

.about-summary h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  letter-spacing: -.025em;
}

.about-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.about-summary-list, .about-checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.about-summary-list li, .about-checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 13px;
}

.about-summary-list li::before, .about-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}

.about-content {
  padding: 76px 0;
}

.about-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 64px;
  align-items: start;
}

.about-prose h2, .legal-prose h2 {
  margin: 38px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.about-prose h2:first-child, .legal-prose h2:first-child {
  margin-top: 0;
}

.about-prose h3, .legal-prose h3 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
}

.about-prose p, .about-prose li, .legal-prose p, .legal-prose li {
  color: var(--muted);
}

.about-prose a, .legal-prose a {
  color: var(--primary);
}

.about-prose ul, .legal-prose ul, .legal-prose ol {
  padding-left: 1.25rem;
}

.about-principles, .about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 22px;
}

.about-principle, .about-value {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.about-principle h3, .about-value h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.about-principle p, .about-value p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.about-disclosure {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
}

.legal-updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legal-content {
  padding: 62px 0 82px;
}

.legal-content .about-content-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.legal-nav strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}

.legal-nav a:hover {
  color: var(--primary);
}

.legal-prose section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.legal-prose .notice, .privacy-notice {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, border-color .2s ease, background .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  background: var(--surface-2);
}

.back-to-top:active {
  transform: translateY(1px) scale(.97);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .about-hero-grid, .about-content-grid, .legal-content .about-content-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .legal-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .about-hero, .legal-hero {
    padding: 32px 0 48px;
  }
  .about-content, .legal-content {
    padding: 52px 0 64px;
  }
  .about-principles, .about-values {
    grid-template-columns: 1fr;
  }
  .about-summary {
    padding: 20px;
    border-radius: 22px;
  }
  .back-to-top {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}
