/* Assembly 2026 - theme styles. Palette: 60 paper / 30 ink / 10 green+blue. Blue = AI, green = human. */

:root {
  --a-paper: #F4F5EF;
  --a-ink: #0D2336;
  --a-ink-soft: #2F4559;
  --a-blue: #0070B8;
  --a-blue-soft: rgba(0, 112, 184, .14);
  --a-green: #90C018;
  --a-green-deep: #4F7A10;
  --a-green-soft: rgba(144, 192, 24, .18);
  --a-line: #DDE1D6;
  --a-line-dark: rgba(255, 255, 255, .12);
  --a-white: #FFFFFF;
  --a-radius: 16px;
  --a-ease: cubic-bezier(.22, .61, .36, 1);
  --a-shadow: 0 10px 30px rgba(13, 35, 54, .08);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: 0; text-wrap: balance; }
:lang(he) h1, :lang(he) h2, :lang(he) h3 { font-weight: 700; }
p { text-wrap: pretty; }

/* ---- Dark sections (hero, final CTA) ---- */
.is-style-dark,
.a-dark {
  background: var(--a-ink);
  color: var(--a-paper);
}
.a-dark h1, .a-dark h2, .a-dark h3 { color: var(--a-white); }
.a-dark a:not(.wp-block-button__link) { color: var(--a-green); }
.a-dark .wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent;
  color: var(--a-paper);
  border: 1px solid var(--a-line-dark);
}
.a-dark .wp-block-button.is-style-ghost .wp-block-button__link:hover {
  border-color: var(--a-green);
  color: var(--a-green);
  background: transparent;
}
.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent;
  color: var(--a-ink);
  border: 1px solid var(--a-ink);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--a-ink); color: var(--a-paper); }

/* ---- Eyebrow / labels ---- */
.a-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1rem; font-weight: 700; letter-spacing: .01em;
  color: #3d5f0b; background: var(--a-green-soft);
  padding: .4rem 1rem .4rem 1rem; border-radius: 999px;
}
.a-dark .a-eyebrow { color: var(--a-green); background: rgba(144, 192, 24, .14); }
.a-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.a-section__head .a-eyebrow + h2, .a-section__head .a-eyebrow + h1 { margin-top: 1rem; }
.a-term { font-family: var(--wp--preset--font-family--mono); font-size: .95em; }

/* ---- Header ---- */
header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 80; }
.a-anchor, [id] { scroll-margin-top: calc(90px + var(--wp-admin--admin-bar--height, 0px)); }
.a-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: linear-gradient(rgba(244, 245, 239, .97), rgba(244, 245, 239, .88)); border-bottom: 1px solid var(--a-line); box-shadow: 0 1px 0 rgba(13, 35, 54, .04), 0 8px 24px rgba(13, 35, 54, .05); }
.a-header .wp-block-navigation a { font-weight: 500; }
.a-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--a-blue); }
.a-logo img { height: 48px; width: auto; display: block; }
@media (max-width: 600px) { .a-logo img { height: 38px; } }
.a-header .wp-block-button__link { padding: .6rem 1.1rem; font-size: .95rem; }

/* ---- Hero ---- */
.a-hero { position: relative; overflow: hidden; }
.a-hero {
  background:
    radial-gradient(95% 120% at 80% -10%, rgba(244, 245, 239, .08), transparent 40%),
    radial-gradient(110% 130% at 10% 110%, rgba(144, 192, 24, .12), transparent 42%),
    var(--a-ink);
}
.a-glow { position: absolute; border-radius: 9999px; filter: blur(70px); will-change: transform; pointer-events: none; }
.a-glow--green { width: 38rem; height: 38rem; top: -12rem; inset-inline-end: -6rem; opacity: .16; background: radial-gradient(circle, var(--a-green), transparent 70%); animation: a-drift-a 24s ease-in-out infinite; }
.a-glow--blue { width: 34rem; height: 34rem; bottom: -16rem; inset-inline-start: -8rem; opacity: .45; background: radial-gradient(circle, var(--a-blue), transparent 70%); animation: a-drift-b 30s ease-in-out infinite; }
@keyframes a-drift-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3rem, 2rem); } }
@keyframes a-drift-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2.5rem, -2rem); } }
.a-sheen { position: absolute; inset: 0; opacity: .14; pointer-events: none; background: linear-gradient(115deg, transparent 0%, rgba(244, 245, 239, .05) 50%, transparent 100%); }
.a-hero > *:not(.a-glow):not(.a-sheen) { position: relative; }
.a-hero .a-glow, .a-hero .a-sheen { position: absolute; }
.a-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .a-hero__grid { grid-template-columns: 1fr; } }
.a-hero h1 { margin: .6rem 0 1rem; }
.a-hero .a-lead { font-size: var(--wp--preset--font-size--large); color: rgba(244, 245, 239, .88); max-width: 34ch; }
.a-hero .a-note { font-size: .95rem; color: rgba(244, 245, 239, .62); margin-top: 1.2rem; }

