/* =========================================================================
   PRINTIFUL — Landing page + Studio desain
   Tema: elegan, bersih, higienis, ramah anak
   ========================================================================= */
:root {
  --ink: #12264A;
  --ink-2: #3B4A6B;
  --muted: #66769A;
  --line: #E1E8F2;
  --bg: #F5F9FD;
  --bg-2: #EAF3FB;
  --card: #FFFFFF;
  --brand: #0A84C6;
  --brand-d: #07689F;
  --brand-2: #00B8D9;
  --green: #4C9A2A;
  --green-d: #2F7A14;
  --sun: #FFC845;
  --coral: #FF6F59;
  --danger: #C8283C;
  --radius: 20px;
  --radius-s: 12px;
  --shadow-s: 0 1px 2px rgba(18, 38, 74, .06), 0 4px 14px -6px rgba(18, 38, 74, .12);
  --shadow: 0 1px 2px rgba(18, 38, 74, .06), 0 18px 40px -18px rgba(18, 38, 74, .28);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(10, 132, 198, .55); outline-offset: 2px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.22em; }
em.accent { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--brand); }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px;
  border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(18, 38, 74, .6); }
.btn-primary:hover { background: #0c1b38; box-shadow: 0 12px 24px -10px rgba(18, 38, 74, .7); transform: translateY(-1px); }
.btn-brand { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 10px 22px -10px rgba(10, 132, 198, .8); }
.btn-brand:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(10, 132, 198, .85); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c4d2e6; background: #f9fbfe; }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); transition: background .15s, border-color .15s, color .15s;
}
.icon-btn:hover { background: var(--bg-2); border-color: #c4d2e6; color: var(--ink); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }
.icon-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- navigasi ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(245, 249, 253, .82); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(225, 232, 242, .8);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.28rem; letter-spacing: -.03em; }
.logo svg { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 6px 14px -6px rgba(10, 132, 198, .7); }
.logo span b { color: var(--brand); font-weight: 700; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: .5em .85em; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; pointer-events: none; }
.hero::before { width: 520px; height: 520px; background: #bfeaf6; top: -160px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: #dff0c8; bottom: -160px; left: -140px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55em; padding: .42em .95em; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-s);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(76, 154, 42, .18); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); margin: 18px 0 18px; letter-spacing: -.035em; }
.hero p.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts b { font-size: 1.05rem; letter-spacing: -.02em; }
.hero-facts span { font-size: .78rem; color: var(--muted); }

.hero-grid > * { min-width: 0; }
.hero-visual { position: relative; }
.mock {
  position: relative; background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px 14px 18px;
  transform: rotate(-1.2deg);
}
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 2px 6px 12px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dbe4f0; }
.mock-bar i:nth-child(1) { background: #ff8e82; } .mock-bar i:nth-child(2) { background: #ffd36a; } .mock-bar i:nth-child(3) { background: #7fd48b; }
.mock-bar span { margin-left: auto; font-size: .72rem; color: var(--muted); font-weight: 500; }
.mock-strips { display: grid; gap: 10px; background: linear-gradient(#eef4fb, #e6eef8); border-radius: 16px; padding: 14px; overflow: hidden; }
.mock-strips img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 6px 16px -8px rgba(18, 38, 74, .45); background: #fff; }
.mock-strips .s2 { transform: translateX(-4%); } .mock-strips .s3 { transform: translateX(3%); }
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 13px; box-shadow: var(--shadow);
  font-size: .78rem; display: flex; gap: 10px; align-items: center; z-index: 2;
}
.float-chip b { font-weight: 600; }
.chip-code { left: -22px; bottom: 22px; animation: bob 5.5s ease-in-out infinite; }
.chip-code code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .8rem; background: var(--bg-2); padding: 3px 8px; border-radius: 8px; color: var(--brand-d); }
.chip-palette { right: -14px; top: 48px; animation: bob 6.5s ease-in-out infinite reverse; }
.swatches { display: inline-flex; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.swatches i:first-child { margin-left: 0; }
.cursor-tip { position: absolute; right: 18%; bottom: -16px; z-index: 3; display: flex; align-items: flex-start; gap: 4px; animation: drift 5s ease-in-out infinite; }
.cursor-tip svg { width: 28px; height: 28px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.cursor-tip span { background: var(--ink); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; font-weight: 500; margin-top: 18px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-26px, -8px); } }

/* ---------- section umum ---------- */
section { position: relative; }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-alt { background: #fff; border-block: 1px solid var(--line); }
.sec-head { max-width: 46rem; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.04rem; }

/* fitur */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-s); transition: transform .25s ease, box-shadow .25s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ficon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; font-size: 1.35rem; }
.feat:nth-child(1) .ficon { background: linear-gradient(135deg, #00B8D9, #0A84C6); }
.feat:nth-child(2) .ficon { background: linear-gradient(135deg, #7CC043, #3F9A2A); }
.feat:nth-child(3) .ficon { background: linear-gradient(135deg, #FFC845, #F58220); }
.feat:nth-child(4) .ficon { background: linear-gradient(135deg, #FF8A70, #E24C8B); }
.feat:nth-child(5) .ficon { background: linear-gradient(135deg, #7B61D1, #4B3A9E); }
.feat:nth-child(6) .ficon { background: linear-gradient(135deg, #1E3A6E, #12264A); }
.feat h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: .94rem; }

/* galeri desain */
.designs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.dcard { grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .25s, box-shadow .25s; }
.dcard:nth-child(n+4) { grid-column: span 3; }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dthumb { background: linear-gradient(#f0f6fc, #e4edf7); padding: 24px 0; display: block; position: relative; overflow: hidden; min-height: 118px; }
.dthumb img { display: block; width: 300%; max-width: none; height: auto; margin-left: 16px; background: #fff; box-shadow: 0 8px 20px -10px rgba(18, 38, 74, .5); transition: transform 8s cubic-bezier(.35, 0, .25, 1); }
.dthumb::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 56px; background: linear-gradient(90deg, rgba(228, 237, 247, 0), #e4edf7 85%); pointer-events: none; }
.dthumb .pan-hint { position: absolute; left: 14px; bottom: 6px; font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; z-index: 1; }
.dcard:hover .dthumb img, .dcard:focus-within .dthumb img { transform: translateX(-66%); }
.dcard.is-v .dthumb { display: grid; place-items: center; padding: 22px 18px; }
.dcard.is-v .dthumb::after, .dcard.is-v .dthumb .pan-hint { display: none; }
.dcard.is-v .dthumb img { width: auto; max-width: 100%; max-height: 220px; margin: 0; border-radius: 4px; transform: none !important; }
.dbody { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dbody h3 { font-size: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .72rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: var(--bg-2); color: var(--brand-d); }
.tag.g { background: #e6f3dc; color: var(--green-d); } .tag.y { background: #fff1c9; color: #8a5a00; }
.dbody p { font-size: .9rem; color: var(--ink-2); flex: 1; }

/* ---------- STUDIO ---------- */
.studio { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); border-block: 1px solid var(--line); }
.studio-shell { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.studio-canvas { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.studio-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfdff; }
.studio-toolbar .sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.studio-toolbar { gap: 6px; }
.studio-toolbar .dname { font-weight: 600; font-size: .95rem; margin-right: auto; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; min-width: 120px; }
.studio-toolbar .dname small { font-weight: 500; color: var(--muted); font-size: .72rem; }
.studio-toolbar .icon-btn { width: 34px; height: 34px; }
.studio-toolbar .toggle { padding: 5px 9px; }
.zoom-val { min-width: 56px; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.toggle { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 500; color: var(--ink-2); cursor: pointer; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; user-select: none; }
.toggle input { accent-color: var(--brand); width: 15px; height: 15px; margin: 0; }
.toggle:hover { background: var(--bg-2); }

.overview-wrap { padding: 10px 14px 0; background: #fbfdff; }
.overview { display: block; width: 100%; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.canvas-scroll {
  position: relative; overflow: auto; height: 340px; background: #e9f0f8;
  background-image: radial-gradient(#d3dfee 1px, transparent 1.2px); background-size: 14px 14px;
  overscroll-behavior: contain; padding: 0;
}
.canvas-inner { margin: 24px; box-shadow: 0 10px 28px -10px rgba(18, 38, 74, .45); background: #fff; position: relative; flex: none; }
.canvas-scroll { display: block; }
.strip-svg { display: block; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; }
.strip-svg .blk:not([data-locked]) { touch-action: none; }
.strip-svg .blk { cursor: grab; }
.strip-svg .blk[data-locked] { cursor: not-allowed; }
.strip-svg.is-dragging .blk, .strip-svg.is-dragging { cursor: grabbing; }
.strip-svg .blk:not([data-locked]):hover > .hit { fill: #0A84C6; fill-opacity: .08; }
.strip-svg.sim-print { filter: saturate(.88) contrast(.95) brightness(.985) sepia(.05); }
.studio-status { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--line); background: #fbfdff; font-size: .78rem; color: var(--muted); min-height: 40px; }
.studio-status b { color: var(--ink-2); font-weight: 600; }
.studio-status .warn { color: var(--danger); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.studio-status .ok { color: var(--green-d); font-weight: 600; }
.studio-hint { margin-left: auto; }
.canvas-body { display: block; min-width: 0; }
.studio-canvas.is-v .canvas-body { display: flex; }
.studio-canvas.is-v .canvas-scroll { height: 560px; flex: 1; min-width: 0; }
.studio-canvas.is-v .overview-wrap { flex: none; width: 66px; height: 560px; padding: 12px 12px; border-right: 1px solid var(--line); }
.studio-canvas.is-v .overview { height: 100%; width: 100%; }
.loading-strip { padding: 60px 20px; text-align: center; color: var(--muted); font-size: .9rem; }

.studio-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tabs { display: flex; overflow-x: auto; scrollbar-width: none; background: #fbfdff; border-bottom: 1px solid var(--line); padding: 6px 6px 0; gap: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; background: transparent; padding: 10px 12px; font-size: .82rem; font-weight: 600; color: var(--muted); border-radius: 10px 10px 0 0; position: relative; display: inline-flex; align-items: center; gap: 6px; }
.tab:hover { color: var(--ink); background: rgba(10, 132, 198, .06); }
.tab[aria-selected="true"] { color: var(--brand-d); background: #fff; }
.tab[aria-selected="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.pane { padding: 18px; display: none; }
.pane.active { display: block; }
.pane h4 { font-size: .95rem; margin-bottom: 4px; }
.pane .sub { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.pane .gap { margin-top: 20px; }

.codebar { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 12px 10px 14px; margin-bottom: 14px; }
.codebar .lab { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .65; display: block; line-height: 1.1; margin-bottom: 2px; }
.codebar code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .86rem; font-weight: 600; word-break: break-all; }
.codebar .grow { flex: 1; min-width: 0; }
.codebar .icon-btn { background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.codebar .icon-btn:hover { background: rgba(255, 255, 255, .24); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--bg-2); padding: 4px; border-radius: 14px; }
.seg button { border: 0; background: transparent; padding: 9px 6px; border-radius: 10px; font-size: .82rem; font-weight: 600; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.seg button small { font-weight: 500; font-size: .68rem; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; box-shadow: var(--shadow-s); color: var(--ink); }

.palettes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pal { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.pal:hover { border-color: #b9cde6; transform: translateY(-1px); }
.pal[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 132, 198, .15); }
.pal[aria-pressed="true"]::after { content: ''; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pal-sw { display: flex; height: 30px; border-radius: 9px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(18, 38, 74, .08); }
.pal-sw i { flex: 1; }
.pal b { font-size: .8rem; font-weight: 600; line-height: 1.25; }
.pal small { font-size: .7rem; color: var(--muted); line-height: 1.3; }
.pal .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .68rem; font-weight: 700; color: var(--brand-d); background: var(--bg-2); padding: 1px 6px; border-radius: 6px; align-self: flex-start; }

.custom { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.custom > summary { list-style: none; cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: .88rem; display: flex; align-items: center; gap: 8px; background: #fbfdff; }
.custom > summary::-webkit-details-marker { display: none; }
.custom > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.custom[open] > summary::after { transform: rotate(-135deg); }
.custom-body { padding: 14px; display: grid; gap: 14px; }
.custom-note { font-size: .78rem; color: var(--ink-2); background: #fff8e1; border: 1px solid #ffe4a0; border-radius: 10px; padding: 9px 11px; }
.crow { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.crow:last-child { border: 0; padding-bottom: 0; }
.crow-top { display: flex; align-items: center; gap: 10px; }
.crow-top .sw { width: 38px; height: 38px; border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(18, 38, 74, .15); flex: none; position: relative; overflow: hidden; }
.crow-top .sw input[type=color] { position: absolute; inset: -6px; width: 150%; height: 150%; opacity: 0; cursor: pointer; }
.crow-top label { font-size: .8rem; font-weight: 600; flex: 1; }
.hexin { width: 104px; border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; font: 600 .84rem ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; color: var(--ink); }
.hexin:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(10, 132, 198, .15); }
.hexin.bad { border-color: var(--danger); }
.rgb { display: grid; grid-template-columns: auto 1fr 46px; gap: 6px 10px; align-items: center; font-size: .74rem; font-weight: 600; }
.rgb span:first-child { width: 12px; }
.rgb input[type=range] { width: 100%; height: 6px; accent-color: var(--brand); }
.rgb input[type=number] { width: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 3px 4px; font-size: .76rem; text-align: center; }
.cmyk-line { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cwarn { font-size: .74rem; color: var(--danger); font-weight: 500; }

.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-size: .78rem; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; }
.field label span { font-weight: 500; color: var(--muted); }
.field input[type=text], .field input[type=number], .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 .92rem var(--font); color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(10, 132, 198, .15); }
.tip { font-size: .78rem; color: var(--muted); background: var(--bg-2); border-radius: 10px; padding: 9px 11px; margin-top: 4px; }

.dlist { display: grid; gap: 8px; }
.dopt { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 8px; transition: border-color .15s, box-shadow .15s; }
.dopt:hover { border-color: #b9cde6; }
.dopt[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 132, 198, .15); }
.dopt img { width: 96px; height: 54px; object-fit: cover; object-position: left center; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.dopt.is-v img { object-fit: contain; object-position: center; background: #eaf1f8; }
.dopt b { display: block; font-size: .86rem; line-height: 1.25; }
.dopt small { color: var(--muted); font-size: .72rem; }

.blist { display: grid; gap: 4px; }
.brow { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 12px; border: 1.5px solid transparent; background: #f7fafd; cursor: pointer; text-align: left; width: 100%; }
.brow:hover { border-color: #c4d6ec; }
.brow.sel { border-color: var(--brand); background: #eef7fd; }
.brow.is-hidden b { text-decoration: line-through; opacity: .5; }
.brow b { font-size: .82rem; font-weight: 600; line-height: 1.25; display: block; }
.brow small { font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.brow .eye { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-2); }
.brow .eye:hover { background: rgba(10, 132, 198, .1); }
.brow .lockic { color: var(--muted); font-size: .9rem; }
.brow .movedot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 200, 69, .35); }
.insp { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fbfdff; }
.insp h5 { margin: 0 0 10px; font-size: .88rem; }
.insp .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nudge { display: grid; grid-template-columns: repeat(3, 38px); grid-template-rows: repeat(3, 38px); gap: 4px; justify-content: center; margin: 12px 0 4px; }
.nudge button { border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 1rem; color: var(--ink-2); }
.nudge button:hover { background: var(--bg-2); }
.nudge .up { grid-column: 2; grid-row: 1; } .nudge .lf { grid-column: 1; grid-row: 2; } .nudge .rt { grid-column: 3; grid-row: 2; } .nudge .dn { grid-column: 2; grid-row: 3; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

table.ink { width: 100%; border-collapse: collapse; font-size: .78rem; }
table.ink th { text-align: left; font-weight: 600; color: var(--muted); padding: 6px 6px 6px 0; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
table.ink td { padding: 8px 6px 8px 0; border-top: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
table.ink .sw { width: 30px; height: 30px; border-radius: 9px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(18, 38, 74, .15); }
table.ink code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; font-size: .78rem; }
.paper-card { background: #FBF9F4; border: 1px solid #ece6d8; border-radius: 14px; padding: 14px; display: grid; gap: 14px; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.ladder div { text-align: center; font-size: .64rem; color: #7b7566; }
.ladder i { display: block; height: 26px; border-radius: 6px; margin-bottom: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.combos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.combo { display: flex; align-items: center; gap: 9px; font-size: .74rem; }
.combo i { width: 36px; height: 36px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.combo b { display: block; font-weight: 600; line-height: 1.2; }
.combo span { color: #7b7566; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .7rem; }
.pane h5.mini.gap { margin-top: 22px; }
.pane h5.mini { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.note { font-size: .74rem; color: var(--muted); line-height: 1.5; }

.codebox { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; background: #f3f7fb; border: 1px dashed #c9d7e9; border-radius: 10px; padding: 9px 10px; word-break: break-all; max-height: 86px; overflow: auto; color: var(--ink-2); }
.estimate { background: linear-gradient(135deg, #eaf6fc, #eef8e8); border: 1px solid #cfe6f1; border-radius: 14px; padding: 14px; margin-top: 4px; }
.estimate .total { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.estimate small { color: var(--ink-2); }

/* ---------- katalog warna ---------- */
.cat-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.cat-tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .55em 1.2em; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.cat-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-s); }
.cat-shot { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.cat-sw { display: flex; height: 40px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(18, 38, 74, .08); }
.cat-sw i { flex: 1; }
.cat-card h3 { font-size: .98rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cat-card h3 .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .7rem; background: var(--bg-2); color: var(--brand-d); padding: 2px 7px; border-radius: 7px; }
.cat-card .mood { font-size: .78rem; color: var(--muted); margin-top: -6px; }
.cat-vals { display: grid; gap: 4px; font-size: .72rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cat-vals div { display: grid; grid-template-columns: 12px 1fr; gap: 8px; align-items: center; }
.cat-vals i { width: 12px; height: 12px; border-radius: 4px; }
.cat-vals code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .7rem; }
.cat-print { background: #FBF9F4; border: 1px solid #ece6d8; border-radius: 12px; padding: 9px 10px; display: flex; align-items: center; gap: 8px; font-size: .7rem; color: #6d6757; }
.cat-print .row { display: flex; }
.cat-print .row i { width: 22px; height: 22px; border-radius: 6px; margin-right: -4px; border: 2px solid #FBF9F4; }
.cat-card .btn { margin-top: auto; }

/* ---------- langkah ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-s); }
.step::before { counter-increment: st; content: counter(st); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--ink-2); }

/* ---------- klien & ulasan ---------- */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-s); }
.client .av { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(135deg, var(--brand-2), var(--green)); }
.client b { display: block; font-size: .95rem; line-height: 1.25; }
.client small { color: var(--muted); font-size: .78rem; }
.client-note { text-align: center; margin-top: 18px; font-size: .84rem; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 16px; position: relative; }
.review .stars { color: var(--sun); display: flex; gap: 2px; }
.review .stars .ic { fill: currentColor; stroke: none; }
.review blockquote { margin: 0; font-size: .96rem; color: var(--ink-2); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--brand-d); font-weight: 700; }
.review footer b { display: block; font-size: .9rem; line-height: 1.2; }
.review footer small { color: var(--muted); font-size: .76rem; }
.review.sample { border-style: dashed; background: #fcfdff; }
.sample-tag { position: absolute; top: 14px; right: 14px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff1c9; color: #8a5a00; padding: 3px 9px; border-radius: 999px; }
.sample-tag + .stars { margin-top: 0; }
.sec-foot { text-align: center; margin-top: 28px; }

/* ---------- harga ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 14px; position: relative; }
.price.hot { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 132, 198, .14), var(--shadow); }
.price .badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 3px 12px; border-radius: 999px; text-transform: uppercase; }
.price h3 { font-size: 1.15rem; }
.price .amt { font-size: 2.3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price .amt small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price .dots { display: flex; gap: 6px; }
.price .dots i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.price li { display: flex; gap: 9px; align-items: flex-start; }
.price li .ic { color: var(--green); margin-top: .2em; }
.spec { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; box-shadow: var(--shadow-s); }
.spec div b { display: block; font-size: 1.02rem; }
.spec div span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; box-shadow: var(--shadow-s); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: .95rem; }

/* ---------- CTA & footer ---------- */
.cta { padding: clamp(40px, 6vw, 72px) 0; }
.cta-box { background: linear-gradient(135deg, #12264A 0%, #0A5C94 60%, #0A84C6 100%); color: #fff; border-radius: 32px; padding: clamp(34px, 6vw, 64px); display: grid; grid-template-columns: 1.2fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 69, .5), transparent 70%); right: -80px; top: -120px; }
.cta-box h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); position: relative; }
.cta-box p { margin-top: 10px; opacity: .85; position: relative; }
.cta-box .hero-cta { margin: 0; position: relative; }
.cta-box .btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.cta-box .btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.cta-box .btn-primary { background: #fff; color: var(--ink); }
footer.site { padding: 40px 0 48px; border-top: 1px solid var(--line); background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.foot-grid a { text-decoration: none; color: var(--ink-2); } .foot-grid a:hover { color: var(--brand); }
.foot-grid p { font-size: .88rem; color: var(--ink-2); margin-top: 12px; max-width: 26em; }
.legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }

/* ---------- toast & reveal ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: .86rem; font-weight: 500; opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; z-index: 100; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- pilihan kontak WhatsApp ---------- */
.nav-chat-m { display: none; }
.wa-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.wa-modal[hidden] { display: none; }
.wa-backdrop { position: absolute; inset: 0; background: rgba(18, 38, 74, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s ease; }
.wa-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 24px; padding: 28px 24px 22px; box-shadow: 0 30px 70px -20px rgba(18, 38, 74, .55); transform: translateY(14px) scale(.98); opacity: 0; transition: transform .22s ease, opacity .22s ease; }
.wa-modal.show .wa-backdrop { opacity: 1; }
.wa-modal.show .wa-card { transform: none; opacity: 1; }
.wa-card h3 { font-size: 1.3rem; padding-right: 40px; }
.wa-sub { color: var(--muted); font-size: .92rem; margin: 4px 0 18px; }
.wa-x { position: absolute; top: 14px; right: 14px; }
.wa-list { display: grid; gap: 10px; }
.wa-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.wa-opt:hover, .wa-opt:focus-visible { border-color: var(--brand); box-shadow: 0 10px 24px -14px rgba(10, 132, 198, .7); transform: translateY(-1px); outline: none; }
.wa-opt:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wa-opt > .ic { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--brand); }
.wa-av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.wa-opt:nth-child(2) .wa-av { background: linear-gradient(135deg, #7BC64B, var(--green)); }
.wa-txt { display: grid; gap: 1px; min-width: 0; line-height: 1.35; }
.wa-role { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-d); }
.wa-opt:nth-child(2) .wa-role { color: var(--green-d); }
.wa-txt strong { font-size: 1.02rem; }
.wa-num { font-size: .88rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wa-note { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.wa-foot { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; }
body.wa-open { overflow: hidden; }
.foot-wa { display: flex; gap: 10px; align-items: flex-start; }
.foot-wa .ic { width: 18px; height: 18px; margin-top: 3px; flex: none; color: var(--brand); }
.foot-wa .fw-t { display: grid; line-height: 1.35; }
.foot-wa b { font-weight: 600; color: var(--ink); }
.foot-wa small { font-size: .82rem; color: var(--muted); }
.foot-co { font-size: .82rem; color: var(--muted); margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .wa-backdrop, .wa-card, .wa-opt { transition: none; } }

/* ---------- responsif ---------- */
@media (min-width: 1081px) {
  .studio-canvas { position: sticky; top: 84px; }
}
@media (max-width: 1080px) {
  .studio-shell { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; margin-left: 0; }
  .nav-chat-m { display: inline-flex; margin-left: auto; margin-right: -14px; }
  .nav.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px var(--gutter) 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 2px; }
  .nav.open .nav-links a { padding: .8em 1em; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .designs { grid-template-columns: repeat(2, 1fr); }
  .dcard, .dcard:nth-child(n+4) { grid-column: span 1; }
  .dcard:last-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews, .prices { grid-template-columns: 1fr; }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: repeat(2, auto); }
  .features, .steps { grid-template-columns: 1fr; }
  .designs { grid-template-columns: 1fr; }
  .dcard, .dcard:nth-child(n+4), .dcard:last-child { grid-column: span 1; }
  .catalog { grid-template-columns: 1fr; }
  .chip-code { left: -6px; } .chip-palette { right: -4px; }
  .studio-toolbar .dname small { display: none; }
  .canvas-scroll { height: 260px; }
  .palettes { grid-template-columns: 1fr 1fr; }
  .combos { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > :first-child { grid-column: auto; }
  .btn { white-space: normal; }
}
@media (hover: none) {
  .dthumb .pan-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- proteksi ringan & mode admin ---- */
img { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; }
.admin-bar { position: sticky; top: 0; z-index: 9999; background: #B3261E; color: #fff; font: 700 13px/1.4 Poppins, system-ui, sans-serif; text-align: center; padding: 8px 12px; letter-spacing: .2px; }
body.is-admin .nav { top: 36px; }

/* watermark vektor di dalam desain: dibuat lebih samar saat mengedit/pratinjau di layar (ekspor tetap penuh) */
.strip-svg [data-wm] { opacity: .55; }
