/* hairiinzahia — shared design system (landing, create, legal pages)
   Direction: "candy love letter" — pastel pink, peach and lilac glow, rounded Nunito type,
   handwritten Caveat accents, little heart and sparkle stickers. Cute, but clean. */
:root {
  --bg: #fff6f9; --bg-2: #ffeaf2; --cream: #fff9f3; --surface: #fff;
  --ink: #45142c; --ink-2: #6e3b52; --muted: #94677b;
  --line: #fbdde8; --line-2: #f4c4d6;
  --rose: #e0336f; --rose-2: #c01c58; --rose-soft: #ffe3ee; --rose-line: #ffc2d8; --pink: #ff7aa8;
  --peach: #ffd2b8; --lilac: #e3d4ff; --mint: #d6f5ea;
  --gold: #c98a2b; --gold-light: #ffd27a;
  --wine: #6b1840; --wine-2: #8a1f52; --wine-3: #4a1030;
  --dark: #3d0f27; --dark-2: #5a1c3c; --on-dark: #ffeef5; --on-dark-muted: #f2bfd3;
  --radius: 20px; --radius-lg: 28px;
  --shadow-sm: 0 2px 4px rgba(224, 51, 111, .06), 0 8px 18px -8px rgba(224, 51, 111, .18);
  --shadow: 0 2px 6px rgba(224, 51, 111, .06), 0 24px 44px -22px rgba(224, 51, 111, .38);
  --display: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--display); /* kept so older rules still resolve */
  --script: "Caveat", "Nunito", cursive;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
.i18n-pending body { opacity: 0; }
body { transition: opacity .2s; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--rose-soft); color: var(--rose-2); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; }
.narrow { max-width: 760px; }
.section { padding: 72px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-2); }
.section.cream { background: var(--cream); }
@media (min-width: 900px) { .section { padding: 112px 0; } .section.tight { padding: 80px 0; } .container { padding: 0 32px; } }

/* ---------- type ---------- */
h1, h2, h3, .serif { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 10.5vw, 72px); }
h2 { font-size: clamp(30px, 7vw, 46px); }
h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
h1 em, h2 em, .script { font-family: var(--script); font-style: normal; font-weight: 700; color: var(--rose); font-size: 1.22em; letter-spacing: 0; line-height: .9; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 36em; }
@media (min-width: 900px) { .lead { font-size: 19px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--rose); background: #fff; border: 1.5px solid var(--rose-line); padding: 6px 14px 6px 10px; border-radius: 999px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.eyebrow::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-9 -10 18 18'%3E%3Cpath fill='%23e0336f' d='M0 7.5-7.5 0A5.3 5.3 0 0 1 0-7.5 5.3 5.3 0 0 1 7.5 0Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; }
.price-tag { font-family: var(--display); font-weight: 900; }
.cur { font-family: var(--sans); font-weight: 600; font-size: .8em; margin-left: .04em; }
.price-tag .cur, .amount .cur, .total b .cur { font-size: .7em; font-weight: 900; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament svg { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent; font-size: 17px; font-weight: 800; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, #ff6f9f 0%, var(--rose) 55%, var(--rose-2) 100%); color: #fff; box-shadow: 0 12px 26px -10px rgba(224, 51, 111, .7), inset 0 2px 0 rgba(255, 255, 255, .28), inset 0 -3px 0 rgba(0, 0, 0, .08); }
.btn-primary:hover { box-shadow: 0 16px 32px -10px rgba(224, 51, 111, .85), inset 0 2px 0 rgba(255, 255, 255, .3); transform: translateY(-2px) rotate(-.5deg); }
.btn-dark { background: var(--wine); color: #fff; }
.btn-dark:hover { background: var(--wine-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-2); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { background: var(--rose-soft); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--rose); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--rose-line); transition: border-color .2s; }
.link:hover { border-color: var(--rose); }

/* ---------- candy glow (hero + final) ---------- */
.candy { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, #ffe7f0 0%, #fff0f5 45%, #fff3ea 100%); }
.candy .aurora { position: absolute; inset: -10%; z-index: -2; pointer-events: none; }
.candy .aurora i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .9; will-change: transform; }
.candy .aurora i:nth-child(1) { width: 55vmax; height: 55vmax; left: -15%; top: -20%; background: radial-gradient(closest-side, rgba(255, 122, 168, .55), transparent); animation: drift1 16s ease-in-out infinite alternate; }
.candy .aurora i:nth-child(2) { width: 48vmax; height: 48vmax; right: -15%; top: 5%; background: radial-gradient(closest-side, rgba(208, 180, 255, .6), transparent); animation: drift2 19s ease-in-out infinite alternate; }
.candy .aurora i:nth-child(3) { width: 44vmax; height: 44vmax; left: 20%; bottom: -25%; background: radial-gradient(closest-side, rgba(255, 196, 160, .6), transparent); animation: drift3 22s ease-in-out infinite alternate; }
.candy .aurora i:nth-child(4) { width: 30vmax; height: 30vmax; left: 55%; top: -10%; background: radial-gradient(closest-side, rgba(255, 158, 196, .45), transparent); animation: drift1 25s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(12%, 8%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-14%, 12%) scale(.92); } }
@keyframes drift3 { to { transform: translate(8%, -14%) scale(1.15); } }

/* little stickers: hearts and sparkles that bob gently */
.stickers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stickers svg { position: absolute; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(224, 51, 111, .25)); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(calc(var(--r, 0deg) + 6deg)); } }