.a-audiences { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--a-line-dark); font-size: .95rem; }
.a-audiences span { color: rgba(244, 245, 239, .6); }
.a-audiences a { color: var(--a-paper); text-decoration: none; padding: .3rem .8rem; border: 1px solid var(--a-line-dark); border-radius: 999px; transition: border-color .3s, color .3s; }
.a-audiences a:hover { border-color: var(--a-green); color: var(--a-green); }

/* ---- Flow diagram (SVG) ---- */
.a-flow { width: 100%; height: auto; overflow: visible; }
.a-flow .n { fill: rgba(255, 255, 255, .04); stroke-width: 1.5; rx: 14; }
.a-flow .n-ai { stroke: var(--a-blue); }
.a-flow .n-human { stroke: var(--a-green); }
.a-flow .dot-ai { fill: var(--a-blue); }
.a-flow .dot-human { fill: var(--a-green); }
.a-flow .t { fill: var(--a-paper); font-family: var(--wp--preset--font-family--body); font-size: 15px; font-weight: 500; }
.a-flow .s { fill: rgba(244, 245, 239, .6); font-family: var(--wp--preset--font-family--body); font-size: 12px; }
.a-flow .edge { fill: none; stroke: rgba(244, 245, 239, .25); stroke-width: 1.5; }
.a-flow .pulse { fill: none; stroke: var(--a-green); stroke-width: 2.5; stroke-dasharray: 18 400; stroke-linecap: round; animation: a-pulse 6s linear infinite; }
.a-flow .pulse.ai { stroke: var(--a-blue); animation-delay: -3s; }
@keyframes a-pulse { to { stroke-dashoffset: -418; } }
.a-flow .n { animation: a-node 6s var(--a-ease) infinite; }
.a-flow .n:nth-of-type(2) { animation-delay: 1s; }
.a-flow .n:nth-of-type(3) { animation-delay: 2s; }
.a-flow .n:nth-of-type(4) { animation-delay: 3s; }
.a-flow .n:nth-of-type(5) { animation-delay: 4s; }
.a-flow .n:nth-of-type(6) { animation-delay: 5s; }
@keyframes a-node { 0%, 20%, 100% { fill: rgba(255, 255, 255, .04); } 8% { fill: rgba(255, 255, 255, .12); } }
.a-legend { display: flex; gap: 1.5rem; font-size: .85rem; color: rgba(244, 245, 239, .7); margin-top: .75rem; }
.a-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: .4rem; vertical-align: middle; }
.a-legend .ai::before { background: var(--a-blue); }
.a-legend .human::before { background: var(--a-green); }

/* ---- Trust bar + marquee ---- */
.a-trust { border-bottom: 1px solid var(--a-line); }
.a-facts { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; justify-content: center; font-weight: 500; color: var(--a-ink-soft); }
.a-facts strong { color: var(--a-ink); }
.a-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.a-marquee__track { display: flex; gap: 4rem; width: max-content; animation: a-marquee 40s linear infinite; padding-block: .5rem; }
.a-marquee__track span { white-space: nowrap; font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; color: var(--a-ink-soft); opacity: .8; }
.a-marquee:hover .a-marquee__track { animation-play-state: paused; }
@keyframes a-marquee { to { transform: translateX(50%); } }
[dir="ltr"] .a-marquee__track { animation-name: a-marquee-ltr; }
@keyframes a-marquee-ltr { to { transform: translateX(-50%); } }

/* ---- Cards ---- */
.a-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.a-card, .is-style-card {
  background: var(--a-white); border: 1px solid var(--a-line); border-radius: var(--a-radius);
  padding: 1.6rem; transition: transform .45s var(--a-ease), box-shadow .45s var(--a-ease), border-color .3s;
}
.a-card:hover, .is-style-card:hover { transform: translateY(-6px); box-shadow: var(--a-shadow); border-color: transparent; }
.a-card h3 { font-size: 1.35rem; margin: .3rem 0 .6rem; }
.a-card .a-kicker { font-size: .8rem; font-weight: 600; color: var(--a-blue); letter-spacing: .04em; text-transform: uppercase; }
.a-card .a-more { display: inline-block; margin-top: .9rem; font-weight: 600; color: var(--a-blue); text-decoration: none; }
.a-card .a-more::after { content: " \2190"; }
[dir="ltr"] .a-card .a-more::after { content: " \2192"; }
.a-card__accent { height: 4px; border-radius: 4px; width: 56px; margin-bottom: 1rem; background: var(--a-green); }
.a-card--ai .a-card__accent { background: var(--a-blue); }

