@font-face {
  font-family: Onest;
  src: url(onest-cyrillic.woff2) format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Onest;
  src: url(onest-latin.woff2) format('woff2');
  font-weight: 400 800;
  font-display: swap;
  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;
}

:root {
  color-scheme: light;
  --ink: #161618;
  --ink-2: #202023;
  --paper: #f5f3ef;
  --light: #f8f6f2;
  --muted: #605b56;
  --dark-muted: #c1bbb5;
  --accent: #ffad66;
  --accent-light: #ffd4a7;
  --border: #dfdbd3;
  --dark-border: #3b393b;
  --gutter: clamp(20px, 4.4vw, 72px);
  font-family: Onest, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ink);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
main [id] { scroll-margin-top: 24px; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 2px solid #8d490e; outline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible, .downloads :focus-visible, .app-main :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.wrap { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.icon { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: middle; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; color: var(--ink); background: var(--accent); border-radius: 8px; transform: translateY(calc(-100% - 16px)); }
.skip:focus { transform: none; }

.site-header { color: var(--light); background: var(--ink); }
.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--dark-border); }
.wordmark { display: inline-flex; flex: none; align-items: center; gap: 9px; font-size: 35px; line-height: 1; font-weight: 800; letter-spacing: -.055em; padding-right: .055em; }
.wordmark img { flex: none; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 43px); font-size: 14px; color: var(--dark-muted); }
.main-nav a, .iphone-link, .footer-inner > a:last-child, .back-link { transition: color .18s ease; }
.main-nav a:hover, .iphone-link:hover, .footer-inner > a:last-child:hover, .back-link:hover { color: var(--accent); }
.header-link { display: inline-flex; align-items: center; gap: 9px; flex: none; padding: 10px 15px; border: 1px solid #514942; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--accent-light); transition: border-color .18s ease, background .18s ease; }
.header-link:hover { border-color: var(--accent); background: #282321; }
.header-link .icon, .iphone-link .icon, .footer-inner > a:last-child .icon { width: 15px; height: 15px; }

.hero { color: var(--light); background: var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(22px, 4vw, 62px); padding-block: 52px 28px; }
.hero-label, .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.hero-label { color: var(--accent-light); font-size: 11px; letter-spacing: .085em; }
.hero-label span, .eyebrow span, .demo figcaption span { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 23px; font-size: clamp(43px, 4.9vw, 71px); line-height: 1.02; letter-spacing: -.052em; font-weight: 700; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-lead { max-width: 430px; margin-top: 24px; color: var(--dark-muted); font-size: clamp(16px, 1.55vw, 19px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; padding: 12px 15px; font-size: 14px; font-weight: 750; line-height: 1.25; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { color: var(--ink); background: var(--accent); }
.button-accent:hover { background: var(--accent-light); }
.button-outline { color: var(--light); background: transparent; border-color: #62574f; }
.button-outline:hover { border-color: var(--accent); background: #302823; }
.button-arrow { width: 16px; height: 16px; margin-left: 2px; }
.iphone-link { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; margin-top: 6px; color: var(--dark-muted); font-size: 14px; }

.demo { min-width: 0; }
.demo-stage {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #4e3e34;
  border-radius: 25px;
  background-color: #302522;
  background-image: linear-gradient(#f8c79b12 1px, transparent 1px), linear-gradient(90deg, #f8c79b12 1px, transparent 1px), radial-gradient(ellipse at 72% 21%, #885237 0, #533628 31%, transparent 69%), linear-gradient(145deg, #252124, #352923 65%, #292426);
  background-size: 28px 28px, 28px 28px, auto, auto;
}
.stage-line { position: absolute; z-index: -1; width: 83%; aspect-ratio: 1; border: 1px solid #ffc99c43; border-radius: 50%; transform: rotate(-31deg) scaleY(.73); }
.stage-line-inner { width: 70%; border-color: #ffc99c31; }
.stage-corner { width: 22px; height: 22px; border-color: #ffce9c89; border-style: solid; position: absolute; }
.stage-corner-top { top: 17px; left: 17px; border-width: 1px 0 0 1px; }
.stage-corner-bottom { bottom: 17px; right: 17px; border-width: 0 1px 1px 0; }
.phone { position: relative; width: 251px; padding: 6px; border-radius: 31px; background: linear-gradient(140deg, #d4b4a1, #4f423b 28%, #1b1616 55%, #8a6652 100%); box-shadow: 0 25px 48px #140c099c, 0 0 0 1px #1d1717; transform: rotate(-6deg); }
.phone-screen { padding: 0 13px; overflow: hidden; border-radius: 25px; border: 2px solid #141213; background: #f8f6f0; color: #221c1a; font-size: 11px; }
.phone-status { position: relative; height: 29px; display: flex; justify-content: space-between; align-items: center; padding-inline: 6px; font-size: 9px; font-weight: 800; }
.phone-island { position: absolute; left: 50%; transform: translateX(-50%); width: 55px; height: 14px; border-radius: 12px; background: #151417; }
.phone-battery { width: 13px; height: 6px; border: 1px solid currentColor; border-radius: 2px; box-shadow: inset 0 0 0 1px #f8f6f0; background: currentColor; }
.phone-app { display: flex; align-items: center; gap: 5px; height: 29px; font-weight: 800; font-size: 15px; letter-spacing: -.07em; }
.phone-app span { margin-left: auto; letter-spacing: .06em; font-size: 8px; color: #6e625a; }
.phone-heading { display: grid; gap: 4px; margin-top: 5px; padding: 12px 10px; border-radius: 10px; color: var(--light); background: #252224; }
.phone-heading span { font-size: 8px; color: var(--accent); letter-spacing: .09em; font-weight: 700; }
.phone-heading strong { font-size: 15px; font-weight: 750; letter-spacing: -.035em; }
.phone-heading small { font-size: 9px; color: #d0c8c1; }
.estimate-lines { margin: 6px 0; }
.estimate-lines div, .estimate-total div { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.estimate-lines div { padding: 7px 1px; border-bottom: 1px solid #dfd8cf; }
.estimate-lines dt { font-weight: 650; }
.estimate-lines small { display: block; margin-top: 2px; color: #6e625a; font-size: 9px; font-weight: 400; }
.estimate-lines dd, .estimate-total dd { flex: none; font-weight: 750; font-variant-numeric: tabular-nums; }
.estimate-total { padding: 4px 1px 8px; }
.estimate-discount { font-size: 10px; color: #6d471f; }
.estimate-result { margin-top: 7px; font-size: 15px; font-weight: 800; letter-spacing: -.035em; }
.estimate-result dd { font-size: 20px; font-weight: 800; }
.phone-pdf { display: flex; gap: 5px; align-items: center; justify-content: center; border-radius: 8px; padding: 8px 4px; background: var(--accent); font-weight: 750; }
.phone-pdf .icon { width: 13px; height: 13px; }
.phone-home { width: 62px; height: 3px; margin: 8px auto 5px; border-radius: 5px; background: #292326; }
.demo-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 11px 9px 9px; border: 1px solid #756152; border-radius: 12px; color: var(--light); background: #292425; box-shadow: 0 8px 26px #170e0975; white-space: nowrap; }
.demo-offline { top: 13%; left: 4.2%; }
.demo-pdf { right: 4%; bottom: 5%; }
.chip-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #4f392f; color: var(--accent); }
.chip-symbol .icon { width: 16px; height: 16px; }
.demo-chip strong, .demo-chip small { display: block; }
.demo-chip strong { font-size: 11px; font-weight: 750; }
.demo-chip small { margin-top: 2px; font-size: 9px; color: #cec3ba; }
.demo figcaption { display: flex; justify-content: center; align-items: center; gap: 7px; padding-top: 12px; color: #c3b7af; font-size: 11px; }
.demo figcaption span { width: 5px; height: 5px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 16px 36px; padding-block: 21px; border-top: 1px solid var(--dark-border); color: #ded8d0; font-size: 13px; }
.hero-facts div { display: flex; align-items: center; gap: 9px; }
.hero-facts .icon { width: 17px; height: 17px; color: var(--accent); }

.section { padding-block: clamp(62px, 8vw, 116px); }
.features, .faq { background: var(--paper); }
.section-intro { display: grid; grid-template-columns: 1.1fr .65fr; gap: 22px 48px; align-items: end; margin-bottom: 35px; }
.eyebrow { color: #77502d; margin-bottom: 14px; }
.eyebrow span { background: #bf641e; }
.section h2, .app-main h1 { font-size: clamp(37px, 5vw, 70px); line-height: 1.02; letter-spacing: -.052em; font-weight: 700; }
.section-intro > p { max-width: 360px; color: var(--muted); font-size: 16px; line-height: 1.6; padding-bottom: 3px; }
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.feature-card { grid-column: span 4; padding: 24px; min-height: 190px; border: 1px solid var(--border); border-radius: 17px; background: #fbfaf7; }
.feature-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 21px; border-radius: 11px; background: #efebe4; color: #483428; }
.feature-card h3, .steps h3, .download-card h3, .app-main .download-card h2 { font-size: 21px; line-height: 1.15; letter-spacing: -.028em; }
.feature-card p, .steps li p { max-width: 31ch; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.53; }
.feature-main { grid-column: span 6; position: relative; min-height: 218px; overflow: hidden; padding-right: 46%; background: #292426; border-color: #292426; color: var(--light); }
.feature-main .feature-icon { background: #493630; color: var(--accent); }
.feature-main p { color: var(--dark-muted); }
.feature-offline, .feature-discount { grid-column: span 3; }
.feature-offline { background: #ebe9f1; border-color: #e2dfea; }
.feature-offline .feature-icon { background: #dddae9; color: #4a3d62; }
.feature-discount { background: #f7e4d0; border-color: #efdbc7; }
.feature-discount .feature-icon { background: #eed5b9; }
.mini-estimate { position: absolute; width: 47%; min-width: 170px; bottom: 18px; right: -9px; padding: 16px 16px 12px; border: 1px solid #766150; border-radius: 12px; background: #352e2e; box-shadow: 0 13px 26px #1c15168a; transform: rotate(-7deg); font-size: 11px; white-space: nowrap; }
.mini-estimate > span { font-size: 8px; letter-spacing: .1em; color: #e0b799; font-weight: 750; }
.mini-estimate div { display: flex; align-items: center; gap: 5px; padding-block: 8px; border-bottom: 1px solid #61504a; }
.mini-estimate b { font-weight: 500; }
.mini-estimate strong { margin-left: auto; font-weight: 700; }
.mini-estimate i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.mini-estimate div:last-child { color: var(--accent); border: 0; padding-bottom: 0; }

.steps { background: #ece8e0; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 37px 0 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid #c8beb2; padding-top: 18px; }
.steps li > span { display: block; margin-bottom: 24px; color: #8b4d23; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }

.downloads, .app-main { color: var(--light); background: radial-gradient(ellipse at 80% 0%, #392a24, transparent 60%), var(--ink); }
.downloads .eyebrow, .app-main .eyebrow { color: var(--accent-light); }
.downloads .eyebrow span, .app-main .eyebrow span { background: var(--accent); }
.downloads .section-intro > p, .app-lead { color: var(--dark-muted); }
.download-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 12px; }
.download-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 230px; padding: 23px; background: #242224; border: 1px solid #474042; border-radius: 17px; }
.download-android { border-color: #986649; background: #312621; }
.platform-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 19px; border-radius: 11px; background: #3c3638; color: #f1d4bf; }
.download-android .platform-icon { background: var(--accent); color: var(--ink); }
.download-card p { margin-top: 8px; color: var(--dark-muted); font-size: 14px; line-height: 1.5; }
.download-action { margin-top: auto; padding-top: 17px; }
.platform-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #5a4d48; border-radius: 7px; color: #ded0c5; font-size: 12px; line-height: 1.25; }
.platform-status::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #d99c70; }
.release-meta { margin-top: 13px; font-size: 12px; line-height: 1.55; color: #ead7c6; }
.release-meta div { display: flex; gap: 8px; }
.release-meta dt { min-width: 5.5em; color: var(--dark-muted); }
.release-meta dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px 58px; }
.questions { border-top: 1px solid var(--border); }
.questions details { border-bottom: 1px solid var(--border); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ''; width: 28px; height: 28px; flex: none; border-radius: 50%; background: linear-gradient(#5d3b26, #5d3b26) center / 10px 1px no-repeat, linear-gradient(#5d3b26, #5d3b26) center / 1px 10px no-repeat, #eae1d7; transition: background-color .18s ease; }
.questions summary:hover::after { background-color: #f4ccab; }
.questions details[open] summary::after { background-size: 10px 1px, 0 0, auto; }
.questions details p { padding: 0 34px 18px 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.site-footer { color: var(--light); }
.footer-inner { display: flex; align-items: center; gap: 16px 26px; min-height: 89px; padding-block: 19px; }
.footer-inner .wordmark { font-size: 28px; }
.footer-inner .wordmark img { width: 25px; height: 25px; }
.footer-inner p { color: var(--dark-muted); font-size: 13px; }
.footer-inner > a:last-child { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #ddd4ca; font-size: 13px; }

.app-main { min-height: calc(100vh - 168px); padding-block: clamp(36px, 5vw, 64px) clamp(65px, 8vw, 100px); }
.app-intro { max-width: 690px; margin-bottom: 36px; }
.app-intro .eyebrow { margin-top: 29px; }
.app-lead { max-width: 490px; margin-top: 20px; font-size: 17px; line-height: 1.6; }
.back-link { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; color: var(--dark-muted); font-size: 14px; }
.back-link .icon { width: 17px; height: 17px; }
.app-main .download-card { min-height: 235px; }
.app-main .hero-facts { margin-top: 29px; }
.app-footer { border-top: 1px solid var(--dark-border); }

@media (max-width: 1120px) {
  .demo-stage { min-height: 474px; }
}

@media (max-width: 880px) {
  .hero-grid { gap: 25px; }
  .hero h1 { font-size: clamp(38px, 4.9vw, 43px); }
  .demo-stage { min-height: 420px; }
  .phone { transform: scale(.86) rotate(-6deg); }
  .demo-chip { padding: 6px; }
  .demo-offline { top: 9%; }
  .feature-main { grid-column: span 12; padding-right: 44%; }
  .feature-card:not(.feature-main) { grid-column: span 6; min-height: 165px; }
  .feature-card:last-child { grid-column: span 12; }
  .mini-estimate { right: 5%; bottom: 28px; width: 34%; }
  .download-card { padding: 17px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 64px; gap: 0 10px; flex-wrap: wrap; padding-top: 10px; }
  .wordmark { font-size: 31px; }
  .wordmark img { width: 27px; height: 27px; }
  .main-nav { order: 1; width: 100%; gap: 8px; justify-content: space-between; font-size: 13px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 42px; }
  .header-link { min-height: 42px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-block: 36px 23px; }
  .hero-label { font-size: 10px; }
  .hero h1 { margin-top: 17px; font-size: clamp(34px, 8.5vw, 55px); }
  .hero-lead { margin-top: 17px; }
  .hero-actions { margin-top: 22px; }
  .demo-stage { min-height: 440px; border-radius: 18px; }
  .phone { transform: scale(.92) rotate(-6deg); }
  .hero-facts { padding-block: 18px; gap: 10px 17px; font-size: 12px; }
  .section-intro, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .section-intro { margin-bottom: 24px; }
  .section-intro br { display: none; }
  .steps-list { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 24px; }
  .steps li { display: grid; grid-template-columns: 30px 1fr; column-gap: 9px; padding-top: 14px; }
  .steps li > span { margin: 2px 0 0; }
  .steps li p { grid-column: 2; max-width: 38ch; }
  .download-grid { grid-template-columns: minmax(0, 1fr); }
  .download-card, .app-main .download-card { min-height: auto; padding: 20px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > a:last-child { margin-left: 0; }
}

@media (max-width: 420px) {
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 11px; }
  .hero-actions .button-arrow { display: none; }
  .demo-stage { min-height: 385px; }
  .phone { transform: scale(.79) rotate(-6deg); }
  .demo-chip small { display: none; }
  .demo-chip { gap: 5px; }
  .chip-symbol { width: 24px; height: 24px; }
  .chip-symbol .icon { width: 13px; height: 13px; }
  .demo-offline { top: 10%; }
  .demo-pdf { bottom: 4%; }
  .feature-card:not(.feature-main) { grid-column: span 12; min-height: 0; }
  .feature-main { padding: 20px; }
  .mini-estimate { position: static; width: 100%; min-width: 0; margin-top: 15px; transform: none; box-shadow: none; }
  .feature-card { padding: 20px; }
  .feature-icon { margin-bottom: 14px; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: 30px; }
  .hero-actions .button-outline { font-size: 13px; }
  .hero-actions .button { gap: 5px; padding-inline: 8px; font-size: 13px; }
  .hero-actions .icon { width: 17px; height: 17px; }
}

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