:root {
  color-scheme: light;
  --canvas: #f5f6ef;
  --paper: #fcfcf8;
  --ink: #1a251c;
  --muted: #4f5c50;
  --line: #d7ddce;
  --green: #214731;
  --green-hover: #173624;
  --lime: #d9e3b1;
  --soft: #e9eedf;
  --danger: #8a3025;
  --round: 20px;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .56; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #798c49; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
p { color: var(--muted); }
#main { flex: 1; }
.shell { width: min(1190px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 4; left: 1rem; top: .75rem; background: var(--paper); padding: 1rem; transform: translateY(-165%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-layout {
  min-height: 77px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.14rem;
  font-weight: 750;
  letter-spacing: -.045em;
}
.brand-mark {
  display: grid;
  grid: repeat(2, 8px) / repeat(2, 8px);
  place-content: center;
  gap: 2px;
  width: 31px;
  height: 31px;
  background: var(--green);
  border-radius: 9px;
  transform: rotate(-6deg);
}
.brand-mark i { background: var(--lime); border-radius: 1px 5px 1px 5px; }
.brand-mark i:nth-child(2) { border-radius: 5px 1px 5px 1px; opacity: .63; }
.brand-mark i:nth-child(3) { border-radius: 5px 1px 5px 1px; opacity: .8; }
.header-nav, .footer-layout nav { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem; }
.header-nav a, .footer-layout nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.header-nav a:hover, .footer-layout nav a:hover { color: var(--ink); text-decoration: underline; }
.header-actions { justify-self: end; grid-column: 3; }
.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: .67rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.22;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-small { min-height: 40px; padding: .55rem .88rem; font-size: .92rem; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover:not(:disabled) { background: var(--green-hover); }
.button-outline { background: transparent; border-color: #b7c3b1; color: var(--green); }
.button-outline:hover:not(:disabled) { background: var(--soft); border-color: #8c9c84; }
.text-link { font-weight: 700; color: var(--green); }
.text-button { border: 0; padding: 0; background: none; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2.2rem, 6vw, 6rem);
  min-height: 610px;
  padding-block: 4rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  color: var(--green);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-label span { width: .55rem; height: .55rem; background: #617636; border-radius: 50%; }
.hero h1 {
  margin: 1.15rem 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.1vw, 5.55rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero h1 em { color: var(--green); font-weight: 400; }
.hero-copy > p { max-width: 32rem; font-size: clamp(1.05rem, 2vw, 1.21rem); line-height: 1.57; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.1rem; margin-top: 1.8rem; }
.sample {
  position: relative;
  min-height: 443px;
  overflow: hidden;
  isolation: isolate;
  align-self: stretch;
  display: grid;
  align-content: end;
  border-radius: 10px 10px 84px 10px;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  background: radial-gradient(ellipse at 91% 18%, #486340 0%, #274934 43%, #173624 90%);
  color: #fbfcf4;
}
.sample-orbit { position: absolute; z-index: -1; width: 390px; height: 390px; top: -98px; right: -120px; }
.sample-orbit i { position: absolute; inset: 0; border: 1px solid rgb(217 227 177 / .33); border-radius: 50%; }
.sample-orbit i:nth-child(2) { inset: 55px; }
.sample-orbit i:nth-child(3) { inset: 110px; }
.sample-orbit i:nth-child(4) { inset: 165px; }
.sample-orbit b { position: absolute; width: 8px; height: 8px; top: 113px; left: 64px; background: #e2edb3; border-radius: 50%; box-shadow: 0 0 16px #f0ff98; }
.sample-inner { max-width: 365px; }
.sample-kicker { display: flex; align-items: center; gap: .45rem; color: #e0e7ce; font-size: .86rem; font-weight: 700; }
.sample-icon { width: 13px; height: 13px; border: 1px solid #279b56; border-color: #d9e7b6; border-radius: 50%; box-shadow: inset 0 0 0 3px #365b3d; background: #d9e7b6; }
.sample-heading { color: inherit; font: 400 clamp(2.4rem, 4.4vw, 4.3rem)/1.01 var(--serif); letter-spacing: -.06em; margin: .7rem 0 1.1rem; }
.sample-items { display: grid; }
.sample-items > div { border-top: 1px solid rgb(217 227 177 / .38); padding: .67rem 0; display: grid; gap: .05rem; }
.sample-items strong { font-size: .99rem; color: #f7fae6; }
.sample-items span { font-size: .86rem; color: #e0e7ce; }
.sample-footer { margin-top: .75rem; width: fit-content; color: #233624; background: var(--lime); border-radius: 90px; padding: .36rem .7rem; font-size: .81rem; font-weight: 750; }

.section { padding-block: 3.2rem; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(10rem, 24rem); gap: 1rem 2rem; align-items: end; }
.section h2, .workspace h1 { font: 400 clamp(2.1rem, 4.8vw, 4.2rem)/1.05 var(--serif); letter-spacing: -.065em; }
.section-heading p { max-width: 25rem; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.65rem; margin-top: 2rem; }
.how-grid article { border-top: 1px solid var(--line); padding-block: 1.35rem 0; }
.how-grid h3 { margin: .85rem 0 .45rem; font-size: 1.18rem; letter-spacing: -.025em; }
.how-grid p { max-width: 29ch; }
.feature-mark { display: grid; position: relative; place-content: center; width: 39px; height: 39px; background: var(--soft); color: var(--green); border-radius: 9px; }
.feature-brief { gap: 3px; }
.feature-brief i { width: 17px; height: 2px; background: currentColor; border-radius: 3px; }
.feature-brief i:first-child { width: 10px; }
.feature-sources i { position: absolute; inset: 8px; border-radius: 50%; border: 1px solid currentColor; }
.feature-sources i:nth-child(2) { inset: 12px; }
.feature-sources i:nth-child(3) { inset: 16px; background: currentColor; }
.feature-telegram i { position: absolute; inset: 11px 8px 10px; border: 1px solid currentColor; border-radius: 5px; }
.feature-telegram i:nth-child(2) { inset: 17px 18px 20px 14px; border: 0; border-top: 2px solid currentColor; border-radius: 0; }
.feature-telegram i:nth-child(3) { inset: 21px 13px 15px 14px; border: 0; border-top: 2px solid currentColor; border-radius: 0; }
.plan-section { padding-bottom: 4rem; }
.plan-banner { background: var(--soft); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.8rem; border-radius: var(--round); padding: clamp(1.5rem, 4vw, 3.1rem); }
.plan-banner p:not(.plan-price) { max-width: 34rem; margin-top: .8rem; }
.plan-banner-action { display: grid; gap: .6rem; justify-items: end; }
.plan-price { font-size: 1.15rem; color: var(--green); font-weight: 750; }
.plan-price:empty { display: none; }
.site-footer { border-top: 1px solid var(--line); }
.footer-layout { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; min-height: 91px; padding-block: 1rem; }

.workspace { max-width: 1020px; padding-block: 2.75rem 4rem; }
.workspace-top { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; align-items: start; justify-content: space-between; margin-bottom: 1.25rem; }
.workspace-top p:not(.environment-pill) { margin-top: .55rem; overflow-wrap: anywhere; }
.environment-pill { padding: .33rem .7rem; border-radius: 30px; background: var(--soft); color: var(--green); font-size: .88rem; font-weight: 700; }
.workspace-tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.35rem; border-bottom: 1px solid var(--line); margin-bottom: 1.35rem; }
.workspace-tabs button { padding: .7rem 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 700; text-align: left; }
.workspace-tabs button[aria-current] { border-bottom-color: var(--green); color: var(--green); }
.workspace-content { display: grid; gap: 1rem; }
.panel { padding: clamp(1rem, 3vw, 1.75rem); min-width: 0; border: 1px solid var(--line); border-radius: var(--round); background: var(--paper); }
.panel h2 { font-size: clamp(1.3rem, 3vw, 1.72rem); letter-spacing: -.04em; }
.panel h3 { font-size: 1.13rem; }
.panel-heading p { margin-top: .42rem; }
.panel p + .button, .panel p + .action-row { margin-top: .9rem; }
.panel-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.notice-wrap { padding-top: 1rem; }
.notice { padding: .8rem .95rem; border: 1px solid #c5d0bf; border-radius: 9px; background: var(--soft); color: var(--green); }
.notice[data-tone="error"], .form-message[data-tone="error"] { color: var(--danger); }
.notice[data-tone="error"] { border-color: #e0bdb3; background: #faede7; }
.form-message { color: var(--green); font-size: .92rem; }
.issue-list, .source-list { display: grid; gap: .65rem; margin-top: 1rem; }
.issue { border: 1px solid var(--line); border-radius: 10px; }
.issue > summary { cursor: pointer; padding: .65rem .8rem; font-weight: 750; color: var(--green); }
.issue-body, .source { padding: .75rem .85rem; }
.issue-item + .issue-item { border-top: 1px solid var(--line); margin-top: .75rem; padding-top: .85rem; }
.issue-item h3, .source-title { overflow-wrap: anywhere; }
.issue-item p { margin-top: .4rem; }
.issue-item .action-row { margin-top: .52rem; }
.source { border: 1px solid var(--line); border-radius: 10px; }
.source p { margin-top: .2rem; }
.draft { margin-top: .65rem; padding: .75rem; border-radius: 8px; background: var(--soft); }
.draft p { white-space: pre-wrap; overflow-wrap: anywhere; }
.secondary { color: var(--muted); font-size: .88rem; }
.state-text { margin-top: .45rem; }
.stack, .form-grid { display: grid; gap: .82rem; }
.form-grid { grid-template-columns: 1fr 1fr; margin-top: 1.05rem; }
.form-grid > * { min-width: 0; }
.form-grid .wide { grid-column: 1 / -1; }
label { display: grid; gap: .28rem; font-size: .94rem; font-weight: 700; }
input:not([type="checkbox"]), textarea, select {
  max-width: 100%;
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b8c3b0;
  border-radius: 7px;
  padding: .54rem .64rem;
  min-height: 44px;
}
input:disabled, textarea:disabled { background: #f3f5ef; }
input::placeholder, textarea::placeholder { color: #637162; opacity: 1; font-weight: 400; }
input[type="file"] { font-size: .89rem; }
textarea { resize: vertical; }
select {
  appearance: none;
  padding-right: 2em;
  background-image: linear-gradient(45deg, transparent 50%, #435842 50%), linear-gradient(135deg, #435842 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.checkbox { display: flex; align-items: start; gap: .53rem; font-weight: 500; }
.checkbox input { margin-top: .28rem; width: 1rem; height: 1rem; accent-color: var(--green); flex: 0 0 auto; }
.input-help { color: var(--muted); font-size: .85rem; font-weight: 400; overflow-wrap: anywhere; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.15rem; }
.form-footer .button { margin-left: auto; }
.auth-dialog { margin: auto; width: min(455px, calc(100vw - 28px)); max-height: calc(100vh - 28px); border: 1px solid var(--line); border-radius: var(--round); padding: 0; background: var(--paper); color: var(--ink); }
.auth-dialog::backdrop { background: rgb(12 27 16 / .64); }
.dialog-inner { position: relative; padding: clamp(1rem, 5vw, 1.75rem); }
.close-button { position: absolute; top: .65rem; right: .65rem; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 1.65rem; line-height: 1; }
.close-button:hover { background: var(--soft); }
.auth-heading { margin: 0 1.65rem 1rem 0; }
.auth-heading h2 { font: 400 2.3rem/1.03 var(--serif); letter-spacing: -.055em; }
.auth-heading p { margin-top: .35rem; font-size: .94rem; }
.checks { display: grid; gap: .45rem; }
.auth-links { display: flex; gap: .35rem .85rem; flex-wrap: wrap; margin-top: .85rem; font-size: .89rem; }

@media (max-width: 940px) {
  .hero { min-height: auto; gap: 1.6rem; }
  .hero h1 { font-size: clamp(2.6rem, 5.7vw, 4.65rem); }
  .sample { min-height: 405px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .header-layout { min-height: 63px; grid-template-columns: 1fr auto; gap: .3rem; }
  .header-nav { display: none; }
  .header-actions { grid-column: 2; }
  .hero { display: grid; grid-template-columns: 1fr; padding-block: 2.65rem; }
  .hero h1 { font-size: clamp(2.35rem, 8.5vw, 4.4rem); }
  .sample { min-height: 365px; border-bottom-right-radius: 56px; padding: 1.35rem; }
  .section { padding-block: 2.25rem; }
  .section-heading, .how-grid, .panel-layout { grid-template-columns: 1fr; }
  .how-grid { gap: 1.2rem; margin-top: 1.35rem; }
  .how-grid p { max-width: 40ch; }
  .plan-banner { grid-template-columns: 1fr; }
  .plan-banner-action { justify-items: start; }
  .footer-layout nav { gap: .35rem .9rem; }
  .workspace { padding-block: 1.8rem 2.75rem; }
}
@media (max-width: 430px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.header-actions { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: end; }
.landing-tariffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.landing-tariffs > div { min-width: 108px; display: grid; align-content: start; gap: .12rem; border: 1px solid #becbb6; border-radius: 9px; padding: .62rem .8rem; }
.landing-tariffs span { color: var(--muted); font-size: .88rem; }
.landing-tariffs strong { color: var(--green); font-size: 1.16rem; white-space: nowrap; }
.plan-banner .plan-banner-action .secondary { margin-top: 0; }
.radar-toolbar { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; margin-block: 1.1rem .75rem; }
.radar-toolbar label { min-width: min(100%, 22rem); }
.radar-toolbar .button { min-height: 44px; }
.empty-radar .button { margin-top: .9rem; }
.billing-form { display: grid; gap: .72rem; margin-top: 1rem; }
.billing-form fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.billing-form legend { font-weight: 700; font-size: .94rem; padding: 0; margin-bottom: .35rem; }
.tariff { display: flex; gap: .44rem; align-items: start; padding: .65rem .6rem; border: 1px solid var(--line); border-radius: 8px; }
.tariff:has(input:checked) { border-color: #839a75; background: var(--soft); }
.tariff input[type="radio"] { padding: 0; accent-color: var(--green); min-height: auto; width: auto; flex: 0 0 auto; margin: .28rem 0 0; }
.tariff span { display: grid; min-width: 0; }
.tariff small { font-size: .84rem; font-weight: 600; color: var(--muted); }
.billing-form .button { width: fit-content; }
.billing-tools { display: grid; gap: .75rem; margin-top: 1.15rem; }
.billing-tool { border-top: 1px solid var(--line); padding-top: .75rem; }
.billing-tool p { margin-bottom: .42rem; }

@media (max-width: 470px) {
  .site-header .header-actions .button { font-size: .8rem; padding-inline: .5rem; }
  .radar-toolbar label { flex: 1 1 100%; }
  .landing-tariffs > div { min-width: 0; }
}

.payment-summary { padding: .62rem .72rem; border-radius: 7px; background: var(--soft); color: var(--green); }
.promo-block { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; }
.promo-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; align-items: end; margin-top: .65rem; }
.promo-form .button { min-height: 44px; }
.promo-form .form-message { grid-column: 1 / -1; }

.seller-details { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .45rem 1rem; margin-top: 1rem; color: var(--muted); font-size: .88rem; }
.seller-details p { margin: 0; }
.seller-details a { color: inherit; }
