/* Palette sampled from app/streamlit/snowgear/assets/snowgear_logo.png so the site, the
   favicon and the in-app Streamlit UI all read as the same product. */
:root {
  --bg: #ffffff;
  --bg-raised: #f6f9fc;
  --fg: #142433;
  --muted: #566573;
  --border: #e1e8ee;
  --brand-deep: #0e6fa3;   /* "Snow", the icon's dark stroke */
  --brand-light: #38b6e8;  /* "Gear", the icon's light stroke */
  --brand-sky: #7dd3fc;    /* icon highlight */
  --accent: var(--brand-deep);
  --accent-contrast: #ffffff;
  --shadow: 0 1px 2px rgba(20, 36, 51, .04), 0 8px 24px -12px rgba(20, 36, 51, .12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --bg-raised: #161b22;
    --fg: #e7edf3;
    --muted: #93a1b0;
    --border: #273040;
    --brand-deep: #4bb4e6;
    --brand-light: #7dd3fc;
    --brand-sky: #a9e4fd;
    --accent: var(--brand-light);
    --accent-contrast: #06202c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .55);
  }
}

* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0; padding: 0 1.25rem 5rem; color: var(--fg); background: var(--bg);
  font: 1.05rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
main, header, footer { max-width: 46rem; margin: 0 auto; }

header {
  display: flex; gap: 1.25rem; align-items: center;
  padding: 1.5rem 0; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
header a.brand { display: flex; align-items: center; line-height: 0; }
header img.wordmark { height: 26px; width: auto; display: block; }
nav { margin-left: auto; display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--accent); }

a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); }
a:hover { text-decoration-thickness: 2px; }

h1 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h2 { font-size: 1.4rem; letter-spacing: -0.01em; margin-top: 3rem; margin-bottom: .75rem; }
h2:first-of-type { margin-top: 2.5rem; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--muted); margin: 0 0 1rem; max-width: 40rem; }

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
pre {
  background: var(--bg-raised); border: 1px solid var(--border);
  padding: 1rem; border-radius: 10px; overflow-x: auto;
}
code { background: var(--bg-raised); border-radius: 4px; padding: .1em .35em; }
pre code { background: none; padding: 0; }

img { max-width: 100%; border-radius: 10px; }
table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--border); padding: .55rem .75rem; text-align: left; vertical-align: top; }
th { font-weight: 600; background: var(--bg-raised); }

footer {
  margin-top: 5rem; padding-top: 1.75rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .9rem;
  display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
footer .links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer img.wordmark { height: 16px; width: auto; opacity: .7; }

/* ---- Hero (homepage only) ---- */
.hero {
  position: relative; margin: 0 0 1rem; padding: 3rem 2rem;
  border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--bg-raised); border: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; z-index: -1;
  width: 26rem; height: 26rem; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-sky) 0%, transparent 70%);
  opacity: .35; filter: blur(10px);
}
.hero h1 { margin-bottom: 1rem; }
.hero .lede { margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.15rem; border-radius: 9px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, black 15%); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Feature card grid ---- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 36rem) { .grid { grid-template-columns: 1fr; } }
.card {
  padding: 1.25rem 1.35rem; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-raised); box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 .4rem; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

ol, ul { padding-left: 1.3rem; }
ol li, ul li { margin: .4rem 0; }

/* ---- Screenshots ---- */
.shot {
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg-raised);
  padding: .75rem; margin: 1.25rem 0; overflow: hidden;
}
.shot img { display: block; width: 100%; border-radius: 8px; margin: 0; }
.shot figcaption {
  padding: .85rem .25rem .25rem; text-align: center; color: var(--muted); font-size: .92rem;
}
.shot .shot-label { font-weight: 600; color: var(--fg); }

.todo {
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 1rem 1.15rem; background: var(--bg-raised);
}
.updated { color: var(--muted); font-size: .9rem; }

