:root {
  --ink: #13212a;
  --muted: #5f6f76;
  --line: #dce4e2;
  --paper: #ffffff;
  --soft: #f4f7f6;
  --teal: #0f766e;
  --teal-dark: #075e57;
  --teal-soft: #dff4ef;
  --coral: #e76f51;
  --coral-soft: #fff0eb;
  --gold: #b27b13;
  --gold-soft: #fff5d8;
  --shadow: 0 18px 45px rgba(19, 33, 42, .10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 1.15em; height: 1.15em; stroke-width: 2; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.96); border-color: var(--line); box-shadow: 0 8px 25px rgba(19,33,42,.07); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.1rem; letter-spacing: 0; }
.brand small { margin-top: 4px; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav > a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.main-nav > a:not(.button):hover { color: var(--teal); }
.nav-demo { border-left: 1px solid rgba(19,33,42,.18); padding-left: 25px; }
.icon-button {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line);
  background: #fff; color: var(--ink); border-radius: 6px; cursor: pointer;
}
.menu-button { display: none; }
.button {
  min-height: 48px; padding: 0 20px; border: 1px solid var(--teal); border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--teal); color: #fff; font-weight: 750; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--teal-dark); box-shadow: 0 10px 25px rgba(15,118,110,.24); transform: translateY(-1px); }
