/* Singul8 Technologies. Palette from the logo: near-black navy, slate, cyan-to-blue gradient. */
:root {
  --salt: #F4F6FA;
  --paper: #FFFFFF;
  --tint: #EBEFF5;
  --chip: #E3E9F2;
  --ink: #13161F;
  --ink-2: #4B5B75;
  --line: #D6DDE8;
  --navy: #13161F;
  --navy-2: #1A2133;
  --accent: #0A5FCC;
  --accent-2: #084A9E;
  --cyan: #16CCC8;
  --blue: #1E8BFF;
  --grad: linear-gradient(115deg, #16CCC8 0%, #0BAFE0 45%, #1E8BFF 100%);
  --on-dark: #B6C2D6;
  --display: "Saira", "Albert Sans", system-ui, sans-serif;
  --text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3ClinearGradient id='g' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2316CCC8'/%3E%3Cstop offset='1' stop-color='%231E8BFF'/%3E%3C/linearGradient%3E%3Cpath fill='url(%23g)' d='M6 2h8l4 4v8l-4 4H6l-4-4V6z'/%3E%3C/svg%3E");
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.5' d='M24 16h16l8 8v16l-8 8H24l-8-8V24z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.05rem; letter-spacing: 0; line-height: 1.3; }
h4 { font-size: 0.95rem; font-weight: 600; }
p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 36em; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--grad); color: var(--ink); }
.btn-primary:hover { background: var(--cyan); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.link { color: var(--accent); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--blue); }
.link:hover { color: var(--accent-2); }
.more { margin-top: 32px; }

/* Brand: logo files from brand/make_assets.py */
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: auto; height: 34px; }
.site-footer .brand img { height: 38px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 247, 251, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; }
#nav { display: flex; align-items: center; gap: 32px; }
#nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
#nav ul a { color: var(--ink-2); font-weight: 500; text-decoration: none; padding: 6px 0; }
#nav ul a:hover { color: var(--ink); }
#nav ul a[aria-current] { color: var(--ink); text-decoration: underline 2px var(--blue); text-underline-offset: 8px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 8px; padding: 7px 14px; font: 600 .95rem var(--text); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  #nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 24px; background: var(--salt); border-bottom: 1px solid var(--line); }
  .nav-open #nav { display: flex; }
  #nav ul { flex-direction: column; gap: 0; }
  #nav ul a { display: block; padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.tinted { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.section > .wrap > h2 { margin-bottom: 32px; }

/* Hero */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 13em; }
.hero .lead { margin: 22px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 24px; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }
}

