@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #252b25;
  --muted: #62685e;
  --line: #dcded4;
  --accent: #c8f58a;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scroll-padding-bottom: var(--analytics-space, 0px); }
body { margin: 0; padding-bottom: var(--analytics-space, 0px); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 3px solid #467024; outline-offset: 6px; }

.site-shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 16px; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex: none; align-items: center; gap: 11px; text-decoration: none; font-size: 21px; font-weight: 650; letter-spacing: -.8px; white-space: nowrap; }
.brand-mark { flex: none; }
.wordmark-spec { font-weight: 400; }
.header-tools { display: flex; align-items: center; gap: 28px; }
.language-switcher { position: relative; }
.language-code { display: none; }
.language-dropdown summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 10px; border-radius: 5px; list-style: none; font-size: 12px; cursor: pointer; }
.language-dropdown summary::-webkit-details-marker { display: none; }
.language-dropdown summary:hover, .language-dropdown[open] summary { background: #edf0e5; }
.language-globe { color: var(--muted); }
.language-chevron { margin-left: 2px; color: var(--muted); }
.language-dropdown[open] .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; z-index: 3; top: calc(100% + 7px); right: 0; min-width: 170px; padding: 6px; border: 1px solid var(--line); border-radius: 7px; background: #fcfdf9; box-shadow: 0 10px 30px #252b2514; }
.language-switcher a { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; padding: 9px 12px; border-radius: 3px; font-size: 12px; text-decoration: none; }
.language-switcher a:hover { background: #edf0e5; }
.language-switcher a[aria-current="page"] { background: #ecf4e0; }
.language-switcher a[aria-current="page"]::after { content: ""; width: 5px; height: 9px; margin-right: 3px; border-right: 1.5px solid #4f7034; border-bottom: 1.5px solid #4f7034; transform: translateY(-2px) rotate(45deg); }
.header-status { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 13px; }
.header-status:hover { text-decoration: underline; text-underline-offset: 4px; }
.status-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #5b7b3c; }

.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; padding-block: 86px 88px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: 1.25px; text-transform: uppercase; }
.eyebrow-line { width: 22px; height: 2px; background: #567837; flex: none; }
h1 { margin: 29px 0 25px; font-size: clamp(52px, 6vw, 83px); font-weight: 500; line-height: 1.035; letter-spacing: -4.9px; }
html:lang(es) h1, html:lang(ru) h1 { font-size: clamp(42px, 4.85vw, 70px); letter-spacing: -.05em; }
.highlight { background: linear-gradient(transparent 59%, var(--accent) 59%, var(--accent) 94%, transparent 94%); padding-right: 9px; }
.hero-description { max-width: 390px; margin: 0; font-size: 18px; color: var(--muted); line-height: 1.65; letter-spacing: -.2px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 31px; padding: 7px 7px 7px 22px; min-height: 50px; text-decoration: none; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 5px; font-size: 13px; font-weight: 500; transition: background .18s, transform .18s; }
.button-arrow { display: grid; place-items: center; width: 34px; height: 34px; background: var(--accent); color: var(--ink); border-radius: 2px; font-size: 23px; line-height: 1; }
.primary-link:hover { background: #414c3b; transform: translateY(-2px); }
.draft-note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-family: var(--mono); font-size: 10px; line-height: 1.6; color: var(--muted); }
.draft-note > span { font-size: 15px; }

.architecture { min-width: 0; margin: 0; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 7px; background-color: #f0f2e9; background-image: radial-gradient(#cbd0bf .7px, transparent .7px); background-size: 16px 16px; }
.figure-heading { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; }
.figure-index { flex: none; padding: 5px 7px; border: 1px solid #cbd0bf; border-radius: 2px; background: #f0f2e9; color: var(--muted); }
.figure-plus { margin-left: auto; font-size: 20px; font-weight: 300; color: var(--muted); }
.architecture img { display: block; width: 100%; height: auto; margin-block: 6px 1px; }
.architecture figcaption { text-align: center; font-family: var(--mono); font-size: 10px; color: var(--muted); line-height: 1.6; }

.idea { border-top: 1px solid var(--line); padding-block: 48px 53px; }
.section-heading { text-align: left; }
.section-heading .eyebrow { justify-content: flex-start; margin-bottom: 20px; color: var(--muted); }
h2 { margin: 0; font-size: 27px; font-weight: 500; letter-spacing: -1px; line-height: 1.25; }
.section-heading h2 { font-size: clamp(32px, 3.2vw, 42px); line-height: 1.2; letter-spacing: -1.3px; text-wrap: balance; }
.section-heading > p:last-child { margin: 24px 0 0; font-size: 24px; line-height: 1.55; text-align: left; text-wrap: pretty; }
.project-context { margin: 20px 0 0; font-size: 20px; line-height: 1.65; color: var(--muted); text-align: left; text-wrap: pretty; }
.project-flow, .project-scope { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.section-subheading .eyebrow { margin-bottom: 12px; color: var(--muted); }
.section-subheading h3 { max-width: 850px; margin: 0; font-size: 28px; line-height: 1.3; letter-spacing: -.8px; }
.section-subheading h3, .flow-steps h4, .principle h4, .project-example h3 { text-wrap: balance; }
.flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.flow-steps li { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 5px; background: #f0f2e9; }
.step-number { font-family: var(--mono); font-size: 12px; color: #4f7034; }
.flow-steps h4, .principle h4 { margin: 16px 0 12px; font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -.35px; }
.flow-steps p, .principle p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin-top: 28px; }
.principle { padding-top: 24px; border-top: 1px solid var(--line); }
.principle h4 { margin-top: 0; }
.project-example { margin-top: 48px; padding: 28px 32px; border-left: 2px solid #b7ca9e; background: #f0f2e9; }
.project-example .eyebrow { color: var(--muted); font-size: 9px; }
.project-example h3 { margin: 12px 0 16px; font-size: 25px; line-height: 1.3; }
.project-example > p:not(.eyebrow) { max-width: 85ch; margin: 12px 0 0; font-size: 16px; line-height: 1.75; text-wrap: pretty; }
h3 { margin: 17px 0 11px; font-size: 18px; font-weight: 500; letter-spacing: -.45px; }

.launch-note { display: flex; align-items: center; gap: 25px; padding: 31px 34px; border: 1px solid #d7deca; border-radius: 5px; background: #ecf1e3; }
.launch-icon { display: grid; place-items: center; flex: none; width: 53px; height: 53px; border: 1px solid #c6d4b4; border-radius: 50%; font-size: 28px; }
.launch-note .eyebrow { margin-bottom: 10px; font-size: 9px; }
.launch-note h2 { font-size: 23px; letter-spacing: -.65px; }
.launch-note p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.version-label { margin-left: auto; white-space: nowrap; font-family: var(--mono); font-size: 10px; color: var(--muted); }

.site-footer { padding-block: 28px 20px; font-size: 11px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer-bottom { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); }
.footer-copyright { font-weight: 500; white-space: nowrap; }
.footer-description { color: var(--muted); font-size: 13px; line-height: 1.5; }
.footer-contact { display: grid; flex: none; gap: 6px; padding-block: 4px; text-decoration: none; }
.footer-contact-label { font-size: 11px; color: var(--muted); }
.footer-email { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 13px; }
.footer-contact:hover .footer-email { text-decoration: underline; text-underline-offset: 4px; }

.analytics-settings { flex: none; min-height: 32px; padding: 7px 0; border: 0; background: transparent; color: var(--muted); font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.analytics-settings:hover { color: var(--ink); }
.analytics-consent { position: fixed; z-index: 4; right: 0; bottom: 16px; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; width: min(1000px, calc(100% - 48px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; margin-inline: auto; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); box-shadow: 0 4px 20px #252b250d; }
.analytics-copy { min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.analytics-copy > p { display: inline; margin: 0 5px 0 0; }
.analytics-privacy { display: inline; font-size: 12px; line-height: 1.6; }
.analytics-privacy summary { display: inline; padding-block: 5px; color: var(--ink); list-style: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.analytics-privacy summary::-webkit-details-marker { display: none; }
.analytics-privacy summary:hover, .analytics-privacy a:hover { color: #467024; }
.analytics-privacy[open] { display: block; margin-top: 8px; }
.analytics-privacy p { margin: 8px 0; }
.analytics-privacy a { text-underline-offset: 3px; }
.analytics-choices { display: flex; gap: 8px; }
.analytics-choices button { display: inline-flex; flex: 1; align-items: center; justify-content: center; min-height: 36px; padding: 8px 14px; border: 1px solid #cbd4c0; border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.analytics-choices button:hover { border-color: #a3b193; background: #ecf1e3; }
.analytics-consent :focus-visible { outline-offset: 3px; }

@media (min-width: 1440px) {
  .hero { gap: 80px; }
}

@media (max-width: 1050px) {
  .site-shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1fr; gap: 46px; padding-block: 65px; }
  h1 { font-size: 64px; letter-spacing: -3.7px; }
  .hero-description { font-size: 16px; }
  .hero-copy > .eyebrow { max-width: 290px; font-size: 9px; }
  .architecture { width: min(100%, 510px); justify-self: center; padding: 16px 12px; }
  .figure-heading { gap: 9px; font-size: 8px; }
  .architecture figcaption { font-size: 9px; }
  .flow-steps { gap: 14px; }
  .flow-steps li { padding: 20px; }
  .principles { gap: 24px; }
  .version-label { display: none; }
}

@media (max-width: 760px) {
  .site-shell { width: calc(100% - 48px); }
  .site-header { min-height: 80px; gap: 12px; padding-block: 16px; }
  .header-tools { flex: none; gap: 0; }
  .language-dropdown summary { min-height: 44px; }
  .wordmark { font-size: 19px; gap: 9px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-status { display: none; }
  .hero { grid-template-columns: 1fr; gap: 46px; padding-block: 51px 49px; }
  .hero-copy > .eyebrow { max-width: none; }
  h1 { margin-top: 25px; font-size: clamp(54px, 10vw, 76px); letter-spacing: -3.7px; }
  html:lang(es) h1, html:lang(ru) h1 { font-size: clamp(42px, 8.8vw, 68px); }
  .hero-description { max-width: 420px; font-size: 17px; }
  .draft-note { font-size: 10px; }
  .architecture { width: min(100%, 510px); justify-self: center; padding: 19px 18px; }
  .figure-heading { font-size: 9px; }
  .architecture figcaption { font-size: 10px; }
  .idea { padding-block: 36px 40px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading > p:last-child { margin-top: 20px; font-size: 18px; }
  .project-context { font-size: 16px; }
  .project-flow, .project-scope { margin-top: 36px; padding-top: 32px; }
  .section-subheading h3 { font-size: 25px; }
  .flow-steps { grid-template-columns: 1fr; margin-top: 24px; }
  .flow-steps li { padding: 22px; }
  .principles { grid-template-columns: 1fr; margin-top: 24px; gap: 24px; }
  .principle { padding-top: 22px; }
  .project-example { margin-top: 36px; padding: 24px; }
  .project-example h3 { font-size: 23px; }
  h3 { margin-top: 12px; }
  .launch-note { padding: 26px 23px; align-items: flex-start; gap: 16px; }
  .launch-icon { width: 37px; height: 37px; font-size: 23px; }
  .launch-note h2 { max-width: 310px; font-size: 22px; }
  .site-footer { padding-block: 24px 16px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-bottom { gap: 8px 12px; flex-wrap: wrap; margin-top: 20px; }
  .footer-email { font-size: 14px; }
  .analytics-settings { min-height: 40px; margin-left: auto; }
  .analytics-consent { bottom: 12px; grid-template-columns: minmax(0, 1fr); gap: 10px; width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 12px 14px; }
  .analytics-choices { justify-self: end; }
  .analytics-choices button { min-height: 40px; }
}

@media (max-width: 480px) {
  .language-name { display: none; }
  .language-code { display: inline; }
  .language-dropdown summary { gap: 6px; padding-inline: 8px; }
  .analytics-choices { justify-self: stretch; }
}

@media (max-width: 370px) {
  .site-shell { width: calc(100% - 32px); }
  h1 { font-size: 50px; letter-spacing: -3px; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: .8px; }
  .figure-heading { font-size: 8px; gap: 8px; }
  .architecture figcaption { font-size: 8px; }
  .launch-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-link { transition: none; }
  .primary-link:hover { transform: none; }
}