/* ---- Steps ---- */
.a-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
@media (max-width: 900px) { .a-steps { grid-template-columns: 1fr; } }
.a-step { position: relative; padding: 1.6rem; border-radius: var(--a-radius); background: var(--a-white); border: 1px solid var(--a-line); }
.a-step__num { font-family: var(--wp--preset--font-family--heading); font-size: 2.6rem; line-height: 1; color: var(--a-green); }
.a-step--ai .a-step__num { color: var(--a-blue); }
.a-step h3 { margin: .4rem 0 .2rem; font-size: 1.35rem; }
.a-step .a-tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--a-green-soft); color: var(--a-green-deep); margin-bottom: .6rem; }
.a-step--ai .a-tag { background: var(--a-blue-soft); color: var(--a-blue); }
.a-step p { margin: .5rem 0 0; color: var(--a-ink-soft); }
.a-step .a-proof { margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--a-line); font-size: .92rem; }
.a-steps__why { margin-top: 1.5rem; padding: 1.1rem 1.4rem; border-inline-start: 4px solid var(--a-green); background: var(--a-white); border-radius: 8px; }

/* ---- Rules accordion ---- */
.a-rules details { background: var(--a-white); border: 1px solid var(--a-line); border-radius: 12px; padding: 0; margin-bottom: .75rem; overflow: hidden; }
.a-rules summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 600; font-size: 1.1rem; display: flex; gap: 1rem; align-items: center; }
.a-rules summary::-webkit-details-marker { display: none; }
.a-rules summary::before { content: "+"; font-family: var(--wp--preset--font-family--mono); color: var(--a-blue); font-size: 1.3rem; width: 1.2rem; }
.a-rules details[open] summary::before { content: "\2212"; }
.a-rules .a-rule__body { padding: 0 1.4rem 1.3rem; color: var(--a-ink-soft); }
.a-rules .a-rule__benefit { font-weight: 500; color: var(--a-ink); margin-bottom: .6rem; }
.a-rules .a-rule__tech { font-size: .95rem; }
.a-rules .a-rule__tech code { font-family: var(--wp--preset--font-family--mono); font-size: .88em; background: var(--a-paper); padding: .05em .35em; border-radius: 4px; }

/* ---- Proof / quote ---- */
.a-quote { background: var(--a-white); border-radius: var(--a-radius); padding: 2.2rem; border: 1px solid var(--a-line); position: relative; }
.a-quote::before { content: "\201C"; position: absolute; top: -.2em; inset-inline-start: 1.2rem; font-family: var(--wp--preset--font-family--heading); font-size: 6rem; color: var(--a-green); line-height: 1; opacity: .5; }
.a-quote p { font-size: 1.15rem; }
.a-quote footer { margin-top: 1rem; font-weight: 600; color: var(--a-ink-soft); font-size: .95rem; }
.a-fact { margin-top: 1rem; padding: 1rem 1.3rem; border-inline-start: 4px solid var(--a-blue); background: var(--a-white); border-radius: 8px; }

/* ---- FAQ ---- */
.a-faq details { border-bottom: 1px solid var(--a-line); padding: .4rem 0; }
.a-faq summary { cursor: pointer; list-style: none; padding: .8rem 0; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; }
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::after { content: "+"; color: var(--a-blue); font-family: var(--wp--preset--font-family--mono); }
.a-faq details[open] summary::after { content: "\2212"; }
.a-faq .a-faq__body { padding: 0 0 1rem; color: var(--a-ink-soft); max-width: 70ch; }

/* ---- Footer ---- */
.a-footer { border-top: 1px solid var(--a-line); font-size: .95rem; color: var(--a-ink-soft); }
.a-footer a { color: var(--a-ink); text-decoration: none; }
.a-footer a:hover { color: var(--a-blue); }

