/* Nunito self-hosted (subsets: latin, latin-ext, cyrillic) */
/* cyrillic */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/nunito-400-cyrillic.f228e29c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/nunito-400-latin-ext.cd5cabf5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/nunito-400-latin.acfce21e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/nunito-600-cyrillic.f228e29c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/nunito-600-latin-ext.cd5cabf5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/nunito-600-latin.acfce21e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/nunito-700-cyrillic.f228e29c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/nunito-700-latin-ext.cd5cabf5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/nunito-700-latin.acfce21e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/nunito-800-cyrillic.f228e29c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/nunito-800-latin-ext.cd5cabf5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/nunito-800-latin.acfce21e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-900-cyrillic.f228e29c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-900-latin-ext.cd5cabf5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-900-latin.acfce21e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}/* YouSens marketing site — shared styles (port of Claude Design "сайт (Home)"). */
:root {
  --bg: #1b1712; --bg-2: #211c17; --card: #26201a; --card-2: #2d251d; --line: #3a3025;
  --text: #f5ede2; --muted: #a89b8c; --accent: #e0894a; --accent-2: #c8763a;
  --success: #7fa65c; --heart: #e6b23a; --btn-text: #fbf3e6; --grain: rgba(255, 220, 170, 0.045);
  --maxw: 1200px; --maxw-narrow: 1120px;
}
:root[data-theme="light"] {
  --bg: #f5ede0; --bg-2: #efe5d5; --card: #fffdf8; --card-2: #f7efe2; --line: #ece0cf;
  --text: #2c2416; --muted: #8a7f6b; --accent: #c8763a; --accent-2: #a85a28;
  --success: #5e8c46; --heart: #c99a20; --btn-text: #fbf3e6; --grain: rgba(120, 80, 40, 0.05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Nunito', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
  background: var(--bg); color: var(--text);
  background-image: radial-gradient(var(--grain) 1.3px, transparent 1.3px); background-size: 9px 9px;
  transition: background-color .4s ease, color .4s ease;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
::selection { background: var(--accent); color: var(--btn-text); }
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; }

