:root {
  color-scheme: light;
  --ink: #24352a;
  --ink-soft: #44584a;
  --muted: #68786c;
  --green-950: #1d402a;
  --green-900: #255033;
  --green-800: #326742;
  --green-700: #4d7e52;
  --green-200: #c8d9be;
  --green-100: #e5eddf;
  --sage: #f4f7ef;
  --paper: #fbfcf8;
  --line: #dfe7db;
  --berry: #765a76;
  --shadow: 0 24px 60px rgba(39, 66, 43, .11);
  font-family: "Segoe UI", "Aptos", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 14% 14%, rgba(93,137,78,.07), transparent 22%), radial-gradient(circle at 82% 72%, rgba(173,194,135,.11), transparent 27%), var(--paper); }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(rgba(77,126,82,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(77,126,82,.022) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 90%); }
body, button, input, textarea { font-family: "Segoe UI", "Aptos", system-ui, sans-serif; }
a { color: inherit; }
.skip-link { position: absolute; top: -60px; left: 18px; z-index: 100; padding: 12px 16px; color: white; background: var(--green-950); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-shell { overflow: clip; }
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 82px; padding: 12px max(28px, calc((100vw - 1220px) / 2)); background: rgba(251, 252, 248, .93); border-bottom: 1px solid rgba(37, 80, 51, .1); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--green-950); text-decoration: none; }
.brand-mark { display: block; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px 13px 13px 5px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 17px; letter-spacing: .035em; }
.brand-copy span { color: var(--muted); font-size: 12px; }
.language-switch { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.language-link { min-width: 38px; padding: 7px 9px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 750; text-align: center; text-decoration: none; }
.language-link:hover, .language-link:focus-visible, .language-link.is-active { color: white; background: var(--green-800); }
.header-end { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.visit-counter { color: var(--muted); font-size: 12px; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border: 1px solid var(--green-800); border-radius: 8px; color: white; background: var(--green-800); font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); border-color: var(--green-950); background: var(--green-950); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #8d6c8f; outline-offset: 3px; }
.button-small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.button-outline { color: var(--green-900); background: transparent; border-color: #9bb39a; }
.button-outline:hover { color: white; }
.section-wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, .92fr); align-items: center; gap: clamp(44px, 7vw, 92px); padding-top: 82px; padding-bottom: 84px; }
.hero-copy { max-width: 600px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--green-800); font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #7e9e62; box-shadow: 0 0 0 4px #e8efdf; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 680px; margin-bottom: 23px; font-size: clamp(46px, 5.4vw, 70px); line-height: 1.03; }
h1 em { color: var(--green-700); font-weight: 500; }
.hero-intro { max-width: 610px; margin-bottom: 27px; color: var(--ink-soft); font-size: 17px; line-height: 1.72; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-note { margin: 18px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero-tags li { padding: 7px 11px; border: 1px solid #dce6d6; border-radius: 999px; color: var(--green-900); background: #f5f8f1; font-size: 12px; font-weight: 650; }
.hero-visual { position: relative; min-height: 440px; overflow: hidden; isolation: isolate; border: 1px solid #dae5d3; border-radius: 44% 44% 18px 18px; background: linear-gradient(180deg, #eaf0e0 0%, #d5e2c9 48%, #b8d0aa 100%); box-shadow: var(--shadow); }
.visual-sky { position: absolute; inset: 0 0 48% 0; background: linear-gradient(155deg, #eff3e7, #dce9d2); }
.sun { position: absolute; top: 16%; right: 18%; width: 70px; height: 70px; border-radius: 50%; background: #f2dca8; box-shadow: 0 0 0 14px rgba(242, 220, 168, .26); }
.visual-label { position: absolute; top: 25px; left: 28px; color: var(--green-800); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.orchard { position: absolute; left: -16%; width: 132%; display: flex; justify-content: space-around; transform: perspective(300px) rotateX(24deg); }
.orchard-back { top: 36%; height: 55%; opacity: .76; }
.orchard-front { top: 51%; height: 66%; opacity: .95; transform: perspective(300px) rotateX(17deg) rotateZ(-5deg); }
.orchard i { position: relative; width: 38px; height: 190px; border-radius: 50% 50% 7px 7px; background: linear-gradient(90deg, #5f8556, #779c65 50%, #4e754c); box-shadow: 0 0 0 14px rgba(98, 139, 83, .13); }
.orchard i::before, .orchard i::after { position: absolute; content: ""; left: -19px; width: 76px; height: 54px; border-radius: 50%; background: #72945c; }
.orchard i::before { top: -18px; }.orchard i::after { top: 28px; left: -13px; width: 64px; height: 48px; background: #86a66d; }
.water-line { position: absolute; z-index: 2; left: 6%; right: 5%; top: 58%; height: 3px; display: flex; justify-content: space-around; background: #7cb3a5; opacity: .9; }
.water-line span { position: relative; top: -7px; width: 12px; height: 17px; border: 2px solid #477e75; border-radius: 50% 50% 50% 0; background: #e9f4e9; transform: rotate(-45deg); }
.sensor { position: absolute; z-index: 3; display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid white; border-radius: 50%; color: white; background: var(--green-800); box-shadow: 0 4px 13px rgba(30, 64, 42, .22); font-size: 10px; font-weight: 800; }
.sensor-a { top: 46%; left: 34%; }.sensor-b { top: 62%; right: 27%; }
.visual-card { position: absolute; z-index: 4; right: 18px; bottom: 18px; left: 18px; display: grid; gap: 8px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 12px; background: rgba(251, 252, 248, .94); box-shadow: 0 10px 30px rgba(42, 74, 47, .12); }
.visual-card-kicker { color: var(--green-700); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.visual-card strong { color: var(--green-950); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.visual-flow { display: flex; gap: 8px; align-items: center; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
.visual-flow i { color: var(--green-700); font-style: normal; }
.visual-disclaimer { color: var(--muted); font-size: 10px; }
.intro-band { background: #edf3e8; border-top: 1px solid #e2eadc; border-bottom: 1px solid #e2eadc; }
.intro-inner { max-width: 880px; padding-top: 62px; padding-bottom: 64px; }
.intro-inner h2, .section-heading h2, .field-copy h2, .principles-heading h2, .contact-inner h2 { margin-bottom: 16px; font-size: clamp(34px, 4.2vw, 51px); line-height: 1.1; }
.intro-inner > p:last-child, .section-heading > p:last-child, .field-copy > p:not(.eyebrow), .contact-inner > div:first-child > p:last-child { max-width: 750px; margin-bottom: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.services { padding-top: 90px; padding-bottom: 96px; }
.section-heading { max-width: 750px; margin-bottom: 34px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { position: relative; min-height: 284px; padding: 25px 24px 23px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 8px 24px rgba(39, 66, 43, .035); }
.service-card-featured { border-color: #bdd2b4; background: linear-gradient(150deg, #f5f9f1, #fff 70%); }
.service-card-research { background: #faf7fa; border-color: #e7dce8; }
.service-number { color: #8a9a8c; font: 500 13px/1 Georgia, serif; }
.service-card h3 { margin: 21px 0 10px; color: var(--green-950); font-size: 19px; line-height: 1.3; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.ecosystem { padding: 82px 0 88px; background: #f1f5ec; border-top: 1px solid #e3eadf; border-bottom: 1px solid #e3eadf; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ecosystem-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; min-height: 190px; padding: 23px; border: 1px solid #dfe8db; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(39, 66, 43, .035); }
.ecosystem-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px; color: var(--green-800); background: #edf5e8; }
.ecosystem-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ecosystem-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.ecosystem-copy .eyebrow { margin: 1px 0 6px; font-size: 12px; letter-spacing: .1em; }
.ecosystem-copy h3 { margin: 0 0 8px; color: var(--green-950); font-size: 19px; line-height: 1.3; }
.ecosystem-copy p { margin: 0 0 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.ecosystem-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--green-800); font-size: 13px; font-weight: 700; text-decoration: none; }
.ecosystem-link:focus-visible { border-radius: 3px; outline: 3px solid #9bb991; outline-offset: 4px; }
.service-icon { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e0eadb; border-radius: 10px; background: #f5f8f2; }
.icon-network { grid-template-columns: repeat(3, 4px); gap: 3px; align-content: center; }
.icon-network i { width: 4px; height: 15px; border-radius: 3px; background: #638c61; }.icon-network i:nth-child(2) { height: 21px; }
.icon-signal { display: flex; align-items: end; justify-content: center; gap: 3px; padding: 8px; }
.icon-signal i { width: 4px; border-radius: 3px 3px 0 0; background: #638c61; }.icon-signal i:nth-child(1) { height: 6px; }.icon-signal i:nth-child(2) { height: 12px; }.icon-signal i:nth-child(3) { height: 18px; }
.icon-water { background: #eff7f3; }.icon-water i { position: absolute; width: 8px; height: 11px; border: 2px solid #4d8278; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }.icon-water i:nth-child(1) { margin: -8px 8px 0 0; }.icon-water i:nth-child(2) { margin: 7px 0 0 -8px; }.icon-water i:nth-child(3) { margin: 7px 0 0 8px; }
.icon-data { grid-template-columns: repeat(3, 5px); align-items: end; gap: 3px; padding: 8px; }.icon-data i { width: 5px; border-radius: 3px 3px 0 0; background: #7b9b6d; }.icon-data i:nth-child(1) { height: 9px; }.icon-data i:nth-child(2) { height: 17px; }.icon-data i:nth-child(3) { height: 13px; }
.icon-shield i { width: 14px; height: 17px; border: 2px solid #64866a; border-radius: 8px 8px 10px 10px; }
.icon-leaf i { width: 17px; height: 11px; border-radius: 100% 0 100% 0; background: var(--berry); transform: rotate(-12deg); }.icon-leaf i::after { display: block; width: 16px; height: 1px; margin: 7px 0 0 2px; content: ""; background: white; transform: rotate(-34deg); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--green-800); font-size: 13px; font-weight: 750; text-decoration: none; }.text-link:hover { color: var(--green-950); text-decoration: underline; text-underline-offset: 3px; }
.field-section { background: #f1f5ec; border-top: 1px solid #e3eadf; border-bottom: 1px solid #e3eadf; }
.field-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 115px); padding-top: 86px; padding-bottom: 86px; }
.field-copy { align-self: center; }
.field-copy .text-link { margin-top: 23px; }
.process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.process-step { display: grid; grid-template-columns: 38px 1fr; gap: 17px; padding: 19px 0; border-bottom: 1px solid #d9e3d5; }.process-step:first-child { padding-top: 0; }.process-step:last-child { border: 0; padding-bottom: 0; }
.process-index { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #bdcfb8; border-radius: 50%; color: var(--green-800); background: #fff; font-size: 13px; font-weight: 750; }
.process-step h3 { margin: 2px 0 5px; color: var(--green-950); font-size: 16px; }.process-step p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.principles { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; padding-top: 86px; padding-bottom: 92px; }
.principles-heading h2 { max-width: 370px; }
.principle-grid { display: grid; gap: 0; }
.principle-card { display: grid; grid-template-columns: 36px 1fr; gap: 1px 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }.principle-card:first-child { padding-top: 0; }.principle-card:last-child { border: 0; padding-bottom: 0; }
.principle-card > span { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--green-800); background: var(--green-100); font-size: 18px; }
.principle-card h3 { margin: 2px 0 4px; color: var(--green-950); font-size: 16px; }.principle-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.contact-band { color: white; background: linear-gradient(120deg, #2e5b3a, #21462e); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; padding-top: 68px; padding-bottom: 70px; }
.contact-inner .eyebrow { color: #d5e7ca; }.contact-inner h2 { max-width: 760px; color: white; }.contact-inner > div:first-child > p:last-child { color: #e2ebdf; }
.button-light { color: var(--green-950); background: #fff; border-color: #fff; }.button-light:hover { color: white; border-color: #183a26; background: #183a26; }
.button-light-outline { color: white; background: transparent; border-color: rgba(255,255,255,.62); }.button-light-outline:hover { color: var(--green-950); background: white; border-color: white; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; width: min(1200px, calc(100% - 48px)); min-height: 112px; margin: auto; padding: 22px 0; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px; }.footer-links a { color: var(--green-800); font-size: 12px; text-decoration: none; }.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-dialog { width: min(560px, calc(100% - 32px)); max-height: min(90vh, 820px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(17, 39, 23, .25); }.contact-dialog::backdrop { background: rgba(25, 43, 30, .46); backdrop-filter: blur(3px); }
.contact-form { display: grid; gap: 15px; padding: 28px; }.contact-header { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 4px; }.contact-header h2 { margin: 0; color: var(--green-950); font: 500 29px/1.15 Georgia, serif; letter-spacing: -.035em; }.contact-header .eyebrow { margin-bottom: 8px; }
.icon-button { flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--green-900); background: white; font-size: 25px; cursor: pointer; }
.contact-form label { display: grid; gap: 6px; color: var(--green-950); font-size: 13px; font-weight: 700; }.contact-form input, .contact-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #cbd8c7; border-radius: 7px; color: var(--ink); background: white; font-size: 14px; }.contact-form textarea { min-height: 112px; resize: vertical; }.contact-form .honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.contact-form .contact-actions { margin-top: 3px; }.form-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.reveal { opacity: 0; transform: translateY(13px); transition: opacity .45s ease, transform .45s ease; }.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; gap: 11px 16px; padding: 11px 22px; }
  .language-switch { justify-self: end; }.header-end { grid-column: 1 / -1; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 62px; padding-bottom: 70px; }.hero-copy { max-width: 730px; }.hero-visual { width: min(100%, 600px); min-height: 390px; justify-self: center; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.field-layout { grid-template-columns: 1fr; gap: 42px; }.field-copy { max-width: 700px; }
  .principles { grid-template-columns: 1fr; gap: 25px; }.principles-heading h2 { max-width: 650px; }.contact-inner { grid-template-columns: 1fr; gap: 27px; }.contact-actions { justify-content: flex-start; }
  .site-footer { grid-template-columns: 1fr auto; }.site-footer > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }.footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 78px; }.section-wrap, .site-footer { width: min(100% - 36px, 1200px); }
  .site-header { min-height: 70px; padding: 9px 18px; }.brand-mark { width: 37px; height: 37px; }.brand-copy strong { font-size: 15px; }.brand-copy span { font-size: 11px; }.visit-counter { font-size: 11px; }
  .hero { padding-top: 48px; padding-bottom: 54px; gap: 32px; }.eyebrow { font-size: 10px; letter-spacing: .1em; }.hero h1 { font-size: clamp(39px, 11vw, 54px); }.hero-intro { font-size: 15px; line-height: 1.68; }.hero-actions { display: grid; grid-template-columns: 1fr; }.hero-actions .button { width: 100%; }.hero-visual { min-height: 330px; border-radius: 38% 38% 14px 14px; }.visual-card { right: 12px; bottom: 12px; left: 12px; padding: 13px 14px; }.visual-card strong { font-size: 19px; }
  .intro-inner, .services, .ecosystem, .field-layout, .principles { padding-top: 62px; padding-bottom: 64px; }.intro-inner h2, .section-heading h2, .field-copy h2, .principles-heading h2, .contact-inner h2 { font-size: 35px; }.intro-inner > p:last-child, .section-heading > p:last-child, .field-copy > p:not(.eyebrow), .contact-inner > div:first-child > p:last-child { font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }.service-card { min-height: 0; padding: 23px 21px; }.service-card h3 { margin-top: 18px; }.field-layout { gap: 34px; }.process-step { grid-template-columns: 32px 1fr; gap: 13px; }.process-index { width: 30px; height: 30px; }
  .ecosystem-grid { grid-template-columns: 1fr; gap: 12px; }.ecosystem-card { min-height: 0; padding: 20px; }
  .contact-inner { padding-top: 56px; padding-bottom: 58px; }.contact-actions { display: grid; grid-template-columns: 1fr; }.contact-actions .button { width: 100%; }.contact-form { padding: 21px; }.contact-header h2 { font-size: 25px; }.site-footer { padding: 24px 0; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Redes neuronales y chat recuperados, adaptados a la paleta agrícola clara. */
.neural-canvas { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .88; pointer-events: none; }
.site-shell { position: relative; z-index: 1; }
.terminal-section { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(24px, 5vw, 64px); margin-top: 32px; margin-bottom: 56px; padding: clamp(22px, 4vw, 44px); border: 1px solid rgba(55,105,63,.18); border-radius: 28px; background: rgba(251,252,248,.82); box-shadow: 0 20px 54px rgba(44,71,39,.09); backdrop-filter: blur(10px); }
.terminal-intro h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(1.7rem,3.2vw,2.6rem); line-height: 1.12; }
.terminal-intro > p:last-child { color: var(--muted); line-height: 1.7; }
.terminal-sim { min-width: 0; overflow: hidden; border: 1px solid rgba(55,105,63,.23); border-radius: 20px; color: #294a30; background: rgba(255,255,251,.96); box-shadow: 0 14px 34px rgba(43,74,43,.12); }
.terminal-top { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-bottom: 1px solid rgba(55,105,63,.16); color: #506c50; background: rgba(232,241,225,.8); font-size: .8rem; }
.terminal-top strong { margin-left: 5px; font-weight: 650; }
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; background: #83aa73; }
.terminal-dot:first-child { background: #c5a65b; }
.terminal-dot:last-of-type { background: #5d9c64; }
.terminal-body { padding: clamp(16px,3vw,24px); }
.terminal-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: #426747; font: 600 .82rem/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }
.terminal-typed { color: #426747; }
.terminal-caret { display: inline-block; width: 7px; height: 1em; background: #5b965f; vertical-align: text-bottom; animation: blinkCaret 1s steps(1) infinite; }
.terminal-chat { display: grid; gap: 10px; margin-top: 12px; min-height: 0; }
.terminal-msg { max-width: 100%; padding: 10px 12px; border: 1px solid rgba(55,105,63,.16); border-radius: 12px; white-space: pre-line; line-height: 1.55; }
.terminal-msg-user { color: #3e5f43; background: #f0f5e9; }
.terminal-msg-ai { color: #294c31; background: #e7f0df; }
.terminal-msg-label { display: inline-block; margin-bottom: 4px; color: #4b8051; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.terminal-response { min-height: 1.5em; margin-top: 10px; color: #4b6e4e; white-space: pre-line; line-height: 1.55; }
.terminal-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.terminal-tags span { padding: 6px 9px; border: 1px solid rgba(55,105,63,.18); border-radius: 999px; color: #47704b; background: #f4f7ee; font-size: .69rem; }
.terminal-voice { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.terminal-voice-button, .terminal-compose-button { border: 1px solid rgba(55,105,63,.24); border-radius: 999px; padding: 9px 13px; color: #fff; background: #326742; font: inherit; font-size: .82rem; cursor: pointer; }
.terminal-voice-button:hover, .terminal-compose-button:hover, .terminal-voice-button:focus-visible, .terminal-compose-button:focus-visible { background: #255033; outline: 2px solid rgba(77,126,82,.26); outline-offset: 2px; }
.terminal-voice-button:disabled { opacity: .55; cursor: not-allowed; }
.terminal-voice-note { color: #68786c; font-size: .78rem; }
.terminal-compose { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; }
.terminal-compose-input { flex: 1 1 auto; min-width: 0; border: 1px solid #cbd8c7; border-radius: 999px; padding: 10px 14px; color: #294a30; background: #fff; font: inherit; }
.terminal-compose-input::placeholder { color: #78887b; }
.terminal-compose-input:focus { border-color: #4d7e52; outline: 3px solid rgba(77,126,82,.15); }
@keyframes blinkCaret { 50% { opacity: 0; } }
@media (max-width: 760px) { .terminal-section { grid-template-columns: 1fr; gap: 18px; padding: 22px; } .terminal-compose { align-items: stretch; } }
@media (prefers-reduced-motion: reduce) { .terminal-caret { animation: none; } .neural-canvas { opacity: .78; } }