/* light aurora for blush sections */
.blush-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blush-glow i { position: absolute; border-radius: 50%; filter: blur(50px); }
.blush-glow i:nth-child(1) { width: 420px; height: 420px; left: -120px; top: -80px; background: rgba(255, 122, 168, .22); }
.blush-glow i:nth-child(2) { width: 380px; height: 380px; right: -100px; bottom: -60px; background: rgba(208, 180, 255, .3); }
.section > .container { z-index: 1; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 240, 246, .8); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s, color .25s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { width: 30px; height: 30px; }
.brand span { font-family: var(--display); font-size: 22px; font-weight: 900; letter-spacing: -.02em; line-height: 1; padding-bottom: 2px; }
.nav { display: none; gap: 28px; margin-left: 40px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--rose); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
@media (min-width: 900px) { .nav { display: flex; } .site-header .bar { height: 72px; } }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang button { border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; color: var(--muted); transition: background-color .2s, color .2s; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--wine); color: #fff; }
.site-footer .lang { background: transparent; border-color: var(--dark-2); }
.site-footer .lang button { color: var(--on-dark-muted); }
.site-footer .lang button[aria-pressed="true"] { background: var(--on-dark); color: var(--dark); }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, #6b1d47 0%, var(--dark) 65%); color: var(--on-dark); padding: 64px 0 32px; --knock: var(--dark); }
.site-footer a { color: var(--on-dark); text-decoration: none; opacity: .86; transition: opacity .2s, color .2s; }
.site-footer a:hover { opacity: 1; color: #fff; }
.site-footer .brand { color: var(--on-dark); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; max-width: 340px; }
.footer-about p { margin-top: 14px; color: var(--on-dark-muted); font-size: 15px; }
.footer-col h4 { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer-meta { grid-column: 1 / -1; display: grid; gap: 22px; }
.pay-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark-muted); }
.pay-badge b { color: var(--on-dark); font-weight: 800; letter-spacing: .01em; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-2); display: grid; gap: 12px; font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom p { max-width: 760px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; }
  .footer-about { grid-column: auto; }
  .footer-meta { grid-column: auto; align-content: start; }
}

/* ---------- cards & lists ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .card { padding: 36px; } }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--rose-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-9 -10 18 18'%3E%3Cpath transform='scale(.62)' fill='%23be185d' d='M0 7.5-7.5 0A5.3 5.3 0 0 1 0-7.5 5.3 5.3 0 0 1 7.5 0Z'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--rose-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--rose-soft) linear-gradient(var(--rose), var(--rose)) center / 11px 1.6px no-repeat; transition: transform .25s var(--ease); }
.faq details:not([open]) summary::after { background-image: linear-gradient(var(--rose), var(--rose)), linear-gradient(var(--rose), var(--rose)); background-size: 11px 1.6px, 1.6px 11px; background-position: center; background-repeat: no-repeat; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 18px; }
.label { font-size: 15px; font-weight: 700; }
.label .opt { font-weight: 500; color: var(--muted); font-size: 13.5px; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font-size: 16px; line-height: 1.4;
  background: var(--cream); border: 1px solid var(--line-2); border-radius: 12px; outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2385666e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.textarea { min-height: 190px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--rose); background-color: #fff; box-shadow: 0 0 0 4px rgba(190, 24, 93, .1); }
.input::placeholder, .textarea::placeholder { color: #b3979f; }
.hint { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2 .field + .field { margin-top: 0; } }
.error-text { color: #b42318; font-size: 14.5px; font-weight: 600; min-height: 1px; }

/* choice chips (theme, language) */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--cream); cursor: pointer; font-size: 15px; font-weight: 600; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.choice i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.choice input:checked + span { border-color: var(--rose); background: var(--rose-soft); box-shadow: inset 0 0 0 1px var(--rose); }
.choice input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- page band (create + legal) ---------- */
.band { position: relative; overflow: clip; background: linear-gradient(180deg, #ffe4ee 0%, var(--bg) 100%); }
.band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 72, 153, .22), transparent); pointer-events: none; }
.band::after { content: ""; position: absolute; width: 420px; height: 420px; left: -180px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 179, 101, .2), transparent); pointer-events: none; }

/* ---------- legal / long-form pages ---------- */
.page-hero { padding: 56px 0 28px; }
.page-hero h1 { font-size: clamp(36px, 9vw, 56px); }
.page-hero p { margin-top: 14px; }
.prose { padding: 32px 0 88px; }
.prose article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 8px 22px 32px; }
@media (min-width: 900px) { .prose article { padding: 12px 48px 44px; } }
.prose h2 { font-size: clamp(22px, 5vw, 26px); margin: 34px 0 10px; }
.prose h3 { font-family: var(--sans); font-size: 17px; font-weight: 800; margin: 26px 0 8px; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose > .container > article > p:first-child { margin-top: 28px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 10px 0 0 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--rose); }
.prose a { color: var(--rose); font-weight: 600; }
.prose code { background: var(--bg-2); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.prose .meta { font-size: 14px; color: var(--muted); }
.placeholder { background: #fff1c9; color: #7a5300; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .7); transition: border-color .2s; }
.toc a:hover { border-color: var(--rose); }
.toc a[aria-current="page"] { background: var(--wine); color: #fff; border-color: var(--wine); }

/* blocks written separately per language */
[data-lang-block] { display: none; }
html:not([data-lang="en"]) [data-lang-block="mn"], html[data-lang="en"] [data-lang-block="en"] { display: block; }
