:root {
  --bg: #f6f8fc;
  --surface: rgba(255,255,255,.76);
  --surface-solid: #ffffff;
  --surface-soft: #eef2f8;
  --text: #0b1020;
  --muted: #667085;
  --line: rgba(16,24,40,.11);
  --primary: #1677ff;
  --primary-strong: #075dd4;
  --purple: #7158ff;
  --cyan: #22b8d6;
  --orange: #f5823a;
  --green: #22a06b;
  --danger: #d92d4c;
  --dark: #080d19;
  --dark-soft: #111827;
  --shadow-sm: 0 10px 30px rgba(15,23,42,.07);
  --shadow-lg: 0 32px 90px rgba(30,49,84,.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
}

html[data-theme="dark"] {
  --bg: #070b14;
  --surface: rgba(17,24,39,.76);
  --surface-solid: #111827;
  --surface-soft: #0d1320;
  --text: #f7f9fc;
  --muted: #9ba7ba;
  --line: rgba(255,255,255,.11);
  --primary: #4197ff;
  --primary-strong: #78b7ff;
  --shadow-sm: 0 12px 34px rgba(0,0,0,.22);
  --shadow-lg: 0 38px 100px rgba(0,0,0,.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: rgba(22,119,255,.22); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 840px; }
.article-width { max-width: 790px; }
.center { text-align: center; }
.no-top { padding-top: 0 !important; }
.surface-dark { background: var(--dark); color: #fff; }
.surface-soft { background: var(--surface-soft); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; transform: translateY(-150%); background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; height: 78px; display: flex; align-items: center; border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); border-color: var(--line); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { position: relative; display: inline-grid; align-items: center; isolation: isolate; }
.brand-logo img { grid-area: 1 / 1; width: 154px; height: auto; max-height: 46px; object-fit: contain; object-position: left center; background: transparent !important; border: 0; box-shadow: none; transition: opacity .2s ease, visibility .2s ease; }
.brand-logo .logo-light { opacity: 1; visibility: visible; }
.brand-logo .logo-dark { opacity: 0; visibility: hidden; }
html[data-theme="dark"] .brand-logo .logo-light { opacity: 0; visibility: hidden; }
html[data-theme="dark"] .brand-logo .logo-dark { opacity: 1; visibility: visible; }
.main-nav { display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface-solid) 70%, transparent); box-shadow: var(--shadow-sm); }
.main-nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 680; transition: .2s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: var(--surface-solid); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.theme-icon { width: 17px; height: 17px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.theme-icon::after { content: ""; position: absolute; width: 8px; height: 16px; background: currentColor; border-radius: 8px 0 0 8px; left: -2px; top: -2px; }
.menu-button { display: none; position: relative; }
.menu-button span { position: absolute; width: 17px; height: 1.5px; background: currentColor; transition: .2s ease; }
.menu-button span:first-child { transform: translateY(-4px); }
.menu-button span:last-child { transform: translateY(4px); }
.menu-button.is-open span:first-child { transform: rotate(45deg); }
.menu-button.is-open span:last-child { transform: rotate(-45deg); }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; font-size: .93rem; line-height: 1; font-weight: 750; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #6555f7); box-shadow: 0 12px 28px rgba(35,108,243,.24); }
.button-primary:hover { box-shadow: 0 18px 38px rgba(35,108,243,.31); }
.button-secondary { border-color: var(--line); background: var(--surface-solid); color: var(--text); }
.button-light { background: #fff; color: #101828; }
.button-block { width: 100%; }
.button-icon, .inline-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.inline-icon { width: 16px; height: 16px; vertical-align: -3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #9dc8ff; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #23c483; box-shadow: 0 0 0 6px rgba(35,196,131,.12); }
.gradient-text { background: linear-gradient(95deg, var(--primary), var(--purple) 56%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { padding: 102px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 44px; }
.section-heading > div { max-width: 750px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(2.2rem, 4.6vw, 4.3rem); line-height: 1.03; letter-spacing: -.055em; }
.section-heading > p { max-width: 410px; margin: 0; color: var(--muted); }
.section-heading-light p { color: #aebbd0; }
.section-heading-light h2 { color: #fff; }

.hero-section { position: relative; min-height: 760px; display: flex; align-items: center; padding: 75px 0 95px; isolation: isolate; }
.hero-aurora { position: absolute; inset: -140px -10% auto; height: 700px; z-index: -2; background: radial-gradient(circle at 25% 35%, rgba(24,119,255,.22), transparent 35%), radial-gradient(circle at 70% 30%, rgba(113,88,255,.19), transparent 34%), radial-gradient(circle at 80% 65%, rgba(34,184,214,.15), transparent 26%); filter: blur(12px); }
.hero-section::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.hero-copy h1 { margin: 22px 0 24px; max-width: 760px; font-size: clamp(3.25rem, 6.2vw, 6.15rem); line-height: .96; letter-spacing: -.07em; }
.hero-copy > p { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1.02rem, 1.55vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; max-width: 690px; }
.hero-proof div { padding-top: 16px; border-top: 1px solid var(--line); }
.hero-proof strong { display: block; font-size: 1.15rem; letter-spacing: -.03em; }
.hero-proof span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.4; margin-top: 3px; }
.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.glass-panel { border: 1px solid rgba(255,255,255,.44); background: linear-gradient(155deg, rgba(255,255,255,.82), rgba(255,255,255,.46)); backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%); box-shadow: var(--shadow-lg); }
html[data-theme="dark"] .glass-panel { background: linear-gradient(155deg, rgba(24,34,53,.86), rgba(13,20,35,.62)); border-color: rgba(255,255,255,.12); }
.visual-window { width: min(100%, 560px); border-radius: 28px; overflow: hidden; transform: perspective(1200px) rotateY(-3deg) rotateX(2deg); }
.window-top { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.window-top > div { display: flex; gap: 6px; }
.window-top i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #ff6b67; }
.window-top i:nth-child(2) { background: #ffc45b; }.window-top i:nth-child(3) { background: #4ccd78; }
.window-body { min-height: 355px; display: grid; grid-template-columns: 64px 1fr; }
.dashboard-sidebar { padding: 19px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mini-logo { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--purple)); }
.dashboard-sidebar span { width: 20px; height: 20px; border-radius: 7px; background: var(--line); }
.dashboard-content { padding: 27px 25px; }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dashboard-head small { display: block; color: var(--muted); font-weight: 800; letter-spacing: .12em; font-size: .58rem; }
.dashboard-head strong { display: block; margin-top: 3px; font-size: 1.15rem; }
.avatar-stack { display: flex; }
.avatar-stack i { width: 25px; height: 25px; margin-left: -7px; border: 2px solid var(--surface-solid); border-radius: 50%; background: linear-gradient(135deg, #8ec5ff, #6e5cf6); }
.avatar-stack i:nth-child(2) { background: linear-gradient(135deg, #ffc86b, #ef6c89); }.avatar-stack i:nth-child(3) { background: linear-gradient(135deg, #74dfbc, #268adf); }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 25px; }
.dashboard-stats div { padding: 15px 13px; border: 1px solid var(--line); background: var(--surface); border-radius: 15px; }
.dashboard-stats b { font-size: .72rem; color: var(--primary); }.dashboard-stats span { display: block; font-size: .63rem; color: var(--muted); }
.dashboard-chart { height: 170px; position: relative; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: var(--primary); }
.chart-grid { position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 34px; }
.dashboard-chart svg { position: absolute; inset: 30px 0 0; width: 100%; height: 125px; filter: drop-shadow(0 7px 5px rgba(22,119,255,.24)); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 11px; min-width: 190px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.45); background: color-mix(in srgb, var(--surface-solid) 80%, transparent); border-radius: 17px; box-shadow: var(--shadow-sm); backdrop-filter: blur(20px); animation: float 5s ease-in-out infinite; }
.floating-card > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.floating-card svg { width: 20px; }
.floating-card b { display: block; font-size: .82rem; }.floating-card small { display: block; color: var(--muted); font-size: .66rem; }
.floating-build { top: 8px; left: -12px; }.floating-build > span { background: linear-gradient(135deg, #157efb, #6855f7); }
.floating-grow { right: -18px; bottom: 48px; animation-delay: -1.5s; }.floating-grow > span { background: linear-gradient(135deg, #20a56f, #1da9c8); }
.floating-create { left: 22px; bottom: 5px; animation-delay: -3s; }.floating-create > span { background: linear-gradient(135deg, #f28b45, #d951aa); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.client-strip { border-block: 1px solid var(--line); background: var(--surface); }
.client-strip .container { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.client-strip span { color: var(--muted); font-size: .78rem; }
.client-strip div { display: flex; gap: clamp(18px, 4vw, 50px); flex-wrap: wrap; justify-content: flex-end; }
.client-strip b { color: color-mix(in srgb, var(--muted) 70%, transparent); font-size: .72rem; letter-spacing: .14em; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar-card { min-height: 390px; position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.pillar-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -80px; top: -90px; opacity: .13; filter: blur(3px); }
.pillar-build::after { background: #1677ff; }.pillar-grow::after { background: #22a06b; }.pillar-create::after { background: #f5823a; }
.pillar-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #fff; margin-bottom: 65px; }
.pillar-icon svg { width: 29px; }
.pillar-build .pillar-icon { background: linear-gradient(135deg, #1677ff, #6956f7); }.pillar-grow .pillar-icon { background: linear-gradient(135deg, #22a06b, #1ca4c8); }.pillar-create .pillar-icon { background: linear-gradient(135deg, #f5823a, #da4eaa); }
.pillar-card > span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.pillar-card h3 { margin: 8px 0 9px; font-size: 1.85rem; letter-spacing: -.04em; }
.pillar-card p { color: var(--muted); margin: 0 0 25px; }
.pillar-card a, .service-card a, .text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 750; font-size: .86rem; }

.solution-section { border-radius: 48px; margin-inline: 14px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solution-card { padding: 29px; border: 1px solid rgba(255,255,255,.12); border-radius: 25px; background: rgba(255,255,255,.055); }
.solution-card > span { color: #8ec2ff; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.solution-card h3 { margin: 12px 0 9px; font-size: 1.45rem; letter-spacing: -.035em; }
.solution-card p { color: #aebbd0; }
.solution-card ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: #d9e1ec; font-size: .86rem; }
.solution-card li { display: flex; align-items: center; gap: 7px; }
.solution-card li svg { color: #69d7ae; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-solid); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-soft); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-media img { transform: scale(1.035); }
.project-status { position: absolute; top: 16px; right: 16px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; background: rgba(7,11,20,.55); backdrop-filter: blur(12px); font-size: .68rem; font-weight: 750; }
.project-content { padding: 25px 26px 28px; }
.project-meta { display: flex; gap: 9px; color: var(--muted); font-size: .69rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-meta span + span::before { content: "·"; margin-right: 9px; }
.project-content h3 { margin: 9px 0 8px; font-size: 1.55rem; letter-spacing: -.035em; }
.project-content p { margin: 0 0 20px; color: var(--muted); }

.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 42px 54px minmax(0,1fr) 36px; align-items: center; gap: 20px; padding: 22px 10px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.service-row:hover { padding-inline: 18px; background: var(--surface); }
.service-index { color: var(--muted); font-size: .72rem; }
.service-row-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; }
.service-row-icon svg { width: 25px; }
.service-pillar { color: var(--primary); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-row h3 { margin: 1px 0 2px; font-size: 1.18rem; }.service-row p { margin: 0; color: var(--muted); font-size: .86rem; }
.row-arrow { width: 22px; transition: transform .2s; }.service-row:hover .row-arrow { transform: translateX(5px); }
.pillar-bg-build { color: #276edf; background: rgba(39,110,223,.12); }.pillar-bg-grow { color: #15805a; background: rgba(21,128,90,.12); }.pillar-bg-create { color: #d66d28; background: rgba(214,109,40,.13); }
.section-action { margin-top: 32px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.process-card { padding: 25px; min-height: 310px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-solid); }
.process-card > span { color: var(--muted); font-size: .7rem; font-weight: 800; }
.process-icon { width: 50px; height: 50px; display: grid; place-items: center; margin: 50px 0 22px; border-radius: 16px; color: var(--primary); background: rgba(22,119,255,.11); }
.process-icon svg { width: 25px; }
.process-card h3 { margin: 0 0 8px; font-size: 1.25rem; }.process-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.package-card { position: relative; padding: 31px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface-solid); }
.package-card.featured { border-color: rgba(22,119,255,.38); box-shadow: 0 24px 70px rgba(22,119,255,.14); }
.popular-label { position: absolute; top: -12px; right: 24px; padding: 6px 11px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--purple)); font-size: .66rem; font-weight: 800; }
.package-pillar { color: var(--primary); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.package-card h3 { margin: 9px 0 7px; font-size: 1.55rem; }.package-card > p { color: var(--muted); min-height: 80px; }
.package-price { margin: 28px 0 18px; font-size: 1.35rem; font-weight: 850; }
.package-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; color: var(--muted); font-size: .87rem; }
.package-card li { display: flex; gap: 8px; align-items: start; }.package-card li svg { color: var(--green); margin-top: 4px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: var(--surface-solid); }
.quote-icon { width: 28px; color: var(--primary); }.testimonial-card p { font-size: 1.02rem; }.testimonial-card footer { display: grid; margin-top: 24px; }.testimonial-card footer span { color: var(--muted); font-size: .78rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface-solid); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-soft); }.post-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }.post-card:hover img { transform: scale(1.035); }
.post-content { padding: 23px; }.post-date { color: var(--muted); font-size: .72rem; }.post-content h3 { margin: 8px 0; font-size: 1.24rem; line-height: 1.25; letter-spacing: -.03em; }.post-content p { color: var(--muted); font-size: .86rem; }

.footer-cta { padding: 50px; border-radius: 36px; display: flex; align-items: center; justify-content: space-between; gap: 36px; background-image: radial-gradient(circle at 80% 30%, rgba(83,117,255,.32), transparent 32%), linear-gradient(140deg, #090f1c, #111a2d); }
.footer-cta h2 { margin: 11px 0 8px; max-width: 720px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.03; letter-spacing: -.05em; }.footer-cta p { margin: 0; color: #aebbd0; }
.site-footer { padding: 92px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 35px; padding: 70px 0 42px; }
.footer-logo-link { display: inline-flex; align-items: center; }
.footer-brand .brand-logo img { width: 154px; }.footer-brand p { max-width: 320px; color: var(--muted); }.footer-grid h3 { margin: 0 0 15px; font-size: .86rem; }.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }.footer-grid > div:not(.footer-brand) a { margin: 4px 0; color: var(--muted); font-size: .84rem; }.footer-grid a:hover { color: var(--text); }
.social-links { display: flex; gap: 8px; margin-top: 18px; }.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: .65rem; font-weight: 850; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }.footer-bottom div { display: flex; gap: 20px; }

.page-hero { padding: 105px 0 85px; position: relative; }.page-hero::before { content: ""; position: absolute; width: 600px; height: 400px; left: 50%; top: -150px; transform: translateX(-50%); background: radial-gradient(circle, rgba(22,119,255,.17), transparent 67%); z-index: -1; }.page-hero h1 { margin: 17px 0 20px; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.065em; }.page-hero p { margin: 0 auto; max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.pillar-title { display: grid; grid-template-columns: 45px 70px 1fr; align-items: center; gap: 22px; margin-bottom: 38px; }.pillar-number { color: var(--muted); font-size: .74rem; }.pillar-heading-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; }.pillar-heading-icon svg { width: 31px; }.pillar-title > div:last-child > span { color: var(--primary); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }.pillar-title h2 { margin: 4px 0 0; font-size: clamp(1.9rem, 3.8vw, 3.5rem); letter-spacing: -.045em; line-height: 1.08; }
.service-pillar-section + .service-pillar-section { padding-top: 25px; }
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 27px; border: 1px solid var(--line); border-radius: 25px; background: var(--surface-solid); }.service-card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 38px; }.service-card-icon svg { width: 25px; }.service-card > span { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }.service-card h3 { margin: 6px 0 8px; font-size: 1.34rem; letter-spacing: -.035em; }.service-card p { color: var(--muted); min-height: 84px; font-size: .9rem; }
.inline-cta { padding: 40px 45px; display: flex; justify-content: space-between; align-items: center; gap: 35px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface-solid); }.inline-cta h2 { margin: 8px 0 4px; font-size: clamp(1.7rem, 3vw, 2.7rem); letter-spacing: -.045em; }.inline-cta p { margin: 0; color: var(--muted); }

.detail-hero { padding: 75px 0 95px; }.detail-hero-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 70px; }.back-link { display: inline-flex; margin-bottom: 20px; color: var(--muted); font-size: .8rem; font-weight: 750; }.detail-copy h1 { margin: 12px 0 18px; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }.detail-copy > p { color: var(--muted); font-size: 1.12rem; margin: 0 0 27px; }
.service-hero-art { min-height: 430px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 40px; background: var(--surface-solid); }.service-art-icon { width: 124px; height: 124px; display: grid; place-items: center; border-radius: 34px; z-index: 2; box-shadow: var(--shadow-lg); }.service-art-icon svg { width: 57px; }.service-hero-art > span { position: absolute; bottom: 25px; font-weight: 900; letter-spacing: .4em; color: var(--line); font-size: 1.4rem; }.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }.orbit-one { width: 260px; height: 260px; }.orbit-two { width: 390px; height: 390px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: start; }.prose { font-size: 1.02rem; }.prose h2 { margin: 2.1em 0 .7em; font-size: 2rem; line-height: 1.15; letter-spacing: -.035em; }.prose h3 { margin: 1.8em 0 .6em; font-size: 1.4rem; letter-spacing: -.025em; }.prose p, .prose li { color: var(--muted); }.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }.prose blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--primary); background: var(--surface-soft); border-radius: 0 16px 16px 0; }.prose img { border-radius: 20px; }.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-soft); }.prose pre { overflow: auto; padding: 20px; border-radius: 18px; color: #d8e4f5; background: #101827; }
.detail-aside { position: sticky; top: 105px; display: grid; gap: 14px; }.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-solid); }.aside-card > span { color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 850; }.aside-card p { margin: 8px 0 0; }.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }.tag-list i { padding: 6px 9px; border-radius: 999px; background: var(--surface-soft); font-style: normal; color: var(--muted); font-size: .7rem; }

.filter-tabs { display: flex; gap: 7px; justify-content: center; margin-bottom: 35px; }.filter-tabs button { border: 1px solid var(--line); border-radius: 999px; background: var(--surface-solid); padding: 8px 15px; color: var(--muted); cursor: pointer; font-weight: 700; font-size: .83rem; }.filter-tabs button.active { background: var(--text); color: var(--bg); }
[data-filter-item].is-hidden { display: none; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 25px; }

.project-detail-hero { padding: 60px 0 0; }.project-detail-copy { max-width: 920px; margin: 0 auto 45px; text-align: center; }.project-detail-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }.project-detail-meta span + span::before { content: "·"; margin-right: 8px; }.project-detail-copy h1 { margin: 15px 0 18px; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .94; letter-spacing: -.072em; }.project-detail-copy p { max-width: 760px; margin: 0 auto 26px; color: var(--muted); font-size: 1.1rem; }.project-detail-cover { overflow: hidden; border: 1px solid var(--line); border-radius: 35px; box-shadow: var(--shadow-lg); }.project-detail-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 40px; }.gallery-grid button { padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: none; cursor: zoom-in; }.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; padding: 35px; background: rgba(0,0,0,.88); }.lightbox.is-open { display: flex; }.lightbox img { max-height: 90vh; max-width: 94vw; border-radius: 16px; }.lightbox button { position: absolute; top: 20px; right: 24px; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); font-size: 1.5rem; cursor: pointer; }

.article-header { padding: 80px 0 45px; }.article-header h1 { margin: 13px 0 16px; font-size: clamp(2.8rem, 5.7vw, 5.1rem); line-height: 1; letter-spacing: -.06em; }.article-header p { color: var(--muted); font-size: 1.1rem; }.article-byline { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--muted); font-size: .78rem; }.article-byline i { width: 3px; height: 3px; align-self: center; border-radius: 50%; background: var(--muted); }.article-cover { max-width: 1120px; overflow: hidden; border-radius: 32px; }.article-cover img { width: 100%; max-height: 680px; object-fit: cover; }.article-prose { padding: 60px 0; }.article-share { display: flex; align-items: center; gap: 12px; padding: 22px 0 60px; border-top: 1px solid var(--line); }.article-share span { margin-right: auto; font-weight: 750; }.article-share a, .article-share button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: var(--surface-solid); color: var(--muted); cursor: pointer; font-size: .75rem; }

.about-story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: center; }.about-visual { min-height: 520px; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 40px; background-image: radial-gradient(circle at 30% 30%, rgba(22,119,255,.32), transparent 33%), radial-gradient(circle at 75% 70%, rgba(113,88,255,.25), transparent 32%); }.about-mark { font-size: 10rem; font-weight: 950; letter-spacing: -.12em; background: linear-gradient(135deg, #a8d6ff, #8f7cff, #4ce0da); -webkit-background-clip: text; color: transparent; }.about-visual > span { position: absolute; font-size: .7rem; font-weight: 850; letter-spacing: .22em; color: #98a9c3; }.about-visual > span:nth-of-type(1) { top: 40px; left: 40px; }.about-visual > span:nth-of-type(2) { top: 40px; right: 40px; }.about-visual > span:nth-of-type(3) { bottom: 40px; left: 50%; transform: translateX(-50%); }.about-story h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.06; letter-spacing: -.05em; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }.value-card { padding: 25px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-solid); }.value-card > span { color: var(--primary); font-size: .68rem; font-weight: 850; }.value-card h3 { margin: 42px 0 9px; font-size: 1.15rem; }.value-card p { color: var(--muted); font-size: .84rem; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }.contact-info { position: sticky; top: 105px; }.contact-info h2 { margin: 10px 0 12px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.05em; }.contact-info > p { color: var(--muted); }.contact-methods { display: grid; gap: 10px; margin-top: 30px; }.contact-methods a { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-solid); }.contact-methods a > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: rgba(22,119,255,.1); }.contact-methods svg { width: 21px; }.contact-methods small, .contact-methods strong { display: block; }.contact-methods small { color: var(--muted); font-size: .67rem; }.response-note { display: grid; gap: 3px; margin-top: 25px; padding-left: 17px; border-left: 2px solid var(--primary); }.response-note span { color: var(--muted); font-size: .82rem; }
.card-surface { padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface-solid); box-shadow: var(--shadow-sm); }.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }.field { display: grid; gap: 7px; }.field.full { grid-column: 1/-1; }.field label { font-size: .82rem; font-weight: 750; }.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; outline: 0; padding: 12px 13px; background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s; }.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(22,119,255,.1); }.field textarea { min-height: 155px; resize: vertical; }.field small { color: var(--muted); font-size: .68rem; }.consent-field label { display: flex; align-items: start; gap: 10px; font-weight: 500; color: var(--muted); }.consent-field input { width: 17px; height: 17px; margin-top: 4px; }.consent-field a { color: var(--primary); }.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.toast { position: fixed; right: 22px; top: 95px; z-index: 500; max-width: min(430px, calc(100% - 44px)); display: flex; align-items: center; gap: 14px; padding: 13px 15px; border-radius: 15px; color: #fff; box-shadow: var(--shadow-lg); animation: toastIn .25s ease; }.toast-success { background: #16845c; }.toast-error { background: #be2944; }.toast button { margin-left: auto; border: 0; background: transparent; color: inherit; font-size: 1.25rem; cursor: pointer; }@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }

.legal-page { padding: 80px 0 110px; }.legal-page header { padding-bottom: 30px; border-bottom: 1px solid var(--line); }.legal-page h1 { margin: 10px 0; font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -.055em; }.legal-page header p { color: var(--muted); }.error-page { padding: 120px 0 150px; }.error-code { display: block; font-size: 7rem; line-height: 1; font-weight: 950; color: var(--line); }.error-page h1 { font-size: 2.6rem; margin: 15px 0 8px; }.error-page p { color: var(--muted); margin-bottom: 25px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.floating-card { animation: none; } }

@media (max-width: 1080px) {
  .main-nav { position: fixed; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 12px; border-radius: 23px; background: var(--surface-solid); box-shadow: var(--shadow-lg); }
  .main-nav.is-open { display: flex; }.main-nav a { padding: 12px 14px; }.menu-button { display: grid; }.nav-contact { display: none; }
  .hero-grid { grid-template-columns: 1fr; }.hero-copy { max-width: 850px; }.hero-visual { max-width: 680px; width: 100%; margin-inline: auto; }
  .pillar-grid, .solution-grid, .package-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }.pillar-card:last-child, .solution-card:last-child, .package-card:last-child { grid-column: 1/-1; }
  .process-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }.footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { grid-column: auto; }
  .service-card-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero-grid, .about-story-grid, .contact-layout { grid-template-columns: 1fr; }.contact-info { position: static; }.service-hero-art { min-height: 350px; }.content-layout { grid-template-columns: 1fr; }.detail-aside { position: static; grid-template-columns: repeat(2, 1fr); }.detail-aside .button { grid-column: 1/-1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .site-header { height: 70px; }.main-nav { top: 70px; left: 13px; right: 13px; }.brand-logo img { width: 135px; }.icon-button, .menu-button { width: 39px; height: 39px; }
  .section { padding: 72px 0; }.section-heading { display: block; margin-bottom: 30px; }.section-heading > p { margin-top: 15px; }.section-heading h2 { font-size: 2.45rem; }
  .hero-section { padding: 55px 0 70px; min-height: auto; }.hero-grid { gap: 40px; }.hero-copy h1 { font-size: clamp(3.1rem, 14vw, 4.5rem); }.hero-copy br { display: none; }.hero-proof { gap: 12px; margin-top: 38px; }.hero-proof strong { font-size: .95rem; }.hero-proof span { font-size: .64rem; }
  .hero-visual { min-height: 420px; }.visual-window { width: calc(100% - 5px); transform: none; }.window-body { grid-template-columns: 46px 1fr; min-height: 300px; }.dashboard-sidebar { padding-inline: 8px; }.dashboard-content { padding: 20px 14px; }.dashboard-stats { gap: 5px; }.dashboard-stats div { padding: 10px 7px; }.dashboard-chart { height: 125px; }.floating-card { min-width: 160px; padding: 9px 11px; }.floating-build { left: -3px; top: -15px; }.floating-grow { right: -2px; bottom: 10px; }.floating-create { display: none; }
  .client-strip .container { display: block; padding-block: 24px; }.client-strip div { justify-content: flex-start; margin-top: 17px; gap: 15px 22px; }
  .pillar-grid, .solution-grid, .project-grid, .package-grid, .testimonial-grid, .post-grid, .service-card-grid, .process-grid, .value-grid { grid-template-columns: 1fr; }.pillar-card:last-child, .solution-card:last-child, .package-card:last-child { grid-column: auto; }.solution-section { margin-inline: 0; border-radius: 35px; }.pillar-card { min-height: 350px; }.pillar-icon { margin-bottom: 48px; }
  .service-row { grid-template-columns: 34px 46px 1fr; gap: 12px; }.service-row .row-arrow { display: none; }.service-row-icon { width: 44px; height: 44px; }.service-row p { display: none; }
  .footer-cta { padding: 32px 25px; display: block; }.footer-cta .button { margin-top: 25px; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }.footer-brand { grid-column: 1/-1; }.footer-bottom { display: block; }.footer-bottom div { margin-top: 10px; flex-wrap: wrap; }
  .page-hero { padding: 75px 0 60px; }.page-hero h1 { font-size: 3.1rem; }.pillar-title { grid-template-columns: 32px 55px 1fr; gap: 12px; }.pillar-heading-icon { width: 52px; height: 52px; }.pillar-title h2 { font-size: 1.7rem; }
  .inline-cta { padding: 29px 24px; display: block; }.inline-cta .button { margin-top: 22px; }
  .detail-hero { padding-top: 45px; }.detail-copy h1 { font-size: 3.3rem; }.service-hero-art { min-height: 300px; }.detail-aside { grid-template-columns: 1fr; }.detail-aside .button { grid-column: auto; }
  .project-detail-copy h1 { font-size: 3.5rem; }.project-detail-cover { border-radius: 22px; }.gallery-grid { grid-template-columns: 1fr; }
  .article-header { padding-top: 50px; }.article-header h1 { font-size: 3rem; }.article-cover { border-radius: 20px; }.article-share { align-items: flex-start; flex-wrap: wrap; }.article-share span { width: 100%; }
  .about-visual { min-height: 370px; }.about-mark { font-size: 7rem; }.card-surface { padding: 23px 18px; }.form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }
  .toast { right: 13px; top: 82px; max-width: calc(100% - 26px); }
}


