:root {
  color-scheme: light;
  --paper: #fff8f3;
  --ink: #40336a;
  --muted: #6a608c;
  --soft: #f6efff;
  --surface: #fffaf6;
  --line: #eee5fb;
  --orange: #ffab6e;
  --pink: #ff93a3;
  --green: #7fe0a6;
  --accent: #ff6f91;
  --primary: #d63564;
  --white: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; }
h2 { margin-bottom: 24px; font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { margin-bottom: 12px; font-size: 1.3rem; }
.container { width: min(1184px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 12px; }
.skip-link:focus { top: 16px; }
.anchor { position: absolute; top: 0; left: 0; width: 0; height: 0; overflow: hidden; }

/* Bahasa: ID adalah bawaan; EN tampil saat salah satu anchor #en* menjadi target. Aturan memakai [lang] agar menang atas display bawaan
   komponen (mis. .nav-links), dan tidak menyentuh display alami elemen yang sedang tampil. Tanpa :has() kedua bahasa tampil (tidak ada yang hilang). */
body:not(:has(#en:target, #en-features:target, #en-join:target, #en-contact:target)) .lang-en[lang] { display: none; }
body:has(#en:target, #en-features:target, #en-join:target, #en-contact:target) .lang-id[lang] { display: none; }
body:not(:has(#en:target, #en-features:target, #en-join:target, #en-contact:target)) .language-switch a[href="#id"],
body:has(#en:target, #en-features:target, #en-join:target, #en-contact:target) .language-switch a[href="#en"] { background: var(--ink); color: #fff; }

.site-header { position: sticky; z-index: 20; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { border-radius: 14px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.2rem; letter-spacing: -.04em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.language-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.language-switch a { min-width: 36px; padding: 4px 7px; border-radius: 999px; text-align: center; text-decoration: none; font-size: .75rem; font-weight: 800; }
.language-switch a:hover { background: var(--soft); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border: 1px solid #b92750; border-radius: 17px; background: var(--primary); color: #fff; box-shadow: 0 4px 0 #a92b4e; text-decoration: none; font-weight: 800; transition: transform 140ms ease, box-shadow 140ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #a92b4e; }
.button:active { transform: translateY(2px); box-shadow: 0 1px 0 #a92b4e; }
.button-small { min-height: 44px; padding-inline: 18px; border-radius: 14px; font-size: .9rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.text-link { font-weight: 750; text-decoration: none; }
.text-link:hover { color: var(--primary); }
.hero { padding: 72px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.eyebrow { margin-bottom: 20px; color: var(--primary); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(3.6rem, 7.6vw, 6.6rem); letter-spacing: -.045em; }
.hero-lead { max-width: 580px; margin-bottom: 0; font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.55; }
.hero-note { margin: 28px 0 0; color: var(--muted); font-size: .9rem; }
.hero-art { padding: 18px; border: 1px solid #e8dcf7; border-radius: 32px; background: var(--soft); box-shadow: inset 0 2px 0 #fff; overflow: hidden; }
.hero-art img { width: 100%; border-radius: 22px; box-shadow: 0 18px 36px rgba(64, 51, 106, .16); }
.section { padding: 96px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.section-tint { background: var(--surface); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 56px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 460px; margin-bottom: 8px; color: var(--muted); font-size: 1.05rem; }
.showcase { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; margin-bottom: 20px; }
.showcase figure { margin: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.showcase img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.showcase figcaption { padding: 24px; }
.showcase figcaption strong, .showcase figcaption span { display: block; }
.showcase figcaption strong { margin-bottom: 8px; font-size: 1.2rem; }
.showcase figcaption span { color: var(--muted); font-size: .92rem; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feature { grid-column: span 5; padding: 30px 32px 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.feature-wide { grid-column: span 7; background: var(--soft); }
.feature:nth-child(2) { background: #fff1e5; }
.feature:nth-child(3) { background: #edfaf2; }
.feature p { max-width: 520px; margin-bottom: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 0 24px; border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li > span { display: block; margin-bottom: 40px; color: var(--primary); font-size: .85rem; font-weight: 800; letter-spacing: .08em; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.contact-section { padding-block: 80px; }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 72px; align-items: end; scroll-margin-top: 96px; }
.contact-grid h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.contact-grid p { color: var(--muted); }
.contact-email { display: inline-block; margin-bottom: 20px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; }
.contact-links p { margin-bottom: 0; }
.cta-band { margin-block: 24px 96px; padding: 56px; border-radius: 32px; background: #ffe7d5; text-align: center; }
.cta-band h2 { margin-bottom: 32px; }
.site-footer { padding: 64px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-grid p { margin-top: 20px; margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav strong { margin-bottom: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-grid nav a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
@media (max-width: 1050px) {
  html { scroll-padding-top: 132px; }
  .header-inner { flex-wrap: wrap; row-gap: 0; gap: 12px 16px; padding-top: 10px; }
  .header-actions { margin-left: auto; }
  /* Menu bagian: baris sendiri yang bisa digeser, tanpa JavaScript dan tanpa menu lipat. */
  .nav-links { order: 3; flex: 1 0 100%; justify-content: flex-start; gap: 22px; margin-left: 0; padding: 4px 0 12px; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .hero-grid { gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }
  .container { width: min(100% - 32px, 1184px); }
  .header-inner { min-height: 0; padding-top: 8px; }
  .brand small { display: none; }
  .header-actions { gap: 8px; }
  .button-small { min-height: 40px; padding-inline: 13px; }
  .language-switch a { min-width: 32px; }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .hero-art { border-radius: 26px; padding: 12px; }
  .hero-art img { width: 100%; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading p { margin-bottom: 0; }
  .showcase, .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature-wide { grid-column: auto; padding: 26px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li, .steps li:nth-child(3) { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 0; }
  .steps li > span { margin-bottom: 12px; }
  .cta-band { margin-bottom: 64px; padding: 40px 24px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 390px) {
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 1.05rem; }
  .button-small { padding-inline: 11px; }
  .button-row { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
