.airava-site {
  --airava-ivory: #f8f6f0;
  --airava-paper: #fffdf8;
  --airava-forest: #103e32;
  --airava-ink: #173e34;
  --airava-muted: #465a50;
  --airava-amber: #ffbd45;
  --airava-brown: #795032;
  --airava-border: #d8dcd0;
  --airava-sage: #e8eee5;
}
.airava-site .site-header { background: var(--airava-ivory); }
.airava-site .brand .airava-logo { width: 132px; height: 42px; object-fit: contain; }
.airava-site :is(a, button, summary, input, select, video):focus-visible { outline: 3px solid #99611b; outline-offset: 3px; }
.airava-home { background: var(--airava-ivory); color: var(--airava-ink); }
.airava-home [hidden] { display: none !important; }
.airava-home section[id] { scroll-margin-top: 100px; }
.airava-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(48px, 6vw, 83px); }
.airava-home :is(h1,h2,h3,h4,p) { margin-top: 0; }
.airava-home h1 { max-width: 12ch; color: var(--airava-forest); font-size: clamp(2.65rem, 6.3vw, 5.4rem); letter-spacing: -.075em; line-height: .98; margin-bottom: 20px; }
.airava-home h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); letter-spacing: -.04em; line-height: 1.12; margin-bottom: 12px; }
.airava-home h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 7px; }
.airava-home .airava-kicker { color: var(--airava-brown); text-transform: uppercase; letter-spacing: .09em; font-size: .82rem; font-weight: 750; margin-bottom: 12px; }
.airava-kicker span { letter-spacing: normal; margin-left: .35em; }
.airava-bridge { margin-bottom: 9px; color: var(--airava-forest); font-size: clamp(1.05rem, 2vw, 1.34rem); font-weight: 700; }
.airava-lead { max-width: 42ch; font-size: 1.05rem; color: var(--airava-muted); margin-bottom: 20px; }
.airava-home .btn-main { background: var(--airava-forest); color: var(--airava-paper); }
.demo-stage { min-width: 0; padding: 14px; background: #ede6d9; border: 1px solid #e5ddce; border-radius: 23px; }
.hc { background: var(--airava-paper); border: 1px solid #d9d7cb; border-radius: 15px; overflow: hidden; box-shadow: 0 12px 28px #283d2a14; }
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.hc-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.hc-name > span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; background: #e2ede4; color: var(--airava-forest); }
.hc-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.airava-home .demo-stage h2 { font-size: 1rem; letter-spacing: normal; line-height: 1.3; margin: 0; }
.hc-name p { margin: 0; font-size: .82rem; color: var(--airava-muted); }
.hc-kind { flex: none; padding: 4px 9px; border-radius: 99px; background: #f4ead6; color: var(--airava-brown); font-size: .75rem; font-weight: 700; }
.hc-tabs { display: flex; gap: 18px; padding: 0 18px; border-bottom: 1px solid #e9e5dc; }
.hc-tab { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--airava-muted); font: inherit; font-size: .88rem; font-weight: 650; line-height: 1.25; text-align: left; cursor: pointer; }
.hc-tab[aria-selected="true"] { border-color: var(--airava-brown); color: var(--airava-brown); }
.hc-panel { min-height: 296px; padding: 14px 18px 12px; }
.hc-sound { background: #0c332a; color: #fff4db; border-radius: 12px; padding: 13px 14px; }
.hc-sound-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hc-controls { display: flex; gap: 8px; margin-right: auto; }
.hc-play { min-height: 40px; padding: 6px 13px; border: 1px solid #fff4db; border-radius: 7px; background: #fff4db; color: #0c332a; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.hc-play.hc-mute { background: transparent; border-color: #a8b8a8; color: #fff4db; }
.hc-sound time { margin-left: auto; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.demo-stage .translation-settings { display: flex; align-items: center; gap: 7px; margin: 0; color: #f1dfc7; font-size: .8rem; }
.demo-stage .translation-settings select { min-height: 36px; max-width: 132px; background: #24463b; color: #fff6e8; border: 1px solid #abc0ae; border-radius: 7px; font: inherit; }
.hc-wave { display: flex; justify-content: space-between; align-items: center; gap: 3px; height: 46px; margin: 8px 0; }
.hc-wave i { flex: 1; max-width: 5px; border-radius: 3px; background: #e8d9bd; opacity: .35; }
.hc-wave i.elapsed { opacity: 1; }
.hc-wave i.playhead { background: var(--airava-amber); opacity: 1; }
.demo-stage .caption-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0; }
.demo-stage .caption-grid.translation-off { grid-template-columns: 1fr; }
.demo-stage .caption { min-height: 116px; margin: 0; padding: 9px 11px; background: #26483e; border: 1px solid #57756a; border-radius: 8px; }
.demo-stage .caption strong { display: block; margin-bottom: 4px; color: #e9b99f; font-size: .74rem; }
.demo-stage .record-line { margin: 0; color: #f1dfc7; font-size: .84rem; line-height: 1.5; }
.hc-speaker { font-weight: 700; }
.hc-foot { margin: 10px 0 0; color: var(--airava-muted); font-size: .8rem; }
.hc-line { display: grid; grid-template-columns: 3.3rem 2.65rem 1fr; gap: 8px; padding: 11px 7px; border: 1px solid transparent; border-bottom-color: #e9e5dc; border-radius: 7px; font-size: .88rem; }
.hc-line time { font-family: ui-monospace, Consolas, monospace; color: var(--airava-brown); }
.hc-line p { margin: 0; }
.hc-line[data-highlight] { background: #f4ead6; border-color: #e1bdac; }
.hc-note { display: grid; grid-template-columns: 34px 1fr auto; align-items: start; gap: 10px; padding: 14px 0; border-bottom: 1px solid #e9e5dc; }
.hc-note > .hc-icon { width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: #e2ede4; color: var(--airava-forest); }
.airava-home .hc-note h3 { font-size: .92rem; margin: 0 0 3px; }
.hc-note p { margin: 0; font-size: .86rem; color: var(--airava-muted); }
.hc-stamp { min-height: 36px; padding: 4px 9px; border: 0; border-radius: 7px; background: #f4ead6; color: var(--airava-brown); font-family: ui-monospace, Consolas, monospace; cursor: pointer; }
.hc-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 12px 6px 0; color: #4e6158; font-size: .83rem; }
.hc-legend a { font-weight: 700; color: var(--airava-forest); }
#copilot-workspace { scroll-margin-top: 100px; }
.lab-film { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; margin-bottom: 22px; color: var(--airava-paper); background: var(--airava-forest); border-radius: 20px; overflow: hidden; }
.lab-film video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--airava-forest); }
.film-note { padding: 18px 22px; }
.film-note p { color: #e1ede5; margin-bottom: 6px; }
.film-transcript summary { align-content: center; min-height: 44px; cursor: pointer; font-weight: 650; }
.film-transcript p { margin-bottom: 0; }
.airava-home :is(.lab-film,.airava-private,.airava-close) a { color: var(--airava-paper); }
.airava-principles { border-block: 1px solid var(--airava-border); background: #eff0e5; }
.airava-principles .wrap { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 24px; padding-block: 23px; }
.airava-principles h2 { font-size: 1.12rem; letter-spacing: -.015em; margin-bottom: 4px; }
.airava-principles p { margin-bottom: 0; color: var(--airava-muted); }
.airava-section, .airava-home .lab { padding-block: clamp(44px, 6vw, 78px); }
.airava-section-head, .lab-intro { max-width: 660px; margin-bottom: 22px; }
.airava-section-head > p:last-child, .lab-intro > div > p:last-child { color: var(--airava-muted); }
.airava-life { background: #ecefe6; }
.airava-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.airava-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.airava-grid article { min-width: 0; background: var(--airava-paper); border: 1px solid var(--airava-border); border-radius: 15px; }
.life-card { overflow: hidden; }
.life-card video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--airava-forest); }
.life-copy, .airava-feature-grid article, .airava-grid.two article { padding: 18px; }
.life-copy > p:not(.airava-kicker), .airava-grid article > p, .airava-faq details p { color: var(--airava-muted); }
.life-copy summary, .airava-faq summary { cursor: pointer; min-height: 44px; align-content: center; font-weight: 650; }
.life-copy details p { margin: 3px 0 0; }
.airava-inline-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 19px 0 0; }
.airava-future { background: #f2eddf; }
.airava-private, .airava-close { background: var(--airava-forest); color: var(--airava-paper); }
.airava-private { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 26px; border-radius: 16px; padding: clamp(23px,4vw,45px); }
.airava-private .airava-kicker { color: #f6cd80; }
.airava-home .airava-private :is(h2,h3), .airava-home .airava-close h2 { color: var(--airava-paper); }
.airava-faq details { border-top: 1px solid var(--airava-border); }
.airava-faq details:last-child { border-bottom: 1px solid var(--airava-border); }
.airava-close .btn-main { background: var(--airava-amber); color: #142b22; }
.airava-close .btn-secondary { background: transparent; border-color: #a9c0b3; }
.airava-close .cta-row { margin-bottom: 12px; }

.demo-desk { display: grid; grid-template-columns: 1.08fr 1fr; min-width: 0; background: var(--airava-paper); border: 1px solid var(--airava-border); border-radius: 16px; overflow: hidden; }
.lab-recording, .lab-copilot { min-width: 0; padding: clamp(13px,2.5vw,23px); }
.lab-copilot { background: var(--airava-sage); border-left: 1px solid var(--airava-border); }
.lab-header, .lab-time-row, .translation-settings { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.airava-home .lab-header h2 { font-size: 1.22rem; margin-bottom: 0; letter-spacing: -.018em; }
.lab-header .status-tag { background: #dce9da; color: var(--airava-forest); padding: 3px 8px; border-radius: 6px; font-size: .84rem; font-weight: 700; }
.lab-screen { border-radius: 11px; background: var(--airava-forest); color: var(--airava-paper); padding: 13px; }
.translation-settings select { background: var(--airava-paper); color: var(--airava-ink); max-width: 100%; padding: 8px; border-radius: 6px; font: inherit; min-height: 44px; }
.caption-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.caption-grid.translation-off { grid-template-columns: 1fr; }
.caption { min-height: 91px; padding: 8px; border: 1px solid #77998a; border-radius: 7px; overflow-wrap: anywhere; }
.caption strong { display: block; margin-bottom: 4px; color: #f6cd80; font-size: .8rem; }
.caption p { margin-bottom: 0; }
.demo-wave { display: block; width: 100%; height: 50px; object-fit: fill; background: var(--airava-forest); }
.lab-time-row { margin: 0; font-size: .87rem; }
.lab-screen input[type=range] { width: 100%; margin: 2px 0; accent-color: var(--airava-amber); }
.lab-controls, .ask-form, .ask-prompts, .feedback-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 10px; }
.lab button { font: inherit; cursor: pointer; min-height: 44px; }
.lab .btn, .lab .timestamp, .ask-prompts button { padding: 7px 10px; border: 1px solid #809b8c; border-radius: 8px; background: var(--airava-paper); color: var(--airava-forest); font-size: .9rem; }
.lab .btn.primary { background: var(--airava-forest); color: var(--airava-paper); }
.lab-tabs { display: flex; flex-wrap: wrap; gap: 3px 9px; border-bottom: 1px solid #9fac9f; }
.lab-tabs .tab { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--airava-ink); padding: 6px 5px; font-size: .9rem; }
.lab-tabs .tab[aria-selected=true] { border-bottom-color: var(--airava-brown); color: var(--airava-brown); font-weight: 750; }
.lab-pane { padding-top: 13px; min-height: 240px; }
.lab-transcript ol { margin: 0; padding: 0; list-style: none; }
.lab-transcript li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; padding: 7px 4px; border-top: 1px solid var(--airava-border); }
.lab-transcript li[data-highlight], .feedback-controls button[aria-pressed=true] { background: #f2e4c5; }
.lab-transcript li:focus-visible { outline: 2px solid var(--airava-brown); }
.lab-transcript li p, .insight p { margin: 3px 0 4px; }
.insight { margin: 7px 0; padding: 9px 11px; border: 1px solid var(--airava-border); border-radius: 8px; background: var(--airava-paper); }
.insight h4 { margin-bottom: 4px; color: var(--airava-brown); }
.ask-form input { flex: 1 1 145px; min-width: 0; min-height: 44px; border: 1px solid #7d9185; border-radius: 7px; padding: 8px; font: inherit; }
.follow-up { display: flex; gap: 7px; align-items: baseline; }
.follow-up input:checked+span { text-decoration: line-through; }
.language-list, .lab-note { color: var(--airava-muted); font-size: .88rem; margin: 10px 0 0; }
.ava-working-slot { margin-top: 8px; }
.ava-working { display: flex; align-items: center; gap: 9px; color: var(--airava-forest); font-size: .9rem; font-weight: 650; }
.ava-working img { flex: none; }
/* Chinese headings need no tight tracking and a taller line. */
html:lang(zh) .airava-home h1 { max-width: 11em; font-size: clamp(2.3rem, 5vw, 4.3rem); letter-spacing: normal; line-height: 1.22; word-break: keep-all; overflow-wrap: anywhere; }
html:lang(zh) .airava-home :is(h2, h3, .airava-kicker, .lab-header h2) { letter-spacing: normal; }
/* Japanese, Korean and Hindi need the same room; German has long words. */
html:is(:lang(ja), :lang(ko), :lang(hi)) .airava-home :is(h1, h2, h3, .airava-kicker, .lab-header h2) { letter-spacing: normal; overflow-wrap: anywhere; }
html:is(:lang(ja), :lang(ko), :lang(hi)) .airava-home h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.3; }
html:lang(ko) .airava-home { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(de) .airava-home :is(h1, h2, h3) { hyphens: auto; overflow-wrap: break-word; }
@media(max-width: 900px) {
  .airava-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .airava-hero { grid-template-columns: 1fr; }
  .lab-film { grid-template-columns: 1fr; }
  .caption-grid { grid-template-columns: 1fr; }
  .caption { min-height: 66px; }
}
@media(max-width: 650px) {
  .airava-hero,.airava-principles .wrap,.airava-grid,.airava-grid.two,.airava-private,.demo-desk { grid-template-columns: 1fr; }
  .airava-principles .wrap { gap: 13px; }
  .demo-stage { padding: 8px; border-radius: 17px; }
  .hc-head,.hc-panel { padding-inline: 12px; }
  .hc-head { flex-wrap: wrap; }
  .hc-tabs { padding: 0 12px; gap: 13px; }
  .hc-panel { min-height: 0; }
  .demo-stage .caption-grid { grid-template-columns: 1fr; }
  .demo-stage .caption { min-height: 92px; }
  .hc-sound-top .translation-settings { order: 3; width: 100%; justify-content: space-between; }
  .lab-copilot { border-left: 0; border-top: 1px solid var(--airava-border); }
  .airava-site .brand .airava-logo { width: 100px; height: 34px; }
}

/* Colour and motion (V2). */
.airava-site { --av-red: #e83d43; --av-teal: #23877c; --av-orange: #e8ac77; --av-amber: #ffbd45; --av-forest: #103e32; --av-gold: #c9a24c;
  --av-serif: "Noto Serif TC", "Noto Serif CJK TC", "Source Han Serif TC", "Songti TC", Georgia, "PMingLiU", serif; }

/* 1 · hero: colour and the thinking ring */
.av-hero-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #fff4e2 0%, #ffe3d6 32%, #e0f4ea 68%, #e7ebff 100%); background-size: 220% 220%; animation: av-flow 16s ease-in-out infinite alternate; }
.av-hero-band::before, .av-hero-band::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: av-drift 12s ease-in-out infinite alternate; }
.av-hero-band::before { width: 420px; height: 420px; left: -120px; top: -140px; background: var(--av-amber); }
.av-hero-band::after { width: 480px; height: 480px; right: -160px; bottom: -220px; background: #35b39a; animation-delay: -5s; }
.av-hero-band .airava-hero { position: relative; z-index: 1; }
.av-hero-visual { position: relative; min-width: 0; }
.av-halo { position: absolute; width: 330px; height: 330px; right: -62px; top: -72px; max-width: none; }
.av-hero-visual .demo-stage { position: relative; }
.av-badge { position: absolute; z-index: 2; right: 26px; top: -44px; display: flex; align-items: center; gap: 8px; padding: 6px 18px 6px 8px; border-radius: 99px; background: #fff; box-shadow: 0 10px 28px #103e3233; font-weight: 700; color: var(--av-forest); }
.av-badge img { width: 54px; height: 54px; }
.airava-home .airava-hero .btn-main { background: linear-gradient(100deg, #0f6b58, #23877c 55%, #2fa98c); color: #fff; }

/* 2 · the moving row */
.av-motion { background: #0d2e27; color: #fff; padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.av-motion-head { display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; margin-bottom: 30px; }
.av-motion-head img { width: 84px; height: 84px; margin-bottom: 18px; }
.airava-home .av-motion h2 { color: #fff; margin-bottom: 6px; }
.av-motion-head p { color: #cfe5dc; margin: 0; }
.av-bento { display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 18px; }
.av-card { position: relative; border-radius: 24px; padding: 22px; overflow: hidden; background-size: 220% 220%; animation: av-flow 9s ease-in-out infinite alternate; display: flex; flex-direction: column; }
.airava-home .av-card h3 { font-size: 1.28rem; margin: 0 0 14px; color: inherit; }
.av-ask { grid-row: span 2; background-image: linear-gradient(145deg, #0b5f52, #23877c 45%, #63c29c 75%, #f3c969); }
.av-live { grid-column: span 2; background-image: linear-gradient(125deg, #d92f55, #e83d43 30%, #f7794c 65%, #ffb457); }
.av-sum { background-image: linear-gradient(140deg, #ffb02e, #ffcb55 45%, #ffe9a8); color: #3b2a07; }
.av-sync { background-image: linear-gradient(140deg, #2f49b8, #6552cf 48%, #b255bd 80%, #f0709a); }
.av-phone { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: #fffdf8; color: var(--av-forest); border: 7px solid #0a2620; border-radius: 34px; padding: 18px 14px; margin: 0 auto; width: min(100%, 300px); box-shadow: 0 18px 40px #0004; }
.av-who { display: flex; align-items: center; gap: 8px; align-self: stretch; margin-bottom: auto; padding-bottom: 8px; border-bottom: 1px solid #e2e8df; font-weight: 800; }
.av-who img { width: 40px; height: 40px; }
.av-bubble { margin: 0; padding: 11px 14px; border-radius: 18px; max-width: 88%; line-height: 1.45; }
.av-q { align-self: flex-end; background: var(--av-forest); color: #fff; border-bottom-right-radius: 5px; }
.av-a { align-self: flex-start; background: #e3f2ea; border-bottom-left-radius: 5px; }
.av-a small { display: block; margin-top: 6px; color: var(--av-teal); font-weight: 700; }
.av-think { align-self: center; display: flex; flex-direction: column; align-items: center; font-size: .85rem; font-weight: 700; margin: auto 0; }
.av-think img { width: 108px; height: 108px; }
.av-step { transition: opacity .45s ease, transform .45s ease; }
.av-step.av-wait { opacity: 0; transform: translateY(14px); }
.av-think.av-wait { display: none; }
.av-wave { display: flex; align-items: center; gap: 4px; height: 52px; margin-bottom: 12px; }
.av-wave i { flex: 1; height: 100%; border-radius: 4px; background: #ffffffd9; transform: scaleY(.2); animation: av-wave 1.1s ease-in-out infinite alternate; }
.av-wave i:nth-child(4n+2) { animation-duration: .8s; animation-delay: -.5s; }
.av-wave i:nth-child(4n+3) { animation-duration: 1.35s; animation-delay: -.9s; }
.av-wave i:nth-child(5n) { animation-duration: .65s; }
.av-lines { background: #ffffff; color: var(--av-forest); border-radius: 16px; padding: 14px 16px; margin-top: auto; }
.av-lines p { margin: 0; min-height: 1.6em; line-height: 1.6; }
.av-lines p + p { margin-top: 4px; color: #b23a2c; }
.av-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.av-checks li { display: flex; align-items: center; gap: 10px; padding: 11px 13px; background: #fffdf8; border-radius: 14px; font-weight: 650; transition: opacity .45s, transform .45s; }
.av-checks li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--av-teal); color: #fff; font-size: .85rem; }
.av-checks li.av-wait { opacity: .35; transform: translateX(10px); }
.av-checks li.av-wait::before { background: #d9d2bd; color: transparent; }
.av-orbit { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }
.av-orbit span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px; border-radius: 16px; background: #ffffff24; font-size: .78rem; font-weight: 700; transition: background .4s, color .4s, transform .4s; text-align: center; }
.av-orbit span.av-on { background: #fff; color: #4a2f9e; transform: translateY(-5px) scale(1.04); }
.av-icon { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.av-controls { text-align: center; margin-top: 22px; }
.av-pause { border: 1px solid #ffffff66; background: transparent; color: #fff; border-radius: 99px; padding: 9px 22px; font: inherit; cursor: pointer; }
.av-paused, .av-paused * { animation-play-state: paused !important; }

.airava-home .airava-principles { background: linear-gradient(90deg, #dff3e8, #fff0cf 50%, #ffe0d8); }

/* 3 · brand, after the reference poster */
.av-brand { background: #f8f5ee; padding: clamp(52px, 7vw, 92px) 0; }
.av-brand-inner { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.av-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; justify-content: center; }
.av-lockup img { width: 190px; height: auto; }
.av-lockup span { border-left: 1px solid var(--av-gold); padding-left: 12px; color: #795032; font-size: 1.5rem; font-family: var(--av-serif); }
.av-brand-head { text-align: center; }
html .airava-home .av-brand h1 { font-family: var(--av-serif); font-weight: 900; font-size: clamp(2.5rem, 7vw, 5.2rem); letter-spacing: 0; color: var(--av-forest); max-width: none; line-height: 1.2; text-wrap: balance; margin: 0 0 12px; }
.av-sub { font-family: var(--av-serif); font-size: clamp(1.35rem, 3.4vw, 2.5rem); color: var(--av-forest); margin: 0; }
.av-rule { width: 76px; height: 3px; background: var(--av-gold); margin: 22px auto; border: 0; }
.av-brand-text { font-family: var(--av-serif); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.9; max-width: 34em; margin: 0 auto 34px; }
.av-photo { aspect-ratio: 1090 / 636; overflow: hidden; border-radius: 20px; box-shadow: 0 22px 50px #5a43202e; }
.av-photo img { display: block; width: 100%; height: auto; transform: translateY(-39.03%); }
.av-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 38px; }
.av-columns div { border-left: 3px solid var(--av-gold); padding-left: 20px; }
.airava-home .av-columns h3 { font-family: var(--av-serif); font-weight: 800; font-size: 1.75rem; color: var(--av-forest); }
.av-columns p { margin: 0; line-height: 1.8; }
.airava-home .av-concept { text-align: center; color: #6b6a5c; font-size: .9rem; margin: 34px 0 0; }

/* 4 · three numbers with hover lists */
.av-numbers { padding: clamp(48px, 6vw, 76px) 0; background: linear-gradient(180deg, #fffaf0, #eef8f3); }
.airava-home .av-numbers h2 { text-align: center; margin-bottom: 28px; }
.av-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.av-stat { position: relative; border-radius: 22px; padding: 30px 24px; color: #fff; text-align: center; cursor: help; transition: transform .25s, box-shadow .25s; }
.av-stat:nth-child(1) { background: linear-gradient(140deg, #0f6b58, #2fa98c); }
.av-stat:nth-child(2) { background: linear-gradient(140deg, #d92f55, #f7794c); }
.av-stat:nth-child(3) { background: linear-gradient(140deg, #3a46ad, #8d57c4); }
.av-stat:is(:hover, :focus-within, :focus, .av-open) { transform: translateY(-5px); box-shadow: 0 18px 34px #103e3238; z-index: 5; }
.av-big { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 850; line-height: 1.1; }
.airava-home .av-stat h3 { color: #fff; margin: 6px 0; }
.av-stat > p { margin: 0 0 12px; opacity: .95; }
.av-hint { display: inline-block; padding: 5px 14px; border-radius: 99px; background: #ffffff2e; font-size: .82rem; }
.av-pop { visibility: hidden; opacity: 0; position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 8px; width: min(430px, 92vw); padding: 18px; border-radius: 18px; background: #fff; color: var(--av-forest); box-shadow: 0 20px 48px #103e323d; transition: opacity .2s, translate .2s, visibility .2s; }
.av-stat:first-child .av-pop { left: 0; translate: 0 8px; }
.av-stat:last-child .av-pop { left: auto; right: 0; translate: 0 8px; }
.av-stat:is(:hover, :focus-within, :focus, .av-open) .av-pop { visibility: visible; opacity: 1; translate: -50% 0; }
.av-stat:is(:first-child, :last-child):is(:hover, :focus-within, :focus, .av-open) .av-pop { translate: 0 0; }
.av-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.av-pop ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.av-pop li { padding: 5px 11px; border-radius: 99px; background: #eef6f1; font-size: .85rem; }
.av-pop p { margin: 10px 0 0; font-size: .82rem; color: #5c6a62; }
.av-modes { display: grid; gap: 8px; text-align: left; }
.av-modes div { display: grid; grid-template-columns: 5em 1fr auto; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: #f1f0fb; font-size: .86rem; }
.av-modes b { color: #4a2f9e; }
.av-modes em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--av-teal); white-space: nowrap; }

/* 5 · six devices */
.av-devices { padding: clamp(44px, 6vw, 72px) 0 8px; }
.av-devices-head { text-align: center; margin-bottom: 26px; }
.av-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.av-box { background: #fffdf8; border: 1px solid #d8dcd0; border-radius: 22px; aspect-ratio: 1 / 1; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; color: #173e34; }
.av-box-icons { display: flex; align-items: flex-end; gap: 14px; }
.av-box .av-icon { width: 58px; height: 58px; }
.av-box h3 { margin: 4px 0 0; font-size: 1.5rem; color: #103e32; }
.av-box strong { color: #23877c; }
.av-box p { margin: 0; max-width: 20em; line-height: 1.65; }
.airava-home .av-get { text-align: center; margin: 28px 0 0; }
.av-big.av-words { display: flex; align-items: center; justify-content: center; min-height: calc(clamp(2.6rem, 5vw, 4.2rem) * 1.1); font-size: clamp(1.75rem, 2.7vw, 2.45rem); line-height: 1.2; }

.airava-home .airava-close { background: linear-gradient(120deg, #0f4b3d, #23877c 60%, #d98a4a); }
.av-close-ring { width: 110px; height: 110px; display: block; margin: 0 auto 8px; }

@keyframes av-flow { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
@keyframes av-drift { to { transform: translate(70px, 45px) scale(1.15); } }
@keyframes av-wave { to { transform: scaleY(1); } }

/* cream disc so the dark elephant stays readable on dark backgrounds */
.av-motion-head img, .av-close-ring { background: #fffdf7; border-radius: 50%; padding: 6px; box-shadow: 0 8px 26px #0004; }
.av-close-ring { margin-bottom: 20px; }
@media (max-width: 860px) {
  .av-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .av-ask { grid-row: auto; min-height: 430px; }
  .av-live { grid-column: auto; }
  .av-card { min-height: 280px; }
  .av-three, .av-columns { grid-template-columns: 1fr; }
  .av-pop { position: static; width: auto; display: none; margin-top: 14px; translate: none !important; }
  .av-stat:is(:hover, :focus-within, :focus, .av-open) .av-pop { display: block; }
  .av-halo { width: 220px; height: 220px; right: -60px; top: -76px; }
  .av-badge { right: 8px; }
}
@media (max-width: 900px) {
  .av-hero-visual { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .av-hero-band, .av-hero-band::before, .av-hero-band::after, .av-card, .av-wave i { animation: none; }
  .av-step, .av-checks li, .av-orbit span, .av-stat, .av-pop { transition: none; }
}

/* The demo page: its heading is a page title, smaller than the homepage headline. */
html .airava-home.airava-demo-page .lab-intro h1 { max-width: none; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: normal; line-height: 1.2; margin-bottom: 12px; }
.demo-desk + .language-list { margin-top: 16px; }
/* The download page uses the device cards outside the homepage. */
.download-devices { padding-top: clamp(36px, 5vw, 56px); text-align: left; }
.download-devices h3 { margin: 0 0 6px; }

/* headline, tags, offline block */
.av-line { display: inline-block; }
.airava-home .airava-hero h1 { font-size: clamp(2.05rem, 3.7vw, 3rem); line-height: 1.22; margin-bottom: 16px; }
.airava-home .av-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.av-tags li { background: #fffdf8; border: 1px solid #cfd8cc; border-radius: 999px; padding: 5px 13px; font-size: .9rem; font-weight: 650; color: #103e32; }
.av-offline { background: #103e32; color: #f8f6f0; padding: 46px 0 40px; }
.airava-home .av-offline h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 8px; }
.av-offline-lead { color: #cfe0d6; margin: 0 0 22px; }
.av-offline-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.av-offline-two article { background: #fffdf8; color: #173e34; border-radius: 18px; padding: 20px 22px; border-top: 5px solid #e8ac77; }
.av-offline-two article + article { border-top-color: #23877c; }
.airava-home .av-offline-two h3 { margin: 0 0 6px; font-size: 1.15rem; color: #103e32; }
.av-offline-two p { margin: 0; color: #465a50; }
.av-offline .av-offline-cpu { margin: 20px 0 6px; font-size: 1.08rem; font-weight: 700; color: #ffd58a; }
.av-offline .av-offline-small { margin: 0; font-size: .85rem; line-height: 1.7; color: #b4c9be; }

/* platform marks */
.av-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.av-platforms-title { width: 100%; font-size: .85rem; font-weight: 700; opacity: .8; }
.av-platform { display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 14px; background: #fffdf8; border: 1px solid #cfd8cc; color: #103e32; text-decoration: none; text-align: left; line-height: 1.2; transition: transform .2s, box-shadow .2s; }
.av-platform:hover { transform: translateY(-2px); box-shadow: 0 10px 22px #103e3224; }
.av-platform svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.av-platform-windows svg { color: #2f6fd0; } .av-platform-apple svg { color: #111; } .av-platform-android svg { color: #23877c; }
.av-platform b { display: block; font-size: .95rem; }
.av-platform small { display: block; font-size: .72rem; color: #5c6a62; }
.airava-close .av-platforms { justify-content: center; }
.airava-close .av-platforms-title { color: #fff; text-align: center; }
.download-devices .av-platforms { justify-content: center; margin-bottom: 26px; }
.download-devices .av-platforms-title { text-align: center; }
.section-cta .av-platforms { justify-content: center; margin-top: 16px; }
.section-cta .av-platforms-title { text-align: center; }

/* message cards and the language cards among the features */
.av-message { cursor: default; }
.av-message:hover { transform: none; box-shadow: none; }
.av-three.av-langs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }

/* everyday scenarios */
.av-scenes { background: #f8f6f0; color: #173e34; padding: clamp(46px, 6vw, 72px) 0; }
.airava-home .av-scenes h2 { margin: 0 0 20px; }
.av-scene-box { position: relative; }
.av-scene-box input { position: absolute; opacity: 0; pointer-events: none; }
.av-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.av-tabs label { cursor: pointer; border: 1px solid #cfd8cc; background: #fffdf8; border-radius: 999px; padding: 9px 17px; font-weight: 700; }
.av-panel { display: none; grid-template-columns: 1.15fr 1fr; gap: 24px; background: #fffdf8; border: 1px solid #d8dcd0; border-radius: 22px; padding: 28px; }
.airava-home .av-panel h3 { font-size: 1.4rem; margin: 0 0 6px; }
.av-panel p { margin: 0 0 12px; color: #465a50; line-height: 1.7; }
.av-panel ul { margin: 0; padding-left: 1.2em; line-height: 1.9; }
.av-panel .av-warn { margin: 14px 0 0; font-size: .88rem; color: #795032; }
.av-ex { background: #103e32; color: #f8f6f0; border-radius: 16px; padding: 20px 22px; align-self: start; }
.av-ex span { font-size: .8rem; color: #ffd58a; font-weight: 700; }
.airava-home .av-ex h4 { margin: 6px 0 10px; font-size: 1.1rem; color: #fff; }
.av-ex div { background: #27493f; border-radius: 10px; padding: 10px 14px; margin-top: 8px; }
#av-s0:checked ~ .av-panels #av-p0 { display: grid; } #av-s0:checked ~ .av-tabs label[for="av-s0"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s0:focus-visible ~ .av-tabs label[for="av-s0"] { outline: 3px solid #ffbd45; }
#av-s1:checked ~ .av-panels #av-p1 { display: grid; } #av-s1:checked ~ .av-tabs label[for="av-s1"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s1:focus-visible ~ .av-tabs label[for="av-s1"] { outline: 3px solid #ffbd45; }
#av-s2:checked ~ .av-panels #av-p2 { display: grid; } #av-s2:checked ~ .av-tabs label[for="av-s2"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s2:focus-visible ~ .av-tabs label[for="av-s2"] { outline: 3px solid #ffbd45; }
#av-s3:checked ~ .av-panels #av-p3 { display: grid; } #av-s3:checked ~ .av-tabs label[for="av-s3"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s3:focus-visible ~ .av-tabs label[for="av-s3"] { outline: 3px solid #ffbd45; }
#av-s4:checked ~ .av-panels #av-p4 { display: grid; } #av-s4:checked ~ .av-tabs label[for="av-s4"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s4:focus-visible ~ .av-tabs label[for="av-s4"] { outline: 3px solid #ffbd45; }
#av-s5:checked ~ .av-panels #av-p5 { display: grid; } #av-s5:checked ~ .av-tabs label[for="av-s5"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s5:focus-visible ~ .av-tabs label[for="av-s5"] { outline: 3px solid #ffbd45; }
#av-s6:checked ~ .av-panels #av-p6 { display: grid; } #av-s6:checked ~ .av-tabs label[for="av-s6"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s6:focus-visible ~ .av-tabs label[for="av-s6"] { outline: 3px solid #ffbd45; }
#av-s7:checked ~ .av-panels #av-p7 { display: grid; } #av-s7:checked ~ .av-tabs label[for="av-s7"] { background: #103e32; color: #fff; border-color: #103e32; } #av-s7:focus-visible ~ .av-tabs label[for="av-s7"] { outline: 3px solid #ffbd45; }
@media (max-width: 760px) {
  .av-offline-two, .av-panel, .av-three.av-langs { grid-template-columns: 1fr; }
  .av-panel { padding: 20px; }
  .av-tabs label { padding: 8px 13px; }
  .av-platforms { justify-content: center; }
  .av-platforms-title { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .av-platform { transition: none; } }

.download-devices .av-platforms { grid-column: 1 / -1; }

.airava-home .airava-close a.av-platform { color: #103e32; }
.airava-home .airava-close .wrap { text-align: center; }
.airava-home .airava-close .cta-row { justify-content: center; }
.av-get .av-platforms, .av-get .av-platforms-title { justify-content: center; text-align: center; }
html[lang|="en"] .airava-home .airava-hero h1 { font-size: clamp(1.75rem, 2.9vw, 2.4rem); }
@media (min-width: 961px) { .airava-feature-grid article:last-child:nth-child(3n + 2) { grid-column: span 2; } }
@media (max-width: 760px) { html[lang|="en"] .airava-home .airava-hero h1 { font-size: 1.65rem; } }
html[lang|="en"] .airava-home .airava-hero h1 { max-width: none; }
.airava-home .airava-close a.btn-main { color: #142b22; }
/* Latin text: a Latin serif first, so curly apostrophes are not drawn full-width by the CJK font. */
.airava-home .av-brand-text:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) { font-family: Georgia, "Times New Roman", var(--av-serif); max-width: 40em; }

/* the line under the logo */
.airava-site .site-header .brand { flex-direction: column; align-items: flex-start; gap: 0; }
.brand-tagline { font: 700 11px/1.3 system-ui, sans-serif; color: #795032; letter-spacing: .02em; margin: -2px 0 0 2px; white-space: nowrap; }
.av-tags a { color: inherit; }
.airava-home .av-message a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* About & FAQ page */
.av-story { max-width: 1040px; margin: 0 auto; padding: 56px 22px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.av-story article { background: #fffdf8; border: 1px solid #d8dcd0; border-radius: 20px; padding: 26px 28px; }
.airava-home .av-story h2, .airava-home .av-beliefs h2 { font-size: 1.6rem; color: #103e32; margin: 0 0 10px; }
.av-story p { margin: 0; line-height: 1.8; color: #34483f; }
.av-story p + p { margin-top: 10px; }
.av-beliefs { max-width: 1040px; margin: 0 auto; padding: 34px 22px; }
.airava-home .av-beliefs h2 { margin-bottom: 18px; }
.av-beliefs > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.av-beliefs article { border-top: 5px solid #23877c; background: #fffdf8; border-radius: 16px; padding: 18px; }
.av-beliefs article:nth-child(even) { border-top-color: #e8ac77; }
.av-beliefs h3 { margin: 0 0 6px; font-size: 1.15rem; color: #103e32; }
.av-beliefs article p { margin: 0; line-height: 1.65; font-size: .95rem; color: #34483f; }
.airava-home .airava-faq { max-width: 1040px; padding-inline: 22px; }
@media (max-width: 760px) {
  .brand-tagline { font-size: 9.5px; }
  .airava-site .site-header .brand .airava-logo { width: 112px; height: auto; }
  .av-boxes { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .av-story, .av-beliefs > div { grid-template-columns: 1fr; }
}
