/* Inside the shadow root that holds the app's home page sections on the landing page.
   Loaded after the app's own stylesheet. All of the app's content stays; this file dresses it in
   neevcloud.com's design language (measured from its page): white / black bands, dashed rails,
   dark tag chips with the mint icon, centred Geist headlines with a solid mint accent, square
   cells joined by 1px lines, mono uppercase buttons. */

.app-root {
  --nv-mint: #59d8a7; --nv-mint-deep: #12806a; --nv-ink: #111111; --nv-body: #4e5a5c;
  --nv-line: #cfd6d3; --nv-line-dark: #26292c; --nv-rail: rgba(10, 12, 13, .12); --nv-rail-dark: rgba(239, 235, 227, .14);
  font-family: var(--font-sans); color: var(--nv-ink); background: #fff;
  line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: left;
}

/* ---- bands ----------------------------------------------------------------------------------- */
.app-root > section { position: relative; }
.app-root > section.bg-gray-50, .app-root > section.bg-white {
  background: #fff !important;
  --page: #fff; --surface: #fff; --subtle: #f4f8f6; --subtle-hover: #e9f3f3;
  --ink: var(--nv-ink); --body: var(--nv-body); --muted: #6e7b80; --line: var(--nv-line); --line-soft: #e6ecea;
}
.app-root > section.theme-dark {
  background: #000 !important;
  --page: #000; --surface: #0a0c0d; --subtle: #111415; --subtle-hover: #1a1e1f;
  --ink: #fff; --body: #9facb1; --muted: #8c9a97; --line: var(--nv-line-dark); --line-soft: #1a1d1f;
}
/* the app's notched band edges are its own look: neevcloud's bands meet straight */
.app-root > section > [aria-hidden="true"][class*="clip-path"] { display: none; }
/* dashed rails on both sides of the content, like neevcloud's frames */
.app-root > section > [class*="max-w-[calc(var(--container-page)"] { border-left: 1px dashed var(--nv-rail); border-right: 1px dashed var(--nv-rail); }
.app-root > section.theme-dark > [class*="max-w-[calc(var(--container-page)"] { border-color: var(--nv-rail-dark); }
.app-root > section + section { border-top: 1px solid var(--nv-line); }
.app-root > section.theme-dark + section, .app-root > section + section.theme-dark { border-top-color: #000; }

/* ---- section headers: centred, tag chip, big Geist headline, solid mint accent ---------------- */
.app-root header.flex.flex-col { margin-left: auto !important; margin-right: auto !important; align-items: center !important; text-align: center !important; max-width: 50rem !important; gap: 18px !important; }
.app-root .text-gradient-label {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; margin-bottom: 6px;
  background: #1c1c1c; border: 1px solid rgba(255, 255, 255, .08);
  color: #fff !important; -webkit-text-fill-color: #fff; background-image: none !important;
  font-family: var(--font-mono); font-size: 14px !important; font-weight: 500; text-transform: uppercase; letter-spacing: -.2px; line-height: 20px;
  box-shadow: -4px -4px 0 -3px var(--nv-mint), 4px 4px 0 -3px var(--nv-mint);
}
.app-root .text-gradient-label::before { content: ""; width: 14px; height: 14px; flex: none; background: url(/home-v2/tag-icon.svg) center / contain no-repeat; }
.app-root h2.text-title-sm, .app-root h2[class*="text-title"] {
  font-family: var(--font-sans); font-size: clamp(2.25rem, 4.2vw, 3.5rem) !important; line-height: 1.07 !important;
  font-weight: 500 !important; letter-spacing: -.04em !important; color: var(--ink);
}
.app-root .text-gradient { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: var(--nv-mint-deep) !important; -webkit-text-fill-color: var(--nv-mint-deep); }
.app-root .theme-dark .text-gradient { color: var(--nv-mint) !important; -webkit-text-fill-color: var(--nv-mint); }
.app-root header .text-body { font-size: 18px; line-height: 28px; color: var(--body); max-width: 40rem; }
/* "See the catalog" style links become neevcloud's mono "explore" links */
.app-root header a.underline, .app-root a.text-sm.font-medium.underline {
  font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; text-decoration: none !important;
  color: var(--nv-mint-deep) !important; display: inline-flex; align-items: center; gap: 8px;
}
.app-root .theme-dark header a.underline, .app-root .theme-dark a.text-sm.font-medium.underline { color: var(--nv-mint) !important; }
.app-root header a.underline::after, .app-root a.text-sm.font-medium.underline::after { content: ""; width: 10px; height: 10px; background: url(/home-v2/menu/cta-chevron.svg) center / 6px 10px no-repeat; transform: rotate(-90deg); }
/* small sub-headings like "Ways to pay" */
.app-root h3.text-sm.font-medium.text-muted { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

/* ---- cards: square cells joined by 1px lines -------------------------------------------------- */
.app-root .grid:has(> .shadow-card):not(:has(> :not(.shadow-card))) { gap: 1px !important; background: var(--line); border: 1px solid var(--line); }
.app-root .shadow-card { border-radius: 0 !important; box-shadow: none !important; background: var(--surface) !important; }
.app-root .theme-dark .shadow-card, .app-root .theme-dark .art-card { background: #0a0c0d !important; }
.app-root .shadow-card:hover { background: var(--subtle) !important; }
.app-root .theme-dark .shadow-card:hover { background: #0e1112 !important; }
.app-root .shadow-card h4.text-sm, .app-root .shadow-card h3.text-sm {font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.3px; color: var(--ink); }
.app-root .shadow-card h3.text-sm + p, .app-root .shadow-card h4.text-sm + p, .app-root .shadow-card p.mt-2.text-sm { font-size: 15px; line-height: 24px; color: var(--body); }
/* inner widgets keep their shape, with neevcloud's crisper corners */
.app-root .rounded-2xl { border-radius: 0 !important; }
.app-root .rounded-xl { border-radius: 6px !important; }
.app-root .rounded-lg { border-radius: 4px !important; }
.app-root .shadow-control { box-shadow: 0 0 0 1px var(--line) !important; }

/* ---- buttons --------------------------------------------------------------------------------- */
.app-root .bg-primary.text-on-primary {
  border-radius: 4px !important; color: #fff !important; box-shadow: none !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(0, 0, 0, .2)), #000 !important;
}
.app-root .theme-dark .bg-primary.text-on-primary { color: #000 !important; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(0, 0, 0, .2)), #fff !important; }

/* ---- the app's hero section: only its demo card and the tickers are used here -------------- */
.app-root section#top {
  --ink: var(--nv-ink); --body: var(--nv-body); --muted: #6e7b80; --line: var(--nv-line);
  --primary: #000; --on-primary: #fff;
  background: #fff !important; color: var(--ink); padding-top: 5rem !important;
}
.app-root section#top::before { display: none; }
.app-root section#top .grid.items-center { display: none !important; }
.app-root section#top .mt-10.rounded-2xl, .app-root section#top .md\:mt-14.rounded-2xl { margin-top: 0 !important; box-shadow: 0 0 0 1px var(--nv-line) !important; border-radius: 0 !important; }
.app-root [role="tab"][aria-selected="true"] { background: #000 !important; color: #fff !important; border-radius: 4px; }
.app-root [role="tab"][aria-selected="true"] svg { color: var(--nv-mint); }

/* headings of half-width columns (GPUs / Models and payments, FAQ) */
.app-root .grid > div > header h2[class*="text-title"], .app-root .grid > header h2[class*="text-title"] { font-size: clamp(2rem, 3.2vw, 2.75rem) !important; }

/* ---- FAQ: heading on the left, questions on the right, in neevcloud's cell style -------------- */
.app-root #faq header { align-items: flex-start !important; text-align: left !important; margin-left: 0 !important; }
.app-root #faq .shadow-card { border: 1px solid var(--line); }
.app-root details { border-radius: 0 !important; }
.app-root details summary { font-size: 17px; letter-spacing: -.2px; }
.app-root details[open] summary { color: var(--nv-mint-deep); }
