@font-face {
  font-family: "Inter Web";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #fbf8f2;
  --surface: #fffdf9;
  --text: #302b32;
  --muted: #706773;
  --line: #e6dfd4;
  --accent: #6a4fe0;
  --accent-soft: #eee9fb;
  --button-text: #ffffff;
  --star: #f6b34e;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #191715;
  --surface: #211e1b;
  --text: #f3eee5;
  --muted: #c1b8b0;
  --line: #423a34;
  --accent: #c8b4ff;
  --accent-soft: #2b2540;
  --button-text: #20132f;
  --star: #f6b34e;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Web", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Roboto, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  word-break: keep-all;
}
html[lang="ja"] body { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
html:not([lang="en"]) .hero h1 { letter-spacing: -0.025em; line-height: 1.35; }
html:not([lang="en"]) h2 { font-size: 13px; letter-spacing: 0.035em; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 8px 12px; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand .brand-lockup { display: block; width: 198px; height: auto; overflow: visible; }
.brand .brand-dark { display: none; }
:root[data-theme="dark"] .brand .brand-light { display: none; }
:root[data-theme="dark"] .brand .brand-dark { display: block; }
.brand .ko { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 5px; }
header.site nav { display: flex; flex-shrink: 0; flex-wrap: nowrap; gap: 4px; margin-left: auto; }
.nav-icon { position: relative; display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: var(--muted); text-decoration: none; }
.nav-icon svg { flex-shrink: 0; }
.nav-icon-resource, .nav-icon:hover, .nav-icon:focus-visible { background: var(--accent-soft); color: var(--accent); }
.nav-tooltip { position: absolute; z-index: 3; top: 100%; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 7px 10px; border-radius: 7px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 500; line-height: 1.5; text-align: center; visibility: hidden; }
.nav-icon:not([data-tooltip-dismissed]):is(:hover, :focus-visible) .nav-tooltip { visibility: visible; }
.theme-control { display: inline-flex; flex-shrink: 0; gap: 2px; padding: 3px; background: var(--accent-soft); border: 1px solid var(--line); border-radius: 12px; }
.theme-control[hidden] { display: none; }
.theme-control button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.theme-control button[aria-pressed="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }
.theme-control button:hover { color: var(--accent); }
.theme-control svg { flex-shrink: 0; }
.language-control { position: relative; flex-shrink: 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.language-control summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 10px; border-radius: 9px; cursor: pointer; list-style: none; }
.language-control summary::-webkit-details-marker { display: none; }
.language-control summary:hover { background: var(--accent-soft); color: var(--accent); }
.language-control svg { flex-shrink: 0; }
.language-chevron { opacity: 0.7; }
.language-menu { position: absolute; z-index: 4; top: calc(100% + 6px); right: 0; min-width: 140px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 6px 18px rgb(0 0 0 / 10%); }
.language-menu a { display: block; min-height: 44px; padding: 10px 12px; border-radius: 6px; color: var(--text); text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
main.wrap { padding-top: 54px; padding-bottom: 56px; }
/* Keep the skip-link target focusable without outlining the entire page. */
main#main:focus { outline: none; }
main#main:focus-visible .hero .eyebrow { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-size: clamp(29px, 4vw, 42px); line-height: 1.22; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 650; }
.hero h1 .star { color: var(--star); white-space: nowrap; }
.hero p { margin: 0; color: var(--muted); max-width: 680px; font-size: 17px; }
.hero p + p { margin-top: 8px; }
.home-hero { position: relative; isolation: isolate; }
.home-hero .home-hero-description { max-width: 540px; text-wrap: balance; }
.home-hero-stars {
  position: absolute;
  z-index: -1;
  inset: -12px 0 -12px auto;
  width: min(44%, 350px);
  pointer-events: none;
  color: var(--accent);
  opacity: 0.56;
  background: radial-gradient(ellipse closest-side at 65% 46%, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
}
.home-hero-stars::before {
  content: "";
  position: absolute;
  top: 42%;
  right: 36%;
  width: 35%;
  height: 1px;
  background: linear-gradient(to right, transparent, currentColor);
  transform: rotate(22deg);
  transform-origin: right center;
  opacity: 0.45;
}
.home-hero-stars::after {
  content: "";
  position: absolute;
  top: 26%;
  left: 55%;
  width: 2px;
  height: 2px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: -38px 8px, 64px -12px, 83px 47px, -45px 59px, 57px 65px, 12px 74px;
  opacity: 0.5;
}
.home-hero-spark { position: absolute; line-height: 1; transform: translate(-50%, -50%); }
.home-hero-spark--main { top: 42%; left: 64%; color: var(--star); font-size: 27px; }
.home-hero-spark--upper { top: 23%; left: 78%; font-size: 13px; }
.home-hero-spark--lower { top: 66%; left: 46%; font-size: 10px; }
section { margin-top: 40px; scroll-margin-top: 24px; }
h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 12px; font-weight: 650; }
h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.4; letter-spacing: -0.015em; }
p { margin: 0 0 9px; }
.ko { color: var(--muted); font-size: 14px; line-height: 1.7; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.product { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.product > .product-mark { display: block; grid-column: 1; grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 13px; }
.product-title, .product-body { grid-column: 2; min-width: 0; }
.product h3 { font-size: 23px; margin: 0; }
.title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 12px; }
.title-row h3 { margin: 0; }
.stage { display: inline-block; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 3px 8px; font-size: 11px; line-height: 1.6; font-weight: 550; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; padding: 0; list-style: none; }
.tags li { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--button-text); text-decoration: none; font-weight: 600; padding: 10px 16px; border-radius: 10px; font-size: 14px; }
.button:hover { filter: brightness(1.07); }
.product + .product { margin-top: 16px; }
.product-note { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.early-use { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.early-use p { font-size: 13px; margin-bottom: 3px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.project { font-size: 15px; display: flex; flex-direction: column; align-items: flex-start; }
.project > .stage { margin-bottom: 12px; }
.project-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.project-heading h3 { margin: 0; }
.project-icon { display: block; width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; }
.project-icon img, .project-icon svg { display: block; width: 100%; height: 100%; }
.project-icon .icon-dark { display: none; }
:root[data-theme="dark"] .project-icon .icon-light { display: none; }
:root[data-theme="dark"] .project-icon .icon-dark { display: block; }
/* Native product motion, active only while its icon is on screen. */
[data-product-motion] :is(.app-mark-dust, .app-mark-star, .app-mark-glow) { transform-box: fill-box; transform-origin: center; }
[data-product-motion-active] .app-mark-dust { animation: product-stardust-twinkle 1.6s ease-in-out infinite; }
[data-product-motion-active] :is(.app-mark-star, .app-mark-glow) { animation: product-star-flare 1.6s ease-in-out infinite; animation-delay: .8s; }
[data-product-motion-active] .app-mark-dust:nth-child(2) { animation-delay: .16s; }
[data-product-motion-active] .app-mark-dust:nth-child(3) { animation-delay: .32s; }
[data-product-motion-active] .app-mark-dust:nth-child(4) { animation-delay: .48s; }
[data-product-motion-active] .app-mark-dust:nth-child(5) { animation-delay: .64s; }
@keyframes product-stardust-twinkle {
  0%, 100% { opacity: .25; transform: scale(.55); }
  30% { opacity: 1; transform: scale(1.2); }
}
@keyframes product-star-flare {
  0%, 100% { opacity: .6; transform: scale(.92); }
  30% { opacity: 1; transform: scale(1.08); }
}
.kera-product-orbit { transform-box: view-box; transform-origin: 50% 50%; }
[data-product-motion-active] .kera-product-orbit { animation: product-kera-turn 15s cubic-bezier(.333333, 0, .666667, 1) infinite; }
@keyframes product-kera-turn {
  0%, 13.333333%, 100% { transform: rotate(0deg); }
  5.866667% { transform: rotate(18deg); }
}
@media (prefers-reduced-motion: reduce) {
  [data-product-motion-active] :is(.app-mark-dust, .app-mark-star, .app-mark-glow, .kera-product-orbit) { animation: none; }
}
.subtitle { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.text-link { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 550; }
.project > .text-link { margin-top: auto; padding-top: 6px; }
.project-research { width: 100%; margin-top: 16px; }
.project-research summary, .atlas-more summary { padding: 10px 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.project-research summary:hover, .atlas-more summary:hover { color: var(--text); }
.research-count { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; }
.research-list { margin: 2px 0 0; padding: 0; list-style: none; }
.research-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 13px; line-height: 1.6; }
.paper-thumbnail { display: block; width: 52px; height: auto; flex-shrink: 0; border: 1px solid var(--line); border-radius: 3px; }
.paper-copy { flex: 1; min-width: 0; }
.research-list a:hover .research-title { text-decoration: underline; text-underline-offset: 3px; }
.research-meta { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.research-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; }
.research-title > [aria-hidden] { color: var(--muted); flex-shrink: 0; }
.project-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; }
.project-wide h3 { margin-top: 12px; }
.project-wide p { margin-top: 0; }
.research-recognition { margin: 12px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.research-recognition strong { color: var(--text); font-weight: 600; }
.project-showcase { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 28px; align-items: start; }
.project-intro { min-width: 0; }
.project-intro > .stage { margin-bottom: 12px; }
.project-intro > .text-link { padding-top: 6px; }
.research-preview { min-width: 0; margin: 0; }
.research-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.research-preview .project-preview { margin-top: 0; }
.research-video { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #07111d; }
.project-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 9px; }
.video-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--button-text); cursor: pointer; font: inherit; }
.video-cover img { display: block; width: 100%; height: auto; border-radius: inherit; }
.video-play { position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 8px; background: var(--accent); font-size: 12px; font-weight: 600; }
.video-cover:hover .video-play { filter: brightness(1.07); }
.project-video[hidden], .video-cover[hidden] { display: none; }
.product-preview { margin: 18px 0; }
.product-with-preview { display: grid; grid-template-columns: minmax(0, 1fr) min(45%, 320px); gap: 24px; align-items: start; }
.product-with-phone-preview { grid-template-columns: minmax(0, 1fr) minmax(0, 180px); }
.haruvista-card-body {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr;
  grid-template-areas: "intro preview" "actions preview"; gap: 14px 24px; align-items: start;
}
.haruvista-card-intro { grid-area: intro; }
.haruvista-card-intro .product-note { margin-bottom: 0; }
.haruvista-card-tagline { font-size: clamp(18px, 2.5vw, 22px); line-height: 1.4; }
.haruvista-card-preview { grid-area: preview; }
.haruvista-card-preview figcaption { font-size: 13px; }
.haruvista-card-actions { grid-area: actions; }
.project-preview { display: block; width: 100%; margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.project-preview img { display: block; width: 100%; height: auto; }
a.project-preview:hover { border-color: var(--accent); }
.app-showcase { grid-column: 1 / -1; display: block; min-width: 0; }
.app-showcase .project-intro > p { max-width: 65ch; }
.app-store-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.app-showcase .store-availability { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.gallery-note { margin: 22px 0 12px; color: var(--muted); font-size: 12px; }
.app-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.app-gallery figure { min-width: 0; margin: 0; }
.app-screen { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #07111d; }
.app-gallery img { display: block; width: 100%; height: auto; }
.app-gallery figcaption { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.screen-number { font-size: 10px; opacity: 0.7; }
.pilot-grid { display: grid; gap: 14px; }
.atlas-more { margin-top: 16px; }
.atlas-more .project-preview { margin-top: 8px; }
.direction { background: var(--accent-soft); border-color: transparent; font-size: 15px; }
.direction .stage { background: var(--surface); }
.direction .stage-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.founder { display: flex; align-items: flex-start; gap: 18px; }
.founder-mark { width: 64px; height: 44px; display: grid; place-items: center; flex-shrink: 0; }
.founder-symbol { display: block; width: 100%; height: auto; overflow: visible; }
.founder-symbol-dark { display: none; }
:root[data-theme="dark"] .founder-symbol-light { display: none; }
:root[data-theme="dark"] .founder-symbol-dark { display: block; }
.founder p { margin: 0 0 4px; font-size: 14px; }
.founder .name { font-weight: 650; font-size: 17px; }
.team-members { flex: 1; min-width: 0; }
.profile-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.team-member + .team-member { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.company-intro { font-size: 14px; margin: 0 0 18px; }
dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); }
dt, dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
dt { color: var(--muted); font-size: 13px; }
dd { font-size: 14px; overflow-wrap: anywhere; }
dl > :nth-last-child(-n+2) { border-bottom: 0; }
.contact-note { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 32px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 14px; }
footer.site nav a { color: var(--muted); }
.policy-back { font-size: 14px; margin: 0 0 28px; }
.policy .card + .card { margin-top: 14px; }
.policy .card p, .policy .card li { font-size: 15px; }
.policy .card p { margin: 0 0 10px; }
.policy .card ul { margin: 0 0 10px; padding-left: 20px; }
.policy .card li + li { margin-top: 6px; }
.policy .card > :last-child { margin-bottom: 0; }
.policy code, .hv-page code { font-family: Consolas, "Cascadia Mono", Menlo, monospace; font-size: 13px; background: var(--accent-soft); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.app-page-icon { display: block; width: 80px; height: 80px; object-fit: contain; margin-bottom: 16px; }
.app-page-shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin: 0 0 28px; }
.app-page-shots figure { min-width: 0; margin: 0; }
.app-page-shots .project-preview { margin-top: 0; }
.app-page-shots figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.app-page-en { margin-top: 36px; }
/* HaruVista landing page: scannable sections, one page per language. */
main.hv-page h2 { margin: 0 0 6px; color: var(--text); font-size: 23px; line-height: 1.35; letter-spacing: -0.02em; text-transform: none; }
.hv-page section { margin-top: 52px; }
.hv-page .card p, .hv-page .card li, .hv-page dd { font-size: 15px; }
.hv-page .card > :last-child { margin-bottom: 0; }
.app-hero-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.app-hero-title .app-page-icon { flex-shrink: 0; margin: 0; }
.app-hero-title .eyebrow { margin-bottom: 6px; }
.app-hero-title h1 { margin: 0; }
.hero .app-lede { color: var(--text); font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; line-height: 1.45; letter-spacing: -0.015em; }
.hero .app-lede + p { margin-top: 10px; }
.app-hero .tags { margin: 20px 0 0; }
.app-hero .tags li { padding: 3px 11px; font-size: 13px; }
.app-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.app-cta .button { min-height: 44px; font-size: 15px; }
.hv-story { margin-top: 8px; }
.hv-story summary { width: fit-content; min-height: 44px; padding: 10px 0; color: var(--accent); font-weight: 600; cursor: pointer; }
.hv-story summary:hover { text-decoration: underline; }
.hv-story-video { display: block; width: min(100%, 270px); height: auto; aspect-ratio: 9 / 16; border: 1px solid var(--line); border-radius: 9px; }
.app-shot { margin: 36px 0 0; }
.app-shot .project-preview { margin-top: 0; }
.app-shot figcaption, .app-page-shots figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.app-shot figcaption strong, .app-page-shots figcaption strong { color: var(--text); font-weight: 600; }
.section-lede { max-width: 680px; margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.section-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.release-notes { margin: 0; padding-left: 20px; }
.release-notes li + li { margin-top: 6px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.feature { padding: 20px 22px; }
.feature h3 { margin-bottom: 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); }
.promise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.promise-grid > :last-child:nth-child(odd) { grid-column: auto; }
.hv-page .app-page-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; margin: 0; }
.hv-page dl { column-gap: 24px; }
.hv-page dt { color: var(--text); font-size: 15px; font-weight: 600; }
.hv-page dd { color: var(--muted); }
/* HaruVista redesigned landing page: wide stage, HaruVista blue palette, visual rhythm. */
body:has(main.hv-landing) :is(header.site, footer.site) .wrap { max-width: 1120px; }
main.hv-landing {
  --accent: #1967d2;
  --accent-soft: #e8f1fd;
  --button-text: #ffffff;
  --hv-surface: #ffffff;
  --hv-band: #f3ede3;
  --hv-accent-border: #c5dcfb;
  --hv-shadow: 0 24px 56px -18px rgb(15 28 54 / 15%), 0 4px 16px rgb(15 28 54 / 6%);
  --hv-card-shadow: 0 1px 2px rgb(15 28 54 / 4%), 0 10px 26px -14px rgb(15 28 54 / 10%);
  max-width: 1120px;
  padding-top: 48px;
  padding-bottom: 72px;
}
:root[data-theme="dark"] main.hv-landing {
  --accent: #8ab4f8;
  --accent-soft: #1b2b44;
  --button-text: #062e6f;
  --hv-surface: #221f1c;
  --hv-band: #25221e;
  --hv-accent-border: #2e4872;
  --hv-shadow: 0 26px 64px -14px rgb(0 0 0 / 55%), 0 4px 18px rgb(0 0 0 / 35%);
  --hv-card-shadow: 0 1px 2px rgb(0 0 0 / 24%), 0 10px 28px -12px rgb(0 0 0 / 45%);
}
main.hv-landing section { margin-top: 84px; }
main.hv-landing section.hv-hero { position: relative; isolation: isolate; margin-top: 0; }
main.hv-landing section.hv-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -44px -24px auto;
  height: 440px;
  pointer-events: none;
  background: radial-gradient(ellipse 68% 58% at 50% 18%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%);
}
main.hv-landing h2 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 34px); line-height: 1.26; letter-spacing: -0.028em; font-weight: 700; color: var(--text); text-transform: none; }
.hv-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
html[lang="ko"] .hv-kicker, html[lang="ja"] .hv-kicker { letter-spacing: 0.04em; text-transform: none; font-size: 13px; }
.hv-section-head { max-width: 680px; margin-bottom: 28px; }
.hv-section-head .section-lede { margin: 0; font-size: 16px; line-height: 1.65; }
.hv-hero-head { max-width: 780px; margin: 0 auto; text-align: center; }
.hv-app-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 16px 6px 7px; margin-bottom: 22px;
  background: var(--hv-surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted); box-shadow: var(--hv-card-shadow);
}
.hv-app-pill .app-page-icon { width: 32px; height: 32px; margin: 0; border-radius: 8px; }
.hv-app-pill strong { color: var(--text); font-weight: 650; }
.hv-hero-head h1 {
  margin: 0 auto 16px; max-width: 18ch;
  font-size: clamp(32px, 4.4vw, 48px); line-height: 1.18; letter-spacing: -0.035em; font-weight: 750;
  color: var(--text); text-wrap: balance;
}
html[lang="ko"] .hv-hero-head h1, html[lang="ja"] .hv-hero-head h1 { max-width: 15ch; line-height: 1.24; }
.hv-hero .hv-hero-desc { margin: 0 auto; max-width: 660px; font-size: clamp(16px, 1.8vw, 18px); line-height: 1.68; color: var(--muted); text-wrap: pretty; }
.hv-hero-cta { justify-content: center; gap: 12px 16px; margin-top: 26px; }
.hv-button-lg { padding: 13px 24px; min-height: 48px; border-radius: 12px; font-size: 16px; font-weight: 650; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 55%, transparent); transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; }
.hv-button-lg:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--accent) 62%, transparent); }
.hv-button-full { width: 100%; justify-content: center; }
.hv-button-ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 11px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--hv-surface);
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.hv-button-ghost:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent); box-shadow: var(--hv-card-shadow); }
.hv-update-jump { padding: 10px 6px; min-height: 44px; align-items: center; color: var(--muted); font-weight: 550; }
.hv-update-jump:hover { color: var(--accent); }
.hv-season-badge {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 18px; padding: 8px 16px;
  border: 1px solid color-mix(in srgb, #1f7a4d 38%, transparent); border-radius: 999px;
  background: color-mix(in srgb, #1f7a4d 9%, var(--hv-surface)); color: var(--text);
  font-size: 14px; font-weight: 600; line-height: 1.45; text-decoration: none;
}
.hv-season-badge:hover { border-color: #1f7a4d; }
/* season.js shows these from 22 November to 31 January; keep them out until it does. */
[data-hv-season][hidden], [data-hv-season-off][hidden] { display: none !important; }
.hv-hero .hv-hero-meta { margin: 16px auto 0; max-width: 720px; font-size: 13px; line-height: 1.6; color: var(--muted); }
/* Hero interactive app stage */
.hv-stage { margin-top: 38px; min-width: 0; }
.hv-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin: 0 auto 18px; padding: 5px; width: fit-content; max-width: 100%;
  background: var(--hv-band); border: 1px solid var(--line); border-radius: 14px;
}
.hv-tab {
  min-height: 40px; padding: 8px 16px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background-color 140ms ease, color 140ms ease;
}
.hv-tab:hover { color: var(--text); }
.hv-tab[aria-selected="true"] { background: var(--hv-surface); color: var(--accent); box-shadow: 0 2px 8px rgb(15 28 54 / 10%); }
.hv-stage-viewport { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.hv-stage[data-hv-tabs-ready="true"] .hv-stage-panel[hidden] { display: none; }
.hv-stage-panel { margin: 0; min-width: 0; }
.hv-stage-panel .project-preview {
  margin: 0; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--hv-shadow); background: var(--hv-surface);
}
.hv-stage-panel figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.hv-stage-panel figcaption strong { color: var(--text); font-weight: 650; }
.hv-hero .hv-stage-note { margin: 8px auto 0; max-width: 680px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); }
/* Hero demo: the month at the app's seven text steps, and home's quick-add line typed and added (real app frames). */
.hv-zoom, .hv-typing { position: relative; min-width: 0; }
.hv-zoom-bar[hidden] { display: none; }
.hv-zoom-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  width: fit-content; max-width: 100%; margin: 16px auto 0; padding: 4px 8px 4px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--hv-surface); box-shadow: var(--hv-card-shadow);
}
.hv-zoom-label { font-size: 14px; font-weight: 650; color: var(--text); }
.hv-zoom-steps { display: inline-flex; align-items: center; gap: 2px; }
.hv-zoom-step {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 46px; padding: 0 6px;
  border: 0; border-radius: 11px; background: transparent; color: var(--muted);
  font: inherit; font-weight: 650; line-height: 1; cursor: pointer; transition: background-color 140ms ease, color 140ms ease;
}
.hv-zoom-step--1 { font-size: 12px; }
.hv-zoom-step--2 { font-size: 14px; }
.hv-zoom-step--3 { font-size: 16px; }
.hv-zoom-step--4 { font-size: 18px; }
.hv-zoom-step--5 { font-size: 20px; }
.hv-zoom-step--6 { font-size: 23px; }
.hv-zoom-step--7 { font-size: 26px; }
.hv-zoom-step:hover { background: var(--hv-band); color: var(--text); }
.hv-zoom-step[aria-pressed="true"] { background: var(--accent); color: var(--button-text); }
.hv-zoom-hint { padding-right: 10px; font-size: 12px; color: var(--muted); }
.hv-typing-video {
  display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px;
  background: var(--hv-surface); box-shadow: var(--hv-shadow);
}
.hv-typing[data-hv-typing-ready="true"] .hv-typing-video { cursor: pointer; }
.hv-typing-toggle[hidden] { display: none; }
.hv-typing-toggle {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: rgb(18 22 30 / 72%); color: #ffffff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.hv-typing-toggle:hover { background: rgb(18 22 30 / 86%); }
.hv-typing-icon { box-sizing: border-box; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hv-typing-toggle[data-paused="true"] .hv-typing-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
/* Ecosystem strip */
.hv-ecos {
  margin-top: 56px !important; padding: 26px 28px;
  background: var(--hv-surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--hv-card-shadow); text-align: center;
}
.hv-ecos-label { margin: 0 0 14px; font-size: 14px; font-weight: 650; color: var(--text); }
.hv-ecos-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hv-eco {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); font-size: 13px; font-weight: 550; color: var(--text);
}
.hv-eco::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--accent); }
.hv-eco--blue::before { background: #1a73e8; }
.hv-eco--sky::before { background: #0078d4; }
.hv-eco--slate::before { background: #64748b; }
.hv-eco--green::before { background: #03c75a; }
.hv-eco--gold::before { background: #eab308; }
.hv-eco--indigo::before { background: #4f46e5; }
.hv-eco--teal::before { background: #0d9488; }
.hv-eco--purple::before { background: #7c3aed; }
.hv-eco--neutral::before { background: var(--muted); }
.hv-ecos-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.hv-ecos-note .text-link { margin-left: 6px; font-size: 13px; }
/* Zigzag 4-pillar feature showcase */
.hv-pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.hv-pillar { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 40px; align-items: center; min-width: 0; }
.hv-pillar-copy, .hv-pillar-media, .hv-demo-card, .hv-story-card, .hv-scenario, .hv-mini, .hv-privacy-card, .hv-price-card, .hv-utility-card { min-width: 0; }
.hv-pillar--reverse .hv-pillar-copy { order: 2; }
.hv-pillar--reverse .hv-pillar-media { order: 1; }
.hv-pillar-copy h2 { font-size: clamp(23px, 2.6vw, 30px); margin-bottom: 12px; }
.hv-pillar-body { margin: 0 0 18px; font-size: 16px; line-height: 1.68; color: var(--muted); }
.hv-check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hv-check-list li {
  position: relative; padding-left: 24px; font-size: 15px; line-height: 1.55; color: var(--text);
}
.hv-check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-soft); border: 1.5px solid var(--accent);
  box-shadow: inset 0 0 0 3px var(--accent-soft);
}
.hv-check-list li::after {
  content: ""; position: absolute; left: 4.5px; top: 8.5px; width: 6px; height: 3.5px;
  border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg);
}
.hv-pillar-media { margin: 0; }
.hv-pillar-media .project-preview {
  margin: 0; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--hv-shadow);
  transition: transform 220ms ease, border-color 180ms ease;
}
.hv-pillar-media a.project-preview:hover { transform: translateY(-2px); border-color: var(--hv-accent-border); }
.hv-pillar-media figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
/* The printed month: A4 landscape and portrait sheets at one height (columns in the A4 ratio) */
.hv-print { min-width: 0; }
.hv-print-sheets { display: grid; grid-template-columns: minmax(0, 1.4142fr) minmax(0, 0.7071fr); gap: 28px; align-items: end; max-width: 1110px; }
.hv-print-sheet { margin: 0; min-width: 0; }
.hv-print-link {
  display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--hv-shadow); transition: transform 220ms ease, border-color 180ms ease;
}
.hv-print-link:hover { transform: translateY(-2px); border-color: var(--hv-accent-border); }
.hv-print-img { display: block; width: 100%; height: auto; }
.hv-print-sheet figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--text); text-align: center; }
.hv-print-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.hv-print-guide { margin: 10px 0 0; }
/* Pillar 1 interactive before/after text-size comparison slider */
.hv-compare {
  --compare-pos: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--hv-surface);
  box-shadow: var(--hv-shadow);
  user-select: none;
  touch-action: pan-y;
}
.hv-compare-img { display: block; width: 100%; height: auto; pointer-events: none; }
.hv-compare-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--compare-pos, 50%));
  pointer-events: none;
}
.hv-compare-badge {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(18 22 30 / 76%);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  pointer-events: none;
}
.hv-compare-badge-before { left: 12px; }
.hv-compare-badge-after { right: 12px; background: color-mix(in srgb, var(--accent) 92%, #000); color: var(--button-text); }
.hv-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-pos, 50%);
  z-index: 3;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 78%);
  pointer-events: none;
}
.hv-compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--button-text);
  box-shadow: 0 6px 18px rgb(15 28 54 / 28%);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.hv-compare:hover .hv-compare-handle {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 8px 22px rgb(15 28 54 / 34%);
}
.hv-compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.hv-compare:has(.hv-compare-range:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.hv-compare:has(.hv-compare-range:focus-visible) .hv-compare-handle {
  transform: translate(-50%, -50%) scale(1.1);
}
/* Video & maker's story band */
.hv-band {
  padding: 40px; background: var(--hv-band); border: 1px solid var(--line); border-radius: 24px;
}
.hv-media-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; }
.hv-media-grid:has(.hv-demo-card) { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr); }
.hv-demo-card, .hv-story-card { background: var(--hv-surface); box-shadow: var(--hv-card-shadow); display: flex; flex-direction: column; }
.hv-demo-card h3, .hv-story-card h3 { margin: 0 0 8px; font-size: 20px; }
.hv-media-sub { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.hv-demo-card .project-video { margin-top: auto; border: 1px solid var(--line); border-radius: 12px; background: #0b1220; }
.hv-story-card { gap: 16px; align-items: center; }
.hv-story-copy { width: 100%; }
.hv-story-quote { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.hv-story-card .hv-story-video { width: min(100%, 240px); margin: auto auto 0; border-radius: 12px; box-shadow: var(--hv-card-shadow); }
/* Single-card story layout (English & Japanese, where demo video is omitted) */
.hv-media-grid:not(:has(.hv-demo-card)) .hv-story-card {
  display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 32px; align-items: center; padding: 32px 36px;
}
.hv-media-grid:not(:has(.hv-demo-card)) .hv-story-quote { font-size: 17px; color: var(--text); }
.hv-media-grid:not(:has(.hv-demo-card)) .hv-story-video { width: 230px; margin: 0; }
/* Audience scenario cards */
.hv-scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hv-scenario { background: var(--hv-surface); box-shadow: var(--hv-card-shadow); padding: 28px; display: flex; flex-direction: column; }
.hv-scenario--primary { border-color: var(--hv-accent-border); background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 45%, var(--hv-surface)) 0%, var(--hv-surface) 44%); }
.hv-scenario-badge {
  display: inline-block; width: fit-content; margin-bottom: 14px; padding: 4px 11px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 650;
}
.hv-scenario h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.35; }
.hv-scenario-lede { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.hv-step-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.55; }
.hv-scenario-links { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
/* Compact 3x3 fundamentals grid */
.hv-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hv-mini { background: var(--hv-surface); padding: 20px 22px; box-shadow: var(--hv-card-shadow); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.hv-mini:hover { transform: translateY(-2px); border-color: var(--hv-accent-border); }
.hv-mini h3 { margin: 0 0 6px; font-size: 16px; font-weight: 650; }
.hv-mini p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
/* Privacy & pricing 2-column climax */
.hv-pricing-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 22px; align-items: stretch; }
.hv-privacy-card { background: var(--hv-surface); padding: 30px; box-shadow: var(--hv-card-shadow); display: flex; flex-direction: column; }
.hv-privacy-card h3 { margin: 0 0 8px; font-size: 22px; }
.hv-privacy-lede { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.hv-promise-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.hv-promise-list li { padding-top: 14px; border-top: 1px solid var(--line); }
.hv-promise-list li:first-child { padding-top: 0; border-top: 0; }
.hv-promise-list strong { display: block; margin-bottom: 3px; font-size: 15px; color: var(--text); }
.hv-promise-list span { display: block; font-size: 14px; line-height: 1.6; color: var(--muted); }
.hv-privacy-link { margin: auto 0 0; padding-top: 20px; }
.hv-price-card {
  background: var(--hv-surface); border: 2px solid var(--accent); padding: 30px;
  box-shadow: var(--hv-shadow); display: flex; flex-direction: column;
}
.hv-price-badge {
  display: inline-block; width: fit-content; margin-bottom: 14px; padding: 4px 12px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700;
}
.hv-price-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 8px; }
.hv-price-main { font-size: clamp(32px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
.hv-price-sub { font-size: 15px; font-weight: 600; color: var(--accent); }
.hv-price-note { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.hv-price-list { margin-bottom: 24px; }
.hv-price-cta { margin-top: auto; }
.hv-platform-note { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
/* Bottom utility sections: release notes, Google OAuth disclosure, contact */
main.hv-landing section.hv-utility { margin-top: 32px; }
.hv-utility-card { background: var(--hv-surface); padding: 26px 28px; }
main.hv-landing .hv-utility-card h2 { font-size: 20px; margin-bottom: 6px; }
.hv-limited-use { margin: 0 0 14px; font-size: 14px; color: var(--text); }
.hv-disclosure { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.hv-disclosure summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 0;
  color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer;
}
.hv-disclosure summary:hover { text-decoration: underline; }
.hv-disclosure .scope-list { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
main.hv-landing section.hv-contact-row {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px;
}
main.hv-landing .hv-contact-row h2 { margin: 0; font-size: 15px; color: var(--muted); font-weight: 600; }
.hv-contact-row p { margin: 0; font-size: 15px; color: var(--text); }
.scope-list { margin: 0; padding: 0; list-style: none; }
.scope-list li + li { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.scope-list h3 { margin-bottom: 6px; font-size: 17px; }
.scope-list p { margin: 8px 0 0; color: var(--muted); }
.scope-list .scope-why { font-size: 14px; }
.product-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.button + .product-links { margin-top: 14px; }
@media (max-width: 820px) {
  header.site .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding-top: 12px; padding-bottom: 12px; }
  header.site nav { grid-row: 2; grid-column: 1; margin-left: 0; }
  .nav-tooltip { left: 0; transform: none; }
  .language-control { grid-row: 2; grid-column: 2; justify-self: end; }
  .theme-control { grid-row: 1; grid-column: 2; justify-self: end; }
  .theme-control button { padding: 0; }
  .theme-control button span { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  header.site .wrap { min-height: 68px; gap: 10px; padding-left: 16px; padding-right: 16px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .brand-lockup { width: 160px; }
  .brand .ko { display: none; }
  main.wrap { padding-top: 36px; padding-bottom: 36px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 0.06em; }
  .desktop-break { display: none; }
  html[lang="ja"] .desktop-break,
  html[lang="ko"] .home-hero .desktop-break { display: initial; }
  .hero p { font-size: 16px; }
  .home-hero-stars { inset: 0 5px auto auto; width: 16px; height: 16px; background: none; opacity: 0.48; }
  .home-hero-stars::before, .home-hero-stars::after, .home-hero-spark--upper, .home-hero-spark--lower { display: none; }
  .home-hero-spark--main { inset: 0; transform: none; font-size: 16px; }
  section { margin-top: 32px; }
  .card { padding: 20px; }
  .product { column-gap: 16px; row-gap: 16px; }
  .product > .product-mark { grid-row: 1; }
  .product-title { align-self: center; margin-bottom: 0; }
  .product-body { grid-column: 1 / -1; }
  .product-with-preview { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product-with-preview > figure { width: 100%; max-width: 320px; justify-self: center; }
  .product-with-phone-preview > figure { max-width: 180px; }
  .haruvista-card-body {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "intro" "preview" "actions";
  }
  .project-grid, .project-wide, .project-showcase { grid-template-columns: 1fr; }
  .project-showcase { gap: 20px; }
  .project-wide { gap: 0; }
  .project-wide h3 { margin-bottom: 9px; }
  .project-preview { margin-top: 16px; border-radius: 8px; }
  .app-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 200px; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 12px; }
  .app-gallery figure { scroll-snap-align: start; }
  .founder { gap: 12px; }
  .founder-mark { width: 52px; height: 36px; }
  dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 0; border-bottom: 0; }
  dd { padding-top: 2px; }
  .hv-page section { margin-top: 40px; }
  .app-hero-title { gap: 14px; }
  .app-hero-title .app-page-icon { width: 64px; height: 64px; }
  .feature-grid, .promise-grid, .hv-page .app-page-shots { grid-template-columns: 1fr; }
  .app-shot { margin-top: 28px; }
}
@media (max-width: 900px) {
  .hv-pillar { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hv-pillar--reverse .hv-pillar-copy, .hv-pillar--reverse .hv-pillar-media { order: initial; }
  .hv-pillars { gap: 52px; }
  .hv-media-grid:has(.hv-demo-card) { grid-template-columns: minmax(0, 1fr); }
  .hv-media-grid:not(:has(.hv-demo-card)) .hv-story-card { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hv-media-grid:not(:has(.hv-demo-card)) .hv-story-video { margin: 0 auto; }
  .hv-scenario-grid, .hv-pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .hv-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  main.hv-landing { padding-top: 28px; padding-bottom: 48px; }
  main.hv-landing section { margin-top: 56px; }
  .hv-print-sheets { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hv-print-sheet--portrait { width: 72%; margin: 0 auto; }
  .hv-hero-head { text-align: left; }
  .hv-hero-head h1 { margin-left: 0; max-width: none; }
  .hv-hero .hv-hero-desc, .hv-hero .hv-hero-meta, .hv-hero .hv-stage-note { margin-left: 0; text-align: left; }
  .hv-stage-panel figcaption { text-align: left; }
  .hv-hero-cta { justify-content: flex-start; }
  .hv-tabs { justify-content: flex-start; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .hv-tab { flex: 0 0 auto; white-space: nowrap; }
  .hv-zoom-bar { width: 100%; padding: 4px 6px 4px 14px; justify-content: space-between; }
  .hv-zoom-step { min-width: 32px; padding: 0 3px; }
  .hv-zoom-hint { display: none; }
  .hv-ecos { padding: 20px; text-align: left; }
  .hv-ecos-list { justify-content: flex-start; }
  .hv-band { padding: 24px 18px; border-radius: 18px; }
  .hv-scenario, .hv-privacy-card, .hv-price-card, .hv-utility-card { padding: 22px 20px; }
  .hv-mini-grid { grid-template-columns: minmax(0, 1fr); }
  .hv-compare-badge { bottom: 8px; padding: 4px 9px; font-size: 11px; }
  .hv-compare-badge-before { left: 8px; }
  .hv-compare-badge-after { right: 8px; }
  .hv-compare-handle { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-button-lg, .hv-button-ghost, .hv-mini, .hv-pillar-media .project-preview, .hv-compare-handle { transition: none; }
  .hv-button-lg:hover, .hv-button-ghost:hover, .hv-mini:hover, .hv-pillar-media a.project-preview:hover { transform: none; }
  .hv-print-link { transition: none; }
  .hv-print-link:hover { transform: none; }
}
/* HaruVista pages: a product header (the app, its sections, the Store button) that stays at the top.
   TinyStar Labs moves to a by-line and the footer. Below 860px the sections fold under a menu button
   (navigation.js); without JavaScript they stay visible as a second row. */
html:has(header.hv-header) { scroll-padding-top: 84px; }
body:has(header.hv-header) .skip-link { z-index: 12; }
header.site.hv-header {
  --accent: #1967d2;
  --accent-soft: #e8f1fd;
  --button-text: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
}
:root[data-theme="dark"] header.site.hv-header { --accent: #8ab4f8; --accent-soft: #1b2b44; --button-text: #062e6f; }
header.site.hv-header .wrap { display: flex; align-items: center; gap: 14px; max-width: 1120px; min-height: 64px; }
.hv-brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; }
.hv-brand img { display: block; width: 32px; height: 32px; }
.hv-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.hv-brand-text strong { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.hv-brand-by { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.hv-header-menu { display: flex; flex: 1; align-items: center; gap: 6px; min-width: 0; }
header.site.hv-header .hv-header-nav { display: flex; gap: 2px; margin: 0 auto 0 10px; }
.hv-header-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hv-header-nav a:hover, .hv-header-nav a:focus-visible { background: var(--accent-soft); color: var(--accent); }
.hv-header-nav a[aria-current] { color: var(--accent); }
.hv-header-cta { flex-shrink: 0; justify-content: center; min-height: 40px; padding: 9px 16px; white-space: nowrap; }
.hv-menu-toggle { display: none; }
@media (max-width: 1080px) {
  header.hv-header .theme-control button { padding: 0; }
  header.hv-header .theme-control button span { display: none; }
}
@media (max-width: 860px) {
  header.site.hv-header .wrap { display: flex; flex-wrap: wrap; gap: 6px 10px; min-height: 60px; padding: 8px 16px; }
  .hv-brand { margin-right: auto; }
  .hv-header-cta { min-height: 40px; padding: 8px 14px; }
  .hv-header-menu { flex: 1 1 100%; flex-wrap: wrap; order: 3; }
  header.site.hv-header .hv-header-nav { flex: 1 1 100%; margin: 0; overflow-x: auto; }
  .hv-menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -6px; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
  .hv-menu-toggle[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); }
  header.hv-header[data-menu-ready] .hv-header-menu { position: absolute; top: 100%; right: 0; left: 0; display: none; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: 0 16px 28px -16px rgb(0 0 0 / 22%); }
  header.hv-header[data-menu-ready][data-menu-open] .hv-header-menu { display: grid; }
  header.hv-header[data-menu-ready] .hv-header-nav { grid-row: 1; grid-column: 1 / -1; flex-direction: column; overflow: visible; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  header.hv-header[data-menu-ready] .hv-header-nav a { min-height: 48px; font-size: 16px; }
  header.hv-header[data-menu-ready] .language-control { grid-row: 2; grid-column: 1; justify-self: start; }
  header.hv-header[data-menu-ready] .language-menu { right: auto; left: 0; }
  header.hv-header[data-menu-ready] .theme-control { grid-row: 2; grid-column: 2; justify-self: end; }
}
@media (max-width: 360px) {
  .hv-brand-by { display: none; }
}
