:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #182e26;
  background: #fffdf7;
  font-synthesis: none;
  --ink: #182e26;
  --muted: #42584e;
  --forest: #123a2d;
  --cream: #fffdf7;
  --lime: #dcfb9c;
  --gold: #ffd365;
  --wine: #842747;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-inline-size: 100%; block-size: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); letter-spacing: -.038em; }
section[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 3px solid #a23e60; outline-offset: 5px; }
.hero :focus-visible, .download-panel :focus-visible { outline-color: #fff; }

.wrap { width: min(76rem, calc(100% - clamp(2rem, 8vw, 7.5rem))); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 2;
  inset-block-start: .75rem;
  inset-inline-start: 1rem;
  transform: translateY(-180%);
  padding: .5rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--cream); border-bottom: 1px solid #e3e8df; }
.site-header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.35rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .66rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.18rem;
  aspect-ratio: 1;
  border-radius: .42rem;
  background: var(--wine);
  color: #fff;
  font: 700 1.2rem Georgia, "Times New Roman", serif;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.15rem); }
.site-nav a { padding-block: .55rem; font-size: .96rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.multilingual-header .site-nav { margin-inline-start: auto; }
.site-languages { display: flex; align-items: center; gap: .12rem; padding: .18rem; background: #edf3e9; border: 1px solid #d3dfd4; border-radius: .62rem; }
.site-languages a { padding: .36rem .52rem; border-radius: .39rem; font-size: .84rem; font-weight: 700; text-align: center; text-decoration: none; white-space: nowrap; }
.site-languages a[aria-current="page"] { background: var(--forest); color: white; }
.site-languages a:hover { text-decoration: underline; }

.hero {
  background: radial-gradient(ellipse at 88% 14%, #28674b, transparent 58%), var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.4rem, 5vw, 5.7rem);
  padding-block: clamp(3.2rem, 6.8vw, 6.6rem);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  color: #e4fac4;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.8rem, 7vw, 7.05rem); letter-spacing: -.065em; }
.hero h1 { margin-block: 1.04rem 1.35rem; letter-spacing: .01em; }
.hero h1 span { display: block; color: var(--lime); font-size: .68em; letter-spacing: .01em; }
.hero:lang(uz) h1 span, .hero:lang(kk) h1 span { font-size: .52em; }
.hero:lang(en) h1 { font-size: clamp(2.55rem, 5.25vw, 5.4rem); }
.hero:lang(en) h1 span { font-size: .59em; margin-top: .2em; }
.hero-lead { max-width: 33rem; font-size: clamp(1.1rem, 1.6vw, 1.36rem); color: #eff6ee; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.hero .actions, .download-panel .actions { margin-top: 1.9rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.32rem;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .67rem;
  font-size: 1.01rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.button-gold { background: var(--gold); color: #262419; box-shadow: 0 .3rem 0 #8c581d; }
.button-gold:hover { background: #ffe391; }
.button-outline { color: var(--cream); border-color: #aec9b8; }
.button-outline:hover { background: #f4fbeb; color: var(--ink); }
.download-info { margin-top: 1.18rem; color: #d9e7dd; font-size: .9rem; }

.hero-figure { position: relative; isolation: isolate; }
.hero-figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7% -12% 10% 8%;
  transform: rotate(-6deg);
  border-radius: 42% 58% 56% 44% / 63% 51% 49% 37%;
  background: linear-gradient(135deg, #93d66d, #dbf98a 60%, #f6c86a);
}
.app-frame {
  display: block;
  padding: .6rem;
  border: 1px solid #cdecc6;
  border-radius: 1.24rem;
  background: #f1faea;
  box-shadow: 0 1.4rem 2.9rem #081f18a6;
}
.app-frame img { border-radius: .76rem; }
.app-frame:hover { border-color: #fff; }
.hero-figure figcaption {
  color: #e5f3e2;
  font-size: .9rem;
  margin-top: 1rem;
  text-align: center;
}

.benefits { padding-block: clamp(3.5rem, 7vw, 6.2rem); }
.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem 2.4rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}
.section-heading p { max-width: 31rem; color: var(--muted); font-size: 1.12rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.benefit {
  position: relative;
  display: grid;
  align-content: start;
  gap: .65rem;
  min-width: 0;
  padding: clamp(1.2rem, 2.1vw, 1.85rem);
  border: 1px solid #182e2617;
  border-radius: 1.25rem;
  background: var(--tint);
}
.benefit-lilac { --tint: #ebe0fa; --badge: #502972; }
.benefit-lime { --tint: #e3f4ad; --badge: #31532b; }
.benefit-peach { --tint: #ffd9c4; --badge: #8a3a24; }
.benefit-blue { --tint: #d9eff2; --badge: #22546d; }
.benefit h3 { font-size: 1.31rem; line-height: 1.2; letter-spacing: -.023em; }
.benefit p { color: #273e35; }
.benefit-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.78rem;
  height: 2.78rem;
  margin-bottom: .4rem;
  border-radius: .8rem;
  color: white;
  background: var(--badge);
}
.symbol-import::before, .symbol-forms::before {
  content: "";
  width: .96rem;
  height: 1.24rem;
  border: 2px solid currentColor;
  border-radius: .15rem;
}
.symbol-import::after, .symbol-forms::after {
  content: "";
  position: absolute;
  width: .44rem;
  height: .12rem;
  background: currentColor;
  box-shadow: 0 .27rem currentColor;
  margin-top: -.25rem;
}
.symbol-import::before { transform: translate(-.12rem, -.12rem); box-shadow: .25rem .25rem #ffffff74; }
.symbol-import::after { transform: translate(-.12rem, -.12rem); }
.symbol-money { font-size: 1.53rem; font-weight: 750; }
.symbol-payroll::before {
  content: "";
  position: absolute;
  top: .58rem;
  width: .63rem;
  height: .63rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.symbol-payroll::after {
  content: "";
  position: absolute;
  bottom: .58rem;
  width: 1.16rem;
  height: .58rem;
  border: 2px solid currentColor;
  border-radius: .7rem .7rem .18rem .18rem;
}
.privacy-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: clamp(1.05rem, 2.25vw, 1.6rem);
  border: 1px solid #cddecf;
  border-radius: 1rem;
  background: #f0f7eb;
}
.privacy-note img { flex: 0 0 3.5rem; }
.privacy-note h3 { font-size: 1.17rem; }
.privacy-note p { color: var(--muted); }

.closing { padding-bottom: clamp(3.8rem, 7vw, 6rem); }
.download-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.55rem;
  background: #16362c;
  color: var(--cream);
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, #16362c 16%, #16362ce0 42%, #16362c00 72%), url("/ip/assets/notebook.webp");
  background-size: auto, cover;
  background-position: center, right 49%;
}
.download-panel-copy { max-width: 38rem; padding: clamp(2rem, 5vw, 4.15rem); }
.download-panel h2 { font-size: clamp(2.1rem, 4.3vw, 3.8rem); color: var(--lime); }
.download-panel p { margin-top: .8rem; color: #eef6ec; font-size: 1.08rem; }
.text-on-dark { padding: .65rem .25rem; font-size: .98rem; font-weight: 650; }
.text-on-dark:hover { color: var(--gold); }

.site-footer { background: #f4f5ec; border-top: 1px solid #dce4d8; }
.footer-inner { min-height: 5.2rem; flex-wrap: wrap; justify-content: flex-start; gap: .7rem 1.5rem; padding-block: 1rem; }
.footer-inner a { color: #314a3d; font-size: .9rem; text-decoration: none; }
.footer-inner a:first-child { color: var(--ink); font-weight: 750; margin-right: auto; }

.guide-layout {
  display: grid;
  grid-template-columns: minmax(12.5rem, 17rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: 1.6rem;
}
.guide-nav {
  position: sticky;
  top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid #dce5d7;
  border-radius: 1rem;
  background: #f2f7ec;
}
.guide-nav h3 { font: 750 1.04rem "Segoe UI", Arial, sans-serif; }
.guide-nav ol { padding-inline-start: 1.35rem; margin: .65rem 0 0; }
.guide-nav li { padding: .31rem 0; }
.guide-nav a { font-size: .96rem; font-weight: 600; }
.guide-steps { display: grid; gap: 1rem; }
.step {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #dbe3d8;
  border-top: .3rem solid var(--accent);
  border-radius: 1rem;
  background: #fff;
}
.step-gold { --accent: #ce840a; --pale: #fff1c5; --dark: #593508; }
.step-lilac { --accent: #8750ad; --pale: #ecdff9; --dark: #48236a; }
.step-peach { --accent: #c36040; --pale: #ffe0d0; --dark: #6f2b18; }
.step-lime { --accent: #5f8a38; --pale: #e9f5c1; --dark: #344d16; }
.step-blue { --accent: #3c8196; --pale: #d9eff2; --dark: #154c5f; }
.step:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--pale); }
.step-head { margin-bottom: 1rem; }
.step-list { margin: 0; padding-inline-start: 1.35rem; }
.step-list li + li { margin-top: .46rem; }
.step-tip { margin-top: 1rem; padding: .85rem 1rem; border-radius: .7rem; background: var(--pale); color: var(--dark); }
.step-figure { margin-top: 1.2rem; }
.step-figure a { display: block; border: 1px solid #ccdbcf; border-radius: .72rem; }
.step-figure img { border-radius: inherit; width: 100%; }
.step-figure figcaption { margin-top: .55rem; color: var(--muted); font-size: .92rem; }
.restore { margin-top: 1rem; padding: .8rem 1rem; border-radius: .72rem; background: var(--pale); }
.restore summary { font-weight: 700; cursor: pointer; }
.restore .step-list { margin-top: .65rem; }
code { overflow-wrap: anywhere; font-size: .92em; }

.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.install-steps h4, .install-help h4 { margin: 0 0 .8rem; font-size: 1.15rem; line-height: 1.3; }
.install-help details { border-block-end: 1px solid #dbe3d8; }
.install-help details:first-of-type { border-block-start: 1px solid #dbe3d8; }
.install-help summary { padding-block: .8rem; font-weight: 650; cursor: pointer; overflow-wrap: anywhere; }
.install-help details p { padding: 0 .25rem .9rem 1.15rem; color: var(--muted); }
.guide-embedded { padding-bottom: clamp(3rem, 6vw, 5rem); }
.guide-embedded .section-heading { grid-template-columns: minmax(0, 1fr); margin-bottom: 1rem; gap: .35rem; }
.guide-embedded .section-heading h3, .guide-embedded .step-head h3 { font: 700 clamp(1.55rem, 3vw, 2.12rem)/1.12 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.guide-embedded .install-help[id] { scroll-margin-top: 1.5rem; }

@media (min-width: 90rem) {
  .hero h1 { margin-inline-end: -3.5rem; }
}

@media (max-width: 65rem) {
  .hero-layout { gap: 2.4rem; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 51rem) {
  .multilingual-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: .7rem; row-gap: .5rem; }
  .site-languages { grid-column: 1 / -1; justify-self: start; }
  .hero-layout, .section-heading, .install-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 2.6rem; }
  .hero-lead { max-width: 37rem; }
  .hero-figure { max-width: 39rem; }
  .hero-figure::before { inset-inline-end: -6%; }
  .section-heading h2 br { display: none; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-nav { position: static; }
  .guide-nav ol { columns: 2; }
}

@media (max-width: 35rem) {
  .site-header-inner { min-height: 3.8rem; padding-block: .55rem; flex-wrap: wrap; column-gap: .65rem; row-gap: .15rem; }
  .site-nav { gap: .6rem; }
  .site-nav .section-link { display: none; }
  .site-nav a { font-size: .9rem; }
  .site-languages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .site-languages a { padding-inline: .15rem; }
  .eyebrow { max-width: 25ch; font-size: .84rem; }
  .hero h1 { font-size: clamp(3.35rem, 13vw, 4.4rem); }
  .hero .actions { gap: .72rem; }
  .hero .button { flex: 1 0 auto; padding-inline: .82rem; }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit { gap: .5rem; }
  .privacy-note { align-items: flex-start; }
  .download-panel-copy { padding-inline: 1.35rem; }
  .download-panel::before { background-image: linear-gradient(100deg, #16362c 16%, #16362cd9 79%), url("/ip/assets/notebook.webp"); }
  .footer-inner { display: grid; justify-content: start; }
}

@media (max-width: 23rem) {
  .guide-nav ol { columns: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

@media print {
  .site-header, .site-footer, .hero, .benefits, .closing, .skip-link { display: none; }
  .guide-embedded { width: 100%; padding: 0; }
  .guide-embedded h2 { font-size: 24pt; }
  .guide-layout, .install-grid { display: block; }
  .install-help { margin-top: 1rem; }
  .guide-nav { position: static; margin-bottom: 1rem; }
  .guide-nav ol { columns: 2; }
  .guide-steps { display: block; }
  .step { margin-bottom: .6rem; }
  .step-head, .step-figure { break-inside: avoid; }
  .guide-embedded .step-head h3 { font-size: 17pt; }
}
