:root {
  --u: min(0.044270833vw, 0.85px);
  --navy: #111a3e;
  --ink: #151723;
  --pink: #f3b2c2;
  --blue: #8eafd9;
  --paper: #fdfbfb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Nunito', 'Trebuchet MS', Arial, sans-serif;
  background: radial-gradient(ellipse at center, #fff9f7 0%, #f6e9e8 67%, #e9d8d6 100%);
  color: var(--ink);
  padding: calc(24 * var(--u)) calc(64 * var(--u));
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #547eb2; outline-offset: 4px; }
.site { max-width: 1792px; margin: 0 auto; overflow: hidden; border-radius: calc(36 * var(--u)); background: #fdfbfb; box-shadow: 0 16px 48px #8f777541; }
.header { height: calc(127 * var(--u)); display: flex; align-items: center; justify-content: space-between; gap: calc(24 * var(--u)); padding: 0 calc(105 * var(--u)); background: #fdfdfd; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #202a52; }
.logo-mascot { height: 52px; width: auto; }
.logo { color: #202a52; font-size: calc(72 * var(--u)); font-weight: 900; line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.logo i { color: #ea81a6; font-style: normal; }
.nav { display: flex; align-items: center; gap: calc(21 * var(--u)); }
.nav > a, .nav > button { border: 0; border-radius: 100px; background: #d7cccc; padding: calc(9 * var(--u)) calc(21 * var(--u)); font-size: calc(25 * var(--u)); line-height: 1.3; font-weight: 700; white-space: nowrap; color: #26262f; }
.nav > .nav-home { background: #8eaddb; color: white; }
.nav > .nav-methods { background: #b6c1cd; color: #142139; }
.nav > .nav-try { background: #f1b3c1; color: white; margin-left: calc(19 * var(--u)); padding-inline: calc(30 * var(--u)); }
.nav > a:hover, .nav > button:hover { filter: brightness(.97); }
.menu-toggle { display: none; }
.hero { position: relative; background: radial-gradient(ellipse at 0 45%, #fae7e9 0%, transparent 50%), radial-gradient(ellipse at 56% 100%, #dce7f3 0%, transparent 55%), linear-gradient(105deg, #f7eeee 0%, #e9edf2 53%, #fdece2 100%); overflow: hidden; }
.hero-inner { min-height: calc(563 * var(--u)); padding: calc(87 * var(--u)) calc(108 * var(--u)) calc(43 * var(--u)); position: relative; isolation: isolate; display: flex; align-items: flex-start; }
.hero-copy { position: relative; z-index: 1; width: 61%; }
.hero-badge { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); border-radius: 100px; padding: calc(7 * var(--u)) calc(16 * var(--u)); background: #f8d6d9; font-size: calc(25 * var(--u)); font-weight: 800; line-height: 1.4; }
.hero-badge span { font-size: calc(27 * var(--u)); }
h1, h2, h3, p { margin: 0; }
h1 { color: var(--navy); font-size: calc(62 * var(--u)); line-height: 1.12; letter-spacing: -0.032em; font-weight: 900; margin: calc(25 * var(--u)) 0 calc(21 * var(--u)); white-space: nowrap; }
.hero-description { font-size: calc(26 * var(--u)); font-weight: 600; line-height: 1.4; max-width: calc(870 * var(--u)); }
.hero-actions { display: flex; gap: calc(25 * var(--u)); align-items: center; margin-top: calc(29 * var(--u)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: calc(11 * var(--u)); border: 0; border-radius: calc(20 * var(--u)); min-height: calc(72 * var(--u)); padding: calc(12 * var(--u)) calc(37 * var(--u)); font-size: calc(29 * var(--u)); line-height: 1.2; font-weight: 800; text-align: center; transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(.97); transform: translateY(-2px); }
.btn-primary { background: linear-gradient(115deg, #8eadd5, #84a5d2); color: white; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) #748baa24; min-width: calc(373 * var(--u)); }
.btn-outline { background: #ffffff14; color: #15182e; border: 2px solid #e7aab6; min-width: calc(304 * var(--u)); }
.trust-list { list-style: none; margin: calc(36 * var(--u)) 0 0; padding: 0; display: flex; gap: calc(36 * var(--u)); align-items: center; flex-wrap: wrap; }
.trust-list li { display: flex; align-items: center; gap: calc(9 * var(--u)); font-size: calc(22 * var(--u)); line-height: 1.2; font-weight: 700; white-space: nowrap; }
.trust-list svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); flex-shrink: 0; }
.hero-illustration { position: absolute; right: 0; bottom: 0; width: calc(765 * var(--u)); height: calc(563 * var(--u)); object-fit: contain; z-index: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%); mask-image: linear-gradient(to right, transparent, #000 12%); }
.methods { background: linear-gradient(110deg, #f0eaeb, #f4f0ef 55%, #f1e8ea); padding: calc(32 * var(--u)) calc(108 * var(--u)) calc(16 * var(--u)); scroll-margin-top: 20px; }
.section-head { text-align: center; margin-bottom: calc(13 * var(--u)); }
.section-head h2 { color: #11182e; font-size: calc(49 * var(--u)); line-height: 1.2; letter-spacing: -0.025em; font-weight: 900; }
.section-head p { margin-top: calc(12 * var(--u)); font-size: calc(27 * var(--u)); font-weight: 600; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.55fr); gap: calc(20 * var(--u)); align-items: center; }
.method-card { width: 100%; min-width: 0; min-height: calc(275 * var(--u)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 0; border-radius: calc(24 * var(--u)); padding: calc(22 * var(--u)) calc(10 * var(--u)); color: #151525; box-shadow: 0 calc(7 * var(--u)) calc(19 * var(--u)) #796b721f; transition: transform .2s, box-shadow .2s; }
.method-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px #796b7230; }
.pink { background: linear-gradient(135deg, #fce1e5, #fce9e7 56%, #f9dcdf); --action: #f8cdd1; }
.blue { background: linear-gradient(135deg, #deebf5, #e0eef6 56%, #d4e3ee); --action: #bad8e8; }
.lavender { background: linear-gradient(135deg, #dce9f5, #dce8f7 60%, #d4e0ef); --action: #bdcfee; }
.method-icon { width: calc(79 * var(--u)); height: calc(79 * var(--u)); margin-bottom: calc(18 * var(--u)); flex-shrink: 0; }
.method-title { font-size: calc(30 * var(--u)); font-weight: 900; line-height: 1.25; white-space: nowrap; }
.method-description { font-size: calc(21 * var(--u)); font-weight: 700; margin-top: calc(8 * var(--u)); line-height: 1.35; white-space: nowrap; }
.method-action { margin-top: calc(22 * var(--u)); display: inline-flex; align-items: center; gap: calc(8 * var(--u)); padding: calc(3 * var(--u)) calc(15 * var(--u)); border-radius: calc(12 * var(--u)); background: var(--action); font-size: calc(20 * var(--u)); font-weight: 800; line-height: 1.45; }
.result-card { min-height: calc(309 * var(--u)); border-radius: calc(40 * var(--u)); padding: calc(27 * var(--u)) calc(28 * var(--u)) calc(18 * var(--u)); background: radial-gradient(ellipse at top left, #f7b9c9, transparent 64%), radial-gradient(ellipse at bottom right, #a9cdda, transparent 65%), linear-gradient(125deg, #fbe4e0, #e7e7ed 52%, #f1c3d2); box-shadow: 0 calc(5 * var(--u)) calc(16 * var(--u)) #776c751c; display: flex; flex-direction: column; justify-content: center; }
.result-header { display: flex; align-items: center; gap: calc(15 * var(--u)); }
.result-star { width: calc(59 * var(--u)); height: calc(59 * var(--u)); flex-shrink: 0; }
.result-header h3 { font-size: calc(29 * var(--u)); font-weight: 900; line-height: 1.2; white-space: nowrap; letter-spacing: -.018em; }
.result-header p { margin-top: calc(5 * var(--u)); font-size: calc(19 * var(--u)); line-height: 1.2; font-weight: 700; white-space: nowrap; }
.result-visual { display: flex; justify-content: space-between; align-items: center; gap: calc(10 * var(--u)); margin: calc(22 * var(--u)) 0 calc(15 * var(--u)); }
.result-side { display: flex; gap: calc(9 * var(--u)); align-items: end; text-align: center; font-size: calc(23 * var(--u)); line-height: 1.12; font-weight: 800; }
.result-side strong { display: block; font-size: calc(31 * var(--u)); font-weight: 800; }
.result-side svg { width: calc(36 * var(--u)); height: calc(38 * var(--u)); flex-shrink: 0; }
.girl { color: #bc728c; }
.boy { color: #315888; }
.donut { --boy: 48%; width: calc(94 * var(--u)); aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; background: conic-gradient(#5c86bf 0 var(--boy), #efaabd var(--boy) 100%); position: relative; }
.donut::after { content: ''; position: absolute; inset: 10%; border-radius: 50%; background: linear-gradient(90deg, #f4e4e1 0%, #e5eaf3 100%); }
.result-message { background: #fff9f8da; border-radius: calc(11 * var(--u)); padding: calc(6 * var(--u)) calc(5 * var(--u)); font-size: calc(16.5 * var(--u)); line-height: 1.35; text-align: center; font-weight: 800; }
.result-note { font-size: calc(15 * var(--u)); font-weight: 600; line-height: 1.3; text-align: center; margin-top: calc(7 * var(--u)); }
.footer { min-height: calc(63 * var(--u)); padding: calc(15 * var(--u)) calc(25 * var(--u)); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(12 * var(--u)); background: #fdfafa; font-size: calc(22 * var(--u)); font-weight: 700; }
.footer button { border: 0; background: transparent; color: inherit; padding: 0; }
.footer a:hover, .footer button:hover { text-decoration: underline; }
.footer-heart { color: #d999ad; font-size: 1.2em; }
/* Dialogs and form scaffolds */
.dialog { border: 1px solid #e9d6dc; border-radius: 24px; padding: 26px; max-width: 480px; width: calc(100% - 32px); max-height: calc(100% - 32px); color: var(--ink); background: #fffafa; box-shadow: 0 20px 75px #20294035; overflow: auto; }
.dialog::backdrop { background: #18244155; backdrop-filter: blur(3px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.dialog-kicker { background: #f9dbe0; color: #86485c; border-radius: 30px; font-size: 13px; font-weight: 800; padding: 6px 12px; }
.close-button { border: 0; border-radius: 50%; background: #f1e5e8; color: #29314a; width: 36px; height: 36px; font-size: 26px; line-height: 1; }
.dialog h2 { font-size: 28px; color: var(--navy); line-height: 1.15; font-weight: 900; }
.dialog-description, #info-body { margin-top: 12px; color: #505369; font-size: 16px; line-height: 1.55; }
#info-body p + p, #info-body details + details { margin-top: 12px; }
#info-body summary { cursor: pointer; font-weight: 800; color: var(--navy); }
#method-form { display: grid; gap: 9px; margin-top: 22px; }
#method-form label { font-size: 15px; font-weight: 800; color: var(--navy); }
#method-form input, #method-form select { border: 1px solid #dacfd6; border-radius: 12px; padding: 12px 14px; width: 100%; color: var(--navy); background: white; font-size: 16px; margin-bottom: 8px; }
.dialog .form-submit { width: 100%; min-width: 0; min-height: 48px; font-size: 17px; border-radius: 13px; margin-top: 4px; }
.form-status { background: #e5eef8; border-radius: 10px; padding: 10px 12px; font-size: 14px; color: #315888; }
.dialog-note { font-size: 13px; line-height: 1.5; margin-top: 18px; color: #66616a; }
@media (min-width: 1921px) { body { padding-inline: 32px; } }
@media (max-width: 1100px) {
  .nav { gap: calc(13 * var(--u)); }
  .nav > a, .nav > button { padding-inline: calc(16 * var(--u)); }
}
@media (max-width: 900px) {
  :root { --u: .66px; }
  body { padding: 12px; }
  .site { border-radius: 24px; }
  .header { height: auto; min-height: 78px; padding: 17px 22px; position: relative; flex-wrap: wrap; }
  .logo { font-size: 36px; }
  .menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #f6e6e8; }
  .menu-toggle span { height: 2px; width: 20px; border-radius: 4px; background: #29314a; }
  .nav { display: none; flex-wrap: wrap; width: 100%; gap: 9px; padding-bottom: 3px; }
  .nav.open { display: flex; }
  .nav > a, .nav > button { font-size: 15px; padding: 9px 14px; }
  .nav > .nav-try { margin-left: 0; padding-inline: 16px; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; padding: 34px 24px 0; min-height: 0; }
  .hero-copy { width: 100%; }
  h1 { white-space: normal; font-size: clamp(32px, 5.8vw, 50px); }
  .hero-description { font-size: 18px; max-width: 680px; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn { min-width: 0; font-size: 18px; min-height: 51px; padding: 12px 22px; }
  .trust-list { gap: 13px 24px; margin-top: 23px; }
  .trust-list li { font-size: 15px; }
  .hero-illustration { position: static; width: min(100%, 510px); height: auto; margin-top: 18px; mask-image: radial-gradient(ellipse at center, #000 56%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse at center, #000 56%, transparent 100%); }
  .methods { padding: 28px 23px 30px; }
  .section-head h2 { font-size: 31px; }
  .section-head p { font-size: 17px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .method-card { min-height: 215px; }
  .method-title { white-space: normal; font-size: 24px; }
  .method-description { white-space: normal; font-size: 16px; }
  .result-card { grid-column: 1 / -1; width: 100%; max-width: 420px; justify-self: center; min-height: 235px; }
  .footer { gap: 7px 10px; padding: 16px; font-size: 13px; }
}
@media (max-width: 540px) {
  body { padding: 8px; }
  .site { border-radius: 19px; }
  .header { padding: 13px 16px; }
  .logo { font-size: 32px; }
  .hero-inner { padding: 28px 18px 0; }
  .hero-badge { font-size: 15px; gap: 5px; }
  .hero-badge span { font-size: 16px; }
  h1 { margin: 17px 0 13px; font-size: 34px; }
  .hero-description { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .trust-list { gap: 12px 16px; }
  .trust-list li { font-size: 13px; }
  .trust-list svg { width: 18px; height: 18px; }
  .methods { padding: 24px 16px; }
  .method-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .method-card { min-height: 213px; }
  .result-card { grid-column: auto; }
  .result-header h3 { font-size: 23px; white-space: normal; }
  .result-header p { font-size: 15px; white-space: normal; }
  .result-visual { gap: 8px; }
  .result-side { font-size: 16px; gap: 5px; }
  .result-side strong { font-size: 22px; }
  .result-side svg { width: 25px; height: 26px; }
  .donut { width: 70px; }
  .result-message { font-size: 13px; }
  .result-note { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