/* ---- Reveal on scroll ---- */
.a-reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s var(--a-ease), transform .8s var(--a-ease), filter .8s var(--a-ease); }
.a-reveal.is-in { opacity: 1; transform: none; filter: none; }
.a-reveal[data-delay="1"] { transition-delay: .12s; }
.a-reveal[data-delay="2"] { transition-delay: .24s; }
.a-reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .a-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .a-marquee__track, .a-flow .pulse, .a-flow .n { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- Section rhythm ---- */
.a-section { padding-block: var(--wp--preset--spacing--60); }
.a-section--tight { padding-block: var(--wp--preset--spacing--50); }
.a-section__head { max-width: 62ch; margin-bottom: 2rem; }
.a-section__head p { color: var(--a-ink-soft); font-size: 1.1rem; }
.a-center { text-align: center; }
.a-center .a-section__head { margin-inline: auto; }

/* ---- Blog ---- */
.a-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.a-topics a { padding: .35rem .9rem; border: 1px solid var(--a-line); border-radius: 999px; text-decoration: none; color: var(--a-ink); font-weight: 500; background: var(--a-white); }
.a-topics a:hover, .a-topics a.is-current { border-color: var(--a-blue); color: var(--a-blue); }
.a-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.a-posts .wp-block-post { background: var(--a-white); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 1.4rem; transition: transform .45s var(--a-ease), box-shadow .45s var(--a-ease); }
.a-posts .wp-block-post:hover { transform: translateY(-4px); box-shadow: var(--a-shadow); }
.a-posts .wp-block-post-title { font-size: 1.3rem; margin: .4rem 0; }
.a-posts .wp-block-post-title a { text-decoration: none; color: var(--a-ink); }
.a-posts .wp-block-post-terms a { font-size: .8rem; font-weight: 600; color: var(--a-blue); text-decoration: none; }
.a-posts .wp-block-post-date { font-size: .85rem; color: var(--a-ink-soft); }
.a-single .wp-block-post-content { font-size: 1.1rem; }
.a-single .wp-block-post-content h2 { margin-top: 2rem; }

/* ---- Contact form ---- */
.a-form { display: grid; gap: .9rem; text-align: start; max-width: 640px; margin-inline: auto; }
.a-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 600px) { .a-form__row { grid-template-columns: 1fr; } }
.a-form label { display: grid; gap: .3rem; min-width: 0; font-size: .9rem; font-weight: 500; }
.a-form input, .a-form textarea { box-sizing: border-box; min-width: 0; font: inherit; padding: .7rem .9rem; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-white); color: var(--a-ink); width: 100%; }
.a-form input:focus, .a-form textarea:focus { outline: 2px solid var(--a-blue); outline-offset: 1px; border-color: var(--a-blue); }
.a-form button { justify-self: start; cursor: pointer; border: 0; }
.a-form__note { font-size: .85rem; color: var(--a-ink-soft); margin: 0; }
.a-form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.a-form__ok { padding: .8rem 1rem; border-radius: 10px; background: var(--a-green-soft); color: var(--a-green-deep); font-weight: 600; }
.a-form__err { padding: .8rem 1rem; border-radius: 10px; background: #fde8e8; color: #8a1c1c; font-weight: 600; }
.a-dark .a-form { margin-top: 1.5rem; }
.a-dark .a-form label { color: rgba(244,245,239,.85); }
.a-dark .a-form input, .a-dark .a-form textarea { background: rgba(255,255,255,.06); border-color: var(--a-line-dark); color: var(--a-paper); }
.a-dark .a-form__note { color: rgba(244,245,239,.6); }
.a-form--compact { max-width: 560px; }
.a-cta__alt { margin-top: 1.2rem; font-size: .95rem; color: rgba(244,245,239,.7); }
.a-cta__alt a { color: var(--a-green); text-decoration: none; }

/* ---- Language switcher (dropdown) ---- */
.a-lang { position: relative; }
.a-lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border: 1px solid var(--a-line); border-radius: 999px; font-size: .9rem; font-weight: 500; background: var(--a-white); }
.a-lang summary::-webkit-details-marker { display: none; }
.a-lang[open] summary svg { transform: rotate(180deg); }
.a-lang summary svg { transition: transform .2s; }
.a-lang ul { position: absolute; top: calc(100% + .4rem); inset-inline-start: 0; min-width: 100%; margin: 0; padding: .35rem; list-style: none; background: var(--a-white); border: 1px solid var(--a-line); border-radius: 12px; box-shadow: 0 10px 30px rgba(13, 35, 54, .12); z-index: 90; }
.a-lang li a { display: block; padding: .5rem .8rem; border-radius: 8px; text-decoration: none; color: var(--a-ink); white-space: nowrap; }
.a-lang li a:hover { background: var(--a-paper); color: var(--a-blue); }

