:root {
  --text: #111;
  --muted: #5b5b5b;
  --line: #ece5df;
  --bg: #fff;
  --soft: #fbf5f1;
  --cream: #f9efdf;
  --red: #ef431f;
  --red-dark: #d73412;
  --orange: #e9782f;
  --yellow: #ffcb41;
  --green: #2ca24c;
  --black: #070707;
  --shadow: 0 18px 40px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar,
.product-bar {
  position: sticky;
  z-index: 50;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
}
.topbar { top: 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.product-bar { top: 68px; border-bottom: 1px solid #f0e7e1; }
.topbar-inner,
.product-bar-inner,
.page,
.feature-section,
.brand-strip,
.testimonials,
.site-footer {
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
}
.topbar-inner,
.product-bar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-bar-inner { min-height: 72px; }

.zoho-mark { display: inline-flex; align-items: center; gap: .15rem; white-space: nowrap; }
.zoho-box {
  width: 26px;
  height: 24px;
  border: 4px solid currentColor;
  border-radius: 7px;
  display: inline-block;
  transform: rotate(8deg);
  margin-right: -3px;
}
.zoho-box.red { color: #f44336; }
.zoho-box.green { color: #29a745; }
.zoho-box.blue { color: #2f80ed; }
.zoho-box.yellow { color: #f2b21f; }
.zoho-word { margin-left: .4rem; font-size: .72rem; letter-spacing: .42em; font-weight: 700; }

.top-nav,
.product-nav,
.top-actions,
.hero-actions,
.footer-buttons,
.footer-links,
.footer-tools,
.testimonial-grid,
.portal-tabs,
.logo-grid {
  display: flex;
  align-items: center;
}
.top-nav {
  flex: 1;
  gap: 1.2rem;
  margin-left: 1rem;
  font-size: .98rem;
  flex-wrap: wrap;
}
.top-nav a { color: #1b1b1b; }
.top-actions { gap: 1rem; font-size: .98rem; }
.icon-link { font-size: 1.05rem; }
.signin-link { color: var(--red); font-weight: 600; }
.signup-link {
  padding: .85rem 1rem;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
  font-weight: 700;
}
.inline-caret { font-size: .82rem; margin-left: .1rem; }

.product-logo { width: 145px; }
.product-nav {
  gap: 2rem;
  margin-left: auto;
  font-size: 1rem;
  flex-wrap: wrap;
}
.product-nav a {
  position: relative;
  padding: 1.8rem 0 1.5rem;
  color: #202020;
}
.product-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #111;
}

.page { padding-bottom: 0; }
.hero {
  background: linear-gradient(180deg, #fbf3ef 0%, #fffaf7 60%, #ffffff 100%);
  padding: 3rem 0 2rem;
}
.hero-copy {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.hero h1,
.feature-section h2,
.testimonials h2,
.footer-cta h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: .97;
}
.hero h1 { font-size: clamp(3rem, 5.8vw, 5rem); }
.hero-copy p {
  margin: 1rem auto 0;
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.55;
}
.hero-actions { justify-content: center; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 50px;
  padding: 0 1.4rem;
  border-radius: 4px;
  font-weight: 700;
}
.btn.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(239,67,31,.16);
}
.btn.secondary {
  border: 1px solid #777;
  background: transparent;
  color: #111;
}
.btn.outline {
  min-width: 160px;
  border: 1px solid rgba(255,255,255,.65);
  background: transparent;
  color: #fff;
}
.btn.secondary.dark {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

.hero-visual {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr minmax(520px, 1.4fr) 1fr;
  gap: 1.2rem;
  align-items: start;
}
.side-card {
  position: relative;
  border-radius: 18px;
  background: #f4dcc0;
  min-height: 240px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-card.left { width: 78%; justify-self: start; background: #e5ad46; }
.side-card.right { width: 78%; justify-self: end; background: #f1dfd5; }
.side-card img,
.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.side-label {
  position: absolute;
  top: .6rem;
  left: .8rem;
  z-index: 2;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: .72rem;
}
.dashboard-card {
  min-height: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 1.9rem;
}
.dash-top {
  height: 42px;
  background: #2a2a2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  font-weight: 700;
}
.dash-icons {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: rgba(255,255,255,.88);
}
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd7bb, #b97d4c);
  display: inline-block;
}
.dash-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 190px;
  gap: 1rem;
  padding: 1rem;
}
.dash-sidebar {
  display: grid;
  gap: .3rem;
  font-size: .88rem;
  color: #333;
}
.dash-sidebar span {
  padding: .45rem .6rem;
  border-radius: 4px;
}
.dash-sidebar .active { background: #f5f5f5; font-weight: 700; }
.dash-main h3 { margin: .2rem 0 1rem; font-size: 1rem; }
.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: .7rem;
  align-items: end;
}
.summary-strip div {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: .7rem;
  min-height: 76px;
  background: #fff;
}
.summary-strip small {
  display: block;
  color: #8b8b8b;
  font-size: .68rem;
  margin-bottom: .3rem;
}
.summary-strip strong { font-size: .92rem; }
.summary-strip button {
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: #111;
  color: #fff;
  padding: 0 .9rem;
  font-weight: 700;
}
.chart-block {
  margin-top: 1rem;
  height: 170px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(239,67,31,.0), rgba(239,67,31,.03)),
    repeating-linear-gradient(to right, transparent 0 24px, rgba(0,0,0,.03) 24px 25px),
    linear-gradient(180deg, #fff 0%, #faf8f5 100%);
  position: relative;
  overflow: hidden;
}
.chart-block::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: 86px;
  background:
    linear-gradient(90deg, rgba(239,67,31,.85) 0 8%, rgba(255,198,45,.85) 8% 11%, rgba(239,67,31,.75) 11% 19%, rgba(0,0,0,.08) 19% 20%);
  opacity: .75;
  border-radius: 10px;
}
.todo-panel {
  font-size: .8rem;
  color: #444;
}
.todo-title { font-weight: 700; margin-bottom: .7rem; }
.todo-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: .6rem;
  align-items: start;
  margin-bottom: .85rem;
}
.todo-item > span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: .25rem;
  background: var(--yellow);
}
.todo-item b { display: block; font-size: .8rem; }
.todo-item small { color: #888; }

.portal-mini {
  position: absolute;
  right: 0;
  top: 46px;
  left: 0;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(2px);
}
.portal-mini strong { font-size: .92rem; display: block; }
.portal-mini p { margin: .15rem 0 .6rem; font-size: .75rem; color: #555; }
.mini-timer {
  display: flex;
  gap: .35rem;
  justify-content: center;
}
.mini-timer span {
  min-width: 22px;
  padding: .2rem .25rem;
  border-radius: 4px;
  font-size: .72rem;
  background: rgba(255,255,255,.85);
  text-align: center;
}
.mini-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .75rem;
  font-size: .72rem;
}
.mini-actions span {
  padding: .45rem .55rem;
  border-radius: 6px;
  background: rgba(255,255,255,.8);
  text-align: center;
}
.side-card.right { min-height: 500px; }
.phone-image { position: absolute; bottom: 0; left: 0; height: 230px; object-fit: contain; }

.brand-strip { padding: 2.5rem 0 3.6rem; }
.section-label {
  margin: 0 0 1rem;
  color: #ef5b2d;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-label.center { text-align: center; letter-spacing: .12em; color: #2d2018; }
.brand-strip .logo-grid {
  justify-content: space-between;
  gap: 1rem;
  padding: 2.3rem 0 3rem;
  border-bottom: 1px solid #f0ece8;
}
.brand-strip .logo-grid img {
  max-height: 40px;
  object-fit: contain;
  opacity: .95;
}
.run-card {
  margin-top: 2.7rem;
  background: linear-gradient(90deg, #f4dba8 0 24%, #f3f0ea 24% 100%);
  border-radius: 14px;
  padding: 2rem 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr .8fr .9fr;
  gap: 1rem;
  align-items: center;
}
.run-copy h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  line-height: .95;
}
.run-copy p { margin: .75rem 0 0; max-width: 320px; line-height: 1.55; }
.run-art img { max-height: 180px; margin: 0 auto; }
.metrics {
  display: grid;
  gap: 1rem;
  font-size: 1rem;
}
.metrics span { display: block; max-width: 260px; }

.feature-section {
  padding: 3.2rem 0 3.8rem;
  border-bottom: 1px solid #eee6e0;
}
.feature-section > h2,
.feature-section .intro {
  text-align: center;
}
.feature-section > h2 {
  font-size: clamp(2.2rem, 3.9vw, 4rem);
  margin: 0 auto;
  max-width: 900px;
}
.two-col,
.split-row,
.portal-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.3rem;
}
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card,
.split-card,
.wide-feature,
.wide-banner,
.portal-feature,
.integration-card,
.workflow-sheet,
.workflow-diagram,
.testimonial-grid article,
.footer-cta,
.site-footer,
.run-card {
  border-radius: 16px;
}
.feature-card,
.split-card,
.wide-feature,
.portal-feature,
.integration-card,
.testimonial-grid article {
  background: #f7f4ef;
  padding: 1.8rem;
}
.feature-card {
  min-height: 430px;
  display: grid;
  align-content: space-between;
}
.feature-card.cream { background: #f5e3c1; }
.feature-card.light { background: #f2efea; }
.feature-card h3,
.split-card h3,
.wide-feature h3,
.portal-feature h3,
.integration-card h2,
.workflow-sheet .sheet-title,
.advanced h2,
.testimonials h2 {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  margin: 0 0 .75rem;
  letter-spacing: -0.05em;
}
.feature-card p,
.split-card p,
.wide-feature p,
.portal-feature p,
.integration-card p {
  line-height: 1.6;
  color: #222;
  margin: 0;
}
.mock {
  margin-top: 1.4rem;
  min-height: 210px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f4f1eb 100%);
  position: relative;
  overflow: hidden;
}
.mock::before,
.mock::after {
  content: "";
  position: absolute;
  inset: 0;
}
.mock-salary::before {
  width: 60%;
  left: 20%;
  top: 15%;
  height: 70%;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fff 45%, #f6f1e4 45% 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.mock-payment::before {
  width: 52%;
  left: 28%;
  top: 18%;
  height: 64%;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.mock-checklist {
  min-height: 220px;
  background: linear-gradient(90deg, #f5f2ea 0 55%, #fff 55% 100%);
}
.mock-roles,
.mock-chart {
  min-height: 180px;
}
.mock-roles::before {
  width: 70%;
  height: 72%;
  left: 15%;
  top: 14%;
  border-radius: 16px;
  background: #fff;
}
.mock-chart {
  background: linear-gradient(180deg, #ef4324 0%, #ef4324 100%);
}
.mock-chart::before {
  width: 68%;
  left: 16%;
  bottom: 14%;
  height: 52%;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fff 30%, #f7f1e8 30% 100%);
}

.wide-feature {
  margin-top: 1.3rem;
  background: #f4f2ec;
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.2rem;
  align-items: center;
}
.wide-feature .mock { min-height: 180px; background: linear-gradient(180deg, #fff 0%, #f7f0e8 100%); }

.split-card.pale { background: #f4f2ed; }
.split-card.red { background: #ec431f; color: #fff; }
.split-card.red p { color: rgba(255,255,255,.95); }
.split-card.red .mock { background: #ec431f; }
.split-card.red .mock::before {
  width: 58%;
  left: 20%;
  top: 18%;
  height: 58%;
  border-radius: 14px;
  background: #fff;
}

.wide-banner {
  padding: 2rem;
  background: #f4f2ec;
  display: grid;
  grid-template-columns: .75fr 1fr .75fr;
  gap: 1rem;
  align-items: center;
}
.wide-banner h3 {
  margin: 0 0 .6rem;
  font-family: Manrope, Inter, sans-serif;
  font-size: 2rem;
}
.building-art img { max-height: 200px; margin: 0 auto; }
.metrics { font-size: 1rem; }
.metrics span::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: .4rem;
  border: 2px solid #333;
  border-radius: 50%;
}

.split-hero {
  background: #fff;
  border: 1px solid #ece6df;
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.leave-panel {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  align-items: center;
}
.leave-types {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1rem;
}
.leave-types h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.leave-row {
  display: flex;
  justify-content: space-between;
  padding: .85rem 0;
  border-top: 1px solid #ece7df;
}
.leave-row b { color: var(--green); }
.leave-holiday {
  margin-top: .8rem;
  padding: .8rem;
  border-radius: 8px;
  background: #d8dbd0;
  font-weight: 700;
}
.phone-block {
  min-height: 280px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffe19c 0 60%, #fff 60% 100%);
  position: relative;
}
.phone-block::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 190px;
  height: 260px;
  transform: translateX(-50%);
  border-radius: 30px;
  background: linear-gradient(180deg, #0e1030 0%, #171b44 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.section-copy-block h2 {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: .95;
  margin: .15rem 0 .8rem;
}
.section-copy-block p {
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}
.leave-section .section-copy-block {
  text-align: center;
}
.leave-section .section-copy-block p {
  margin: 0 auto;
}

.dark {
  background: #080808;
  color: #fff;
  border-radius: 22px;
  padding: 2rem;
}
.dark .section-label,
.black .section-label { color: #ef5b2d; }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: rgba(255,255,255,.12);
}
.compliance-grid div {
  min-height: 142px;
  padding: 1.1rem;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.08);
}
.compliance-grid strong { display: block; margin-bottom: .55rem; font-size: 1.05rem; }
.compliance-grid p { color: rgba(255,255,255,.68); line-height: 1.55; margin: 0; }

.portal-section .intro,
.integrations .intro,
.custom .intro { max-width: 740px; margin: .8rem auto 0; text-align: center; }
.portal-tabs { justify-content: center; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.portal-tabs span { padding-bottom: .65rem; border-bottom: 3px solid transparent; font-weight: 600; }
.portal-tabs .active { border-color: var(--red); }
.portal-grid {
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.portal-feature {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 1rem;
}
.portal-feature.yellow { background: #f8c33a; }
.portal-feature.white { background: #f6f4ef; }
.portal-device,
.portal-phone {
  min-height: 180px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #f6f1e6 100%);
  box-shadow: var(--shadow);
}
.portal-phone { background: linear-gradient(180deg, #0d1145 0%, #151a4c 100%); }
.portal-grid .white:nth-child(3),
.portal-grid .yellow:nth-child(4) { min-height: 210px; }

.integrations .intro { text-align: center; max-width: 620px; }
.ecosystem {
  position: relative;
  min-height: 430px;
  margin-top: 2rem;
  background: #fff;
}
.eco-core {
  position: absolute;
  left: 50%;
  top: 53%;
  width: 270px;
  height: 330px;
  transform: translate(-50%, -50%);
  border-radius: 26px;
  background: linear-gradient(180deg, #f14a2a 0%, #f14a2a 38%, #fff 38%, #fff 100%);
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
  text-align: center;
  padding-top: 1rem;
  font-size: 1.4rem;
  font-weight: 800;
}
.eco-core::before {
  content: "Payslip - June";
  display: block;
  margin-top: 150px;
  color: #333;
  font-weight: 700;
}
.eco-node {
  position: absolute;
  min-width: 230px;
  min-height: 88px;
  padding: 1rem 1rem 1rem 5.3rem;
  border-radius: 18px;
  background: #f3f3f3;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 1.2rem;
}
.eco-node span {
  display: block;
  margin-top: .15rem;
  font-weight: 400;
  font-size: .78rem;
}
.eco-node.left { left: 8%; top: 62%; }
.eco-node.left.lower { left: 8%; top: 87%; }
.eco-node.right { right: 7%; top: 22%; }
.eco-node.right.lower { right: 7%; top: 63%; }
.eco-node.bottom { left: 50%; bottom: 0; transform: translateX(-50%); }

.black {
  background: #080808;
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}
.integration-card {
  background: transparent;
  padding: 0;
}
.integration-card h2 { color: #fff; font-size: clamp(2.5rem, 4vw, 4rem); }
.integration-card p { color: rgba(255,255,255,.86); max-width: 480px; }
.flow-graphic {
  min-height: 330px;
  position: relative;
}
.flow-source,
.flow-target,
.flow-stack span {
  position: absolute;
  border-radius: 999px;
}
.flow-source {
  left: 6%;
  top: 40%;
  width: 150px;
  height: 150px;
  background: #f0f0f0;
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 800;
  text-align: center;
}
.flow-stack {
  position: absolute;
  left: 38%;
  top: 15%;
  width: 220px;
  height: 260px;
}
.flow-stack span {
  left: 0;
  width: 100%;
  background: #2d2d2d;
  color: #fff;
  text-align: center;
  padding: .8rem 1rem;
}
.flow-stack span:nth-child(1) { top: 0; }
.flow-stack span:nth-child(2) { top: 44px; }
.flow-stack span:nth-child(3) { top: 88px; }
.flow-stack span:nth-child(4) { top: 132px; }
.flow-stack span:nth-child(5) { top: 176px; }
.flow-stack span:nth-child(6) { top: 220px; }
.flow-target {
  right: 7%;
  top: 37%;
  width: 96px;
  height: 96px;
  background: #f12d2a;
}

.workflow-wrap {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
  align-items: end;
}
.workflow-sheet {
  background: #fff;
  border: 1px solid #e9e4de;
  min-height: 360px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.sheet-title { font-size: 1.3rem; margin-bottom: 1rem; }
.sheet-body {
  height: 280px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fff 0 15%, #f4ebdb 15% 100%),
    linear-gradient(90deg, #f4f4f4 0 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.workflow-diagram {
  min-height: 300px;
  border-radius: 18px;
  background: #111;
  box-shadow: var(--shadow);
}

.advanced-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.scribble {
  min-height: 430px;
  background:
    radial-gradient(circle at 20% 15%, transparent 0 8px, #111 8px 10px, transparent 10px),
    radial-gradient(circle at 40% 30%, #111 0 14px, transparent 14px),
    linear-gradient(180deg, transparent 0 25%, #111 25% 26%, transparent 26% 44%, #111 44% 46%, transparent 46% 100%);
}
.advanced-list { display: grid; gap: 1rem; }
.adv-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-top: 1px solid #eee5dd; }
.icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1rem;
}
.icon-box.yellow { background: #ffcc45; }
.icon-box.orange { background: #e5a125; }
.icon-box.rust { background: #dd7b39; }
.icon-box.red { background: #c53a18; color: #fff; }
.adv-item strong { display: block; margin-bottom: .3rem; font-size: 1.1rem; }
.adv-item p { margin: 0; color: #222; line-height: 1.55; }

.testimonials { padding: 2rem 0 3.8rem; }
.testimonials h2 { text-align: center; font-size: clamp(2.4rem, 4vw, 4rem); }
.testimonial-grid {
  align-items: stretch;
  gap: 1.6rem;
  margin-top: 2rem;
}
.testimonial-grid article {
  flex: 1;
  min-height: 360px;
  border-radius: 16px;
  border: 1px solid #ece6e0;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-logo {
  height: 100px;
  border-bottom: 1px solid #eee6df;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
}
.testimonial-logo.alt { }
.testimonial-logo.third { }
.testimonial-grid p { line-height: 1.65; margin: 0 0 1rem; font-size: 1.03rem; }
.testimonial-grid strong { display: block; margin-top: auto; }
.testimonial-grid span { color: #333; }

.site-footer {
  background: #060606;
  color: #d7d7d7;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
.footer-cta {
  padding: 4rem 2.4rem 3rem;
  text-align: center;
  background: #060606;
  color: #fff;
}
.footer-cta h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.footer-buttons { justify-content: center; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 0 2.4rem 1.2rem;
}
.footer-links h3,
.footer-tools {
  color: #a4a4a4;
  font-size: .96rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-links a {
  display: block;
  color: #d7d7d7;
  margin: .48rem 0;
}
.footer-tools {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.2rem 2.4rem 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.floating-demo {
  position: fixed;
  right: 90px;
  bottom: 18px;
  z-index: 60;
  padding: .85rem 1.2rem;
  background: #fff;
  color: #555;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.floating-chat {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffca42;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
}

.feature-section.alt { border-bottom: 0; }
.feature-section.compliance.dark { background: #080808; }
.feature-section.integrations.black { border-bottom: 0; }

@media (max-width: 1200px) {
  .hero-visual { grid-template-columns: 1fr; }
  .side-card.left,
  .side-card.right { width: 100%; justify-self: stretch; }
  .dashboard-card { order: -1; }
  .hero-visual { gap: 1rem; }
  .dash-body { grid-template-columns: 1fr; }
  .todo-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .run-card,
  .wide-banner,
  .split-hero,
  .workflow-wrap,
  .advanced-grid,
  .black,
  .portal-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-hint { display: none; }
}

@media (max-width: 820px) {
  .top-nav, .product-nav { display: none; }
  .topbar-inner, .product-bar-inner { width: min(100% - 1rem, 100%); }
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero-copy p { font-size: 1rem; }
  .btn { min-width: 170px; }
  .logo-grid { flex-wrap: wrap; justify-content: center; }
  .brand-strip .logo-grid { gap: 1.25rem 2rem; }
  .two-col,
  .split-row,
  .portal-grid,
  .footer-links,
  .footer-tools,
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .feature-card { min-height: auto; }
  .footer-cta, .footer-links, .footer-tools { padding-left: 1rem; padding-right: 1rem; }
  .floating-demo { right: 84px; }
}
