/* UdyamEdge.ai — shared styles for every page.
   Palette is the brand book's, nothing else. Light only: an auto dark theme
   rendered the brand as a flat navy field (removed 2 Aug 2026, don't re-add). */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: italic; font-display: swap; src: url(/fonts/poppins-latin-600-italic.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B365D;
  --navy-deep: #10233F;
  --copper: #B87333;
  --copper-ink: #8F5A26;   /* copper darkened for small text on white (AA) */
  --copper-lift: #D9965A;  /* copper lightened for text on navy */
  --teal: #2C5F5F;
  --charcoal: #2D3436;
  --off: #F9F9F9;
  --white: #FFFFFF;
  --muted: #5B6676;
  --line: #E3E6EB;
  --font: "Poppins", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 5vw, 48px);
  --r: 12px;
  --shadow: 0 1px 2px rgba(16,35,63,.06), 0 12px 32px -12px rgba(16,35,63,.18);
}

html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white); color: var(--charcoal);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
/* Grid/flex children default to min-width:auto and refuse to shrink below their
   content — a wide table inside one once made iOS zoom the page to 61%. */
.wrap > *, .split > *, .grid > * { min-width: 0; }

h1, h2, h3 { color: var(--navy); font-weight: 600; text-wrap: balance; letter-spacing: -.025em; }
h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.07; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 19px; line-height: 1.35; }
p { max-width: 65ch; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--copper-ink); margin-bottom: 14px;
}
.center { text-align: center; }
.center p { margin-inline: auto; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.mark img { width: 30px; height: 30px; }
.wordmark { font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.wordmark i { font-style: italic; font-weight: 600; color: var(--copper); }
.wordmark span { font-size: .68em; font-weight: 500; margin-left: 3px; letter-spacing: .02em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; transition: color .15s; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--copper); }

.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 42px; padding: 0 10px; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--white);
  padding: 84px var(--gut) 24px; display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { text-decoration: none; font-size: 20px; font-weight: 500; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 22px; justify-content: center; border-bottom: 0; font-size: 17px; }
.nav-open { overflow: hidden; }

@media (max-width: 920px) {
  .nav, .top .btn { display: none; }
  .menu-btn { display: flex; }
}
@media (min-width: 921px) { .mobile-nav { display: none !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 16px/1 var(--font); letter-spacing: -.005em;
  padding: 15px 24px; border-radius: 10px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--copper); color: var(--white); }