/* SnowGear identity refresh: deliberately shared across the static site pages. */
:root {
  color-scheme: dark;
  --bg: #080f19;
  --bg-raised: #111e2d;
  --fg: #f3f8ff;
  --muted: #9eb1c5;
  --border: #26394a;
  --brand-deep: #087fd1;
  --brand-light: #21c2ee;
  --brand-sky: #83e1ff;
  --accent: #51cbf4;
  --accent-contrast: #06141f;
  --shadow: 0 18px 45px rgba(0,0,0,.17);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #080f19; --bg-raised: #111e2d; --fg: #f3f8ff;
    --muted: #9eb1c5; --border: #26394a; --accent: #51cbf4; --accent-contrast: #06141f; }
}
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  background: radial-gradient(ellipse 65% 25% at 50% 0%, rgba(7,106,167,.13), transparent 100%), var(--bg);
  padding-bottom: 2.5rem;
}
header { border-color: rgba(150,205,232,.13); max-width: 74rem; padding: 1.3rem 1rem; margin-bottom: 3.2rem; }
header img.wordmark { height: 37px; border-radius: 0; }
nav { align-items: center; gap: clamp(.8rem,2vw,2rem); }
nav a { color: #b8c9da; transition: color .15s ease; }
nav a:hover { color: #fff; }
nav a.nav-cta { color: #06141f; background: #49c6ee; padding: .52rem .85rem; border-radius: 8px; }
nav a.nav-cta:hover { background: #89dfff; }
main { max-width: 68rem; }
h1, h2, h3 { color: #f4faff; }
h2 { font-size: clamp(1.55rem,3vw,2rem); letter-spacing: -.035em; margin-top: 3.4rem; }
h1 { letter-spacing: -.05em; }
a { text-underline-offset: .16em; }
.card { background: linear-gradient(145deg, #142437, #0e1b29); border: 1px solid #263e54; padding: 1.55rem; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: #357da3; transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; }
.card p { color: #a9bed1; }
.grid { gap: 1.15rem; }
pre, .shot, .todo { border-color: var(--border); }
code { color: #a4eaff; }
footer { max-width: 74rem; margin-top: 5rem; }
footer img.wordmark { height: 24px; opacity: .9; border-radius: 0; }
.home-page main { max-width: 74rem; }
.home-page main > p:not(.section-kicker), .home-page main > ol { max-width: 68rem; }
.home-page .hero {
  display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr);
  gap: clamp(1.5rem,5vw,5rem); align-items: center;
  padding: clamp(2rem,5vw,5rem) clamp(1.5rem,5vw,4.5rem);
  min-height: 490px; border: 1px solid #27445b; border-radius: 22px;
  background: radial-gradient(ellipse at 78% 28%, rgba(16,107,166,.23), transparent 49%),
              linear-gradient(125deg,#101f30 0%,#0b1623 70%,#091320 100%);
  margin-bottom: 2.5rem;
}
.home-page .hero::before { display: none; }
.home-page .hero-content { position: relative; z-index: 1; }
.eyebrow, .section-kicker { color: #62cdec; letter-spacing: .17em; font-size: .75rem; font-weight: 750; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; }
.status-dot { width: 8px; height: 8px; background: #59dba9; border-radius: 50%; box-shadow: 0 0 0 4px rgba(89,219,169,.11); }
.home-page .hero h1 { font-size: clamp(2.6rem,5.4vw,4.7rem); line-height: 1.07; margin: 0 0 1.35rem; }
.gradient-text { background: linear-gradient(95deg,#27bced,#8ce2ff); color: transparent; -webkit-background-clip: text; background-clip: text; }
.home-page .hero .lede { color: #b6c9da; font-size: clamp(1.03rem,1.5vw,1.2rem); max-width: 32rem; line-height: 1.65; }
.hero-actions { gap: .9rem; }
.btn { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(100deg,#158ddb,#40c8f2); color: #fff; border-color: #32b7ea; }
.btn-primary:hover { background: #28b7ed; color: #06141f; }
.btn-ghost { background: rgba(10,25,40,.35); color: #e8f4ff; border-color: #436078; }
.btn-ghost:hover { color: #fff; border-color: #87ceee; }
.hero-note { color: #8ca6b9; font-size: .76rem; margin: 1.5rem 0 0; }
.hero-visual { border: 1px solid #34506b; border-radius: 14px; overflow: hidden; background: rgba(6,15,26,.82); box-shadow: 0 20px 65px rgba(0,0,0,.28); }
.hero-visual-head { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-bottom: 1px solid #263c51; color: #91aec2; font-size: .66rem; letter-spacing: .09em; }
.window-dots { color: #3989b3; font-size: .65rem; white-space: nowrap; letter-spacing: .22em; }
.visual-tag { margin-left: auto; color: #43c8f5; font-weight: 700; }
.workflow-stage { display: flex; align-items: center; gap: 1rem; margin: 1rem; padding: 1rem; background: linear-gradient(110deg,#182d41,#112234); border: 1px solid #2a465d; border-radius: 10px; }
.stage-number { color: #49c9ec; font: 700 .82rem ui-monospace,monospace; }
.workflow-stage strong { color: #f1faff; display: block; font-size: .95rem; }
.workflow-stage small { color: #9cb5c7; display: block; font-size: .77rem; margin-top: .2rem; line-height: 1.5; }
.stage-status { margin-left: auto; color: #76d9ee; border: 1px solid #336479; border-radius: 5px; padding: .25rem .45rem; font: 700 .67rem ui-monospace,monospace; }
.workflow-connector { text-align: center; color: #40b9e8; font-size: .95rem; line-height: .4; }
.section-kicker { margin: 2.8rem 0 -2.8rem; }
@media (max-width: 750px) {
  header { padding: 1rem 0; margin-bottom: 1.6rem; }
  header img.wordmark { height: 29px; }
  .home-page .hero { grid-template-columns: 1fr; min-height: auto; padding: 2rem 1.4rem; }
  .hero-visual { max-width: 32rem; width: 100%; }
  nav { gap: .8rem; }
  nav a { font-size: .83rem; }
  nav a.nav-cta { display: none; }
}
@media (max-width: 390px) { header img.wordmark { height: 24px; } nav { gap: .65rem; } }

/* Hero based on the approved mountain website mockup.
   Uses a remote photographic image until a licensed, optimised local asset is supplied. */
.home-page {
  background: #080f19;
}
.home-page .mountain-header {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  max-width: 74rem;
  background: #0b1827;
  border: 1px solid #244258;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  padding: 1.4rem clamp(1.5rem,5vw,4rem);
}
.home-page .mountain-header .wordmark { height: 38px; }
.home-page .mountain-header nav { gap: clamp(.65rem,2.5vw,2.5rem); }
.home-page .mountain-header .nav-cta { padding: .72rem 1.25rem; background: linear-gradient(115deg,#058bdf,#40c3f5); color: #fff; }
.home-page .mountain-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(510px,52vw,665px);
  max-width: 74rem;
  border-radius: 0 0 18px 18px;
  border: 1px solid #244258;
  border-top: 0;
  padding: clamp(3rem,7vw,6rem) clamp(1.5rem,5vw,4rem);
  margin: 0 auto 3rem;
  isolation: isolate;
  background-color: #0c1f31;
  background-image:
    linear-gradient(90deg, rgba(5,15,28,.96) 0%,rgba(6,20,36,.88) 37%,rgba(6,23,40,.52) 68%,rgba(7,21,36,.2) 100%),
    linear-gradient(0deg,rgba(6,15,26,.62),transparent 35%),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center, center, center 54%;
}
.home-page .mountain-hero::before { display: none; }
.home-page .mountain-hero .hero-content { max-width: 720px; position: relative; z-index: 1; }
.home-page .mountain-hero .section-kicker { margin: 0 0 1.4rem; }
.home-page .mountain-hero h1 {
  font-size: clamp(2.9rem,5.1vw,5.25rem);
  line-height: 1.13;
  letter-spacing: -.05em;
  margin: 0 0 1.7rem;
  text-shadow: 0 3px 15px rgba(0,0,0,.28);
}
.home-page .mountain-hero .light-gradient { color: #b3def5; }
.home-page .mountain-hero .gradient-text {
  background-image: linear-gradient(90deg,#e3f9ff,#3fc9f2);
}
.home-page .mountain-hero .hero-steps {
  color: #f2f8ff;
  font-size: clamp(1.1rem,1.7vw,1.4rem);
  letter-spacing: .01em;
  margin: 0 0 .6rem;
}
.home-page .mountain-hero .lede { max-width: 39rem; color: #d4dfec; font-size: clamp(1rem,1.5vw,1.15rem); }
.home-page .mountain-hero .hero-actions { margin-top: 1.7rem; }
.home-page .mountain-hero .btn { padding: .8rem 1.3rem; }
.home-page .mountain-hero .btn-ghost { background: rgba(4,13,24,.55); border-color: #607287; }
#product, #features { scroll-margin-top: 1.5rem; }
@media (max-width: 750px) {
  .home-page .mountain-header { border-radius: 12px 12px 0 0; padding: 1rem 1.2rem; }
  .home-page .mountain-header .wordmark { height: 29px; }
  .home-page .mountain-header nav { gap: .8rem; }
  .home-page .mountain-header nav a { font-size: .82rem; }
  .home-page .mountain-header nav a:nth-child(1), .home-page .mountain-header nav a:nth-child(2), .home-page .mountain-header nav a:nth-child(4) { display: none; }
  .home-page .mountain-header .nav-cta { display: inline-flex; padding: .5rem .8rem; }
  .home-page .mountain-hero {
    min-height: 590px;
    padding: 3.2rem 1.4rem;
    align-items: flex-start;
    background-image:
      linear-gradient(180deg,rgba(5,15,28,.93) 0%,rgba(5,15,28,.8) 40%,rgba(5,15,28,.25) 100%),
      url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1100&q=82");
    background-position: center, 64% center;
  }
  .home-page .mountain-hero h1 { font-size: clamp(2.35rem,7.6vw,3.4rem); }
}
@media (max-width: 390px) { .home-page .mountain-header .wordmark { height: 24px; } }

/* Concise positioning and implementation-services section */
.home-page .mountain-hero .hero-content { max-width: 820px; }
.home-page .mountain-hero h1 { font-size: clamp(2.6rem,4.8vw,4.7rem); }
.value-intro { padding: .3rem 0 1rem; max-width: 68rem; }
.value-intro h2 { max-width: 49rem; margin-top: 1rem; }
.value-intro > p:not(.section-kicker) { max-width: 56rem; color: var(--muted); font-size: 1.13rem; }
.value-intro .section-kicker, .consulting-panel .section-kicker { margin: 0; }
.tool-support { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 0; }
.tool-support span { border: 1px solid #34546c; background: #14283b; color: #c8dbea; border-radius: 9px; padding: .65rem .95rem; font-size: .88rem; }
.tool-support strong { color: #75d9f3; }
.consulting-panel { margin: 3.8rem 0 2.5rem; padding: clamp(1.5rem,4vw,3rem); border: 1px solid #31516a; border-radius: 18px; background: linear-gradient(125deg,#162c41,#0c1a29); }
.consulting-panel h2 { margin: .7rem 0 1rem; }
.consulting-panel p:not(.section-kicker) { max-width: 52rem; color: #b6cadb; }
.consulting-panel .btn { margin-top: .7rem; }
@media (max-width: 750px) { .home-page .mountain-hero h1 { font-size: clamp(2.25rem,7vw,3.35rem); } }