/* ---- Legal ---- */
.a-legal ol { padding-inline-start: 1.4rem; }
.a-legal li { margin-bottom: .5rem; }
.a-legal p strong:only-child { display: block; margin-top: 2rem; font-size: 1.2rem; }
.a-contact-line { font-size: 1.05rem; margin: .5rem 0 2rem; }
.a-contact-line a { font-weight: 600; text-decoration: none; }

/* ---- Pillars (dark, after hero) ---- */
.a-pillars-wrap { padding-bottom: var(--wp--preset--spacing--60); }
.a-pillars { display: grid; grid-template-columns: 1fr; border: 1px solid rgba(244, 245, 239, .12); border-radius: 18px; overflow: hidden; }
.a-pillar { display: flex; flex-direction: column; padding: 1.9rem 1.7rem; border-bottom: 1px solid rgba(244, 245, 239, .12); transition: background-color .35s, box-shadow .35s; }
.a-pillar:last-child { border-bottom: 0; }
.a-pillar:hover { background: rgba(144, 192, 24, .07); box-shadow: inset 0 0 3.5rem rgba(144, 192, 24, .08); }
.a-pillar--ai:hover { background: rgba(0, 112, 184, .09); box-shadow: inset 0 0 3.5rem rgba(0, 112, 184, .1); }
.a-pillar__icon { width: 1.7rem; height: 1.7rem; color: var(--a-green); }
.a-pillar--ai .a-pillar__icon { color: #4FB3F0; }
.a-pillar__title { margin: 1.1rem 0 0; font-size: 1.5rem; font-weight: 700; line-height: 1.12; color: var(--a-white); }
.a-pillar__body { margin: .65rem 0 0; font-size: .95rem; line-height: 1.6; color: rgba(244, 245, 239, .68); }
.a-pillar__subs { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(244, 245, 239, .1); }
.a-pillar__subs li { display: flex; align-items: center; gap: .65rem; padding: .8rem 0; font-size: .85rem; color: rgba(244, 245, 239, .8); border-bottom: 1px solid rgba(244, 245, 239, .1); }
.a-pillar__subs li:last-child { border-bottom: 0; }
.a-pillar__subs svg { width: 1rem; height: 1rem; flex: 0 0 auto; color: var(--a-green); opacity: .85; }
.a-pillar--ai .a-pillar__subs svg { color: #4FB3F0; }
.a-pillar__action { margin-top: auto; padding-top: 1.1rem; }
.a-pillar__action a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border: 1px solid rgba(244, 245, 239, .18); border-radius: 999px; font-size: .85rem; font-weight: 600; color: rgba(244, 245, 239, .82); text-decoration: none; transition: border-color .2s, color .2s; }
.a-pillar__action a::after { content: "\2190"; transition: transform .2s; }
[dir="ltr"] .a-pillar__action a::after { content: "\2192"; }
.a-pillar__action a:hover { border-color: var(--a-green); color: var(--a-green); }
.a-pillar__action a:hover::after { transform: translateX(-2px); }
[dir="ltr"] .a-pillar__action a:hover::after { transform: translateX(2px); }
@media (min-width: 56rem) {
  .a-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .a-pillar { border-bottom: 0; border-inline-end: 1px solid rgba(244, 245, 239, .12); padding: 2.3rem 2.1rem; }
  .a-pillar:last-child { border-inline-end: 0; }
}

/* ---- Sections touch each other (no block gap between full-width sections) ---- */
main.wp-block-group > .wp-block-group { margin-block-start: 0; }
.wp-site-blocks > main { margin-block-start: 0; }

/* ---- Navigation submenu ---- */
.a-header .wp-block-navigation__submenu-container { background: var(--a-white) !important; border: 1px solid var(--a-line) !important; border-radius: 14px; padding: .4rem !important; box-shadow: 0 14px 34px rgba(13, 35, 54, .12); min-width: 270px !important; }
.a-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem .8rem !important; border-radius: 9px; }
.a-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--a-paper); }