.btn-primary:hover { background: #A5652B; transform: translateY(-1px); }
.btn-line { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-line:hover { border-color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.on-dark .btn-line { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.on-dark .btn-line:hover { border-color: var(--white); }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-alt { background: var(--off); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(1200px 520px at 85% -10%, #26497A 0%, transparent 60%), var(--navy);
  color: #D7E0EC; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px);
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--copper-lift); }
.hero .eyebrow { color: var(--copper-lift); }
.hero .lede { color: #C3CFDF; margin-top: 22px; max-width: 54ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.who { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 14.5px; line-height: 1.5; color: #AFC0D6; }
.who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); flex: none; }
.who b { color: var(--white); font-weight: 600; display: block; }
.page-hero { padding-block: clamp(52px, 7vw, 88px); }
.page-hero h1 { max-width: 20ch; font-size: clamp(32px, 4.4vw, 52px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- browser frame around screenshots ---------- */
.browser {
  display: block; text-decoration: none; background: var(--white); border-radius: var(--r);
  box-shadow: 0 30px 60px -24px rgba(5,15,30,.55), 0 0 0 1px rgba(16,35,63,.08); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF1F5; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD2DC; }
.browser-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: var(--white); border-radius: 6px; padding: 2px 10px; }
.shot-cap { font-size: 14px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.shot-cap b { color: var(--charcoal); font-weight: 600; }
.hero .shot-cap { color: #AFC0D6; }
.hero .shot-cap b { color: var(--white); }

/* ---------- stats ---------- */
.stats-band { border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { padding: 28px 24px; border-right: 1px solid var(--line); }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2n) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats div:nth-child(2n+1) { padding-left: 0; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px;
}
a.card { text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: #C9CFD8; box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { font-size: 15.5px; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--copper-ink); }
.icon {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: #F4EADF; color: var(--copper-ink); margin-bottom: 6px;
}
.icon svg { width: 24px; height: 24px; }
.tag {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 99px; background: #E6F0EF; color: var(--teal);
}
.tag-next { background: #F1F2F4; color: var(--muted); }

/* ---------- Tally integration band ---------- */
.tally-band { background: var(--off); border-bottom: 1px solid var(--line); padding-block: 36px; }
.tally-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.tally-band h2 { font-size: clamp(21px, 2.2vw, 26px); margin-bottom: 6px; }
.tally-band p { font-size: 15.5px; color: var(--muted); }
.tally-logo { width: 142px; height: auto; }
@media (max-width: 860px) { .tally-inner { grid-template-columns: 1fr; } .tally-logo { width: 120px; } }

/* ---------- "which sounds like your week" ---------- */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.pain {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px;
  transition: border-color .15s, box-shadow .15s;
}
.pain:hover { border-color: var(--copper); box-shadow: var(--shadow); }
.pain q { font-size: 17px; line-height: 1.45; color: var(--charcoal); quotes: "\201C" "\201D"; }
.pain em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--copper-ink); margin-top: auto; }

/* ---------- feature rows (text + screenshot) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split.flip > :first-child { order: 2; }
.split h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.split p:not(.eyebrow) { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: #E6F0EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.5 7' fill='none' stroke='%232C5F5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.ticks li b { color: var(--navy); font-weight: 600; }

/* Module list: name + one line, two columns on desktop. */
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 40px; }
.mod { padding: 20px 0; border-top: 1px solid var(--line); }
.mod h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mod p { font-size: 15.5px; color: var(--muted); margin-top: 4px; }

.note {
  border-left: 3px solid var(--copper); background: var(--off); border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px; font-size: 15.5px; color: var(--muted); max-width: 760px;
}
.note b { color: var(--charcoal); }
.sec-alt .note { background: var(--white); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.step::before {
  counter-increment: s; content: counter(s);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 600; font-size: 15px;
}
.step p { font-size: 15.5px; color: var(--muted); }
.step .cost { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 600; color: var(--teal); }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--white); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 15px 18px; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .03em; border: 0; }
.compare thead th:last-child { background: var(--copper); }
.compare tbody th { color: var(--navy); font-weight: 600; width: 24%; }
.compare td { color: var(--muted); }
.compare td.mine { color: var(--charcoal); font-weight: 500; background: #FBF5EF; }
.compare tr:last-child > * { border-bottom: 0; }
@media (max-width: 980px) {
  .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; min-width: 140px; }
  .compare tbody th { background: var(--white); border-right: 1px solid var(--line); }
}
.swipe { display: none; font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .swipe { display: block; } }

/* ---------- fit ---------- */
.fit ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.fit li { position: relative; padding-left: 26px; font-size: 16px; }
.fit .yes li::before { content: "+"; position: absolute; left: 4px; color: var(--copper); font-weight: 700; }
.fit .no li::before { content: "\2013"; position: absolute; left: 4px; color: var(--muted); }
.fit .no li { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 20px 40px 20px 0;
  font-size: 17.5px; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--copper); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding-bottom: 22px; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }

/* ---------- factory photos ---------- */
.plant { border-radius: var(--r); overflow: hidden; }
.plant figcaption { font-size: 14.5px; color: var(--muted); padding-top: 12px; }
.floor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.floor figure { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
/* height:auto matters: width/height attributes otherwise beat aspect-ratio. */
.floor img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.floor figcaption { padding: 14px 16px 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.floor figcaption b { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 3px; }
@media (max-width: 760px) {
  .floor {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); gap: 12px;
  }
  .floor::-webkit-scrollbar { display: none; }
  .floor figure { flex: 0 0 80%; scroll-snap-align: start; }
}

/* ---------- closing CTA ---------- */
.cta { background: var(--navy); color: #C3CFDF; padding-block: clamp(64px, 9vw, 104px); }
.cta h2 { color: var(--white); max-width: 22ch; }
.cta .lede { color: #C3CFDF; }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.call-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 26px; }
.call-card h3 { color: var(--white); font-size: 17px; margin-bottom: 12px; }
.call-card ol { padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; }
.cta .direct { margin-top: 18px; font-size: 15px; }
.cta .direct a { color: var(--copper-lift); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--navy-deep); color: #9FB0C6; font-size: 14.5px; line-height: 1.7; padding-block: 48px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot b { color: var(--white); font-weight: 600; display: block; margin-bottom: 8px; }
.foot a { color: #C9D5E4; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot ul { list-style: none; }
.foot .wordmark { color: var(--white); }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- mobile action bar ----------
   On phones the two ways to reach Puneet sit at the thumb, always. */
.bar { display: none; }
@media (max-width: 760px) {
  .bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .bar .btn { flex: 1; padding: 13px 12px; font-size: 15px; }
  .bar .btn-wa { flex: 0 0 auto; background: #1F8F4E; color: var(--white); }
  body { padding-bottom: 72px; }
  body { font-size: 16px; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card { transition: none; }
}

/* ---------- full feature catalogue ----------
   Group cards, each a compact tick list. Columns flow on wide screens. */
.catalogue { columns: 3 320px; column-gap: 20px; }
.catalogue .group {
  break-inside: avoid; margin-bottom: 20px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px;
}
.catalogue .group h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.catalogue .group h3 .icon { width: 34px; height: 34px; margin: 0; border-radius: 8px; }
.catalogue .group h3 .icon svg { width: 19px; height: 19px; }
.catalogue .ticks { gap: 7px; margin-top: 12px; }
.catalogue .ticks li { font-size: 14.5px; padding-left: 26px; }
.catalogue .ticks li::before { width: 16px; height: 16px; top: 3px; }
.count { font-size: 13px; color: var(--muted); font-weight: 500; }
