@font-face {
  font-family: Onest;
  src: url("fonts/Onest-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f8f8f2;
  --ink: #263d2e;
  --muted: #61685d;
  --line: #dce0d5;
  --lime: #d6ed9b;
  --pine: #294533;
  font-family: Onest, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; }
button::-moz-focus-inner { border: 0; }
:focus-visible { outline: 3px solid #728340; outline-offset: 5px; }
::selection { color: var(--ink); background: var(--lime); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; 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: 100; top: 12px; left: 12px; padding: 14px 20px; border-radius: 8px; color: white; background: var(--pine); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: #f8f8f2f5; backdrop-filter: blur(16px); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 34px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.wordmark > span { font-size: 24px; letter-spacing: -1px; line-height: 1; font-weight: 700; }
.wordmark-second { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: 4px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 36px; margin-inline: auto; }
.main-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 500; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.language-switch { display: flex; align-items: center; padding: 4px; border: 1px solid var(--line); border-radius: 99px; gap: 3px; }
.language-switch a { display: grid; place-items: center; min-width: 39px; min-height: 36px; font-size: 12px; font-weight: 600; border-radius: 99px; }
.language-switch a[aria-current="page"] { color: white; background: var(--pine); }
.language-switch a:hover:not([aria-current]) { background: #e8eddf; }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 34px; padding-top: 80px; padding-bottom: 76px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 1.7px; line-height: 1.7; }
.status-dot { width: 7px; height: 7px; background: #64774a; border-radius: 50%; box-shadow: 0 0 0 4px #e9edde; }
h1 { margin-top: 24px; font-size: clamp(58px, 6.7vw, 90px); font-weight: 600; letter-spacing: -5px; line-height: 1.04; }
.hero-title-accent { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -4px; color: #526b39; }
.hero-description { margin-top: 28px; max-width: 470px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; border-radius: 9px; padding: 15px 21px; font-size: 13px; font-weight: 600; transition: background .2s, transform .2s; }
.button-primary { background: var(--pine); color: white; }
.button-primary:hover { background: #3c5c40; transform: translateY(-2px); }
.button span { font-size: 21px; font-weight: 400; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero-note { margin-top: 26px; font-size: 10px; color: #61685d; }
.hero-art { position: relative; aspect-ratio: 1; isolation: isolate; border-radius: 32px; background: #e9edde; background-image: radial-gradient(#b4bfa248 .7px, transparent .7px); background-size: 8px 8px; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.studio-tile { position: absolute; left: 32%; top: 32%; width: 39%; aspect-ratio: 1; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-radius: 26%; background: #2c4734; box-shadow: 0 22px 36px -15px #213b3066, inset 0 0 0 1px #ffffff0d; transform: rotate(-10deg); }
.studio-tile svg { width: 60%; }
.studio-tile > span { text-align: center; color: #f6f7ed; font-size: clamp(14px, 1.8vw, 24px); font-weight: 600; line-height: 1; letter-spacing: -.5px; }
.studio-tile > span > span { display: block; margin-top: 7px; font-size: .4em; font-weight: 400; letter-spacing: 4px; }
.orbit-icon { position: absolute; width: 17.5%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24%; box-shadow: 0 14px 22px -12px #20322450, 0 1px 2px #20322414; }
.orbit-1 { left: 15%; top: 12%; transform: rotate(-13deg); }
.orbit-2 { right: 15%; top: 14%; transform: rotate(13deg); }
.orbit-3 { left: 5.5%; top: 46%; transform: rotate(-14deg); }
.orbit-4 { right: 3%; top: 47%; transform: rotate(12deg); }
.orbit-5 { left: 23%; bottom: 11%; transform: rotate(8deg); }
.orbit-6 { right: 15%; bottom: 7%; transform: rotate(-8deg); }
.orbit-7 { left: 41.25%; top: 8%; transform: rotate(-5deg); }
.orbit-8 { left: 45%; bottom: 6%; transform: rotate(5deg); }

.manifesto-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.strip-inner > span:not(.strip-star) { font-size: clamp(16px, 1.9vw, 23px); font-weight: 500; letter-spacing: -.7px; }
.strip-star { font-size: 26px; color: #829761; font-weight: 400; }

.collection { padding-top: 89px; padding-bottom: 92px; background: #eeefe7; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.small-count { display: inline-grid; place-items: center; min-width: 25px; height: 21px; padding: 0 5px; background: #dfe4d5; border-radius: 5px; font-size: 10px; letter-spacing: 0; }
h2 { font-size: clamp(34px, 3.8vw, 49px); line-height: 1.12; font-weight: 500; letter-spacing: -2px; }
.section-heading h2 { margin-top: 15px; }
.section-description { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.collection-mark { font-size: 65px; font-weight: 300; color: #567443; }
.apps-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 35px; }
.app-card { position: relative; display: flex; flex-direction: column; grid-column: span 4; min-width: 0; min-height: 280px; padding: 27px; border: 1px solid #e0e3d9; border-radius: 19px; background: #fafbf6; transition: transform .2s, border-color .2s, box-shadow .2s; }
.app-card:hover { transform: translateY(-4px); border-color: #acb99a; box-shadow: 0 12px 26px -20px #26422c55; }
.app-card[data-app-category="everyday"] { grid-column: span 6; background: var(--app-color); min-height: 285px; padding: 30px; }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.app-icon { width: 61px; height: 61px; border-radius: 15px; box-shadow: 0 2px 3px #263d2e0a; }
.app-card[data-app-category="everyday"] .app-icon { width: 76px; height: 76px; border-radius: 19px; }
.app-tag { padding-top: 3px; color: #626958; font-size: 10px; line-height: 1.6; text-align: right; }
.app-card h3 { font-size: 23px; line-height: 1.2; font-weight: 500; letter-spacing: -.8px; }
.app-card[data-app-category="everyday"] h3 { font-size: 30px; letter-spacing: -1px; }
.app-description { max-width: 390px; margin-top: 10px; color: #60675c; font-size: 13px; line-height: 1.75; }
.app-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 28px; font-size: 11px; font-weight: 500; }
.app-card-arrow { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #bdc7b1; border-radius: 50%; font-size: 17px; font-weight: 400; transition: color .2s, background .2s; }
.app-card:hover .app-card-arrow { background: var(--pine); color: white; border-color: var(--pine); }

.studio-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 86px; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.studio-art { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 540px; padding: 48px; border-radius: 22px; background: #edf0e3; }
.studio-illustration { width: 100%; max-width: 360px; margin: auto; }
.studio-copy h2 { margin-top: 17px; margin-bottom: 26px; font-size: clamp(34px, 3.5vw, 46px); }
.studio-description { max-width: 510px; margin-top: 15px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.principles { margin: 28px 0 0; }
.principles > div { padding: 15px 0; border-top: 1px solid var(--line); }
.principles dt { font-size: 13px; font-weight: 600; }
.principles dd { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }

.contact-section { background: var(--pine); color: #f2f5e9; padding-top: 83px; padding-bottom: 79px; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.contact-copy { flex: 1; }
.contact-copy .eyebrow { color: #c6d7af; }
.contact-copy h2 { margin-top: 20px; font-size: clamp(38px, 4.6vw, 61px); font-weight: 400; letter-spacing: -2.3px; }
.contact-copy > p:not(.eyebrow) { max-width: 440px; margin-top: 22px; color: #c7d2bf; font-size: 14px; line-height: 1.8; }
.contact-email { display: inline-flex; align-items: center; gap: 27px; min-height: 52px; margin-top: 29px; border-bottom: 1px solid #9cae8b; font-size: clamp(19px, 2.7vw, 29px); letter-spacing: -.9px; }
.contact-email:hover { color: var(--lime); border-bottom-color: var(--lime); }
.contact-email span { font-size: 26px; }
.github-link { display: flex; width: fit-content; align-items: center; gap: 14px; min-height: 44px; margin-top: 17px; font-size: 11px; color: #c7d2bf; }
.github-link:hover { color: white; }
.contact-flower { flex-shrink: 0; width: 220px; height: 220px; margin-right: 28px; color: var(--lime); transform: rotate(12deg); }
.contact-section :focus-visible { outline-color: var(--lime); }
.site-footer { padding: 37px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { font-size: 18px; font-weight: 600; letter-spacing: -.8px; }
.footer-inner > div p { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.copyright { color: var(--muted); font-size: 10px; line-height: 1.8; }
.back-to-top { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 11px; }
.back-to-top span { font-size: 23px; }
html[lang="ru"] h1 { font-size: clamp(53px, 6.1vw, 82px); letter-spacing: -4px; }
html[lang="ru"] .hero-actions { gap: 16px; }
html[lang="ru"] .hero-art { align-self: center; }

@media (min-width: 801px) {
  .app-card[data-app-category="everyday"]:nth-child(n+3) { grid-column: span 4; }
  .app-card[data-app-id="anypractice"] { grid-column: span 12; display: grid; grid-template-columns: 110px minmax(0, 1fr) 170px; gap: 0 25px; min-height: 180px; background: #e2f0e8; }
  .app-card[data-app-id="anypractice"] .app-card-top { grid-column: 1; grid-row: 1 / 4; display: block; margin-bottom: 0; }
  .app-card[data-app-id="anypractice"] .app-icon { width: 76px; height: 76px; border-radius: 19px; }
  .app-card[data-app-id="anypractice"] .app-tag { display: block; margin-top: 9px; text-align: start; }
  .app-card[data-app-id="anypractice"] h3 { grid-column: 2; font-size: 28px; }
  .app-card[data-app-id="anypractice"] .app-description { grid-column: 2; max-width: 660px; font-size: 14px; }
  .app-card[data-app-id="anypractice"] .app-card-bottom { grid-column: 3; grid-row: 1 / 4; align-self: center; margin: 0; padding-top: 0; gap: 15px; }
}
@media (min-width: 1450px) { .hero { padding-top: 96px; padding-bottom: 92px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .hero { gap: 24px; padding-top: 65px; padding-bottom: 65px; }
  h1 { font-size: clamp(56px, 6.7vw, 75px); letter-spacing: -3.5px; }
  .hero-title-accent { letter-spacing: -3px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 16px; }
  .button { gap: 15px; padding-inline: 17px; font-size: 12px; }
  .text-link { font-size: 12px; }
  .studio-tile { padding: 18px; gap: 8px; }
  .app-card { padding: 23px; }
  .app-card h3 { font-size: 21px; }
  .app-tag { font-size: 9px; }
  .studio-section { gap: 44px; }
  .studio-art { min-height: 500px; padding: 35px; }
  .contact-flower { width: 180px; height: 180px; margin-right: 0; }
  html[lang="ru"] h1 { font-size: clamp(47px, 5.9vw, 66px); letter-spacing: -3px; }
}

@media (max-width: 800px) {
  .header-inner { min-height: 82px; gap: 20px; }
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 12px; }
  .wordmark > span { font-size: 21px; }
  .wordmark-second { font-size: 10px; }
  .brand-symbol { width: 33px; height: 33px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 56px; }
  h1 { font-size: 53px; letter-spacing: -3px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .hero-description { font-size: 13px; line-height: 1.75; }
  .hero-actions { margin-top: 22px; gap: 7px; }
  .hero-art { border-radius: 23px; }
  .studio-tile { padding: 13px; gap: 8px; }
  .studio-tile > span { font-size: 18px; }
  .studio-tile > span > span { letter-spacing: 2px; margin-top: 5px; }
  .hero-note { margin-top: 13px; font-size: 9px; }
  .strip-inner { min-height: 78px; gap: 14px; }
  .strip-inner > span:not(.strip-star) { font-size: 16px; }
  .strip-star { font-size: 22px; }
  .collection { padding-block: 62px; }
  .app-card { grid-column: span 6; }
  .app-card[data-app-category="everyday"] { padding: 25px; }
  .app-card[data-app-category="everyday"] h3 { font-size: 27px; }
  .app-card[data-app-category="everyday"] .app-icon { width: 64px; height: 64px; border-radius: 16px; }
  .studio-section { gap: 30px; padding-block: 65px; }
  .studio-art { min-height: 480px; padding: 25px; }
  .studio-copy h2 { font-size: 32px; letter-spacing: -1.5px; }
  .studio-description { font-size: 13px; }
  .contact-inner { gap: 30px; }
  .contact-flower { width: 130px; height: 130px; }
  html[lang="ru"] h1 { font-size: 47px; letter-spacing: -2.8px; }
}

@media (max-width: 640px) {
  :root { scroll-padding-top: 132px; }
  .container { width: calc(100% - 40px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; min-height: 106px; padding-top: 15px; }
  .wordmark { grid-area: 1 / 1; gap: 9px; }
  .wordmark > span { font-size: 21px; }
  .wordmark-second { letter-spacing: 3px; }
  .brand-symbol { width: 34px; height: 34px; }
  .language-switch { grid-area: 1 / 2; padding: 2px; }
  .language-switch a { min-width: 36px; min-height: 36px; }
  .main-nav { grid-area: 2 / 1 / 3 / 3; width: 100%; justify-content: space-between; gap: 16px; margin-top: 5px; }
  .main-nav a { font-size: 11px; min-height: 43px; }
  .hero { grid-template-columns: 1fr; padding-top: 43px; padding-bottom: 31px; gap: 33px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  h1 { margin-top: 23px; font-size: clamp(54px, 12.5vw, 77px); letter-spacing: -3.4px; line-height: 1.02; }
  .hero-title-accent { letter-spacing: -2.7px; }
  .hero-description { margin-top: 22px; max-width: 440px; font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 16px; margin-top: 24px; }
  .button { min-height: 51px; padding: 14px 17px; font-size: 12px; }
  .text-link { font-size: 11px; }
  .hero-note { font-size: 9px; margin-top: 19px; }
  .hero-art { max-width: 440px; width: 100%; margin: 0 auto; }
  .studio-tile { padding: 20px; gap: 10px; }
  .studio-tile > span { font-size: clamp(12px, 3.8vw, 20px); }
  .studio-tile > span > span { font-size: .38em; letter-spacing: 3px; }
  .strip-inner { min-height: 66px; gap: 12px; }
  .strip-inner > span:not(.strip-star) { font-size: 12px; letter-spacing: -.35px; }
  .strip-star { font-size: 16px; }
  .collection { padding-top: 45px; padding-bottom: 46px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  h2 { font-size: 33px; letter-spacing: -1.7px; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading h2 { margin-top: 13px; }
  .section-description { margin-top: 14px; font-size: 13px; }
  .collection-mark { font-size: 38px; margin-top: 15px; }
  .apps-grid { gap: 12px; margin-top: 25px; }
  .app-card, .app-card[data-app-category="everyday"] { grid-column: 1 / -1; min-height: 262px; padding: 25px; border-radius: 16px; }
  .app-card-top { margin-bottom: 22px; }
  .app-icon { width: 60px; height: 60px; }
  .app-card h3, .app-card[data-app-category="everyday"] h3 { font-size: 27px; letter-spacing: -.8px; }
  .app-tag { font-size: 10px; }
  .app-description { font-size: 13px; line-height: 1.75; max-width: 100%; }
  .app-card-bottom { padding-top: 23px; }
  .studio-section { grid-template-columns: 1fr; gap: 34px; padding-top: 46px; padding-bottom: 46px; }
  .studio-art { min-height: 0; aspect-ratio: 1.15; padding: 29px; max-width: 440px; width: 100%; margin: 0 auto; border-radius: 17px; }
  .studio-illustration { width: 70%; max-width: 270px; margin: auto; }
  .studio-copy h2 { font-size: 35px; margin-top: 13px; margin-bottom: 20px; }
  .studio-description { max-width: 100%; font-size: 14px; }
  .principles { margin-top: 25px; }
  .principles > div { padding: 17px 0; }
  .principles dt { font-size: 13px; }
  .principles dd { font-size: 12px; }
  .contact-section { padding-top: 46px; padding-bottom: 41px; }
  .contact-inner { gap: 0; position: relative; }
  .contact-copy { position: relative; z-index: 1; }
  .contact-copy h2 { font-size: 37px; letter-spacing: -1.7px; }
  .contact-copy > p:not(.eyebrow) { max-width: 340px; font-size: 13px; margin-top: 20px; }
  .contact-email { max-width: 100%; gap: 14px; margin-top: 24px; font-size: clamp(17px, 5.25vw, 25px); letter-spacing: -.6px; }
  .contact-email span { font-size: 22px; }
  .contact-flower { display: none; }
  .github-link { margin-top: 14px; }
  .site-footer { padding-top: 29px; padding-bottom: 24px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: flex-start; gap: 23px 12px; }
  .footer-inner > div { grid-column: 1 / -1; }
  .footer-brand { font-size: 18px; }
  .copyright { font-size: 9px; }
  .back-to-top { font-size: 10px; gap: 11px; margin-top: -8px; }
  html[lang="ru"] h1 { font-size: clamp(47px, 11.6vw, 70px); letter-spacing: -3px; }
  html[lang="ru"] .hero-actions { gap: 11px; }
  html[lang="ru"] .text-link { font-size: 10px; }
  html[lang="ru"] .strip-inner > span:not(.strip-star) { font-size: 10px; line-height: 1.5; }
  html[lang="ru"] .strip-star { font-size: 12px; }
  html[lang="ru"] .collection-mark { display: none; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .wordmark > span { font-size: 18px; }
  .wordmark { gap: 8px; }
  .brand-symbol { width: 30px; height: 30px; }
  .hero-actions { gap: 9px; }
  .hero-description { font-size: 13px; }
  .hero-actions .text-link { font-size: 10px; }
  html[lang="ru"] .hero-actions .text-link { width: 100%; }
  .app-card, .app-card[data-app-category="everyday"] { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
