:root {
  --ink: #182430;
  --ink-soft: #4b5a68;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e2e1da;
  --deep: #1f3a3d;
  --deep-2: #16292c;
  --amber: #c8801f;
  --amber-soft: #f4e3c9;
  --moss: #5c7a63;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

a {
  color: var(--deep);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

section {
  padding: 5rem 1.5rem;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--deep);
  background: var(--amber-soft);
  padding: .25rem .7rem;
  border-radius: 99px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--deep);
  color: #fff;
}

.btn-primary:hover {
  background: var(--deep-2);
}

.btn-secondary {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}

.btn-secondary:hover {
  background: var(--panel);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .94rem;
}

.nav-links a:hover {
  color: var(--deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .25s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu.open {
  display: flex;
}

@media (max-width:860px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* Hero */
.hero {
  padding: 4rem 1.5rem 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .85fr;
  gap: 1rem;
  align-items: center;
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 2.5rem);
}

.hero p.lead {
  font-size: 1.08rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 1.2rem;
}

.trust-line {
  font-size: .9rem;
  color: var(--ink-soft);
}

.trust-line b {
  color: var(--deep);
}

.hero-diagram {
  background: var(--deep);
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-diagram::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(200, 128, 31, .25), transparent 55%);
  pointer-events: none;
}

.hero-diagram h3 {
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
}

.hero-illustration {
  position: relative;
  margin: 1.4rem 0 .4rem;
  width: 100%;
  height: auto;
}

.hero-illustration .node-dot {
  fill: var(--amber);
}

.hero-illustration .node-ring {
  fill: none;
  stroke: rgba(255, 255, 255, .35);
  stroke-width: 1.4;
}

.hero-illustration .node-line {
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1.4;
}

.hero-illustration .node-core {
  fill: #fff;
}

.diagram-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  position: relative;
  margin-top: 1.2rem;
}

.diagram-chip {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 99px;
  padding: .4rem .85rem;
  font-size: .85rem;
}

/* Trust bar */
.trustbar {
  padding: 0 1.5rem 3rem;
}

.trustbar .wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
}

.trustbar .item {
  padding: 1.4rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: .92rem;
  border-right: 1px solid var(--line);
}

.trustbar .item:last-child {
  border-right: none;
}

@media (max-width:760px) {
  .trustbar .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .trustbar .item:nth-child(2) {
    border-right: none;
  }
}

.section-head {
  max-width: 92ch;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

/* What is Zoho */
.split {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width:900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.ecosystem-card {
  background: var(--panel);
  border: 1px solid var(--line);
}

.ecosystem-card img{
  width: 100%;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}

.eco-grid span {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
}

.eco-grid svg {
  width: 16px;
  height: 16px;
  stroke: var(--deep);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* Icon tiles used across cards */
.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  flex-shrink: 0;
}

.icon-tile svg {
  width: 22px;
  height: 22px;
  stroke: var(--deep);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-tile--light {
  background: rgba(255, 255, 255, .16);
}

.icon-tile--light svg {
  stroke: #fff;
}

.icon-tile--soft {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
}

.icon-tile--soft svg {
  stroke: #fff;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.2rem;
  padding-bottom: 1.8rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 44px;
  bottom: -4px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  font-family: 'Nunito', sans-serif;
}

.timeline-body h4 {
  margin-bottom: .3rem;
  font-size: 1.05rem;
}

.timeline-body p {
  margin: 0;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

@media (max-width:900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:620px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.card h3,
.card h4 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.card p {
  font-size: .94rem;
  margin: 0;
}

.card .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--deep);
  background: var(--amber-soft);
  padding: .15rem .5rem;
  border-radius: 5px;
  margin-bottom: .7rem;
}

/* products - varied card sizes */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.products-grid .card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-grid .card:nth-child(1) h3 {
  color: #fff;
}

.products-grid .card:nth-child(1) p {
  color: #dce6e4;
}

.products-grid .card:nth-child(1) .tag {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

@media (max-width:980px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid .card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width:620px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-grid .card:nth-child(1) {
    grid-column: span 1;
  }
}

/* Feature list */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

@media (max-width:760px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--amber-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
  flex-shrink: 0;
}

.feature-mark svg {
  width: 15px;
  height: 15px;
  stroke: var(--deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h4 {
  margin-bottom: .25rem;
  font-size: 1rem;
}

.feature-item p {
  margin: 0;
  font-size: .92rem;
}

/* Category tabs (static, css-only look) */
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}

.category-strip span {
  padding: .4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--panel);
}

/* Zia */
.zia-panel {
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.zia-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 128, 31, .35), transparent 70%);
  pointer-events: none;
}

.zia-panel h2 {
  color: #fff;
}

.zia-panel p {
  color: #d9e3e1;
}

.zia-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-top: 1.5rem;
  position: relative;
}

@media (max-width:700px) {
  .zia-list {
    grid-template-columns: 1fr;
  }
}

.zia-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-size: .92rem;
}

.zia-list svg {
  width: 18px;
  height: 18px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: .1rem;
}

.disclaimer-note {
  margin-top: 1.6rem;
  font-size: .85rem;
  color: #c3d0ce;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 1rem;
  position: relative;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--panel);
}

th,
td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}

th {
  background: var(--paper);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

@media (max-width:900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-card h4 {
  margin: 0;
}

.price-card p {
  font-size: .9rem;
  margin: 0;
  flex-grow: 1;
}

.price-note {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92rem;
}

/* pros/cons */
.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width:760px) {
  .balance-grid {
    grid-template-columns: 1fr;
  }
}

.balance-col h3 {
  font-size: 1.15rem;
}

.balance-col ul li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
  color: var(--ink-soft);
}

.balance-col ul li:last-child {
  border-bottom: none;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--deep);
  flex-shrink: 0;
}

details[open] summary::after {
  content: "\2013";
}

details p {
  margin: .8rem 0 0;
  font-size: .93rem;
}

/* Final CTA */
.final-cta {
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 128, 31, .3), transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  color: #fff;
  max-width: 28ch;
}

.final-cta p {
  color: #dbe5e3;
  max-width: 96ch;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--deep);
}

.final-cta .btn-primary:hover {
  background: var(--amber-soft);
}

/* Footer */
footer {
  background: var(--deep-2);
  color: #c9d3d1;
  padding: 3.5rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width:760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

footer h4 {
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: .85rem;
  letter-spacing: .03em;
  margin-bottom: 1rem;
}

footer a {
  color: #c9d3d1;
  text-decoration: none;
  font-size: .88rem;
}

footer a:hover {
  color: #fff;
}

footer li {
  margin-bottom: .6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.5rem;
  font-size: .82rem;
  color: #9fb0ad;
}

.footer-disclosure {
  font-size: .8rem;
  color: #9fb0ad;
  max-width: 80ch;
  margin-bottom: 1rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}