/* Hero product scene (illustrative UI) */
.scene { position: relative; font-size: 13px; line-height: 1.35; }
.scene-row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: -36px; padding-inline: 28px 0; }
.win { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 22, 31, .06), 0 24px 60px -20px rgba(19, 22, 31, .28); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--tint); border-bottom: 1px solid var(--line); }
.win-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C3C9DE; }
.win-bar p { margin: 0 0 0 12px; padding: 3px 12px; border-radius: 6px; background: var(--paper); color: var(--ink-2); font-size: 12px; }
.win-body { display: grid; grid-template-columns: 128px 1fr; }
.win-side { list-style: none; margin: 0; padding: 12px 8px; background: var(--navy); color: var(--on-dark); }
.win-side li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; white-space: nowrap; font-size: 12.5px; }
.win-side li i { width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); flex: none; }
.win-side li:nth-child(even) i { background: var(--blue); }
.win-side li i { clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.win-side li.on { background: rgba(255, 255, 255, .12); color: #fff; }
.win-main { padding: 14px 16px 52px; min-width: 0; }
.win-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.win-head strong { font: 500 15px var(--display); letter-spacing: -0.01em; }
.win-head span { color: var(--ink-2); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; min-width: 0; }
.kpis small { display: block; color: var(--ink-2); font-size: 11.5px; }
.kpis b { display: block; font: 500 17px/1.3 var(--display); color: var(--ink); margin-top: 2px; }
.kpis em { font-style: normal; font-size: 11.5px; color: var(--ink-2); }
.kpis em.up { color: #0F7B4B; font-weight: 600; }
.chart { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px 6px; }
.chart small { color: var(--ink-2); font-size: 11.5px; }
.chart svg { display: block; width: 100%; height: 104px; margin-top: 6px; }
.chart rect { fill: #C8D4E6; }
.chart rect.hi { fill: var(--blue); }
.ai-card { width: 270px; margin-right: -20px; background: var(--navy-2); color: #fff; border-radius: 14px; padding: 14px 16px 16px;
  box-shadow: 0 20px 44px -16px rgba(19, 22, 31, .55); }
.ai-who { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; font-size: 12.5px; color: var(--on-dark); }
.ai-who svg { width: 15px; height: 20px; }
.ai-q { margin: 0 0 8px; margin-left: auto; width: fit-content; max-width: 90%; background: rgba(255, 255, 255, .14); padding: 7px 10px; border-radius: 10px 10px 2px 10px; }
.ai-a { margin: 0 0 10px; background: #fff; color: var(--ink); padding: 8px 10px; border-radius: 10px 10px 10px 2px; }
.ai-btn { display: inline-block; background: var(--grad); color: var(--ink); font-weight: 600; font-size: 12px; padding: 6px 12px; border-radius: 8px; }

.phone { position: relative; width: 178px; background: var(--paper); border: 6px solid var(--navy); border-radius: 26px; padding: 22px 12px 14px;
  box-shadow: 0 22px 48px -18px rgba(19, 22, 31, .5); }
.phone-top { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 48px; height: 6px; border-radius: 6px; background: var(--navy); }
.phone small { display: block; color: var(--ink-2); font-size: 11px; }
.phone b { display: block; font: 500 14px var(--display); margin: 2px 0 8px; }
.phone ul { list-style: none; margin: 0; padding: 0; }
.phone li, .phone .tot { display: flex; justify-content: space-between; gap: 6px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 11.5px; }
.phone .tot { margin: 0; font-weight: 600; }
.phone .sync { margin: 8px 0 0; padding: 5px 8px; border-radius: 8px; background: #DDF2E7; color: #0B6B40; font-weight: 600; font-size: 11.5px; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .win { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .chart rect { transform-box: fill-box; transform-origin: bottom; animation: grow .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 40ms + 500ms); }
  .ai-card { animation: slide-l .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 1.1s; }
  .phone { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 1.35s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes slide-l { from { opacity: 0; transform: translateX(24px); } }

@media (max-width: 640px) {
  .win-side { display: none; }
  .win-body { grid-template-columns: 1fr; }
  .scene-row { justify-content: flex-end; padding: 0 12px 0 40px; }
  .ai-card { width: auto; margin-right: 0; }
  .phone { display: none; }
}

/* Stats */
.stats { background: var(--paper); border-block: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-block: 0; padding-block: 28px; }
.stats-row dt { font: 500 1.7rem/1.1 var(--display); color: var(--accent); }
.stats-row dd { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* Lists and chips */
.chips { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: .875rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--chip); color: #26324A; }
.tinted .chips li { background: var(--paper); }
.star-list { list-style: none; margin: 0; padding: 0; }
.star-list li { padding: 7px 0 7px 26px; background: var(--bullet) 0 .72em / 13px no-repeat; }

/* Odoo panel */
.odoo-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--navy) radial-gradient(circle at 100% 0, rgba(30, 139, 255, .22), transparent 55%); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.odoo-panel h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 14px; }
.odoo-panel p { color: var(--on-dark); margin-bottom: 28px; }
.odoo-panel .star-list { columns: 2; column-gap: 24px; }
.odoo-panel .star-list li { background-image: var(--bullet); break-inside: avoid; }
.odoo-panel.compact { display: block; }
.odoo-panel.compact h3 { margin-bottom: 18px; }
@media (max-width: 800px) { .odoo-panel { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 420px) { .odoo-panel .star-list { columns: 1; } }

/* Service rows (home) */
.svc-list { list-style: none; margin: 48px 0 0; padding: 0; }
.svc-row { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row h3 a { color: var(--ink); text-decoration: none; }
.svc-row h3 a:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 4px; }
.svc-row p { color: var(--ink-2); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; gap: 10px; } }

/* Kutch band */
.kutch { background: var(--navy) var(--lattice) center / 64px; color: #fff; }
.kutch-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.kutch h2 { margin-bottom: 16px; }
.kutch p { color: var(--on-dark); max-width: 36em; }
.kutch .chips li { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); font-size: .95rem; padding: 8px 14px; }
@media (max-width: 860px) { .kutch-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Work: portfolio from Case_Studies_Singul8.pdf */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-grid.wide { grid-template-columns: repeat(2, 1fr); }
.work-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.work-head { display: flex; align-items: center; gap: 14px; }
.mono { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--grad); color: var(--ink); font: 700 1rem var(--display);
  clip-path: polygon(22% 0, 78% 0, 100% 22%, 100% 78%, 78% 100%, 22% 100%, 0 78%, 0 22%); }
.work-cat { margin: 0 0 2px; font-size: .85rem; font-weight: 600; color: var(--accent); }
.work-card h3 { font-size: 1.2rem; }
.work-kind { margin: 3px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.work-card > p { color: var(--ink-2); margin-top: 16px; }
.work-card .star-list { margin: 0 0 4px; font-size: .95rem; }
.work-card .star-list li { padding-block: 4px; background-position: 0 .55em; }
.work-card .chips { margin-top: 14px; }
.work-links { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 16px; }
.plink { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.2; text-decoration: none; }
.plink::after { content: "\2197" / ""; color: var(--ink-2); font-weight: 400; }
.plink:hover { border-color: var(--accent); color: var(--accent); }
.work-group { scroll-margin-top: 88px; }
.work-group + .work-group { margin-top: clamp(56px, 7vw, 88px); }
.work-group .section-head { margin-bottom: 28px; }
.work-group h2 .count { margin-left: 10px; font: 600 .95rem var(--text); color: var(--ink-2); vertical-align: middle; }
.work-toc ul { padding-top: 0; }
.work-toc { margin-bottom: 48px; }
.work-sec { padding-top: 40px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work-grid, .work-grid.wide { grid-template-columns: 1fr; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--navy); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font: 500 2rem/1 var(--display); color: var(--accent); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Technologies */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.tech-group { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.tech-group h3 { font: 600 1rem/1.5 var(--text); letter-spacing: 0; }
@media (max-width: 860px) { .tech-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tech-group { grid-template-columns: 1fr; gap: 10px; } }

/* CTA band */
.cta-band { background: var(--navy-2) radial-gradient(circle at 90% 0, rgba(22, 204, 200, .2), transparent 50%); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { margin-bottom: 12px; max-width: 20em; }
.cta-inner p { color: var(--on-dark); max-width: 38em; }
.cta-inner .btn { flex: none; }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 64px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 26em; }
.site-footer h2 { font: 600 1rem var(--text); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand-light { color: #fff; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 15em; margin-bottom: 18px; position: relative; }
.page-hero .lead { position: relative; }
.page-hero-mark { position: absolute; right: 5vw; top: 50%; transform: translateY(-50%); width: clamp(110px, 13vw, 170px); height: auto; }
.page-hero-mark { opacity: .16; }
@media (max-width: 760px) { .page-hero-mark { display: none; } }

/* Services page */
.toc ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 32px 0 8px; }
.toc a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.svc-block { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.toc + .svc-block { border-top: 0; }
.svc-block h2 { margin-bottom: 14px; }
.svc-short { font-size: 1.18rem; font-weight: 500; }
.svc-text > p:not(.svc-short) { color: var(--ink-2); max-width: 40em; }
.svc-text .chips { margin-top: 20px; }
.svc-gets { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; align-self: start; }
.svc-gets h3 { font: 600 1rem var(--text); letter-spacing: 0; margin-bottom: 10px; }
@media (max-width: 860px) { .svc-block { grid-template-columns: 1fr; gap: 24px; padding-block: 44px; } }

/* Odoo and about */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.prose h2 { margin-bottom: 16px; }
.prose p { color: var(--ink-2); max-width: 38em; }
.prose p + h2 { margin-top: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.feature-grid h3 { margin-bottom: 10px; }
.feature-grid p { color: var(--ink-2); }
.about-mark { display: grid; place-items: center; padding: 24px; }
.about-star { width: min(100%, 260px); height: auto; filter: drop-shadow(0 30px 40px rgba(30, 139, 255, .25)); }
.facts-table { margin: 0; max-width: 820px; }
.facts-table > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts-table > div:last-child { border-bottom: 1px solid var(--line); }
.facts-table dt { font-weight: 600; }
.facts-table dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .facts-table > div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--text); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; max-width: 46em; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  padding: 12px 14px; border: 1.5px solid #B4BFD0; border-radius: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(30, 139, 255, .35); outline-offset: 0; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 140px; }
.form-error { color: #B42318; font-weight: 600; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hint { color: var(--ink-2); font-size: .92rem; margin: 0; }
.contact-side { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.contact-side h2 { font-size: 1.3rem; margin-bottom: 20px; }
.contact-side dl { margin: 0; }
.contact-side dl > div + div { margin-top: 16px; }
.contact-side dt { color: var(--ink-2); font-size: .92rem; }
.contact-side dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 24px; }

/* Industry software (services + home) */
section[id] { scroll-margin-top: 24px; }
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ind-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto 1fr auto; column-gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.ind-card img, .ind-card .ind-mark { grid-row: 1 / 4; width: 48px; height: 48px; border-radius: 12px; }
.ind-card h3 { margin: 4px 0 8px; }
.ind-card > p { color: var(--ink-2); font-size: .98rem; }
.ind-card .ind-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 16px; }
.ind-card .ind-mark, .ind-mini .ind-mark { background: var(--navy); padding: 5px 9px; }
.ind-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ind-mini li { display: flex; align-items: flex-start; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.ind-mini img, .ind-mini .ind-mark { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.ind-mini span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ind-name { color: var(--ink); font-weight: 600; line-height: 1.3; text-decoration: none; }
.ind-name:hover { color: var(--accent-2); text-decoration: underline; }
.ind-demo { color: var(--accent); font-size: .92rem; font-weight: 600; text-underline-offset: 3px; }
.ind-demo:hover { color: var(--accent-2); }
.more-row { display: flex; flex-wrap: wrap; gap: 16px 32px; }
@media (max-width: 1100px) { .ind-mini { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .ind-grid { grid-template-columns: 1fr; } .ind-mini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-mini { grid-template-columns: 1fr; } .ind-card { grid-template-columns: 1fr; } .ind-card img, .ind-card .ind-mark { grid-row: auto; margin-bottom: 14px; } }

/* Apps: featured */
.feat-list > .feat + .feat { border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-block: 48px; scroll-margin-top: 88px; }
.feat:first-child { padding-top: 0; }
.feat:nth-child(even) .feat-banner { order: 2; }
.feat-banner { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--navy); }
.feat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--ink-2); font-size: .9rem; }
.feat-meta img { width: 40px; height: 40px; border-radius: 10px; }
.feat h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 16px 0 10px; }
.feat-aud { font-weight: 600; }
.feat-text > p:not(.feat-meta):not(.feat-aud) { color: var(--ink-2); }
.feat-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 4px 0 24px; font-size: .95rem; }
.feat-points li { background-position: 0 .62em; }
.feat .actions .btn { padding: 10px 16px; font-size: .95rem; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; gap: 24px; } .feat:nth-child(even) .feat-banner { order: 0; } }
@media (max-width: 520px) { .feat-points { grid-template-columns: 1fr; } }

/* Apps: catalogue and filters */
.app-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 40px; }
.app-filter[hidden] { display: none; }
.app-filter .field { min-width: 0; }
.app-filter .af-q { flex: 1 1 260px; }
.app-filter select { width: auto; max-width: 100%; }
.app-filter input[type="search"], .app-filter select { padding: 0 12px; height: 46px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; height: 46px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.af-count { margin: 0 0 12px auto; color: var(--ink-2); font-size: .95rem; }
.af-empty { font-size: 1.1rem; }
.app-group + .app-group { margin-top: 56px; }
.app-group > h3 { font-size: 1.3rem; margin-bottom: 6px; }
.app-group > p { color: var(--ink-2); max-width: 52em; }
.app-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-tile { position: relative; display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; transition: border-color .15s; scroll-margin-top: 96px; }
.app-tile:hover { border-color: var(--accent); }
.app-tile:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.app-tile:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.app-tile img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.app-tile > div { min-width: 0; flex: 1; }
.app-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 4px; }
.app-name { color: var(--ink); font-weight: 600; line-height: 1.3; text-decoration: none; min-width: 0; }
.app-name::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.app-name:focus-visible { outline: none; }
.app-sum { color: var(--ink-2); font-size: .9rem; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-demo { position: relative; z-index: 1; display: inline-block; margin-top: 8px; color: var(--accent-2); font-size: .9rem; font-weight: 600; text-underline-offset: 3px; }
.app-demo:hover { color: var(--accent); }
@media (max-width: 1000px) { .app-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .app-grid { grid-template-columns: 1fr; } .af-count { margin-left: 0; width: 100%; } }

/* Blog index */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .15s, box-shadow .2s; }
.post-card:hover { border-color: var(--accent); box-shadow: 0 18px 40px -24px rgba(19, 22, 31, .45); }
.post-card:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.post-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); background: var(--tint); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--ink-2); font-size: .88rem; margin-bottom: 16px; }
.post-meta img { width: 28px; height: 28px; border-radius: 8px; }
.topic { background: var(--chip); color: var(--accent); font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.post-card h2 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; margin-bottom: 12px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:focus-visible { outline: none; }
.post-card-body > p:not(.post-meta) { color: var(--ink-2); }
.post-card .link { margin-top: auto; padding-top: 16px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }

/* Blog post */
.post-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 22em; }
.post-hero .wrap { position: relative; }
.crumb { margin-bottom: 14px; font-weight: 600; }
.crumb a { color: var(--accent-2); text-underline-offset: 4px; }
.post-hero-icon { position: absolute; right: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 24px 50px -20px rgba(19, 22, 31, .45); }
.post-hero:has(.post-hero-icon) h1, .post-hero:has(.post-hero-icon) .lead { max-width: calc(100% - 200px); }
@media (max-width: 960px) { .post-hero-icon { display: none; } .post-hero:has(.post-hero-icon) h1, .post-hero:has(.post-hero-icon) .lead { max-width: none; } }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.post-main { max-width: 44em; min-width: 0; }
.post-main > .lead { margin-bottom: 28px; }
.post-main h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 44px 0 14px; scroll-margin-top: 88px; }
.post-main > p, .post-main > ul, .post-main > ol { font-size: 1.1rem; line-height: 1.7; }
.post-main > ul, .post-main > ol { padding-left: 1.4em; margin: 0 0 1rem; }
.post-main > ul li, .post-main > ol li { margin: 6px 0; }
.post-main > ul li::marker { color: var(--blue); }
.post-main .note { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 18px 20px; font-size: 1rem; margin-top: 28px; }
.post-main figure { margin: 32px 0; }
.post-main figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); box-shadow: 0 18px 40px -26px rgba(19, 22, 31, .45); }
.post-main figcaption { margin-top: 10px; color: var(--ink-2); font-size: .92rem; }
.takeaways { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 12px; }
.tk-head { font-weight: 600; color: var(--accent-2); margin-bottom: 6px; }
.post-faq { margin-top: 56px; }
.post-faq h2 { margin-bottom: 18px; }
.back { margin-top: 48px; }
.post-side { display: grid; gap: 16px; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.side-box p { color: var(--ink-2); font-size: .95rem; }
.side-box .btn { margin-top: 4px; }
.side-links { display: grid; gap: 10px; }
.side-links .btn { margin: 0; text-align: center; }
.side-app-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.side-app-head img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.side-app-head span { display: flex; flex-direction: column; min-width: 0; }
.side-app-head b { color: var(--ink); font-weight: 600; line-height: 1.3; }
.side-app-head small { font-size: .85rem; }
.side-title { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.side-box .side-title { color: var(--ink); }
.side-more { padding: 4px 4px 0; }
.side-more ul { list-style: none; margin: 0; padding: 0; }
.side-more li { margin: 10px 0; line-height: 1.35; }
.side-more a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.side-more a:hover { color: var(--accent-2); }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; gap: 40px; } .post-main { max-width: none; } }
.ind-title { margin: clamp(40px, 5vw, 56px) 0 20px; font-size: 1.15rem; }