/* =========================================================
   AUNFA Responsive Containment v2.1.3
   Menjaga halaman publik tetap selebar viewport pada ponsel.
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body { overflow-x: hidden; }
}

body,
main,
header,
footer,
section,
.container,
.nav-wrap {
  min-width: 0;
  max-width: 100%;
}

/* Semua anak grid/flex harus boleh mengecil di bawah lebar kontennya. */
:where(
  .nav-wrap,
  .main-nav,
  .nav-actions,
  .section-heading,
  .hero-grid,
  .hero-copy,
  .hero-visual,
  .hero-proof,
  .window-body,
  .dashboard-head,
  .dashboard-stats,
  .client-strip .container,
  .pillar-grid,
  .solution-grid,
  .project-grid,
  .service-row,
  .process-grid,
  .package-grid,
  .testimonial-grid,
  .post-grid,
  .footer-cta,
  .footer-grid,
  .footer-bottom,
  .pillar-title,
  .service-card-grid,
  .inline-cta,
  .detail-hero-grid,
  .content-layout,
  .detail-aside,
  .gallery-grid,
  .article-byline,
  .article-share,
  .about-story-grid,
  .value-grid,
  .contact-layout,
  .form-grid
) > * {
  min-width: 0;
  max-width: 100%;
}

/* Mencegah teks, alamat web, dan kode panjang mendorong viewport. */
:where(h1, h2, h3, h4, p, li, blockquote, figcaption, address, .eyebrow, .project-detail-meta, .tag-list, .footer-bottom) {
  overflow-wrap: anywhere;
  word-break: normal;
}