/* ---- Expanding service cards ---- */
.a-svcs { display: flex; gap: 1rem; height: 35rem; }
.a-svc {
  position: relative; overflow: hidden; flex: 1 1 0; min-width: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 1.6rem 1.4rem; border-radius: 20px; color: var(--a-paper);
  background:
    radial-gradient(circle at 80% 15%, rgba(144, 192, 24, .16), transparent 45%),
    radial-gradient(circle at 20% 90%, rgba(244, 245, 239, .07), transparent 45%),
    linear-gradient(160deg, #15324A, var(--a-ink));
  border: 1px solid rgba(13, 35, 54, .4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 28px rgba(13, 35, 54, .12);
  transition: flex-grow .7s var(--a-ease), box-shadow .4s, transform .4s var(--a-ease);
  outline: none;
}
.a-svc--ai { background:
    radial-gradient(circle at 80% 15%, rgba(0, 112, 184, .28), transparent 45%),
    radial-gradient(circle at 20% 90%, rgba(244, 245, 239, .07), transparent 45%),
    linear-gradient(160deg, #15324A, var(--a-ink)); }
.a-svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(244, 245, 239, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 245, 239, .06) 1px, transparent 1px);
  background-size: 2.6rem 2.6rem;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.a-svc > * { position: relative; }
.a-svc.is-active { flex-grow: 2.6; align-items: flex-start; text-align: start; justify-content: flex-start; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 22px 48px rgba(13, 35, 54, .24); }
.a-svc:focus-visible { box-shadow: 0 0 0 3px var(--a-paper), 0 0 0 5px var(--a-green); }
.a-svc--ai:focus-visible { box-shadow: 0 0 0 3px var(--a-paper), 0 0 0 5px var(--a-blue); }

.a-svc__ring {
  width: 4.4rem; height: 4.4rem; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 9999px;
  color: var(--a-green); border: 1px solid rgba(144, 192, 24, .55); background: rgba(13, 35, 54, .7);
  box-shadow: 0 0 1.8rem rgba(144, 192, 24, .28), inset 0 1px 0 rgba(244, 245, 239, .14);
  transition: transform .4s var(--a-ease), box-shadow .4s;
}
.a-svc__ring svg { width: 1.9rem; height: 1.9rem; }
.a-svc--ai .a-svc__ring { color: #4FB3F0; border-color: rgba(79, 179, 240, .55); box-shadow: 0 0 1.8rem rgba(0, 112, 184, .4), inset 0 1px 0 rgba(244, 245, 239, .14); }
.a-svc:hover .a-svc__ring { transform: scale(1.06); }

.a-svc__body { margin-top: 1.2rem; display: flex; flex-direction: column; align-items: inherit; width: 100%; }
.a-svc__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--a-green); }
.a-svc--ai .a-svc__kicker { color: #4FB3F0; }
.a-svc h3 { margin: .45rem 0 0; font-size: 1.45rem; line-height: 1.15; color: var(--a-white); }
.a-svc.is-active h3 { font-size: 2rem; }
.a-svc__sum { margin: .7rem 0 0; font-size: .95rem; line-height: 1.55; color: rgba(244, 245, 239, .72); }
.a-svc.is-active .a-svc__sum { color: rgba(244, 245, 239, .9); font-size: 1.05rem; }

.a-svc__more { max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; transform: translateY(8px); transition: opacity .35s ease, transform .45s var(--a-ease), max-height .6s var(--a-ease), visibility 0s linear .6s; }
.a-svc.is-active .a-svc__more { max-height: 22rem; opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .25s, transform .55s var(--a-ease) .25s, max-height .7s var(--a-ease), visibility 0s; }
.a-svc__more p { margin: 1rem 0 0; font-size: .95rem; line-height: 1.65; color: rgba(244, 245, 239, .72); max-width: 52ch; }
.a-svc__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid rgba(244, 245, 239, .12); }
.a-svc__tags li { font-size: .78rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgba(144, 192, 24, .45); color: rgba(244, 245, 239, .85); }
.a-svc--ai .a-svc__tags li { border-color: rgba(79, 179, 240, .45); }
.a-svc__links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.a-svc__links a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.05rem; border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.a-svc__links a:first-child { background: var(--a-green); color: var(--a-ink); }
.a-svc--ai .a-svc__links a:first-child { background: #4FB3F0; }
.a-svc__links a:first-child::after { content: "\2190"; }
[dir="ltr"] .a-svc__links a:first-child::after { content: "\2192"; }
.a-svc__links a:first-child:hover { background: var(--a-white); }
.a-svc__links a + a { border: 1px solid rgba(244, 245, 239, .25); color: rgba(244, 245, 239, .85); }
.a-svc__links a + a:hover { border-color: var(--a-white); color: var(--a-white); }

@media (max-width: 900px) {
  .a-svcs { flex-direction: column; height: auto; }
  .a-svc, .a-svc.is-active { flex: none; align-items: flex-start; text-align: start; }
  .a-svc h3, .a-svc.is-active h3 { font-size: 1.5rem; }
  .a-svc__more { max-height: none; opacity: 1; visibility: visible; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .a-svc, .a-svc__more, .a-svc__ring { transition: none; }
}

/* ---- Landing pages ---- */
.a-lp-hero { padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60); }
.a-lp-hero__inner { max-width: 46rem; }
.a-lp-hero h1 { margin: .7rem 0 1rem; font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.a-lp-hero .a-lead { max-width: 42rem; }
.a-lp-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.a-btn-ghost { display: inline-flex; align-items: center; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid var(--a-line-dark); color: var(--a-paper); transition: border-color .2s, color .2s; }
.a-btn-ghost:hover { border-color: var(--a-green); color: var(--a-green); }
.a-btn-ghost--dark { border-color: var(--a-ink); color: var(--a-ink); }
.a-btn-ghost--dark:hover { background: var(--a-ink); color: var(--a-paper); border-color: var(--a-ink); }
.a-anchor { height: 0; scroll-margin-top: 90px; }
.a-card h3 { margin-top: 0; }
.a-cards .a-quote { margin: 0; }

.a-gets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .a-gets { grid-template-columns: 1fr; } }
.a-get { background: var(--a-white); border-radius: var(--a-radius); padding: 1.7rem; box-shadow: 0 1px 0 rgba(13, 35, 54, .04), 0 6px 18px rgba(13, 35, 54, .05); }
.a-get__num { font-family: var(--wp--preset--font-family--mono); font-size: .85rem; color: var(--a-green-deep); }
.a-get h3 { margin: .4rem 0 .5rem; font-size: 1.35rem; }
.a-get p { margin: 0; color: var(--a-ink-soft); }
.a-lp-note { margin-top: 1.6rem; padding: 1rem 1.3rem; border-inline-start: 4px solid var(--a-blue); background: var(--a-white); border-radius: 8px; }

.a-offshore { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; padding: 2.4rem; border-radius: 20px; border: 1px solid var(--a-line); background: var(--a-white); }
@media (max-width: 860px) { .a-offshore { grid-template-columns: 1fr; padding: 1.6rem; } }
.a-offshore h2 { margin: .4rem 0 .8rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.a-offshore p { color: var(--a-ink-soft); margin: 0; }
.a-offshore__facts { display: grid; gap: 1rem; }
.a-offshore__facts div { display: grid; gap: .2rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--a-paper); }
.a-offshore__facts strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.8rem; color: var(--a-blue); line-height: 1.1; }
.a-offshore__facts span { font-size: .92rem; color: var(--a-ink-soft); }
.a-offshore__facts .a-btn-ghost { justify-self: start; }
.a-get--ai .a-get__num { color: var(--a-blue); }

.a-step__cases { margin: .7rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.a-step__cases li { padding: .6rem .8rem; border-radius: 10px; background: var(--a-paper); color: var(--a-ink-soft); font-size: .95rem; line-height: 1.5; }
.a-step__cases strong { color: var(--a-ink); }

/* ---- Founders ---- */
.a-pill { padding: .3rem .8rem; border: 1px solid var(--a-line-dark); border-radius: 999px; color: var(--a-paper); }
.a-lp-hero .a-audiences { margin-top: 1.6rem; }
.a-commit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .a-commit { grid-template-columns: 1fr; gap: 1rem; } }
.a-commit h2 { margin: 1rem 0 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.a-commit__body p { font-size: 1.15rem; color: var(--a-ink); margin-top: 0; }
.a-commit__body ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.a-commit__body li { position: relative; padding-inline-start: 1.8rem; color: var(--a-ink-soft); }
.a-commit__body li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--a-green-deep); border-bottom: 2px solid var(--a-green-deep); transform: rotate(-45deg); }

/* Legal page: date line separated from the note below it. */
.a-legal .a-legal__meta { margin-bottom: .25rem; color: var(--a-ink-soft); font-size: .95rem; }
.a-legal .a-legal__note { margin-top: 0; font-size: .95rem; }

/* Mobile header: one row. Logo at the start, then language, button, menu. */
@media (max-width: 599px) {
  .a-header > .wp-block-group { flex-wrap: nowrap !important; justify-content: flex-start !important; gap: .5rem !important; }
  .a-header .a-logo { margin-inline-end: auto; flex-shrink: 1; min-width: 0; }
  .a-header .a-logo img { height: 30px; }
  .a-header .a-lang { order: 1; }
  .a-header .a-lang summary { padding: .35rem .6rem; font-size: .82rem; gap: .25rem; }
  .a-header .wp-block-buttons { order: 2; flex-shrink: 0; }
  .a-header .wp-block-button__link { padding: .45rem .75rem; font-size: .82rem; white-space: nowrap; }
  .a-header .wp-block-navigation { order: 3; flex: 0 0 auto; }
}
@media (max-width: 359px) {
  .a-header .a-logo img { height: 26px; }
}

/* Three-column card grid. */
.a-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .a-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .a-cards--3 { grid-template-columns: 1fr; } }

