/* Yho Apps — situs. Warna dan ukuran mengikuti tema aplikasi (crates/tk-ui/ui/theme.slint):
   datar, tanpa sudut membulat, garis 1px, grid tipis di latar seperti GridBackground. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff") format("woff"); }

:root {
  --bg: #060a12;
  --card: #0a0e1a;
  --surface: #111827;
  --line: #1e2d40;
  --line-strong: #2b3d55;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-press: #2563eb;
  --sky: #38bdf8;
  --ink: #f3f4f6;
  --ink-strong: #e5e7eb;
  --ink-body: #d1d5db;
  --ink-muted: #9ca3af;
  --ink-dim: #6b7280;
  --grid: rgba(59, 130, 246, 0.07);
  --amber: #fbbf24;
  --green: #4ade80;
  --shot-shadow: rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f1f5f9;
    --card: #ffffff;
    --surface: #f8fafc;
    --line: #cbd5e1;
    --line-strong: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #3b82f6;
    --primary-press: #1d4ed8;
    --sky: #0284c7;
    --ink: #0f172a;
    --ink-strong: #1e293b;
    --ink-body: #334155;
    --ink-muted: #475569;
    --ink-dim: #64748b;
    --grid: rgba(59, 130, 246, 0.06);
    --amber: #b45309;
    --green: #15803d;
    --shot-shadow: rgba(15, 23, 42, 0.18);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #f1f5f9;
  --card: #ffffff;
  --surface: #f8fafc;
  --line: #cbd5e1;
  --line-strong: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --primary-press: #1d4ed8;
  --sky: #0284c7;
  --ink: #0f172a;
  --ink-strong: #1e293b;
  --ink-body: #334155;
  --ink-muted: #475569;
  --ink-dim: #64748b;
  --grid: rgba(59, 130, 246, 0.06);
  --amber: #b45309;
  --green: #15803d;
  --shot-shadow: rgba(15, 23, 42, 0.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "calt", "kern";
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, .link { color: var(--primary); }
p a:hover, li a:hover, .link:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
code, .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.92em; }
code { background: var(--surface); border: 1px solid var(--line); padding: 0.05em 0.35em; color: var(--ink-strong); }

.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Grid tipis seperti latar isi aplikasi. */
.gridbg {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}

/* ── Header ── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; color: var(--ink-muted); font-size: 14px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.top .tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; min-width: 36px; padding: 0 10px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-muted); font: 500 13px/1 "Inter", sans-serif; cursor: pointer;
}
.iconbtn:hover { color: var(--ink); border-color: var(--line-strong); }
.iconbtn svg { width: 16px; height: 16px; }
.theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-light { display: block; }
:root[data-theme="light"] .theme-icon-dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-icon-light { display: block; }
  :root:not([data-theme]) .theme-icon-dark { display: none; }
}

.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 44px; width: 220px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 6px;
}
.menu-panel a { padding: 10px 12px; color: var(--ink-body); font-size: 15px; }
.menu-panel a:hover { background: var(--surface); color: var(--ink); }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; }
  .top .btn-sm-hide { display: none; }
}

/* ── Tombol ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; font: 600 15px/1 "Inter", sans-serif; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { background: var(--primary-press); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--surface); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* ── Umum ── */
.caps {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
}
.caps::before { content: ""; width: 8px; height: 8px; background: var(--primary); }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section-head p { font-size: 18px; color: var(--ink-muted); }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } .section-head p { font-size: 16px; } }

.muted { color: var(--ink-muted); }
.dim { color: var(--ink-dim); }
.tnum { font-variant-numeric: tabular-nums; }

/* Bingkai tangkapan layar: garis 1px dan bayangan keras (datar). */
.shot { border: 1px solid var(--line-strong); background: var(--card); box-shadow: 0 24px 60px -24px var(--shot-shadow); }
.shot picture, .shot img { display: block; width: 100%; }