.button-small { min-height: 42px; padding-inline: 16px; }
.button-secondary { background: rgba(255,255,255,.9); border-color: rgba(19,33,42,.22); color: var(--ink); }
.button-secondary:hover { background: #fff; color: var(--teal); box-shadow: var(--shadow); }
.button-full { width: 100%; }

.hero { position: relative; min-height: calc(100svh - 58px); display: grid; align-items: center; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("/assets/hero-ipl-mahakode.webp") center center / cover no-repeat; }
.hero-shade { background: rgba(255,255,255,.52); }
.hero-inner { position: relative; z-index: 2; padding-top: 104px; padding-bottom: 80px; }
.hero-copy { width: min(640px, 60%); }
.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
}
.eyebrow { padding: 8px 11px; background: rgba(255,255,255,.82); border: 1px solid rgba(15,118,110,.22); border-radius: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 600px; margin: 20px 0 18px; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .96; letter-spacing: 0; }
.hero-lead { max-width: 610px; margin-bottom: 12px; font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 750; line-height: 1.3; }
.hero-detail { max-width: 580px; color: #34454d; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; font-size: .86rem; font-weight: 700; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { color: var(--teal); }

.signal-band { position: relative; background: var(--ink); color: #fff; }
.signal-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.signal-grid div { padding: 10px 24px; border-left: 1px solid rgba(255,255,255,.16); }
.signal-grid div:first-child { border-left: 0; padding-left: 0; }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { color: #79d6ca; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.signal-grid span { margin-top: 3px; font-weight: 700; }

.section { padding: 100px 0; scroll-margin-top: 72px; }
.section-heading { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-heading.align-left { max-width: none; margin-inline: 0; text-align: left; }
h2 { margin: 12px 0 14px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: 0; }
h3 { margin-bottom: 9px; font-size: 1.08rem; line-height: 1.3; }
.section-heading p, .intro-copy, .feature-card p, .role-grid p, .workflow-list p, .tenant-copy p, .tenant-points span, .price-top p, .faq-heading p, .accordion p { color: var(--muted); }

.intro-section { background: var(--paper); }
.split-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.split-intro h2 { margin-bottom: 0; }
.intro-copy { font-size: 1.05rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--teal); font-weight: 800; text-decoration: none; }

.product-preview-section { overflow: hidden; background: #eef6f3; }
.product-preview-section .section-heading { margin-bottom: 30px; }
.product-preview {
  width: min(100%, 1180px);
  margin: 0 auto;
}
.product-preview picture {
  display: block;
  width: 100%;
  padding: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(19,33,42,.08);
  border-radius: 18px;
}
.product-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.product-preview figcaption {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 22px;
  color: #3e5359;
  font-size: .9rem;
  font-weight: 750;
}
.product-preview figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.product-preview figcaption svg { color: var(--teal); }

.feature-section { background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  min-height: 238px; position: relative; overflow: hidden; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.feature-card.feature-wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 18px; }
.feature-card h3 { margin-top: 24px; font-size: 1.2rem; }
.feature-wide h3 { margin-top: 2px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.teal { background: var(--teal-soft); color: var(--teal); }
.feature-icon.coral { background: var(--coral-soft); color: var(--coral); }
.feature-icon.ink { background: #e7ecef; color: var(--ink); }
.feature-icon.gold { background: var(--gold-soft); color: var(--gold); }
.feature-number { position: absolute; right: 24px; bottom: -15px; color: #edf2f1; font-size: 6rem; font-weight: 900; line-height: 1; }
.feature-wide > div { position: relative; z-index: 2; }

.role-section { border-bottom: 1px solid var(--line); }
.role-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.role-grid-four { grid-template-columns: repeat(4, 1fr); }
.role-grid article { min-height: 210px; padding: 24px; border-left: 1px solid var(--line); }
.role-grid article:first-child { border-left: 0; }
.role-grid svg { width: 25px; height: 25px; color: var(--teal); }
.role-grid h3 { margin-top: 34px; }
.role-grid p { margin-bottom: 0; font-size: .9rem; }

.workflow-section { background: var(--ink); color: #fff; }
.workflow-section .section-kicker { color: #79d6ca; }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.workflow-list li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.workflow-list .step { color: #79d6ca; font-size: 2.1rem; font-weight: 800; }
.workflow-list h3 { font-size: 1.25rem; }
.workflow-list p { margin: 0; color: #b9c6cb; }

.tenant-section { background: #e9f4f1; }
.tenant-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.domain-example {
  max-width: 480px; min-height: 58px; display: flex; align-items: center; gap: 12px; margin: 24px 0;
  padding: 12px 16px; background: #fff; border: 1px solid #bfd9d3; border-radius: 6px; color: var(--teal-dark);
}
.tenant-points { background: #fff; border: 1px solid #cce0dc; border-radius: 8px; box-shadow: var(--shadow); }
.tenant-points > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 24px; border-top: 1px solid var(--line); }
.tenant-points > div:first-child { border-top: 0; }
.tenant-points > div > svg { width: 27px; height: 27px; color: var(--coral); }
.tenant-points span, .tenant-points strong { display: block; }
.tenant-points strong { margin-bottom: 3px; color: var(--ink); }

.pricing-section { background: var(--paper); }
.pricing-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.price-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.popular-label {
  position: absolute; top: -17px; right: 20px; min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--teal); color: #fff; border-radius: 5px; font-size: .78rem; font-weight: 800;
}
.plan-label { color: var(--teal); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.price-top h3 { margin-top: 14px; font-size: 1.35rem; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 24px 0 4px; }
.price strong { font-size: 2.35rem; line-height: 1; }
.price span { color: var(--muted); }
.price-card ul { margin: 28px 0; padding: 24px 0; list-style: none; border-top: 1px solid var(--line); }
.price-card li { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: .93rem; }
.price-card li svg { color: var(--teal); flex: 0 0 auto; }
.custom-plan { margin: 26px 0 0; text-align: center; color: var(--muted); }
.custom-plan a { color: var(--teal); font-weight: 800; }

.order-section { background: var(--soft); }
.order-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.order-steps { margin-top: 32px; border-top: 1px solid var(--line); }
.order-steps > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.order-steps span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; font-weight: 800; }
.order-steps p, .order-steps strong { display: block; margin: 0; }
.order-steps p { color: var(--muted); }
.order-steps strong { color: var(--ink); }
.order-form { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.form-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.form-heading > span { width: 44px; height: 44px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); border-radius: 6px; }
.form-heading h3, .form-heading p { margin: 0; }
.form-heading p { color: var(--muted); font-size: .85rem; }
.order-form label { display: grid; gap: 7px; margin-bottom: 16px; color: #34454d; font-size: .88rem; font-weight: 750; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; border: 1px solid #cfdad7; border-radius: 5px; background: #fff; color: var(--ink); padding: 11px 12px; outline: none;
}
.order-form input, .order-form select { min-height: 46px; }
.order-form textarea { resize: vertical; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }
.copy-order { width: 100%; margin-top: 10px; padding: 8px; border: 0; background: transparent; color: var(--teal); font-weight: 750; cursor: pointer; }
.copy-order svg { vertical-align: -2px; }
.form-note { margin: 8px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.form-note a { color: var(--teal); }
.form-status { min-height: 24px; margin-top: 8px; color: var(--teal); font-size: .84rem; font-weight: 750; text-align: center; }

.faq-section { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }
.faq-heading { position: sticky; top: 105px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 800; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex: 0 0 auto; transition: transform .2s ease; }
.accordion details[open] summary svg { transform: rotate(45deg); color: var(--teal); }
.accordion p { padding: 0 48px 24px 0; }

.final-cta { padding: 62px 0; background: var(--teal-dark); color: #fff; }
.final-cta .section-kicker { color: #a7e6dd; }
.final-cta h2 { margin-bottom: 0; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.light-button { background: #fff; border-color: #fff; color: var(--teal-dark); }
.light-button:hover { background: #f2fffc; color: var(--teal-dark); }
.outline-light { background: transparent; border-color: rgba(255,255,255,.65); color: #fff; }
.outline-light:hover { background: rgba(255,255,255,.1); }

.site-footer { padding: 65px 0 22px; background: #0e191f; color: #d7e0e3; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 50px; }
.footer-brand { color: #fff; }
.footer-grid > div > strong { display: block; margin-bottom: 15px; color: #fff; }
.footer-grid a:not(.brand), .footer-grid span { display: block; margin: 8px 0; color: #aebdc2; text-decoration: none; font-size: .9rem; overflow-wrap: anywhere; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { max-width: 360px; margin-top: 18px; color: #aebdc2; }
.footer-bottom { margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: #85969d; font-size: .8rem; }

@media (max-width: 960px) {
  .menu-button { display: inline-grid; }
  .main-nav {
    position: fixed; inset: 74px 0 auto; display: none; padding: 18px 20px 28px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 11px 4px; }
  .main-nav .button { margin-top: 8px; padding: 0 16px; }
  .nav-demo { border-left: 0; padding-left: 4px !important; }
  .hero-copy { width: min(690px, 78%); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-column: span 2; }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .role-grid-four { grid-template-columns: repeat(2, 1fr); }
  .role-grid-four article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .role-grid-four article:nth-child(4) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .role-grid article:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .role-grid article:nth-child(5) { border-top: 1px solid var(--line); }
  .tenant-layout, .order-layout { gap: 45px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 66px; }
  .main-nav { top: 66px; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: rgba(255,255,255,.68); }
  .hero-inner { min-height: 710px; padding-top: 108px; padding-bottom: 42px; display: flex; align-items: flex-end; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3rem, 15vw, 4.25rem); }
  .hero-detail { max-width: 92%; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-proof { gap: 10px 18px; }
  .hero-proof span { width: calc(50% - 10px); }
  .signal-grid { grid-template-columns: 1fr 1fr; padding: 16px 0; }
  .signal-grid div { padding: 12px 14px; }
  .signal-grid div:nth-child(3) { border-left: 0; }
  .split-intro, .tenant-layout, .order-layout, .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .product-preview-section .container { width: 100%; }
  .product-preview-section .section-heading { width: min(calc(100% - 28px), var(--container)); }
  .product-preview picture { padding: 14px; border-radius: 14px; }
  .product-preview figcaption { padding-inline: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.feature-wide { grid-column: span 1; grid-template-columns: auto 1fr; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .role-grid article { min-height: 190px; }
  .role-grid article:nth-child(3), .role-grid article:nth-child(5) { border-left: 0; }
  .role-grid article:nth-child(3) { border-top: 1px solid var(--line); }
  .role-grid article:nth-child(4) { border-left: 1px solid var(--line); }
  .workflow-list li { grid-template-columns: 48px 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px; }
  .faq-heading { position: static; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 500px) {
  .hero-inner { min-height: 670px; }
  .eyebrow { font-size: .68rem; }
  .hero-lead { font-size: 1.18rem; }
  .hero-detail { font-size: .94rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-proof { display: grid; grid-template-columns: 1fr; }
  .hero-proof span { width: auto; }
  .signal-grid span { font-size: .82rem; }
  .product-preview picture { padding: 10px; border-radius: 12px; }
  .product-preview figcaption { justify-content: flex-start; gap: 10px 18px; font-size: .8rem; }
  .feature-card { min-height: auto; padding: 24px; }
  .feature-card.feature-wide { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .role-grid article, .role-grid article:nth-child(4) { min-height: auto; border-left: 0; border-top: 1px solid var(--line); }
  .role-grid article:first-child { border-top: 0; }
  .role-grid h3 { margin-top: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .order-form { padding: 23px 18px; }
  .price strong { font-size: 2rem; }
  .final-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