/* Timeline (about). */
.a-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.6rem; }
.a-timeline::before { content: ""; position: absolute; inset-block: .6rem; inset-inline-start: 6.8rem; width: 2px; background: var(--a-line); }
.a-timeline li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 2.6rem; align-items: start; position: relative; }
.a-timeline li::before { content: ""; position: absolute; inset-inline-start: calc(6.8rem - 6px); top: .65rem; width: 14px; height: 14px; border-radius: 50%; background: var(--a-paper); border: 3px solid var(--a-green); }
.a-timeline__now::before { border-color: var(--a-blue) !important; background: var(--a-blue) !important; }
.a-timeline__year { font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; font-weight: 700; color: var(--a-ink); text-align: start; line-height: 1.6; background: none; }
.a-timeline__now .a-timeline__year { color: var(--a-blue); }
.a-timeline h3 { margin: .2rem 0 .35rem; font-size: 1.3rem; }
.a-timeline p { margin: 0; color: var(--a-ink-soft); max-width: 62ch; }
@media (max-width: 600px) {
  .a-timeline::before { inset-inline-start: 7px; }
  .a-timeline li { grid-template-columns: 1fr; gap: .2rem; padding-inline-start: 2rem; }
  .a-timeline li::before { inset-inline-start: 1px; }
  .a-timeline__year { text-align: start; padding: 0; font-size: 1.3rem; }
}

