/* Honami guides — mobile first. Brand teal #35c4c2 (header, logo); deep teal #0f7678 for buttons and links (readable with white text); accent orange #f26a1b. */
:root {
  color-scheme: light;
  --brand: #35c4c2; --brand-ink: #0c3b3b; --teal: #0f7678; --teal-dark: #0b5c5e; --link: #0f7678; --link-hover: #0b5c5e;
  --orange: #f26a1b; --orange-soft: #fdf0e7; --orange-ink: #a3460f; --danger: #b42318;
  --ink: #22201d; --ink-2: #48443e; --muted: #6b665e; --line: #e2dfd8; --line-soft: #efece6; --line-strong: #d6d2ca; --chip: #f0eee9;
  --bg: #f6f4ef; --surface: #ffffff; --stage: #ecebe6; --tile: #f3f1ec; --hover: #f0f6f7; --pic-bg: #f6f4ef;
  --header-bg: #35c4c2; --header-ink: #ffffff; --shadow: rgba(34,32,29,.10);
}
/* dark mode: only when the visitor picks it with the moon/sun button (default is light) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --link: #6fd6d4; --link-hover: #9ae4e2;
  --orange-soft: #3a2619; --orange-ink: #ffb27f; --danger: #ff8a7a;
  --ink: #eceae5; --ink-2: #c9c5bd; --muted: #a39e95; --line: #2e3634; --line-soft: #262d2c; --line-strong: #3b4543; --chip: #252c2b;
  --bg: #111514; --surface: #1b2120; --stage: #161b1a; --tile: #222928; --hover: #1f2b2b; --pic-bg: #e8e4dc;
  --header-bg: #0f5f5e; --header-ink: #e6f7f6; --shadow: rgba(0,0,0,.4);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.45; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.page { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 5; height: 56px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 0 8px; background: var(--header-bg); color: var(--header-ink); }
.brand { display: flex; align-items: center; padding: 0 12px; height: 44px; text-decoration: none; }
.brand img { height: 28px; width: auto; display: block; }
.back { height: 44px; display: flex; align-items: center; gap: 4px; padding: 0 10px; text-decoration: none; font-size: 15px; font-weight: 700; min-width: 0; color: var(--header-ink); }
.back:hover { color: var(--header-ink); text-decoration: underline; }
.back span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-title { font-size: 16px; font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.lang { display: flex; flex: none; background: rgba(255,255,255,.32); border-radius: 10px; padding: 3px; }
.theme-btn { width: 42px; height: 42px; flex: none; border: 0; border-radius: 10px; background: rgba(255,255,255,.32); color: var(--header-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .lang, :root[data-theme="dark"] .theme-btn { background: rgba(255,255,255,.14); }
.lang a { height: 36px; min-width: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--header-ink); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); }

/* text */
.intro { padding: 24px 20px 8px; display: flex; flex-direction: column; gap: 6px; }
h1 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.lead { margin: 0; font-size: 15px; color: var(--ink-2); }
.small { font-size: 13px; color: var(--muted); }
.help { margin: 8px 20px 28px; font-size: 13px; color: var(--muted); }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* kit cards */
.list { padding: 12px 20px; display: flex; flex-direction: column; gap: 14px; }
.card { text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card:hover { color: inherit; border-color: var(--line-strong); }
.card-media { height: 168px; display: flex; align-items: center; justify-content: center; position: relative; }
.card-media img { height: 85%; width: auto; object-fit: contain; }
.card-body { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-body.col { flex-direction: column; align-items: flex-start; gap: 3px; }
.card-name { font-size: 18px; font-weight: 700; }
.card-title { font-size: 17px; font-weight: 700; }
.card-sub { font-size: 14px; color: var(--ink-2); }
.btn { height: 54px; border-radius: 14px; border: 0; background: var(--teal); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; padding: 0 18px; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn.sm { height: 44px; font-size: 15px; border-radius: 12px; }
.tag { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 6px; }
.tag.teal { background: var(--teal); font-weight: 700; }
.tag.right { left: auto; right: 10px; top: auto; bottom: 10px; }
.play-dot { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; }

/* password */
.pw-head { padding: 28px 24px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.pw-cover { width: 136px; height: 136px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pw-cover img { height: 82%; width: auto; }
.pw-head .lead { max-width: 30ch; }
.pw-form { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.pw-form label { font-size: 14px; font-weight: 700; }
.field { display: flex; align-items: center; height: 54px; border: 1.5px solid var(--teal); border-radius: 14px; background: var(--surface); padding: 0 6px 0 16px; }
.field.bad { border-color: var(--danger); }
.field input { flex: 1; min-width: 0; border: 0; font-size: 17px; letter-spacing: .04em; background: transparent; outline: none; height: 100%; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; color: var(--ink-2); display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.err { font-size: 14px; color: var(--danger); font-weight: 500; }
.pw-form .btn { margin-top: 16px; }
.pw-lost { margin: auto 24px 28px; padding-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }

/* kit home */
.kit-head { padding: 18px 20px 6px; display: flex; align-items: center; gap: 14px; }
.kit-thumb { flex: none; width: 76px; height: 76px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.kit-thumb img { height: 82%; width: auto; }
.kit-head h1 { font-size: 24px; }
.resume { margin: 10px 20px 0; text-decoration: none; color: inherit; display: flex; align-items: center; gap: 10px; background: var(--orange-soft); border-radius: 14px; padding: 10px 12px; }
.resume[hidden] { display: none; }
.resume .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.resume span.t { flex: 1; font-size: 14px; line-height: 1.3; display: flex; flex-direction: column; }
.resume span.t span { color: var(--muted); }
.choose { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 14px; }
.media-dark { background: #2a2622; }
.media-dark img { opacity: .55; }
.media-stage { background: var(--stage); }
.dl { align-self: center; font-size: 14px; font-weight: 500; padding: 8px 12px; display: flex; align-items: center; gap: 6px; }
.disabled { opacity: .6; pointer-events: none; }

/* video + guide */
.video-wrap { margin: 16px 20px 0; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.stack { padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 12px; }
.guide-img { margin: 16px 12px 0; background: #fff; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.guide-img img { display: block; width: 100%; height: auto; }

@media (min-width: 560px) {
  .page { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}
.guide-pdf { margin: 16px 20px 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.btn-ghost { background: var(--surface); color: var(--link); border: 1.5px solid var(--link); }
.btn-ghost:hover { background: var(--hover); color: var(--link-hover); }

.resume svg { color: var(--orange-ink); }
@media (max-width: 380px) { .topbar-title { display: none; } }

/* home banner */
.banner { position: relative; overflow: hidden; margin: 16px 16px 4px; border-radius: 22px; background: var(--teal); color: #fff; min-height: 172px; display: flex; align-items: center; }
.banner-facets { position: absolute; right: 0; top: 0; height: 100%; width: auto; }
.banner-kit { position: absolute; right: 8px; bottom: -6px; height: 150px; width: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.banner-text { position: relative; padding: 22px 20px; max-width: 64%; display: flex; flex-direction: column; gap: 6px; }
.banner h1 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 800; color: #fff; }
.banner p { margin: 0; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.92); }
.banner-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.banner-chips li { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; }
@media (max-width: 350px) { .banner-kit { height: 118px; } .banner h1 { font-size: 24px; } }

/* kit search */
.search { margin: 14px 16px 0; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 14px; color: var(--muted); }
.search:focus-within { border-color: var(--link); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.card[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