@keyframes ysRise { 0% { opacity: 0; transform: translateY(26px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes ysFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ysGlow {
  0%, 100% { box-shadow: 0 18px 40px -12px rgba(200, 118, 58, .5), inset 0 2px 3px rgba(255, 255, 255, .35), 0 0 0 0 rgba(230, 178, 58, 0); }
  50% { box-shadow: 0 18px 40px -12px rgba(200, 118, 58, .5), inset 0 2px 3px rgba(255, 255, 255, .35), 0 0 30px 4px rgba(230, 178, 58, .4); }
}
:root[data-motion="off"] * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: var(--maxw); margin: 0 auto; padding: 16px 40px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand-logo { width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(155deg, var(--accent), var(--accent-2)); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .35), inset 0 -5px 10px rgba(120, 50, 20, .3); display: flex; align-items: center; justify-content: center; flex: none; }
.brand-name { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.hdr-nav { display: flex; gap: 22px; margin-left: 12px; font-size: 15px; font-weight: 700; flex-wrap: nowrap; }
.hdr-nav a { color: var(--muted); white-space: nowrap; }
.hdr-nav a:hover { color: var(--text); }
.spacer { flex: 1; }
.lang { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.lang a, .lang span { font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 8px; color: var(--muted); }
.lang .on { background: var(--accent); color: var(--btn-text); }
.icon-toggle { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.btn-tg { display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: var(--btn-text); font-weight: 800; font-size: 15px; padding: 11px 18px; border-radius: 13px; box-shadow: 0 12px 26px -10px rgba(200, 118, 58, .6), inset 0 2px 3px rgba(255, 255, 255, .3); }
.btn-tg:hover { color: var(--btn-text); }
.hdr-burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; align-items: center; justify-content: center; flex: none; }

/* Sections */
.sec { max-width: var(--maxw-narrow); margin: 0 auto; padding: 100px 40px; }
.sec-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.eyebrow.success { color: var(--success); }
.eyebrow.heart { color: var(--heart); }
.h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.06; margin: 16px 0 0; text-wrap: pretty; }
.lead { font-size: 19px; line-height: 1.65; color: var(--muted); font-weight: 500; margin: 22px 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.card h3 { font-size: 21px; font-weight: 800; margin: 20px 0 8px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); font-weight: 500; margin: 0; }
.card-ico { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 16%, transparent); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 9px; margin-top: 34px; color: var(--accent); font-weight: 800; font-size: 17px; }
.btn-cta { display: inline-flex; align-items: center; gap: 11px; background: var(--accent); color: var(--btn-text); font-weight: 800; font-size: 18px; padding: 17px 28px; border-radius: 16px; box-shadow: 0 16px 34px -12px rgba(200, 118, 58, .65), inset 0 2px 3px rgba(255, 255, 255, .3), inset 0 -6px 12px rgba(120, 50, 20, .25); }
.btn-cta:hover { color: var(--btn-text); }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; background: transparent; color: var(--text); font-weight: 800; font-size: 18px; padding: 17px 26px; border-radius: 16px; border: 1.5px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* Content pages (how-it-works, legal, etc.) */
.page-head { max-width: var(--maxw-narrow); margin: 0 auto; padding: 80px 40px 20px; }
.page-title { font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.03; margin: 14px 0 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 20px 40px 90px; font-size: 17px; line-height: 1.7; color: var(--text); }
.prose h2 { font-size: 28px; font-weight: 900; margin: 44px 0 12px; letter-spacing: -0.02em; }
.prose h3 { font-size: 21px; font-weight: 800; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--muted); font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose a { font-weight: 700; }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 24px 0; color: var(--muted); font-weight: 600; }
.draft-flag { background: color-mix(in srgb, var(--heart) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--heart) 40%, var(--line)); color: var(--text); }
.crumbs { max-width: var(--maxw-narrow); margin: 0 auto; padding: 26px 40px 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 20px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: block; color: var(--text); }
.post:hover { border-color: var(--accent); color: var(--text); }
.post .tag { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.post h3 { font-size: 22px; font-weight: 800; margin: 12px 0 8px; letter-spacing: -0.01em; }
.post p { font-size: 15.5px; line-height: 1.6; color: var(--muted); font-weight: 500; margin: 0; }
.soon { font-size: 13px; font-weight: 800; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; display: inline-block; margin-top: 14px; }

/* About story */
.story-hero { max-width: var(--maxw-narrow); margin: 0 auto; padding: 60px 40px 40px; display: grid; grid-template-columns: 1fr 0.8fr; gap: 56px; align-items: center; }
.story-hero .kicker { font-size: 14px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.story-hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.03; margin: 16px 0 0; }
.story-hero .hook { font-size: 20px; line-height: 1.6; color: var(--muted); font-weight: 500; margin: 24px 0 0; max-width: 520px; }
.story-hero img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.story { max-width: 720px; margin: 0 auto; padding: 30px 40px 40px; }
.story p { font-size: 19px; line-height: 1.72; color: var(--text); font-weight: 500; margin: 0 0 22px; }
.story h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; letter-spacing: -0.02em; margin: 54px 0 18px; }
.pullquote { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.2; color: var(--accent); margin: 40px 0; padding-left: 24px; border-left: 4px solid var(--accent); }
.story-figure { max-width: var(--maxw-narrow); margin: 40px auto; padding: 0 40px; }
.story-figure img { width: 100%; border-radius: 28px; border: 1px solid var(--line); display: block; }
.story-figure.portrait { max-width: 560px; }
.story-figure figcaption { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 12px; text-align: center; }
.story-close { max-width: 720px; margin: 0 auto; padding: 20px 40px 40px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 1px solid var(--line); }
@media (max-width: 900px) {
  .story-hero { grid-template-columns: 1fr; }
  .story-hero .story-portrait { order: -1; max-width: 360px; }
  .story, .story-close { padding-left: 20px; padding-right: 20px; }
  .story-figure { padding: 0 20px; }
}

/* Article */
.prose.article { max-width: 720px; }
.prose.article .pullquote { font-size: clamp(22px, 3vw, 30px); }
.takeaways { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; margin: 36px 0; }
.takeaways h3, .sources h3 { font-size: 15px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { color: var(--text); font-weight: 600; margin: 10px 0; }
.sources { margin: 40px 0 10px; }
.sources ul { margin: 0; padding-left: 20px; }
.sources li { color: var(--muted); font-weight: 500; font-size: 15px; margin: 8px 0; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 12px 0; }
.qa summary { font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; color: var(--text); }
.qa p { font-size: 16px; margin: 12px 0 0; }
.post img { display: block; }

/* Footer */
.ftr { background: var(--bg-2); border-top: 1px solid var(--line); }
.ftr-in { max-width: var(--maxw); margin: 0 auto; padding: 64px 40px 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ftr-cap { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ftr-col { display: flex; flex-direction: column; gap: 11px; font-size: 15px; font-weight: 700; }
.ftr-col a { color: var(--text); } .ftr-col a:hover { color: var(--accent); }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }

/* Responsive */
@media (max-width: 900px) {
  .hdr-in { padding: 14px 20px; gap: 14px; }
  .hdr-nav { display: none; }
  .hdr-burger { display: flex; }
  .hdr.open .hdr-nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; margin: 0; }
  .hdr.open .hdr-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sec, .hero-in { padding-left: 20px; padding-right: 20px; }
  .grid-3, .grid-2, .hero-in, .split, .post-grid { grid-template-columns: 1fr !important; }
  .hero-mockup { order: -1; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }
}
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }
