/* ARBR landing page (/arbr).
   One namespace (.arv2). Tokens and components follow the ai-programs-v2 and
   podcast-v2 lineage: square panels, hairline borders, 6px buttons. */

.arv2 {
    --ar-ink: #242623;
    --ar-olive: #203625;
    --ar-deep: #132a1c;
    --ar-lime: #e5fe96;
    --ar-green: #657d00;
    --ar-paper: #f4f4f0;
    --ar-line: rgba(36, 38, 35, .16);
    --ar-line-light: rgba(255, 255, 255, .17);
    --ar-muted: #666a64;
    --ar-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    display: block;
    color: var(--ar-ink);
    overflow: clip;
    font-family: "DM Sans", sans-serif;
}
.arv2 * { box-sizing: border-box; }
.arv2 .container { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.arv2-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(229,254,150,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(229,254,150,.075) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 96%); }

/* Shared type ------------------------------------------------------------ */

.arv2-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ar-green); font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.arv2-kicker span { width: 28px; height: 1px; background: currentColor; }
.arv2-hero .arv2-kicker,
.arv2-section--ink .arv2-kicker,
.arv2-cta .arv2-kicker { color: var(--ar-lime); }

.arv2-button { display: inline-flex; justify-content: center; align-items: center; gap: 30px; min-height: 54px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; background: var(--ar-lime); color: var(--ar-ink); font-family: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.arv2-button:hover { transform: translateY(-2px); background: #f0ffbf; color: var(--ar-ink); }
.arv2-button span { font-size: 18px; font-weight: 400; }
.arv2-button--ghost { background: transparent; border-color: rgba(255,255,255,.32); color: #fff; }
.arv2-button--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.arv2-button--dark { background: var(--ar-ink); color: #fff; }
.arv2-button--dark:hover { background: var(--ar-olive); color: #fff; }
.arv2-button--outline { background: transparent; border-color: var(--ar-ink); color: var(--ar-ink); }
.arv2-button--outline:hover { background: var(--ar-ink); color: #fff; }
.arv2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.arv2-actions--center { justify-content: center; }

/* Hero ------------------------------------------------------------------- */

.arv2-hero { position: relative; padding: 160px 0 76px; background: var(--ar-olive); color: #fff; }
.arv2-hero__layout { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr); gap: 62px; align-items: center; }
.arv2-hero h1 { margin: 0; font-size: clamp(46px, 4.6vw, 68px); line-height: .99; font-weight: 500; letter-spacing: -.055em; }
.arv2-hero__intro { max-width: 600px; margin: 27px 0 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.65; }
.arv2-hero__note { margin: 38px 0 0; padding-top: 23px; border-top: 1px solid rgba(229,254,150,.18); color: rgba(255,255,255,.62); font-size: 13px; font-weight: 500; }

/* Request-path panel */
.arv2-panel { overflow: hidden; border: 1px solid rgba(229,254,150,.28); background: #151a16; box-shadow: 0 34px 90px rgba(0,0,0,.3); }
.arv2-panel__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; border-bottom: 1px solid #343d34; background: #202720; color: #899289; font-family: var(--ar-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.arv2-panel__bar b { display: flex; align-items: center; gap: 7px; }
.arv2-panel__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--ar-lime); box-shadow: 0 0 12px rgba(229,254,150,.45); }
.arv2-panel__tag { padding: 4px 8px; border: 1px solid #59674e; color: var(--ar-lime); }
.arv2-panel__rows { padding: 6px 22px; }
.arv2-panel__rows > div { display: grid; grid-template-columns: 42px 1fr; align-items: start; padding: 16px 0; border-bottom: 1px solid #303830; }
.arv2-panel__rows > div:last-child { border-bottom: 0; }
.arv2-panel__rows span { padding-top: 3px; color: #78912f; font-family: var(--ar-mono); font-size: 11px; font-weight: 700; }
.arv2-panel__rows h3 { margin: 0; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.arv2-panel__rows p { margin: 4px 0 0; color: #c1c8c0; font-size: 13px; line-height: 1.5; }
.arv2-panel__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; min-height: 60px; padding: 14px 22px; border-top: 1px solid #303830; background: #242c24; color: #a9b1a8; font-size: 12px; }
.arv2-panel__foot strong { color: #fff; font-size: 15px; letter-spacing: -.02em; }

/* Provider strip --------------------------------------------------------- */

.arv2-providers { padding: 38px 0; border-bottom: 1px solid var(--ar-line); background: #fff; }
.arv2-providers p { margin: 0 0 18px; color: var(--ar-green); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.arv2-providers__list { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--ar-line); border-left: 1px solid var(--ar-line); }
.arv2-providers__list span { flex: 1 1 auto; padding: 14px 18px; border-right: 1px solid var(--ar-line); border-bottom: 1px solid var(--ar-line); color: var(--ar-ink); font-size: 14px; font-weight: 600; text-align: center; white-space: nowrap; }

/* Sections and headings -------------------------------------------------- */

.arv2-section { position: relative; padding: 112px 0; scroll-margin-top: 120px; }
.arv2-section--paper { background: var(--ar-paper); }
.arv2-section--ink { background: var(--ar-ink); color: #fff; }
.arv2-heading { max-width: 820px; margin-bottom: 58px; }
.arv2-heading h2 { margin: 0; font-size: clamp(38px, 4.2vw, 56px); line-height: 1.03; font-weight: 500; letter-spacing: -.05em; }
.arv2-heading > p:last-child:not(.arv2-kicker) { margin: 22px 0 0; color: #656862; font-size: 16px; line-height: 1.65; }
.arv2-section--ink .arv2-heading > p:last-child:not(.arv2-kicker) { color: rgba(255,255,255,.64); }

/* Card grid (hairline mesh) ---------------------------------------------- */

.arv2-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ar-line); border-left: 1px solid var(--ar-line); }
.arv2-cards--four { grid-template-columns: repeat(4, 1fr); }
.arv2-cards--three { grid-template-columns: repeat(3, 1fr); }
.arv2-cards > * { display: flex; flex-direction: column; padding: 25px; border-right: 1px solid var(--ar-line); border-bottom: 1px solid var(--ar-line); background: rgba(255,255,255,.36); color: inherit; text-decoration: none; transition: background .2s ease; }
.arv2-section:not(.arv2-section--paper) .arv2-cards > * { background: #fff; }
.arv2-cards > *:hover { background: #fff; }
.arv2-cards__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 44px; border: 1px solid var(--ar-line); transition: background .2s ease, border-color .2s ease; }
.arv2-cards__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ar-green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arv2-cards > *:hover .arv2-cards__icon { border-color: var(--ar-lime); background: var(--ar-lime); }
.arv2-cards__tag { margin-bottom: 28px; color: var(--ar-green); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.arv2-cards h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.18; font-weight: 600; letter-spacing: -.035em; }
.arv2-cards p { margin: 0; color: var(--ar-muted); font-size: 14px; line-height: 1.6; }
.arv2-cards ul { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--ar-line); list-style: none; }
.arv2-cards li { position: relative; padding: 5px 0 5px 18px; color: #555952; font-size: 13px; line-height: 1.5; }
.arv2-cards li:before { position: absolute; left: 0; color: var(--ar-green); content: "\21b3"; }

/* Linked cards: lime hover, as in ai-programs related links */
.arv2-cards--links { margin-top: 72px; }
.arv2-cards--links > a:hover { z-index: 1; background: var(--ar-lime); transform: translateY(-4px); }
.arv2-cards--links > a { transition: background .2s ease, transform .2s ease; }
.arv2-cards--links p { flex: 1; }
.arv2-cards--links > a:hover p { color: #4c5049; }
.arv2-cards__more { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--ar-line); color: var(--ar-ink); font-size: 13px; font-weight: 700; }

/* About Gyde: copy + layer stack ----------------------------------------- */

.arv2-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: start; }
.arv2-split .arv2-heading { margin-bottom: 30px; }
.arv2-copy > p { margin: 0 0 18px; color: var(--ar-muted); font-size: 16px; line-height: 1.7; }
.arv2-copy > p strong { color: var(--ar-ink); font-weight: 600; }
.arv2-layers { border: 1px solid var(--ar-line); }
.arv2-layers > div { padding: 22px 24px; border-bottom: 1px solid var(--ar-line); background: #fff; }
.arv2-layers > div:last-child { border-bottom: 0; }
.arv2-layers small { display: block; margin-bottom: 8px; color: var(--ar-green); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.arv2-layers h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.arv2-layers p { margin: 0; color: var(--ar-muted); font-size: 13px; line-height: 1.55; }
.arv2-layers .is-active { background: var(--ar-olive); color: #fff; }
.arv2-layers .is-active small { color: var(--ar-lime); }
.arv2-layers .is-active p { color: rgba(255,255,255,.66); }

/* How it works: steps on ink --------------------------------------------- */

.arv2-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--ar-line-light); }
.arv2-steps article { padding: 0 24px 8px; border-right: 1px solid var(--ar-line-light); }
.arv2-steps article > span { display: block; padding-top: 22px; border-top: 1px solid var(--ar-lime); color: var(--ar-lime); font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -.055em; }
.arv2-steps h3 { margin: 56px 0 12px; color: #fff; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.03em; }
.arv2-steps p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.6; }

/* Integrate: checks + code panel ----------------------------------------- */

.arv2-split--center { align-items: center; }
.arv2-checks { margin: 30px 0 0; padding: 0; border-top: 1px solid var(--ar-line); list-style: none; }
.arv2-checks li { display: grid; grid-template-columns: 30px 1fr; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--ar-line); font-size: 15px; font-weight: 500; }
.arv2-checks i { width: 7px; height: 7px; border-radius: 50%; background: var(--ar-green); }
.arv2-code { margin: 0; padding: 24px 22px; overflow-x: auto; color: #c1c8c0; font-family: var(--ar-mono); font-size: 13px; line-height: 1.75; white-space: pre; }
.arv2-code .c { color: #7f887e; }
.arv2-code .s { color: var(--ar-lime); }
.arv2-code .k { color: #fff; font-weight: 600; }

/* Deploy options ---------------------------------------------------------- */

.arv2-option__label { margin-bottom: 28px; color: var(--ar-green); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.arv2-cards .arv2-option ul { flex: 1; margin-bottom: 28px; }
.arv2-option .arv2-button { align-self: flex-start; }

/* FAQ --------------------------------------------------------------------- */

.arv2-faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.arv2-faq-layout > .arv2-heading { position: sticky; top: 140px; align-self: start; margin: 0; }
.arv2-faqs { border-top: 1px solid var(--ar-line); }
.arv2-faqs details { border-bottom: 1px solid var(--ar-line); }
.arv2-faqs summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 82px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.arv2-faqs summary::-webkit-details-marker { display: none; }
.arv2-faqs summary i { position: relative; flex: 0 0 auto; width: 24px; height: 24px; border: 1px solid #bdc2ba; border-radius: 50%; }
.arv2-faqs summary i:before,
.arv2-faqs summary i:after { position: absolute; background: var(--ar-green); content: ""; }
.arv2-faqs summary i:before { top: 11px; right: 7px; left: 7px; height: 1px; }
.arv2-faqs summary i:after { top: 7px; bottom: 7px; left: 11px; width: 1px; transition: transform .2s; }
.arv2-faqs details[open] summary i:after { transform: scaleY(0); }
.arv2-faqs details > p { max-width: 700px; margin: -4px 45px 27px 0; color: var(--ar-muted); font-size: 14px; line-height: 1.7; }

/* Closing CTA ------------------------------------------------------------- */

.arv2-cta { position: relative; padding: 115px 0; background: var(--ar-olive); color: #fff; text-align: center; }
.arv2-cta .container { position: relative; }
.arv2-cta h2 { max-width: 790px; margin: 0 auto; font-size: clamp(42px, 4.8vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.055em; }
.arv2-cta .container > p { max-width: 590px; margin: 25px auto 0; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.65; }

/* ARBR project band ------------------------------------------------------- */

.arv2-band { padding: 72px 0; background: var(--ar-deep); color: #fff; }
.arv2-band__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.arv2-band .arv2-band__mark { max-width: none; margin: 0 0 14px; color: var(--ar-lime); font-size: 22px; font-weight: 700; letter-spacing: .3em; }
.arv2-band p { max-width: 440px; margin: 0 0 12px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.65; }
.arv2-band p a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(229,254,150,.5); text-underline-offset: 3px; }
.arv2-band p a:hover { color: var(--ar-lime); }
.arv2-band h2 { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ar-line-light); color: var(--ar-lime); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.arv2-band ul { margin: 0; padding: 0; list-style: none; }
.arv2-band ul a { display: block; padding: 6px 0; color: rgba(255,255,255,.78); font-size: 14px; text-decoration: none; transition: color .2s ease; }
.arv2-band ul a:hover { color: var(--ar-lime); }
.arv2-social { display: flex; gap: 8px; margin-top: 20px; }
.arv2-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ar-line-light); color: #fff; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.arv2-social a:hover { border-color: var(--ar-lime); background: var(--ar-lime); color: var(--ar-ink); }
.arv2-social svg { width: 18px; height: 18px; }

/* Reveal ------------------------------------------------------------------ */

.arv2 .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.arv2 .reveal.revealed { opacity: 1; transform: none; }
.arv2 .d1 { transition-delay: .1s; }
.arv2 .d2 { transition-delay: .2s; }
.arv2 .d3 { transition-delay: .3s; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
    .arv2-hero__layout { grid-template-columns: 1fr; }
    .arv2-panel { max-width: 850px; }
    .arv2-split,
    .arv2-faq-layout { gap: 60px; }
    .arv2-cards--four,
    .arv2-steps { grid-template-columns: repeat(2, 1fr); }
    .arv2-steps { row-gap: 48px; }
    .arv2-band__grid { grid-template-columns: 1fr 1fr 1fr; }
    .arv2-band__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
    .arv2 .container { padding-left: 22px; padding-right: 22px; }
    .arv2-hero { padding-top: 132px; }
    .arv2-hero h1 { font-size: 46px; }
    .arv2-section { padding: 82px 0; }
    .arv2-split,
    .arv2-faq-layout { grid-template-columns: 1fr; gap: 38px; }
    .arv2-faq-layout > .arv2-heading { position: static; }
    .arv2-cards,
    .arv2-cards--three { grid-template-columns: 1fr; }
    .arv2-cards--three > :nth-child(3):last-child { grid-column: auto; }
    .arv2-cards--links { margin-top: 56px; }
}

@media (max-width: 560px) {
    .arv2-hero h1 { font-size: 40px; }
    .arv2-actions { flex-direction: column; align-items: stretch; }
    .arv2-heading h2 { font-size: 34px; }
    .arv2-cta h2 { font-size: 36px; }
    .arv2-cards--four,
    .arv2-steps,
    .arv2-band__grid { grid-template-columns: 1fr; }
    .arv2-cards__icon { margin-bottom: 28px; }
    .arv2-steps h3 { margin-top: 32px; }
    .arv2-panel__rows { padding: 6px 16px; }
    .arv2-panel__foot { flex-direction: column; align-items: flex-start; }
    .arv2-providers__list span { flex-basis: 50%; }
    .arv2-option .arv2-button { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    .arv2 * { transition: none !important; }
    .arv2 .reveal { opacity: 1; transform: none; }
}