/* Contact page. */
.a-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: start; }
.a-contact h1 { margin: 1rem 0 1rem; }
.a-contact__lead { font-size: 1.15rem; color: var(--a-ink-soft); margin: 0 0 1.8rem; max-width: 46ch; }
.a-contact__sub { font-size: 1.15rem; margin: 0 0 .7rem; }
.a-contact__list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .55rem; }
.a-contact__list li { position: relative; padding-inline-start: 1.7rem; }
.a-contact__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--a-green-deep); border-bottom: 2px solid var(--a-green-deep); transform: rotate(-45deg); }
.a-contact__form { background: var(--a-white); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 2rem; box-shadow: 0 1px 0 rgba(13, 35, 54, .04), 0 10px 28px rgba(13, 35, 54, .06); }
.a-contact__form .a-form { max-width: none; margin: 0; }
@media (max-width: 900px) { .a-contact { grid-template-columns: 1fr; gap: 2rem; } .a-contact__form { padding: 1.4rem; } }

/* Screen-reader-only text. */
.a-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Visible keyboard focus everywhere. */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--a-blue); outline-offset: 3px; border-radius: 4px; }
.a-dark a:focus-visible, .a-dark button:focus-visible, .a-dark summary:focus-visible { outline-color: var(--a-green); }

/* ---- Products page ---- */
.a-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .a-product { grid-template-columns: 1fr; gap: 1.5rem; } }
.a-product__head { position: sticky; top: 6rem; }
@media (max-width: 900px) { .a-product__head { position: static; } }
.a-product__head h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: 0 0 .35rem; line-height: 1.05; }
.a-product__slogan { font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; color: #3d5f0b; margin: 0 0 1rem; }
.a-product__sub { font-size: 1.12rem; color: var(--a-ink); margin: 0 0 1.4rem; }
.a-product__body > p { font-size: 1.08rem; color: var(--a-ink-soft); margin-top: 0; }
.a-product__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.8rem; }
@media (max-width: 620px) { .a-product__lists { grid-template-columns: 1fr; } }
.a-product__lists h3 { font-size: 1.15rem; margin: 0 0 .8rem; }
.a-product__lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.a-product__lists li { position: relative; padding-inline-start: 1.8rem; color: var(--a-ink-soft); }
.a-product__lists li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--a-green-deep); border-bottom: 2px solid var(--a-green-deep); transform: rotate(-45deg); }

/* Links inside footer text lines stay underlined (link-in-text-block). */
.a-footer p a { text-decoration: underline; text-underline-offset: 2px; }
.a-product__body > p.a-product__note { border-inline-start: 3px solid var(--a-blue); padding-inline-start: .9rem; color: var(--a-ink); }
.a-product__note a { color: var(--a-blue); text-decoration: underline; }
