:root {
  color-scheme: light;
  --paper: #f5f5ed;
  --white: #fffef9;
  --ink: #171e18;
  --muted: #4f5e53;
  --line: #d9ded1;
  --pine: #194531;
  --dark: #14271e;
  --lime: #d5f75f;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #347555; outline-offset: 5px; }
.shell { width: min(100% - 96px, 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 12px; background: var(--white); padding: 12px 18px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; inset-block-start: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; justify-content: center; align-items: center; min-height: 37px; padding: 5px 0; background: transparent; }
.brand img { width: 190px; }
html[data-theme="light"] .site-header .brand img { filter: brightness(.12); }
.site-nav, .header-actions { display: flex; align-items: center; gap: 25px; }
.site-nav a, .language-button { font-size: 14px; font-weight: 650; white-space: nowrap; }
.site-nav a:hover, .language-button:hover { color: #386e45; }
.header-actions { gap: 14px; }
.language { position: relative; }
.language-button { display: flex; align-items: center; gap: 5px; padding: 9px 3px; border: 0; background: none; }
.language-button svg { width: 18px; height: 18px; }
.language-menu { position: absolute; top: calc(100% + 8px); right: 0; padding: 5px; min-width: 135px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 12px 32px #14271e16; }
.language-menu button { display: block; text-align: left; border: 0; background: none; border-radius: 5px; width: 100%; padding: 8px 10px; font-size: 14px; }
.language-menu button:hover, .language-menu button[aria-pressed="true"] { background: #e9eedf; }
.mobile-toggle { display: none; width: 42px; height: 42px; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 7px; background: transparent; }
.mobile-toggle span { width: 17px; height: 1.5px; background: currentColor; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 52px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.button span[aria-hidden] { font-size: 17px; line-height: 1; }
.header-cta, .button-dark { background: var(--dark); color: var(--white); }
.header-cta { min-height: 42px; font-size: 13px; gap: 10px; padding-inline: 12px; }
.header-cta:hover, .button-dark:hover { background: #28533b; }
.button-primary { background: var(--lime); border-color: #bfdc55; }
.button-primary:hover { background: #c6ee39; }
.button-outline { border-color: #b8c4b5; }
.button-outline:hover { background: #e7ecde; border-color: #8ca491; }

.hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: clamp(24px, 3.8vw, 56px); min-height: 595px; align-items: center; padding-block: 56px 43px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--pine); font: 700 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.registration { position: relative; display: inline-block; width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; flex: none; }
.registration::before, .registration::after { position: absolute; inset: 50% auto auto 50%; content: ""; background: currentColor; transform: translate(-50%, -50%); }
.registration::before { height: 1px; width: 19px; }
.registration::after { height: 19px; width: 1px; }
h1, h2, h3 { font-weight: 750; line-height: 1.08; text-wrap: balance; }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 5.15vw, 76px); line-height: .99; letter-spacing: -.074em; }
.hero-emphasis { color: var(--pine); }
html[lang="ru"] .hero h1 { font-size: clamp(39px, 4.7vw, 66px); }
.hero-description { max-width: 460px; margin-block: 26px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { display: flex; gap: 7px; margin-top: 17px; color: var(--muted); font-size: 13px; }
.hero-note > span:first-child { color: var(--pine); font-weight: 800; }
.hero-figure { align-self: center; min-width: 0; }
.proof-image { overflow: hidden; background: #e6e1d4; border: 1px solid #dbd8c8; border-radius: 12px; }
.proof-image img { width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.hero-figure figcaption { display: flex; justify-content: flex-end; align-items: center; height: 34px; padding-top: 12px; }
.swatches { display: flex; gap: 3px; }
.swatches i { width: 11px; height: 11px; border-radius: 2px; background: #099bd0; }
.swatches i:nth-child(2) { background: #d22b76; }
.swatches i:nth-child(3) { background: #eccb0c; }
.swatches i:nth-child(4) { background: #20251e; }

.section { padding-block: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2, .closing h2 { max-width: 750px; margin-top: 10px; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.062em; text-wrap: pretty; }
.section-heading > p { max-width: 300px; color: var(--muted); font-size: 16px; }
.tools-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; }
.tool-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 420px; overflow: hidden; border-radius: 12px; }
.offset-card { background: #e9ede2; border: 1px solid #dbe2d5; }
.cutting-card { background: #1b3929; color: var(--white); border: 1px solid #2b4938; }
.tool-copy { position: relative; z-index: 1; padding: 26px 28px 12px; }
.file-type { display: inline-block; margin-bottom: 13px; padding: 4px 7px; color: var(--pine); border: 1px solid #8aa594; border-radius: 4px; font: 700 11px/1.1 var(--mono); }
.tool-copy h3 { font-size: clamp(25px, 3vw, 37px); letter-spacing: -.045em; text-wrap: pretty; }
.tool-copy p { max-width: 470px; margin-block: 10px 13px; color: var(--muted); }
.cutting-card .tool-copy p { color: #d2ded4; }
.cutting-card .file-type { color: var(--lime); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 750; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cutting-card .text-link { color: var(--lime); }
.editor-image { align-self: center; margin: 2px auto -12px; width: min(95%, 510px); }
.nest-preview { margin: 4px 28px 25px; padding: 12px; background: radial-gradient(#d5f75f55 1px, transparent 1px) 0 0 / 12px 12px; border: 1px solid #748e65; border-radius: 7px; }
.nest-outline { display: grid; grid-template-columns: 1fr 1fr .8fr; grid-auto-rows: clamp(34px, 5vw, 59px); align-items: center; gap: 7px; border: 1px dashed #93ae76; padding: 7px; }
.nest-outline i { height: 100%; background: #d5f75f2a; border: 1px solid #d5f75f; border-radius: 2px; }
.nest-outline i:nth-child(2), .nest-outline i:nth-child(4) { border-radius: 50%; width: min(92%, 85px); justify-self: center; }
.nest-outline i:nth-child(3) { border-radius: 45% 45% 0 0; }
.nest-outline i:nth-child(5) { height: 85%; border-radius: 50px; width: 90%; }

.workflow-section { background: #e9ede1; padding-block: 59px 62px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; gap: 22px; }
.workflow-grid li { border-block-start: 1px solid #a7b5a3; padding-block-start: 18px; }
.step-number { color: var(--pine); font: 700 13px var(--mono); }
.workflow-grid h3 { margin-block: 12px 8px; font-size: 23px; letter-spacing: -.035em; text-wrap: pretty; }
.workflow-grid p { max-width: 290px; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { min-width: 0; padding: 26px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.plan-pro { background: #edf5cc; border-color: #adc46d; }
.plan h3 { font-size: 24px; letter-spacing: -.04em; }
.price { margin-top: 16px; font-size: clamp(26px, 3.25vw, 43px); line-height: 1.1; font-weight: 750; letter-spacing: -.07em; }
.price span { display: inline-block; font-size: 13px; letter-spacing: normal; font-weight: 500; white-space: nowrap; }
.annual { min-height: 24px; margin-top: 6px; color: var(--muted); font-size: 13px; }
.plan ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #cdd8bd; list-style: none; font-size: 14px; }
.plan li { position: relative; padding-inline-start: 21px; }
.plan li::before { position: absolute; inset-inline-start: 0; content: "✓"; color: #395c2d; font-weight: 800; }

.guides { padding-top: 5px; }
.guide-list { border-top: 1px solid #becbbd; }
.guide-list details { border-bottom: 1px solid #becbbd; }
.guide-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 4px; font-weight: 700; font-size: clamp(16px, 2vw, 21px); list-style: none; }
.guide-list summary::-webkit-details-marker { display: none; }
.guide-list summary:hover { color: var(--pine); }
.guide-list details p { max-width: 710px; padding: 0 5px 18px; color: var(--muted); }
.guide-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; background: #e7ecdf; border-radius: 50%; }
.guide-icon::before { content: "+"; line-height: 1; }
.guide-list details[open] .guide-icon::before { content: "−"; }
.closing-wrap { padding-bottom: 74px; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(23px, 4vw, 50px); background: var(--lime); border-radius: 12px; }
.closing h2 { margin: 0; }
.closing .button { flex-shrink: 0; }

.site-footer { background: var(--dark); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr 1.15fr; gap: 18px; padding-block: 48px 32px; }
.footer-grid h2 { margin-bottom: 9px; font-size: 15px; letter-spacing: -.02em; }
.footer-grid > div > a:not(.brand), .footer-grid p, .footer-bottom { color: #d1dbd1; font-size: 14px; overflow-wrap: anywhere; }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; margin-block: 6px; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--lime); }
.footer-grid p { margin-top: 9px; max-width: 230px; }
.footer-grid .brand { padding-left: 0; background: none; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 16px; border-top: 1px solid #ffffff26; }

@media (max-width: 1080px) {
  .shell { width: min(100% - 64px, 1280px); }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 13px; }
  .header-inner { gap: 14px; }
  .hero { min-height: 520px; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 64px; }
  .mobile-toggle { display: grid; }
  .site-nav { gap: 4px; display: none; position: absolute; top: calc(100% + 1px); inset-inline: 0; align-items: stretch; flex-direction: column; background: var(--white); padding: 12px; border: 1px solid var(--line); border-radius: 0 0 9px 9px; box-shadow: 0 12px 32px #14271e16; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 10px; font-size: 14px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(40px, 6.4vw, 60px); }
  html[lang="ru"] .hero h1 { font-size: clamp(37px, 5.8vw, 58px); }
  .section { padding-block: 60px; }
  .guides { padding-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  .shell { width: calc(100% - 36px); }
  .header-cta { display: none; }
  .header-actions { gap: 10px; }
  .brand img { width: 130px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 46px 24px; }
  .hero h1 { margin-top: 17px; font-size: clamp(38px, 9vw, 58px); }
  html[lang="ru"] .hero h1 { font-size: clamp(35px, 8.5vw, 52px); }
  .hero-description { margin-block: 18px 22px; font-size: 16px; }
  .proof-image img { aspect-ratio: 1.47; }
  .section { padding-block: 51px; }
  .guides { padding-top: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 23px; }
  .section-heading h2, .closing h2 { font-size: clamp(31px, 8.2vw, 47px); }
  .tools-grid, .pricing-grid, .workflow-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-card { min-height: 0; }
  .tool-copy { padding-inline: 20px; }
  .nest-preview { margin: 14px 20px 20px; }
  .workflow-section { padding-block: 46px; }
  .workflow-grid { gap: 16px; }
  .workflow-grid li { padding-top: 11px; }
  .workflow-grid h3 { margin-block: 6px; }
  .plan { padding: 20px; }
  .price { font-size: 34px; }
  .closing { align-items: flex-start; flex-direction: column; }
  .closing-wrap { padding-bottom: 48px; }
  .footer-grid { gap: 20px 12px; padding-block: 32px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Home theme, slideshow, and trust information */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1515;
  --white: #f5f8ef;
  --ink: #f2f6eb;
  --muted: #b7c8b9;
  --line: #34463c;
  --pine: #d0f269;
  --dark: #11241b;
}
html[data-theme="dark"] body { background: radial-gradient(ellipse at 76% 3%, #23391e 0, transparent 34%), var(--paper); }
html[data-theme="dark"] .site-header { background: #0c1513f5; }
html[data-theme="dark"] .language-menu { background: #17251d; }
html[data-theme="dark"] .language-menu button:hover, html[data-theme="dark"] .language-menu button[aria-pressed="true"] { background: #344b35; }
html[data-theme="dark"] .button-primary, html[data-theme="dark"] .closing { color: #142218; }
html[data-theme="dark"] .button-outline:hover { background: #233a2b; }
html[data-theme="dark"] .header-cta, html[data-theme="dark"] .button-dark { background: #d5f75f; color: #142218; }
html[data-theme="dark"] .offset-card { background: #1d2d25; border-color: #354b3c; }
html[data-theme="dark"] .workflow-section { background: #15241d; }
html[data-theme="dark"] .plan { background: #18271f; border-color: #35483c; }
html[data-theme="dark"] .plan-pro { background: #30432a; border-color: #799549; }
html[data-theme="dark"] .plan li::before { color: #c7ec68; }
html[data-theme="dark"] .plan ul, html[data-theme="dark"] .guide-list, html[data-theme="dark"] .guide-list details { border-color: #405445; }
html[data-theme="dark"] .guide-icon { background: #304636; }
html[data-theme="dark"] .closing .button { background: #14271e; color: #fff; }
html[data-theme="dark"] .closing h2 { color: #142218; }
html[data-theme="dark"] :focus-visible { outline-color: #d5f75f; }
.theme-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: transparent; font-size: 22px; line-height: 1; }
.theme-button:hover { border-color: var(--pine); }
.carousel { position: relative; aspect-ratio: 1.34; isolation: isolate; background: transparent; border: 0; overflow: visible; }
.carousel .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transform: scale(1.04); transition: opacity .85s ease, transform 5.8s ease; }
.carousel .slide.active { opacity: 1; transform: scale(1); }
.carousel .slide:first-child { object-fit: contain; background: transparent; transform: translate(-15%, 10%) scale(1.44); }
.carousel .slide:first-child.active { transform: translate(-15%, 10%) scale(1.5); }
.carousel .slide:nth-child(2) { clip-path: inset(0 round 12px); }
.slide-controls { display: flex; gap: 8px; align-items: center; }
.slide-dot { width: 10px; height: 10px; border: 0; padding: 0; border-radius: 50%; background: #a4b2a4; transition: width .25s, background .25s; }
.slide-dot.active { width: 24px; border-radius: 8px; background: var(--pine); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 35px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); color: #171e18; }
html[data-theme="dark"] .stats { background: #1a2922; color: var(--ink); }
.stat { display: flex; gap: 13px; align-items: center; padding: 24px 18px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #425b24; background: #d5f75f55; font-size: 24px; }
html[data-theme="dark"] .stat-icon { color: #d5f75f; background: #d5f75f18; }
.stat strong, .stat div span { display: block; }
.stat strong { font-size: clamp(16px, 1.6vw, 23px); line-height: 1.2; }
.stat div span { color: var(--muted); font-size: 13px; margin-top: 5px; }
html[data-theme="light"] .stat div span { color: #4f5e53; }
.features-intro { padding-left: 16px; border-left: 2px solid var(--pine); }
.payment-info { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: #edf0e4; }
html[data-theme="dark"] .payment-info { background: #192920; }
.payment-info strong { font-size: 16px; }
.payment-info p { color: var(--muted); margin-top: 5px; font-size: 14px; }
.payment-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.payment-logos img { width: 102px; height: 52px; object-fit: contain; border-radius: 8px; }
.plan-pro { position: relative; }
.popular { display: inline-flex; margin-bottom: 12px; border-radius: 99px; padding: 5px 10px; background: var(--lime); color: #142218; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.discount { display: inline-block; margin-right: 4px; padding: 2px 6px; border-radius: 4px; background: #d5f75f; color: #142218; font-weight: 800; }
.annual-month { display: inline-block; padding-top: 4px; }
.section-focus main > :not(.focus-target) { filter: blur(3px); opacity: .45; transition: filter .25s, opacity .25s; }
.section-focus .focus-target { position: relative; z-index: 1; }
.site-nav a[aria-current="location"] { color: var(--pine); }
@media (min-width: 1600px) { .carousel .slide:first-child { transform: translate(10%, 10%) scale(1.44); } .carousel .slide:first-child.active { transform: translate(10%, 10%) scale(1.5); } }
@media (min-width: 1081px) and (max-width: 1599px) { .carousel .slide:first-child { transform: translate(-2%, 10%) scale(1.22); } .carousel .slide:first-child.active { transform: translate(-2%, 10%) scale(1.28); } }
@media (max-width: 850px) { html[data-theme="dark"] .site-nav { background: #17251d; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (min-width: 681px) and (max-width: 1080px) { .carousel .slide:first-child { transform: translate(-5%, 10%) scale(1.15); } .carousel .slide:first-child.active { transform: translate(-5%, 10%) scale(1.2); } }
@media (max-width: 680px) { .carousel { aspect-ratio: 1.47; } .carousel .slide:first-child { left: 8%; width: 84%; transform: translateY(10%) scale(1.12); } .carousel .slide:first-child.active { transform: translateY(10%) scale(1.18); } .stat { padding: 16px 10px; gap: 8px; } .stat-icon { width: 34px; height: 34px; font-size: 19px; } .stat strong { font-size: 16px; } .stat div span { font-size: 12px; } .payment-info { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .carousel .slide { transition: none; } }