/* ── Hero ── */
.hero { position: relative; padding: 48px 0 88px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-copy { display: grid; gap: 24px; max-width: 860px; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 .soft { color: var(--ink-dim); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-muted); max-width: 680px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-meta { font-size: 13px; color: var(--ink-dim); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cta-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cta-meta span + span::before { content: ""; width: 3px; height: 3px; background: var(--ink-dim); margin-right: 8px; }
.hero-shot { position: relative; z-index: 1; margin-top: 64px; }
@media (max-width: 640px) { .hero { padding-top: 28px; padding-bottom: 48px; } .hero-shot { margin-top: 36px; } .btn { width: 100%; } }

/* Mosaik kotak dari logo Yho Apps (hiasan tepi hero). */
.mosaic { position: absolute; right: 24px; top: 40px; display: grid; grid-template-columns: repeat(4, 22px); gap: 6px; opacity: 0.9; }
.mosaic i { width: 22px; height: 22px; display: block; }
.mosaic i:nth-child(1) { background: #60a5fa; opacity: 0.35; }
.mosaic i:nth-child(2) { background: #93c5fd; opacity: 0.79; }
.mosaic i:nth-child(3) { background: #3b82f6; opacity: 0.60; }
.mosaic i:nth-child(4) { background: #60a5fa; opacity: 0.41; }
.mosaic i:nth-child(5) { background: #38bdf8; opacity: 0.85; }
.mosaic i:nth-child(6) { background: #3b82f6; opacity: 0.66; }
.mosaic i:nth-child(7) { background: #2563eb; opacity: 0.47; }
.mosaic i:nth-child(8) { background: #1d4ed8; opacity: 0.91; }
.mosaic i:nth-child(9) { background: #0ea5e9; opacity: 0.72; }
.mosaic i:nth-child(10) { background: #60a5fa; opacity: 0.54; }
.mosaic i:nth-child(11) { background: #2563eb; opacity: 0.35; }
.mosaic i:nth-child(12) { background: #1e40af; opacity: 0.79; }
.mosaic i:nth-child(13) { background: #7dd3fc; opacity: 0.60; }
.mosaic i:nth-child(14) { background: #3b82f6; opacity: 0.41; }
.mosaic i:nth-child(15) { background: #1d4ed8; opacity: 0.85; }
.mosaic i:nth-child(16) { background: #1e40af; opacity: 0.66; }
@media (max-width: 1100px) { .mosaic { display: none; } }

/* ── Daftar aplikasi: empat kolom per tahap kerja ── */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.cat h3 { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0; padding: 0 2px 12px; margin-bottom: 12px; border-bottom: 2px solid var(--line); }
.stage-n { font-size: 12px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.tiles { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (max-width: 1100px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 640px) { .stages { grid-template-columns: 1fr; } }
.tile {
  display: grid; gap: 6px; align-content: start;
  padding: 22px; background: var(--card); border: 1px solid var(--line); transition: border-color .15s, background .15s, transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.tile:hover { border-color: var(--primary); background: var(--surface); transform: translateY(-4px); box-shadow: 0 18px 36px -22px var(--shot-shadow); }
.tile img { width: 44px; height: 44px; margin-bottom: 8px; }
.tile-name { font-size: 12px; font-weight: 500; color: var(--ink-dim); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* Tanda akses: Gratis (akun Yho) atau Pro (Yho Apps Pro). */
.acc { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; padding: 4px 6px; }
.acc.free { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.acc.pro { color: var(--primary); background: color-mix(in srgb, var(--primary) 14%, transparent); }
.acc-line { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.acc-line a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.acc-line a:hover { color: var(--primary); }
.tile b { color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.tile p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }

/* ── Langkah ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.step { padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--card); }
.step + .step { border-left: 1px solid var(--line); }
.step .n { width: 32px; height: 32px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid var(--line); } }

/* ── Sorotan aplikasi ── */
.spot { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.spot + .spot { margin-top: 96px; }
.spot.flip { grid-template-columns: 7fr 5fr; }
.spot.flip .spot-copy { order: 2; }
.spot-copy { display: grid; gap: 18px; }
.spot-copy .app-name { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.spot-copy .app-name img { width: 36px; height: 36px; }
.spot-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.spot-copy > p { color: var(--ink-muted); font-size: 17px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; font-size: 15px; color: var(--ink-body); }
/* Ikon centang: Lucide "check" seperti di situs TK Metadata, lewat mask SVG
   supaya warnanya ikut tema (CSP img-src mengizinkan data:). */
.checks li::before {
  content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan.best .checks li::before { background: var(--primary); }
@media (max-width: 900px) { .spot, .spot.flip { grid-template-columns: 1fr; gap: 28px; } .spot.flip .spot-copy { order: 0; } .spot + .spot { margin-top: 64px; } }

/* ── Claude ── */
.claude-band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--card); }
.claude-band > div { padding: 40px; display: grid; gap: 16px; align-content: start; }
.claude-band > div + div { border-left: 1px solid var(--line); }
.chat { display: grid; gap: 12px; font-size: 15px; }
.chat .you, .chat .ai { padding: 14px 16px; border: 1px solid var(--line); }
.chat .you { background: var(--surface); color: var(--ink); justify-self: end; max-width: 90%; }
.chat .ai { color: var(--ink-body); }
.chat .tool { font-size: 12px; color: var(--ink-dim); display: flex; gap: 8px; align-items: center; }
.chat .tool::before { content: ""; width: 6px; height: 6px; background: var(--primary); }
@media (max-width: 900px) { .claude-band { grid-template-columns: 1fr; } .claude-band > div + div { border-left: 0; border-top: 1px solid var(--line); } .claude-band > div { padding: 24px; } }

/* ── Harga ── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan { background: var(--card); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.best { border-color: var(--primary); }
.plan .tag { position: absolute; top: -1px; right: -1px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; }
.plan h3 { font-size: 18px; }
.plan .tier { font-size: 12px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; color: var(--ink); }
.plan .price b { font-size: clamp(30px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.03em; }
.plan .price span { color: var(--ink-muted); font-size: 14px; white-space: nowrap; }
.plan .note { color: var(--ink-muted); font-size: 14px; min-height: 22px; }
/* Tombol semua paket sejajar di bawah. */
.plan .btn { width: 100%; margin-top: auto; }
.enterprise { margin-top: 12px; border: 1px solid var(--line); background: var(--card); padding: 20px 28px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.enterprise p { color: var(--ink-muted); font-size: 15px; }
.enterprise b { color: var(--ink); }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; color: var(--ink); font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 2px; background: var(--ink-muted); box-shadow: 0 0 0 0 transparent; }
.faq summary::before { content: ""; position: absolute; right: 13px; top: calc(50% - 5px); width: 2px; height: 12px; background: var(--ink-muted); }
.faq details[open] summary::before { display: none; }
.faq .a { padding: 0 0 22px; color: var(--ink-muted); max-width: 760px; display: grid; gap: 10px; }

/* ── Ajakan akhir ── */
.final { text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.final h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.final p { color: var(--ink-muted); margin-top: 10px; }
@media (max-width: 900px) { .final { grid-template-columns: 1fr; } }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); background: var(--card); padding: 48px 0 32px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-dim); margin-bottom: 12px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-muted); }
.foot a:hover { color: var(--ink); }
.foot .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-dim); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 900px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* ── Halaman dalam ── */
.page-head { padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.page-head .lead { color: var(--ink-muted); font-size: 18px; max-width: 720px; }
.crumbs { font-size: 13px; color: var(--ink-dim); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }

/* Unduh: satu tombol besar, tangkapan layar, tiga langkah. */
.dl-hero { padding: 48px 0 88px; text-align: center; border-bottom: 1px solid var(--line); }
.dl-hero .wrap { display: grid; justify-items: center; gap: 18px; }
.dl-logo { width: 72px; height: 72px; }
.dl-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.035em; line-height: 1.02; }
.dl-hero .lead { color: var(--ink-muted); font-size: 18px; max-width: 560px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; margin-top: 8px; }
.dl-meta { font-size: 14px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.dl-alt { font-size: 14px; color: var(--ink-muted); }
.dl-shot { margin-top: 56px; max-width: 1080px; display: block; }
.dl-help { margin-top: 32px; border: 1px solid var(--line); background: var(--card); }
.dl-help summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 22px; position: relative; color: var(--ink); font-weight: 600; }
.dl-help summary::-webkit-details-marker { display: none; }
.dl-help summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 2px; background: var(--ink-muted); }
.dl-help summary::before { content: ""; position: absolute; right: 27px; top: calc(50% - 5px); width: 2px; height: 12px; background: var(--ink-muted); }
.dl-help[open] summary::before { display: none; }
.dl-help p { padding: 0 22px 20px; color: var(--ink-muted); }
@media (max-width: 640px) { .dl-hero { padding-top: 28px; padding-bottom: 48px; } .dl-hero .lead { font-size: 16px; } .dl-shot { margin-top: 40px; } }

/* Halaman aplikasi */
.app-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.app-hero img { width: 88px; height: 88px; }
.app-hero .caps { margin-bottom: 6px; }
.app-claim { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); margin-top: 16px; }
.feat div { padding: 22px 24px; background: var(--card); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 10px 1fr; gap: 14px; color: var(--ink-body); font-size: 15px; }
.feat div::before { content: ""; width: 10px; height: 10px; margin-top: 7px; background: var(--primary); }
.feat div:nth-child(odd) { border-right: 1px solid var(--line); }
.feat div:nth-last-child(-n+2):nth-child(odd), .feat div:last-child { border-bottom: 0; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } .feat div:nth-child(odd) { border-right: 0; } .feat div:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--line); } }
.needs-line { margin-top: 20px; font-size: 14px; color: var(--ink-muted); }
.needs-line b { color: var(--ink-body); font-weight: 600; }
.app-note { margin-top: 10px; font-size: 13px; color: var(--ink-dim); max-width: 760px; }
.others { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.others a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink-body); font-size: 14px; }
.others a { transition: border-color .15s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.others a:hover { border-color: var(--primary); transform: translateY(-2px); }
.others img { width: 28px; height: 28px; }

/* Catatan rilis */
.rel { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.rel:first-child { padding-top: 0; }
.rel h2 { font-size: 28px; }
.rel .when { color: var(--ink-dim); font-size: 14px; margin-top: 6px; }
.rel .apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rel .apps span { font-size: 12px; border: 1px solid var(--line); padding: 3px 8px; color: var(--ink-muted); }
.rel ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-body); }
@media (max-width: 760px) { .rel { grid-template-columns: 1fr; gap: 16px; } }

/* Prosa (halaman Claude) */
.prose { max-width: 860px; display: grid; gap: 18px; font-size: 17px; }
.prose h2 { font-size: 26px; margin-top: 24px; }
.prose ol, .prose ul { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.prose p, .prose li { color: var(--ink-body); }
.legal { max-width: 780px; font-size: 16px; gap: 14px; }
.legal h2 { font-size: 20px; margin-top: 20px; }
.legal a { color: var(--primary); }
.legal-date { font-size: 14px; }
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.examples div { border: 1px solid var(--line); background: var(--card); padding: 16px 18px; font-size: 15px; color: var(--ink-body); }
@media (max-width: 640px) { .examples { grid-template-columns: 1fr; } }

.notfound { padding: 140px 0; display: grid; gap: 20px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.signin { padding: 120px 24px 140px; max-width: 560px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.signin h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: 8px; }
.signin .cta { margin-top: 8px; }
.signin [hidden] { display: none !important; }
.signin-hint { font-size: 13px; color: var(--ink-muted); max-width: 420px; }

/* Kelas pengganti gaya inline (CSP tanpa 'unsafe-inline'). */
.foot-about { margin-top: 12px; max-width: 340px; }
.facts-wrap { padding-top: 48px; }
.section.flush { border-top: 0; }
.section.tight { padding-top: 48px; }
.band-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.sub-title { font-size: 24px; margin: 48px 0 8px; }
.steps.one { grid-template-columns: 1fr; }
.steps.one .step + .step { border-left: 0; border-top: 1px solid var(--line); }

/* Lencana atribusi Slint (wajib di halaman unduh, lisensi Royalty-free 2.0). */
.slint-badge { display: inline-flex; align-items: center; opacity: 0.85; }
.slint-badge:hover { opacity: 1; }
.legal-end { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.only-light { display: none; }
:root[data-theme="light"] .only-light { display: block; }
:root[data-theme="light"] .only-dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .only-light { display: block; }
  :root:not([data-theme]) .only-dark { display: none; }
}

/* Efek 3D tangkapan layar: miring mengikuti kursor, dengan bayangan yang ikut
   bergeser (tanpa kilau cahaya). Diaktifkan site.js hanya untuk mouse (bukan
   layar sentuh) dan tidak untuk pengguna yang memilih gerak dikurangi. Hanya
   transform dan opacity, jadi tetap halus. */
.shot.tilt {
  position: relative;
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ts, 1));
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .7s cubic-bezier(.2, .8, .2, 1);
}
.shot.tilt.is-tilting {
  --ts: 1.015;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
  will-change: transform;
  box-shadow: calc(var(--px, 0) * -26px) calc(40px + var(--py, 0) * -18px) 80px -28px var(--shot-shadow);
}

/* ── Animasi ──
   Kelas .anim dipasang skrip tema di <head> hanya kalau JavaScript jalan dan
   pengguna tidak memilih "kurangi gerakan"; tanpa itu semua isi langsung
   tampil. Hanya opacity dan transform supaya tetap halus.
   Hero: judul, teks, tombol naik berurutan, lalu tangkapan layar Yho Apps
   terangkat dari posisi miring. Saat menggulir: judul bagian naik pelan,
   kolom alur kerja dan langkah muncul berurutan, tangkapan layar sorotan
   masuk dari samping, dan percakapan Claude muncul satu per satu. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
@keyframes yho-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes yho-shot { from { opacity: 0; transform: perspective(1600px) rotateX(18deg) translateY(80px) scale(.95); } }
@keyframes yho-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes yho-twinkle { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.45); } }
.anim .hero-copy > *, .anim .page-head .wrap > *, .anim .dl-hero .wrap:first-child > * { animation: yho-rise 1s var(--ease-out) backwards; }
.anim .hero-copy > :nth-child(2), .anim .page-head .wrap > :nth-child(2), .anim .dl-hero .wrap:first-child > :nth-child(2) { animation-delay: 0.09s; }
.anim .hero-copy > :nth-child(3), .anim .page-head .wrap > :nth-child(3), .anim .dl-hero .wrap:first-child > :nth-child(3) { animation-delay: 0.18s; }
.anim .hero-copy > :nth-child(4), .anim .page-head .wrap > :nth-child(4), .anim .dl-hero .wrap:first-child > :nth-child(4) { animation-delay: 0.27s; }
.anim .hero-copy > :nth-child(5), .anim .page-head .wrap > :nth-child(5), .anim .dl-hero .wrap:first-child > :nth-child(5) { animation-delay: 0.36s; }
.anim .hero-copy > :nth-child(6), .anim .page-head .wrap > :nth-child(6), .anim .dl-hero .wrap:first-child > :nth-child(6) { animation-delay: 0.45s; }
.anim .hero-shot, .anim .dl-shot { animation: yho-shot 1.4s var(--ease-out) .3s backwards; transform-origin: 50% 0; }
.anim .mosaic i { animation-name: yho-pop, yho-twinkle; animation-timing-function: var(--ease-out), ease-in-out; animation-fill-mode: backwards, none; animation-iteration-count: 1, infinite; }
.anim .mosaic i:nth-child(1) { animation-delay: 0.450s, 1.6s; animation-duration: .7s, 5s; }
.anim .mosaic i:nth-child(2) { animation-delay: 0.495s, 2.3s; animation-duration: .7s, 6s; }
.anim .mosaic i:nth-child(3) { animation-delay: 0.540s, 3.0s; animation-duration: .7s, 7s; }
.anim .mosaic i:nth-child(4) { animation-delay: 0.585s, 3.7s; animation-duration: .7s, 8s; }
.anim .mosaic i:nth-child(5) { animation-delay: 0.630s, 4.4s; animation-duration: .7s, 9s; }
.anim .mosaic i:nth-child(6) { animation-delay: 0.675s, 1.6s; animation-duration: .7s, 10s; }
.anim .mosaic i:nth-child(7) { animation-delay: 0.720s, 2.3s; animation-duration: .7s, 5s; }
.anim .mosaic i:nth-child(8) { animation-delay: 0.765s, 3.0s; animation-duration: .7s, 6s; }
.anim .mosaic i:nth-child(9) { animation-delay: 0.810s, 3.7s; animation-duration: .7s, 7s; }
.anim .mosaic i:nth-child(10) { animation-delay: 0.855s, 4.4s; animation-duration: .7s, 8s; }
.anim .mosaic i:nth-child(11) { animation-delay: 0.900s, 1.6s; animation-duration: .7s, 9s; }
.anim .mosaic i:nth-child(12) { animation-delay: 0.945s, 2.3s; animation-duration: .7s, 10s; }
.anim .mosaic i:nth-child(13) { animation-delay: 0.990s, 3.0s; animation-duration: .7s, 5s; }
.anim .mosaic i:nth-child(14) { animation-delay: 1.035s, 3.7s; animation-duration: .7s, 6s; }
.anim .mosaic i:nth-child(15) { animation-delay: 1.080s, 4.4s; animation-duration: .7s, 7s; }
.anim .mosaic i:nth-child(16) { animation-delay: 1.125s, 1.6s; animation-duration: .7s, 8s; }
.anim [data-reveal], .anim [data-stagger] > * {
  opacity: 0;
  transform: translate(var(--tx0, 0px), var(--ty0, 28px));
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.anim [data-reveal="side"] { --tx0: 64px; --ty0: 0px; }
.anim .spot.flip [data-reveal="side"] { --tx0: -64px; }
.anim [data-reveal].in, .anim [data-stagger].in > * { opacity: 1; transform: none; }

/* ── Penjelasan lengkap aplikasi (TK Metadata) ── */
.agencies-band { padding: 40px 0; }
.agencies-title { text-align: center; font-size: 14px; color: var(--ink-dim); margin-bottom: 18px; }
.agencies { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.agencies li { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-muted); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.four { grid-template-columns: 1fr 1fr; } .steps.four .step:nth-child(3) { border-left: 0; } .steps.four .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .steps.four { grid-template-columns: 1fr; } .steps.four .step + .step { border-left: 0; border-top: 1px solid var(--line); } }
.video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-strong); background: var(--card); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity .3s, transform .6s var(--ease-out, ease); }
.video:hover img { opacity: 0.7; transform: scale(1.02); }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; background: var(--primary); color: #fff; font-weight: 600; font-size: 16px; }
.video .play svg { width: 20px; height: 20px; fill: currentColor; }
.video-frame { aspect-ratio: 16 / 9; border: 1px solid var(--line-strong); background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sub-title.flush-top { margin-top: 0; margin-bottom: 16px; }
.types { display: grid; border: 1px solid var(--line); }
.types > * { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 22px; background: var(--card); }
.types > * + * { border-top: 1px solid var(--line); }
.types b { color: var(--ink); font-weight: 600; }
.types span { color: var(--ink-muted); font-size: 15px; text-align: right; }
.types a:hover { background: var(--surface); }
.types a:hover b { color: var(--primary); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 40px; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp { border: 1px solid var(--line); background: var(--card); padding: 28px; display: grid; gap: 16px; align-content: start; }
.cmp h3 { font-size: 19px; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cmp li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; color: var(--ink-muted); }
.cmp li::before { content: ""; width: 10px; height: 2px; margin-top: 11px; background: var(--ink-dim); }
.cmp.good { border-color: var(--primary); }
.cmp.good li { color: var(--ink-body); }
.cmp.good li::before { height: 10px; margin-top: 7px; background: var(--primary); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.providers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.providers div { border: 1px solid var(--line); background: var(--card); padding: 20px; display: grid; gap: 6px; align-content: start; }
.providers b { color: var(--ink); font-weight: 600; }
.providers span { color: var(--ink-muted); font-size: 14px; }
@media (max-width: 900px) { .providers { grid-template-columns: 1fr 1fr; } }
