:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --surface: #eff3ec;
  --surface-strong: #eaf0e9;
  --border: #dbe3da;
  --text: #142a25;
  --muted: #466057;
  --muted-light: #526c63;
  --blue: #185c48;
  --blue-deep: #12483a;
  --blue-soft: #e9f4ea;
  --lime: #dff6bd;
  --ink: #132e27;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Manrope", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); }
button, select { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
[hidden] { display: none !important; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 12; top: 10px; inset-inline-start: 12px; transform: translateY(-170%); padding: 8px 14px; border-radius: 7px; background: var(--blue); color: #fff; }
.skip-link:focus { transform: none; }
[data-page-section] { display: none; }
body[data-page="home"] [data-page-section~="home"],
body[data-page="pricing"] [data-page-section~="pricing"],
body[data-page="about"] [data-page-section~="about"],
body[data-page="terms"] [data-page-section~="terms"] { display: block; }

.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(15px, 2.2vw, 32px); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--display); font-size: 19px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.brand strong { color: var(--blue); }
.brand img { flex: 0 0 auto; display: block; }
.main-nav { align-self: stretch; display: flex; justify-content: center; align-items: stretch; gap: clamp(15px, 2.7vw, 34px); font-size: 14px; font-weight: 650; color: var(--muted); }
.main-nav a { position: relative; display: grid; place-items: center; text-align: center; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue-deep); }
.main-nav a[aria-current="page"]::after { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--blue); content: ""; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-control { display: inline-flex; position: relative; align-items: center; border: 1px solid var(--border); border-radius: 7px; color: var(--muted); }
.language-control select { appearance: none; width: 109px; max-width: 32vw; height: 39px; padding-block: 0; padding-inline: 26px 15px; overflow: hidden; border: 0; border-radius: 7px; background: transparent; color: inherit; font-size: 12px; }
.language-control option { background: var(--bg); color: var(--text); }
.globe-icon { position: absolute; inset-inline-start: 8px; display: block; width: 12px; height: 12px; border: 1px solid currentColor; border-radius: 50%; pointer-events: none; }
.globe-icon::before { position: absolute; inset: -1px 3px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.globe-icon::after { position: absolute; inset: 5px 0 auto; border-top: 1px solid currentColor; content: ""; }
.select-chevron { position: absolute; inset-inline-end: 8px; width: 5px; height: 5px; margin-block-start: -3px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); pointer-events: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center; transition: background .16s ease, color .16s ease, border .16s ease; }
.button-primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button-outline { border-color: #bccac1; background: transparent; color: var(--text); }
.button-outline:hover { border-color: var(--blue); color: var(--blue-deep); background: #f3f7f1; }
.header-cta { min-height: 42px; padding: 8px 13px; white-space: nowrap; font-size: 13px; }
.arrow-icon { position: relative; width: 14px; height: 12px; flex: 0 0 14px; }
.arrow-icon::before { position: absolute; top: 5px; left: 1px; width: 11px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.arrow-icon::after { position: absolute; width: 7px; height: 7px; top: 2.5px; right: 2px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); content: ""; }
[dir="rtl"] .arrow-icon { transform: scaleX(-1); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(65px, 8.1vw, 115px);
  background: radial-gradient(ellipse at 83% 41%, #2a5944 0, transparent 49%), linear-gradient(135deg, #133830, #102923 78%);
  color: #fff;
}
.hero::before, .hero::after { position: absolute; z-index: -1; pointer-events: none; content: ""; }
.hero::before { inset: 0; background-image: linear-gradient(#b2d7bf16 1px, transparent 1px), linear-gradient(90deg, #b2d7bf16 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse at 88% 52%, #000, transparent 70%); }
.hero::after { inset-inline-end: -15%; inset-block-start: -48%; width: min(76vw, 1050px); aspect-ratio: 1; border: 1px solid #a8d5bb39; border-radius: 50%; box-shadow: 0 0 0 45px #b5f1c70a, 0 0 0 94px #b5f1c70a; }
.hero :focus-visible { outline-color: #e5f8ba; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(24px, 4.4vw, 67px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 9px; margin-block-end: 17px; color: #c5edb0; font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.hero-mark { width: 9px; height: 9px; flex: 0 0 9px; border: 2px solid #9ada9d; border-radius: 50%; box-shadow: 0 0 0 3px #a5eaa122; }
.hero h1 { font-family: var(--display); font-size: clamp(46px, 5.05vw, 76px); font-weight: 800; line-height: .99; letter-spacing: -.075em; overflow-wrap: anywhere; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--lime); }
.hero-description { max-width: 490px; margin-block-start: 22px; color: #d0e4d8; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 29px; }
.hero-actions .button { min-height: 48px; padding-inline: 16px; }
.hero .button-primary { border-color: var(--lime); background: var(--lime); color: #17352b; }
.hero .button-primary:hover { border-color: #edffd8; background: #edffd8; }
.hero .button-outline { border-color: #739587; color: #f3fbef; }
.hero .button-outline:hover { border-color: #bdd5c7; background: #234338; }
.hero-subline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: #b7d2c4; font-size: 12px; }
.hero-subline span + span::before { content: "·"; padding-inline-end: 8px; }
.hero-subline span:first-child { color: #f2f9ea; font-weight: 700; }

.section { padding-block: clamp(57px, 7vw, 102px); }
.section-heading { margin-block-end: 32px; }
.section-heading h1, .section-heading h2, .information h1, .final-panel h2 { max-width: 780px; font: 800 clamp(32px, 4vw, 54px)/1.06 var(--display); letter-spacing: -.065em; overflow-wrap: anywhere; }
.section-heading p, .page-description { max-width: 630px; margin-block-start: 12px; color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.66; }
.section-heading.centered { text-align: center; }
.section-heading.centered > * { margin-inline: auto; }
.process { background: var(--bg); }
.process .section-heading { text-align: start; }
.process .section-heading > * { margin-inline: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; padding: 0; list-style: none; }
.process-grid li { min-width: 0; padding: clamp(15px, 2.1vw, 24px); border: 1px solid var(--border); border-top: 2px solid #8ba895; border-radius: 0 0 12px 12px; background: #fff; }
.process-grid h3, .resource-grid h3 { margin-block: 14px 6px; font: 800 18px/1.25 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; }
.process-grid p, .resource-grid p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.process-step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); font: 700 13px/1 var(--mono); }

.release { background: #ebf1e9; }
.release-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: clamp(24px, 7vw, 101px); }
.release-layout .section-heading { margin: 0; }
.inline-action { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 9px; margin-block-start: 18px; color: var(--blue-deep); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.inline-action:hover { color: #1d795e; }
.release-checklist { overflow: hidden; border: 1px solid #d5e2d6; border-radius: 14px; background: #fbfdf9; }
.release-checklist ol { display: grid; gap: 0; padding: 5px 23px 3px; list-style: none; }
.release-checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 11px; align-items: start; padding-block: 15px; }
.release-checklist li + li { border-top: 1px solid #e4ebe1; }
.check-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e1f0dc; color: var(--blue-deep); font-size: 13px; font-weight: 800; }
.release-checklist h3 { font: 800 16px/1.35 var(--display); }
.release-checklist li p { margin-block-start: 3px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.release-condition { padding: 13px 23px; border-top: 1px solid #dce7db; background: #e8f2e2; color: #345746; font-size: 13px; line-height: 1.55; }

.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--blue); background: var(--blue-soft); }
.feature-icon i { display: block; position: relative; }
.feature-build i { width: 17px; height: 15px; border: 1.5px solid currentColor; border-radius: 3px; }
.feature-build i::before { position: absolute; top: 4px; left: 0; right: 0; height: 1.5px; background: currentColor; content: ""; }
.feature-testers i { width: 16px; height: 8px; margin-top: 8px; border: 1.5px solid currentColor; border-radius: 7px 7px 2px 2px; }
.feature-testers i::before { position: absolute; top: -10px; left: 3px; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; content: ""; }
.feature-feedback i { width: 18px; height: 15px; border: 1.5px solid currentColor; border-radius: 5px 5px 5px 1px; }
.feature-feedback i::before { position: absolute; top: 5px; left: 3px; width: 8px; height: 1.5px; border-radius: 2px; background: currentColor; box-shadow: 0 3px currentColor; content: ""; }

.pricing { border-block: 1px solid var(--border); background: var(--bg); }
body[data-page="pricing"] .pricing { min-height: 75vh; }
body[data-page="home"] .pricing-page-title, body[data-page="pricing"] .pricing-home-title { display: none; }
.billing-control { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; justify-content: center; margin-inline: auto; margin-block: 0 29px; padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-strong); }
.billing-button { min-height: 39px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 5px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.billing-button:hover { color: var(--blue-deep); }
.billing-button.is-active { border-color: #cedacf; background: #fff; color: var(--blue-deep); box-shadow: 0 1px 3px #233f6d12; }
.billing-discount { padding: 2px 5px; border-radius: 4px; background: #dfefdb; color: #205c49; font-size: 10px; font-weight: 780; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: stretch; padding: clamp(16px, 2.65vw, 32px); border: 1px solid var(--border); border-radius: 15px; background: #fff; }
.plan-card.is-featured { border-color: #629982; background: #f4faf1; box-shadow: 0 13px 33px #1b4e3417; }
.plan-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); font-size: 21px; font-weight: 700; }
.plan-badge { position: absolute; top: 20px; inset-inline-end: 19px; max-width: 60%; padding: 3px 7px; border-radius: 5px; background: #ddebda; color: var(--blue-deep); font-size: 10px; font-weight: 750; text-align: center; }
.plan-name { margin-block: 13px 6px; font: 800 23px/1.15 var(--display); letter-spacing: -.04em; }
.plan-desc { min-height: 3.15em; color: var(--muted); font-size: 14px; line-height: 1.52; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin-block: 17px 2px; }
.plan-price strong { font: 800 clamp(23px, 3.18vw, 48px)/1.04 var(--display); letter-spacing: -.07em; overflow-wrap: anywhere; }
.plan-price small, .plan-billed { color: var(--muted); font-size: 12px; }
.plan-billed { margin-block-start: 7px; font-weight: 550; }
.plan-features { display: grid; gap: 8px; margin-block: 17px 21px; padding: 15px 0 0; border-top: 1px solid var(--border); list-style: none; color: var(--muted); font-size: 14px; }
.plan-features li { display: flex; align-items: baseline; gap: 8px; }
.plan-features li::before { content: "✓"; font-weight: 800; color: var(--blue); }
.plan-card .button { margin-block-start: auto; }
.pricing-scope { max-width: 720px; margin: 17px auto 0; color: var(--muted); font-size: 13px; text-align: center; }
.section-heading .pricing-currency { margin-top: 9px; font-size: .85rem; font-weight: 600; }
.payment-strip { margin-block-start: 29px; text-align: center; }
.payment-strip > p { font-size: 13px; color: var(--muted); font-weight: 650; }
.payment-brands { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; padding: 0; margin: 10px 0 6px; list-style: none; }
.payment-brands > li { min-height: 31px; display: inline-flex; justify-content: center; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 5px; background: #fff; color: #334d44; font-size: 11px; font-weight: 650; }
.payment-brands .wordmark { font-weight: 800; letter-spacing: -.02em; }
.payment-brands .visa { color: #234076; font-style: italic; }
.payment-brands .paypal { color: #174a8a; font-style: italic; }
.payment-brands .mastercard { min-width: 43px; }
.mastercard i { width: 12px; height: 12px; border-radius: 50%; background: #df4135; }
.mastercard i + i { margin-inline-start: -7px; background: #f9a733c9; }
.payment-symbol { color: var(--blue); }
.payment-strip > small { font-size: 11px; color: var(--muted-light); }

.information { min-height: 65vh; background: var(--surface); }
.content-layout { max-width: 820px; }
.section-kicker { margin-bottom: 12px; color: var(--blue-deep); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.info-panel { margin-block-start: 26px; padding: clamp(20px, 3.5vw, 34px); border: 1px solid var(--border); border-radius: 15px; background: #fff; }
.info-panel :is(h2, h3) { font-family: var(--display); letter-spacing: -.035em; line-height: 1.25; }
.info-panel h2 { font-size: clamp(19px, 2vw, 24px); }
.info-panel h3 { font-size: 16px; }
.info-panel p { margin-block-start: 6px; color: var(--muted); }
.info-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-block-start: 19px; }
.workflow-list { display: grid; gap: 14px; padding: 0; margin-block-start: 18px; list-style: none; counter-reset: step; }
.workflow-list li { display: flex; align-items: flex-start; gap: 10px; counter-increment: step; }
.workflow-list li::before { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); content: counter(step); font-size: 11px; font-weight: 700; }
.policy-panel { display: grid; gap: 15px; }
.policy-panel article + article { padding-block-start: 15px; border-top: 1px solid var(--border); }
.official-guide { width: min(820px, 100%); margin: 0 auto; padding-block: 1px 24px; color: var(--blue-deep); font-size: 14px; }
.official-guide a { text-decoration: underline; text-underline-offset: 3px; }
.site-announcement { padding: 8px 12px; margin-block: 10px; border: 1px solid #c7e7d3; border-radius: 7px; background: var(--blue-soft); color: var(--blue-deep); }

.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(20px, 7vw, 100px); }
.faq-grid .section-heading { margin: 0; }
.faq-grid .section-heading h2 { max-width: 430px; }
.faq-list { display: grid; align-content: start; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 17px 1px; color: var(--text); font-size: 15px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: 0 0 auto; color: var(--blue-deep); content: "+"; font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-block-end: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.faq-list details p a { color: var(--blue-deep); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.resources { border-block-start: 1px solid var(--border); background: var(--surface); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.resource-grid > a { position: relative; min-width: 0; display: block; padding: clamp(16px, 2.2vw, 25px); border: 1px solid var(--border); border-radius: 13px; background: #fff; transition: border-color .16s ease, background .16s ease; }
.resource-grid > a:hover { border-color: #77ae92; background: #f7fcf4; }
.resource-arrow { position: absolute; inset-block-start: 18px; inset-inline-end: 17px; color: var(--blue); font-size: 17px; }
.final-section { background: var(--surface); padding-block-start: 0; }
.final-panel { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: clamp(20px, 4.4vw, 48px); border: 1px solid #224f40; border-radius: 15px; background: #173b31; color: #fff; }
.final-panel h2 { font-size: clamp(26px, 3.2vw, 45px); }
.final-panel p { margin-block-start: 8px; color: #c5ddcf; }
.final-panel .button { flex: 0 0 auto; border-color: var(--lime); background: var(--lime); color: #19372a; }
.final-panel .button:hover { background: #edffd8; }
.final-panel .button:focus-visible { outline-color: var(--lime); }
.site-footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1fr minmax(0, auto); align-items: start; gap: 17px; padding-block: 31px 22px; }
.footer-grid p, .footer-bottom { color: var(--muted); font-size: 13px; }
.footer-grid p { margin-block-start: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 17px; color: var(--muted); font-size: 13px; font-weight: 650; }
.footer-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { padding-block: 16px 24px; border-top: 1px solid var(--border); }

#checkout-dialog { --modal-accent: #185c48 !important; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr; gap: 0 14px; padding-block-start: 10px; }
  .header-actions { justify-self: end; grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; min-height: 43px; justify-content: flex-start; flex-wrap: wrap; gap: 0 19px; }
  .main-nav a { min-height: 39px; }
  .hero-grid { gap: 24px; }
}

@media (max-width: 740px) {
  .container { width: min(1160px, calc(100% - 34px)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero h1 { max-width: 580px; font-size: clamp(42px, 8.3vw, 62px); }
  .hero-description { margin-block-start: 16px; }
  .hero-actions { margin-block-start: 22px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-layout, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-desc { min-height: unset; }
  .plan-price strong { font-size: clamp(28px, 5.9vw, 42px); }
  .resource-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .brand { font-size: 16px; gap: 6px; }
  .brand img { height: 29px; width: 29px; }
  .header-actions { gap: 5px; }
  .header-cta { min-height: 36px; padding: 6px 10px; font-size: 12px; }
  .language-control select { width: 33px; height: 34px; padding: 0 0 0 31px; font-size: 0; }
  .language-control option { font-size: 13px; }
  .select-chevron { display: none; }
  .globe-icon { inset-inline-start: 9px; }
  .main-nav { gap: 0 14px; font-size: 12px; }
  .hero { padding-block: 47px; }
  .hero h1 { font-size: clamp(38px, 10vw, 55px); }
  .process-grid { gap: 8px; }
  .process-grid h3 { font-size: 16px; }
  .process-grid p { font-size: 13px; }
  .final-panel { align-items: start; flex-direction: column; }
}

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