:where(input, select, textarea, button) {
  min-width: 0;
  max-width: 100%;
}

:where(img, svg, video, iframe, embed, object, canvas) {
  max-width: 100%;
}

iframe,
video,
embed,
object {
  width: 100%;
}

.prose,
.article-prose,
.detail-copy,
.project-detail-copy,
.footer-brand,
.service-card,
.project-card,
.post-card,
.package-card,
.pillar-card,
.solution-card {
  min-width: 0;
  max-width: 100%;
}

.prose pre,
.prose table,
.article-prose pre,
.article-prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.prose code,
.article-prose code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.filter-tabs {
  max-width: 100%;
  flex-wrap: wrap;
}

.lightbox {
  max-width: 100vw;
}

@media (max-width: 760px) {
  .container {
    width: 100%;
    padding-inline: max(13px, env(safe-area-inset-left));
  }

  .nav-wrap,
  .site-footer .container {
    padding-left: max(13px, env(safe-area-inset-left));
    padding-right: max(13px, env(safe-area-inset-right));
  }

  .site-header,
  .hero-section,
  .page-hero,
  .detail-hero,
  .project-detail-hero,
  .article-header,
  .section,
  .site-footer {
    width: 100%;
    max-width: 100vw;
  }

  .main-nav {
    max-width: calc(100vw - 26px);
  }

  .brand-logo img {
    max-width: min(135px, 38vw);
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1,
  .project-detail-copy h1,
  .article-header h1,
  .section-heading h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-visual,
  .visual-window,
  .window-body,
  .dashboard-content,
  .dashboard-head,
  .dashboard-stats,
  .dashboard-chart {
    min-width: 0;
    max-width: 100%;
  }

  .visual-window {
    width: 100%;
  }

  .floating-card {
    max-width: calc(100% - 8px);
    min-width: 0;
  }

  .pillar-title {
    grid-template-columns: 28px 50px minmax(0, 1fr);
  }

  .service-row {
    grid-template-columns: 30px 44px minmax(0, 1fr);
  }

  .footer-grid,
  .footer-bottom,
  .footer-bottom div,
  .article-share,
  .hero-actions {
    max-width: 100%;
  }

  .article-share a,
  .article-share button,
  .hero-actions .button,
  .inline-cta .button,
  .footer-cta .button {
    white-space: normal;
    text-align: center;
  }

  .project-detail-meta {
    padding-inline: 2px;
  }

  .page-hero::before,
  .hero-aurora {
    max-width: 100vw;
  }
}

@media (max-width: 390px) {
  .nav-actions { gap: 7px; }
  .brand-logo img { max-width: 118px; }
  .icon-button,
  .menu-button { width: 37px; height: 37px; }

  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 3.55rem); }
  .page-hero h1 { font-size: 2.65rem; }
  .detail-copy h1 { font-size: 2.75rem; }
  .project-detail-copy h1 { font-size: 2.8rem; }
  .article-header h1 { font-size: 2.55rem; }

  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { padding-top: 11px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* =========================================================
   AUNFA V2.1.4 — Batas bawah halaman & tombol kembali ke atas
   ========================================================= */
html {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  overscroll-behavior-y: none;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background: var(--bg);
}

#main-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.site-footer {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  overflow: clip;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  background: var(--bg);
  contain: paint;
}

.site-footer .container,
.footer-bottom {
  margin-bottom: 0;
}

/* Tombol kecil yang tidak ikut menambah tinggi dokumen. */
.back-to-top {
  position: fixed;
  z-index: 90;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.9);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, bottom .22s ease, background .2s ease;
}

.back-to-top span {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
}

.back-to-top:hover {
  background: var(--surface-solid);
  transform: translateY(-2px) scale(1);
}

.back-to-top:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent);
  outline-offset: 3px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* Saat footer terlihat, tombol dinaikkan agar tidak menutupi tautan legal. */
.back-to-top.is-near-footer {
  bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px));
}

@media (max-width: 760px) {
  .site-footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .back-to-top {
    width: 37px;
    height: 37px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .back-to-top.is-near-footer {
    bottom: max(70px, calc(env(safe-area-inset-bottom) + 70px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top { transition: none; }
}
