@font-face { font-family: Inter; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/*
 * Visual language follows the in-app /marketing page: navy ink, one clear blue,
 * thin borders, small radii, centred hero over a flat blue band.
 * Kept deliberately plain: no gradients on text, no glows, no floating cards.
 */
:root {
  --blue: #0a6fd6;        /* buttons and links; passes AA with white text */
  --blue-hover: #075bb2;
  --blue-bright: #0985ff; /* large surfaces only: hero band, chart bars */
  --blue-50: #eaf4ff;
  --blue-100: #d6e9fc;
  --blue-200: #c5dff7;
  --navy: #062c4b;
  --navy-deep: #03243e;
  --ink: #102e49;
  --text: #2c4559;
  --muted: #4d6478;
  --line: #e0eaf2;
  --soft: #f5f8fb;
  --white: #fff;
  --green: #0f7a48;
  --green-bg: #e6f6ed;
  --amber: #8a5300;
  --amber-bg: #fff3d6;
  --violet: #5b3f8c;
  --violet-bg: #f1ecfa;
  --radius: 8px;
  --radius-lg: 12px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.035em; font-weight: 650; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #ffb34d; outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1160px, 100% - 80px); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 30px; height: 30px; }
.logo-bg { fill: var(--blue-bright); }
.logo-word { font-size: 21px; font-weight: 750; letter-spacing: -.04em; color: var(--ink); }
.logo-word span { font-weight: 400; }
.logo-light .logo-word { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 20px; border: 1px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-lg { min-height: 50px; padding: 14px 24px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #15517e; }
.btn-secondary { background: var(--white); color: #23547d; border-color: var(--blue-200); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--blue); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-50); }
.btn-outline-light { color: var(--white); border-color: rgb(255 255 255 / 35%); }
.btn-outline-light:hover { border-color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; }
.text-link .icon { width: 1em; height: 1em; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a { font-size: 15px; font-weight: 550; color: var(--ink); }
.site-nav > a:hover { color: var(--blue); }
.site-nav > a[aria-current='page'] { color: var(--blue); box-shadow: inset 0 -2px var(--blue); padding-block: 4px; }
.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: 10px; }
.nav-actions .btn-ghost { min-height: 0; padding: 0; font-weight: 550; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--blue-200); border-radius: 6px; background: var(--white); color: #245477; font-size: 14px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

/* Section scaffolding */
.eyebrow { margin-bottom: 14px; color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.eyebrow-light { color: #8cc6ff; }
.section { padding-block: 96px; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 42px); }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 17px; color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); }

/* Badges: plain coloured text on a tint, no pills inside pills */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge-included { background: var(--blue-50); color: #0b5aab; }
.badge-addon { background: var(--violet-bg); color: var(--violet); }
.badge-ready { background: var(--green-bg); color: var(--green); }
.badge-planned { background: var(--amber-bg); color: var(--amber); }

/* Hero */
.hero { padding-top: 72px; text-align: center; background-image: linear-gradient(rgb(255 255 255 / 86%), rgb(255 255 255 / 90%)), url('/assets/images/clinic-team.png'); background-size: contain; background-position: center top; }
.hero-copy { max-width: 820px; margin-inline: auto; }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--blue-bright); text-decoration: underline; text-decoration-color: #cce6ff; text-decoration-thickness: 6px; text-underline-offset: 10px; }

/* Service area: Makassar and Indonesia are marked wherever they appear in running copy. */
.hero-place { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px 7px 12px; border: 1px solid var(--blue-200); border-radius: 999px; background: var(--white); color: var(--navy); font-size: 14.5px; font-weight: 650; line-height: 1.3; box-shadow: 0 1px 2px rgb(6 44 75 / 6%); }
.hero-place .icon { width: 18px; height: 18px; color: var(--blue); }
.hero-place-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-200); }
.hero-place-start { margin-bottom: 18px; }
.place { font-style: normal; font-weight: 650; color: var(--blue-hover); background: var(--blue-50); padding: .05em .35em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1 .place, h2 .place { font-weight: inherit; color: var(--blue-bright); background: none; padding: 0; border-radius: 0; text-decoration: underline; text-decoration-color: #cce6ff; text-decoration-thickness: .14em; text-underline-offset: .2em; }
.cta-inner .place, .site-footer .place { color: var(--white); background: rgb(255 255 255 / 12%); }
.eyebrow .icon { display: inline-block; width: 1.15em; height: 1.15em; margin-right: 6px; vertical-align: -.22em; }
.hero .lead { max-width: 640px; margin: 24px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .hero-actions { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { width: 16px; height: 16px; color: var(--blue); stroke-width: 2.6; }

/* Soft photo backdrop continues behind the product window */
.hero-stage { margin-top: 64px; padding-bottom: 72px; background: linear-gradient(rgb(255 255 255 / 0%) 0 140px, rgb(9 133 255 / 78%) 140px); }
.hero-visual { max-width: 1000px; margin-inline: auto; text-align: left; }
.visual-footnote { margin-top: 16px; text-align: center; font-size: 13.5px; color: #e3f1ff; }

/* Hero screenshot slider. Without JavaScript the slides are a horizontal scroll-snap row;
   site.js adds .is-ready and a data-pos per slide to stack them: centre card large,
   neighbours smaller and dimmed behind it. */
.hero-stage { overflow-x: clip; }
.slides { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.slide { flex: 0 0 min(880px, 86%); scroll-snap-align: center; }
.slide figure { margin: 0; }
.slide a { position: relative; display: block; overflow: hidden; border: 1px solid #d5e5f5; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 24px 48px rgb(3 36 62 / 22%); }
.slide a::after { content: ''; position: absolute; inset: 0; background: rgb(3 36 62 / 38%); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.slide figcaption { margin-top: 12px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--white); }
.slider.is-ready .slides { display: grid; overflow: visible; padding: 0; touch-action: pan-y; }
.slider.is-ready .slide { grid-area: 1 / 1; justify-self: center; align-self: center; width: min(880px, 86%); transition: transform .55s cubic-bezier(.22, .61, .36, 1), opacity .55s ease; }
.slider.is-ready .slide figcaption { display: none; }
.slide[data-pos='0'] { z-index: 3; }
.slide[data-pos='-1'], .slide[data-pos='1'] { z-index: 2; }
.slide[data-pos='-1'] { transform: translateX(-44%) scale(.8); }
.slide[data-pos='1'] { transform: translateX(44%) scale(.8); }
.slide[data-pos='-2'] { z-index: 1; opacity: 0; transform: translateX(-70%) scale(.62); }
.slide[data-pos='2'] { z-index: 1; opacity: 0; transform: translateX(70%) scale(.62); }
.slide[data-pos='out'] { z-index: 0; opacity: 0; transform: scale(.5); visibility: hidden; }
.slide:not([data-pos='0']) a { cursor: pointer; box-shadow: 0 16px 32px rgb(3 36 62 / 18%); }
.slide:not([data-pos='0']) a::after { opacity: 1; }
.slide:not([data-pos='0']) a:hover::after { opacity: .6; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.slider-controls[hidden], .slider-dots[hidden] { display: none; }
.slider-caption { min-width: 220px; text-align: center; font-size: 16px; font-weight: 600; color: var(--white); }
.slider-arrow { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: 0 6px 16px rgb(3 36 62 / 18%); }
.slider-arrow:hover { background: var(--blue-50); }
.slider-arrow .icon { width: 20px; height: 20px; }
.slider-arrow[data-slide-step='-1'] .icon { transform: rotate(180deg); }
.slider-dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.slider-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; }
.slider-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: rgb(255 255 255 / 45%); transition: width .3s ease, background .3s ease; }
.slider-dots button[aria-current='true']::before { width: 20px; background: var(--white); }
.slider-dots button:hover::before { background: rgb(255 255 255 / 80%); }

/* Facts strip */
.facts { padding-block: 56px; border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.facts-grid strong { display: block; font-size: 38px; font-weight: 650; color: var(--blue-bright); letter-spacing: -.04em; line-height: 1.1; }
.facts-grid span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Workflow */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); counter-reset: flow; }
.flow li { padding: 18px 18px 0 0; counter-increment: flow; }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--blue); }
.flow b { display: block; font-size: 16px; color: var(--ink); }
.flow small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Cards */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: 28px; border: 1px solid #dce7f1; border-radius: var(--radius); background: var(--white); }
.card .ic { display: inline-flex; margin-bottom: 18px; color: var(--blue-bright); }
.card .ic .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.card h3 { font-size: 22px; }
.card p { margin-top: 10px; color: var(--muted); }
.card .text-link { margin-top: 20px; }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.checks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.55; }
.checks .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--blue-bright); stroke-width: 2.6; }
.solution-card { display: flex; flex-direction: column; }
.solution-card .checks { flex: 1; }
.solution-card .tag { position: absolute; top: 28px; right: 28px; }

/* Featured card: the navy one, as on the in-app page */
.card.featured { background: var(--navy); border-color: var(--navy); color: #c3d5e4; }
.card.featured h3, .card.featured .price strong { color: var(--white); }
.card.featured p, .card.featured .price small, .card.featured .for { color: #a9c0d3; }
.card.featured .ic, .card.featured .checks .icon, .card.featured .text-link { color: #6fb8ff; }
.card.featured .price { border-color: rgb(255 255 255 / 14%); }
.card.featured .tag { background: rgb(255 255 255 / 10%); color: #d6e9fc; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(26px, 2.5vw, 32px); }
.feature-copy > p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.feature-copy .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.feature-copy .text-link { margin-top: 24px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 18px 40px rgb(3 36 62 / 12%); }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--soft); }
.panel-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.panel-card + .panel-card { margin-top: 12px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.soap { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px 12px; font-size: 14px; }
.soap b { color: var(--blue); }
.soap span { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 3px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 13px; font-weight: 500; color: var(--text); }
.table-mini { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table-mini th { padding: 0 8px 8px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.table-mini td { padding: 9px 8px; border-top: 1px solid #eef2f7; color: var(--ink); }
.table-mini td:last-child, .table-mini th:last-child { text-align: right; }
.total-row { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 650; color: var(--ink); }
.pay-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pay-split div { padding: 10px; border-radius: 6px; background: var(--soft); font-size: 13px; color: var(--muted); }
.pay-split b { display: block; color: var(--ink); font-size: 14px; }
.ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #eef2f7; font-size: 14px; }
.ledger li:first-child { border-top: 0; }
.ledger .neg { color: #b42318; }
.ledger .strong { font-weight: 650; color: var(--ink); }

/* Owner controls */
.control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.control-grid > div { padding: 30px; background: var(--white); }
.control-grid .icon { width: 24px; height: 24px; color: var(--blue-bright); stroke-width: 1.6; }
.control-grid h3 { margin-top: 16px; font-size: 18px; letter-spacing: -.02em; }
.control-grid p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Navy security band */
.dark-band { padding-block: 96px; background: var(--navy); color: #c3d5e4; }
.dark-band h2, .dark-band h3 { color: var(--white); }
.dark-band .section-head p:not(.eyebrow) { color: #a9c0d3; }
.dark-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgb(255 255 255 / 16%); }
.dark-card { padding: 26px 26px 0 0; }
.dark-card .icon { width: 24px; height: 24px; color: #6fb8ff; stroke-width: 1.6; }
.dark-card h3 { margin-top: 16px; font-size: 18px; letter-spacing: -.02em; }
.dark-card p { margin-top: 8px; font-size: 15px; color: #a9c0d3; }
.dark-band .text-link { margin-top: 44px; color: #8cc6ff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: steps; }
.steps li { padding-top: 16px; border-top: 1px solid var(--line); counter-increment: steps; }
.steps li::before { content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--blue); }
.steps h3 { font-size: 18px; letter-spacing: -.02em; }
.steps p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.h2-inline { font-size: clamp(28px, 3vw, 38px); }
.steps-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-top: 32px; }

/* Planned */
.planned-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.planned-item { display: flex; gap: 14px; padding: 20px; border: 1px dashed #cbd9e6; border-radius: var(--radius); background: var(--white); }
.planned-item .icon { width: 22px; height: 22px; margin-top: 2px; color: #7890a7; stroke-width: 1.6; }
.planned-item b { display: block; color: var(--ink); }
.planned-item small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.planned-item .badge { margin-top: 10px; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* FAQ: numbered rows, no boxes */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); counter-reset: faq; }
.faq details { border-bottom: 1px solid var(--line); counter-increment: faq; }
.faq summary { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(faq, decimal-leading-zero); flex: none; width: 24px; font-size: 13px; font-weight: 600; color: #67829c; }
.faq summary::after { content: '+'; margin-left: auto; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px 42px; color: var(--muted); }

/* CTA */
.cta-band { padding-block: 24px 96px; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 56px; border-radius: var(--radius-lg); background: var(--navy); color: #c3d5e4; }
.cta-inner h2 { color: var(--white); font-size: clamp(28px, 3vw, 38px); }
.cta-inner p:not(.eyebrow) { margin-top: 14px; font-size: 17px; color: #a9c0d3; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.cta-actions .btn { white-space: normal; }
.cta-actions .cta-note { margin-top: 0; font-size: 13.5px; text-align: center; color: #8fa9bf; }

/* Inner page hero */
.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 860px; font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.page-hero .lead { max-width: 700px; margin-top: 20px; }
.page-hero .hero-actions { margin-top: 30px; }
.subnav { position: sticky; top: 77px; z-index: 40; border-bottom: 1px solid var(--line); background: var(--white); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a, .subnav button { flex: none; padding: 14px 14px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 14.5px; font-weight: 550; color: var(--muted); }
.subnav a:hover, .subnav button:hover { color: var(--blue); }
.subnav button[aria-pressed='true'] { border-bottom-color: var(--blue-bright); color: var(--blue); font-weight: 650; }

/* Module catalog (Fitur) */
.module-group + .module-group { margin-top: 72px; }
.group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.group-head h2 { font-size: clamp(24px, 2.4vw, 30px); }
.group-head p { max-width: 560px; color: var(--muted); }
.module { display: flex; flex-direction: column; }
.module-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card .module-top .ic { margin-bottom: 0; }
.module h3 { margin-top: 16px; font-size: 20px; }
.module .checks { margin-top: 14px; }
.module .checks li { font-size: 14.5px; }
.module-foot { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--muted); }
.module-foot b { color: var(--amber); font-weight: 600; }
.module-group[hidden] { display: none; }
.filter-status { margin-bottom: 32px; font-size: 14.5px; color: var(--muted); }
.gallery-note { margin: -20px 0 32px; font-size: 14.5px; color: var(--muted); }

/* Screenshot galleries (fitur) and the lightbox that opens them */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; margin-top: 28px; }
.gallery-item a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 8px 20px rgb(3 36 62 / 8%); transition: border-color .15s, box-shadow .15s; }
.gallery-item a:hover { border-color: var(--blue-200); box-shadow: 0 12px 28px rgb(3 36 62 / 14%); }
.gallery-item img { display: block; width: 100%; height: auto; }
.gallery-item figcaption { margin-top: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.shot a { display: block; border-radius: var(--radius-lg); }
a[data-lightbox] { cursor: zoom-in; }
.lightbox { width: min(1480px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--text); overflow: hidden; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgb(3 36 62 / 80%); }
.lightbox-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.lightbox-bar p { flex: 1; min-width: 0; overflow: hidden; font-size: 14.5px; font-weight: 600; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.lightbox-bar span { margin-right: 4px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lightbox-bar button { display: inline-grid; flex: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox-bar button:hover { background: var(--soft); }
.lightbox-bar button[hidden] { display: none; }
.lightbox-body { overflow: auto; overscroll-behavior: contain; background: var(--soft); }
.lightbox-body img { display: block; width: 100%; height: auto; }

/* Solutions page */
.solution-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 64px; }
.solution-meta { position: sticky; top: 104px; }
.solution-meta .ic { display: inline-flex; margin-bottom: 18px; color: var(--blue-bright); }
.solution-meta .ic .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.solution-meta h2 { font-size: clamp(28px, 3vw, 38px); }
.solution-meta > p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.solution-meta .chips { margin-top: 22px; }
.solution-meta .btn { margin-top: 26px; }
.pain-list { display: grid; gap: 14px; }
.pain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pain > div { padding: 20px; }
.pain > div:first-child { border-right: 1px solid var(--line); background: var(--soft); }
.pain small { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pain > div:last-child small { color: var(--blue); }
.pain p { font-size: 15px; color: var(--ink); }
.role-card h3 { font-size: 19px; }
.role-card p { font-size: 15px; }

/* Security page */
.sec-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.sec-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.sec-item .ic { color: var(--blue-bright); }
.sec-item .ic .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.sec-item h3 { font-size: 20px; }
.sec-item p { margin-top: 8px; color: var(--muted); }
.sec-item .checks { margin-top: 12px; }
.layers { display: grid; gap: 10px; }
.layer { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.layer b { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--navy); color: var(--white); font-size: 14px; }
.layer span { font-size: 15px; font-weight: 600; color: var(--ink); }
.layer small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }

/* Pricing */
.plan { padding: 32px; }
.plan h3 { font-size: 24px; }
.plan .for { margin-top: 6px; font-size: 15px; color: var(--muted); }
.plan .price { margin-top: 22px; padding: 16px 0; border-block: 1px solid var(--line); }
.plan .price strong { display: block; font-size: 22px; font-weight: 650; color: var(--ink); letter-spacing: -.02em; }
.plan .price small { font-size: 14px; color: var(--muted); }
.plan .checks { flex: 1; }
.plan .btn { margin-top: 26px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: center; }
.compare thead th { border-top: 0; background: var(--soft); font-size: 14px; color: var(--ink); }
.compare th[scope='row'] { text-align: left; font-weight: 500; color: var(--ink); }
.compare .grp th { background: var(--white); font-size: 14px; font-weight: 650; color: var(--blue); text-align: left; }
.compare .yes .icon { margin-inline: auto; color: var(--blue-bright); stroke-width: 2.6; }
.compare .no { color: #a0afc0; }
.addon-card { display: flex; gap: 16px; }
.card.addon-card .ic { margin-bottom: 0; }
.addon-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 19px; }
.addon-card p { margin-top: 6px; font-size: 15px; }

/* Photo beside text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.photo figcaption { margin-top: 8px; font-size: 13px; color: #7c93a7; }

/* Footer */
.site-footer { padding-top: 64px; background: var(--navy-deep); color: #a7bfd3; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-brand p { max-width: 360px; margin-top: 16px; color: #83a6bf; }
.site-footer h2 { margin-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: #e2f2ff; }
.site-footer nav a { display: block; padding: 5px 0; color: #9db8cd; }
.site-footer nav a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 28px; border-top: 1px solid #20435e; font-size: 14px; color: #6f93ae; }

/* 404 */
.not-found { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; min-height: 70vh; padding-block: 80px; }
.not-found h1 { font-size: clamp(34px, 5vw, 52px); }
.not-found p { max-width: 560px; color: var(--muted); }

/* Responsive */
@media (max-width: 1080px) {
  .container { width: calc(100% - 60px); }
  .site-nav { gap: 18px; }
  .feature-row, .split, .solution-block { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .dark-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .control-grid, .grid-3, .planned-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-meta { position: static; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: -30px; right: -30px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 30px 22px; border-bottom: 1px solid var(--line); background: var(--white); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav > a[aria-current='page'] { box-shadow: none; padding-block: 13px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin: 18px 0 0; }
  .nav-actions .btn-ghost { justify-content: flex-start; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .site-nav { left: -16px; right: -16px; padding-inline: 16px; }
  .section, .dark-band { padding-block: 64px; }
  .hero { padding-top: 48px; background-size: cover;}
  .hero h1 em { text-decoration-thickness: 4px; text-underline-offset: 6px; }
  .page-hero { padding: 52px 0 44px; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stage { margin-top: 44px; padding-bottom: 48px; background: linear-gradient(rgb(255 255 255 / 72%) 0 90px, rgb(9 133 255 / 78%) 90px); }
  .slide[data-pos='-1'] { transform: translateX(-52%) scale(.84); }
  .slide[data-pos='1'] { transform: translateX(52%) scale(.84); }
  .slider-controls { gap: 12px; margin-top: 22px; }
  .slider-caption { flex: 1; min-width: 0; font-size: 15px; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .facts-grid strong { font-size: 32px; }
  .flow, .grid-2, .grid-3, .grid-4, .dark-grid, .control-grid, .planned-grid, .steps, .steps-stack { grid-template-columns: minmax(0, 1fr); }
  .feature-copy .checks { grid-template-columns: minmax(0, 1fr); }
  .gallery { gap: 18px 12px; }
  .gallery-item figcaption { font-size: 13.5px; }
  .lightbox { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .lightbox-bar { padding-left: 14px; }
  .lightbox-bar span { display: none; }
  .feature-row + .feature-row { margin-top: 64px; }
  .card, .plan { padding: 24px; }
  .solution-card .tag { top: 24px; right: 24px; }
  .pain { grid-template-columns: minmax(0, 1fr); }
  .pain > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .sec-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .faq summary { font-size: 16px; gap: 12px; }
  .faq details p { padding-left: 36px; }
  .cta-inner { padding: 32px 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
