/* generated by tools/subset-fonts.mjs: Pretendard (SIL OFL) subset */
@font-face { font-family: "Pretendard"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/pretendard-regular-77cc1511.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/pretendard-medium-e0480973.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/pretendard-semibold-777cd858.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700 950; font-style: normal; font-display: swap; src: url("/assets/fonts/pretendard-bold-588d69e1.woff2") format("woff2"); }
/* Extension for the family site. The base look is the original product.css (unchanged).
   Header height lives in --hh; --sub is the second bar (phones/tablets only). Everything that sits below the
   fixed header uses these two, so changing them moves the whole page consistently. */

:root {
  --hh: clamp(52px, 4.2vw, 58px);
  --sub: 0px;
  --ink: #111;
  --dark: #141311;          /* header colour: sampled from the four app icons */
  --dark-2: #1d1b18;
  --line: #ded8cf;
  --gold: #d99a2a;
}
html { font-size: clamp(14px, 0.55vw + 8.5px, 16px); }
@media (max-width: 980px) { :root { --hh: 56px; } body.has-subnav { --sub: 46px; } }

/* =============== header (dark, same colour as the app icons) =============== */
.site-header {
  height: var(--hh); padding: 0 clamp(16px, 2.4vw, 36px); gap: 16px;
  grid-template-columns: auto 1fr auto;
  background: var(--dark); border-bottom: 0; color: #f1ede4;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.brand img { width: clamp(80px, 7vw, 100px); height: auto; filter: brightness(1.7) contrast(1.08); } /* bronze wordmark, lifted for the dark bar */
.desktop-nav { gap: 4px; align-items: center; white-space: nowrap; color: #f1ede4; }
.desktop-nav > a, .nav-app {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 2px solid transparent;
  font-size: 0.9rem; font-weight: 800; color: #f1ede4;
}
.desktop-nav > a:hover, .nav-item:hover > .nav-app, .nav-item:focus-within > .nav-app { border-color: rgba(241, 237, 228, 0.55); }
.desktop-nav a[aria-current="page"], .nav-app[aria-current="page"] { border-color: var(--gold); }
.nav-item { position: relative; }
.nav-icon { width: 22px; height: 22px; border-radius: 6px; flex: none; }

.nav-sub {
  position: absolute; top: 100%; left: 50%; z-index: 30; min-width: 200px; margin: 0; padding: 8px; list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: var(--dark-2); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* pointer bridge */
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-sub li { margin: 0; }
.nav-sub a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 9px; font-size: 0.9rem; font-weight: 800; color: #e9e4da; white-space: nowrap; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: rgba(255, 255, 255, 0.09); }
.nav-sub a[aria-current="page"] { background: #f1ede4; color: #111; }
.nav-sub .pro-tag { margin-left: auto; }

.pro-tag { display: inline-block; margin-left: 4px; padding: 2px 9px; border-radius: 999px; color: #2a1b00; background: linear-gradient(180deg, #ffd27b, #d99a2a); font-size: 0.7rem; font-style: normal; font-weight: 900; letter-spacing: 0.04em; line-height: 1.5; vertical-align: middle; }
.detail-hero h1 .pro-tag { font-size: 0.9rem; }

/* language select (replaces the three chips) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.lang-wrap { justify-self: end; }
.lang-select { position: relative; display: inline-block; }
.lang-select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  min-height: 36px; padding: 0 34px 0 14px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; color: #f1ede4; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23f1ede4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  font: inherit; font-size: 0.84rem; font-weight: 800;
}
.lang-select select option { color: #111; background: #fff; }
.lang-select select:hover { border-color: rgba(255, 255, 255, 0.6); }
.lang-select select:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 2px; }
noscript .lang-switch { display: inline-flex; }

.menu-toggle { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; }
.menu-toggle span { background: #f1ede4; }

/* =============== second bar: phones and tablets only (desktop uses the drop-down) =============== */
.app-nav {
  display: none; position: fixed; top: var(--hh); left: 0; right: 0; z-index: 19; height: 46px;
  background: var(--dark-2); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.app-nav-inner { position: relative; width: 100%; height: 100%; padding-left: 14px; display: flex; align-items: center; gap: 14px; }
.app-nav-name { flex: none; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.88rem; font-weight: 900; color: #fff; }
.app-nav-links {
  position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: stretch; gap: 18px; padding: 0 26px 0 12px;
  overflow-x: auto; scrollbar-width: none; font-size: 0.84rem; font-weight: 800; color: #cfc9bd;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 26px), transparent);
  mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 26px), transparent);
}
.app-nav-links::-webkit-scrollbar { display: none; }
.app-nav-links a { flex: none; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.app-nav-links a:hover { color: #fff; }
.app-nav-links a[aria-current="page"] { color: #fff; border-color: var(--gold); }
.app-nav-links a.nav-pro { align-self: center; padding: 4px 12px; border: 0; border-radius: 999px; color: #2a1b00; background: linear-gradient(180deg, #ffd27b, #d99a2a); }
@media (max-width: 980px) { .site-header { grid-template-columns: 1fr auto auto; } .app-nav { display: block; } .desktop-nav { display: none; } .nav-sub, .nav-icon { display: none; } }

/* =============== mobile drawer additions =============== */
.mobile-drawer { overflow-y: auto; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 39; display: none; background: rgba(0, 0, 0, 0.42); }
body.drawer-open .drawer-backdrop { display: block; }
body.drawer-open { overflow: hidden; }
.drawer-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 12px; }
.drawer-sub { display: grid; padding: 0 0 8px 14px; border-bottom: 1px solid #e7e2dc; }
.drawer-sub a { padding: 11px 0 11px 12px; border-bottom: 0; font-size: 0.96rem; color: #444; }
.drawer-sub a[aria-current="page"] { color: #111; }
.drawer-sub a.nav-pro { justify-self: start; margin: 4px 0 4px 12px; padding: 6px 12px; border-radius: 999px; color: #2a1b00; background: linear-gradient(180deg, #ffd27b, #d99a2a); }

/* =============== hero: starts below the header, never shorter than the photo's own shape =============== */
.hero { margin-top: calc(var(--hh) + var(--sub)); min-height: max(calc(92svh - var(--hh) - var(--sub)), 52vw); padding-top: 56px; }
.hero-copy h1 { font-size: clamp(3rem, 7vw, 7.2rem); }
.hero-copy span { font-size: clamp(1rem, 1.5vw, 1.35rem); }
.app-hero .hero-bg { object-position: var(--pos, 50% 50%); }
.app-hero .hero-copy h1 { font-size: clamp(2.8rem, 6vw, 6.4rem); }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-links a { margin-top: 0; display: inline-flex; align-items: center; gap: 10px; }
.store-links .is-off { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 18px; color: #555; border: 1px dashed #aaa; }
.store-links .is-off span { display: flex; flex-direction: column; gap: 4px; line-height: 1.25; }
.store-links .is-off small { font-size: 0.72rem; font-weight: 700; }
.store-icon { width: 22px; height: 22px; flex: none; }

.app-intro { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; margin-bottom: 0; }
.app-intro .flow-item { min-height: 0; align-content: start; padding: 28px; }
.app-intro .flow-item p { margin: 0; color: #333; font-size: 1rem; line-height: 1.75; font-weight: 700; }
.app-features { min-height: auto; padding-top: 80px; }
.app-features .tool-links { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.app-features .tool-link-copy span { font-size: 1.3rem; }
.app-features .phone-mockup { width: min(250px, 100%); }
.section-title h2 { font-size: clamp(2rem, 3.8vw, 4.4rem); }

/* =============== detail pages =============== */
.detail-main { padding-top: calc(var(--hh) + var(--sub) + 24px); }
.support-main { padding-top: calc(var(--hh) + var(--sub) + 40px); }
.detail-hero { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; }
.detail-hero h1 { font-size: clamp(2.4rem, 5.2vw, 6.2rem); overflow-wrap: anywhere; }
.detail-hero.multi h1 { font-size: clamp(2.4rem, 4.4vw, 4.8rem); }
.detail-hero img { height: auto; }
.detail-hero > img { width: clamp(190px, 22vw, 300px); }
.detail-hero p a { text-decoration: underline; text-underline-offset: 4px; }
.plain-hero h1 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
.hero-shots { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; justify-content: flex-end; align-items: flex-start; }
.hero-shots li { flex: none; }
.hero-shots figure { margin: 0; width: clamp(150px, 15vw, 210px); }
.hero-shots.n2 figure { width: clamp(170px, 18vw, 250px); }
.hero-shots img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 22px 56px rgba(0, 0, 0, 0.1); }
.hero-shots figcaption { margin-top: 10px; color: #666; font-size: 0.9rem; font-weight: 800; line-height: 1.4; }
.detail-main .stems-hero { margin: 36px 0 0; }

/* cards: 3 across; a card left alone on its row stretches and switches to the icon-left layout */
.family-list { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 28px; }
.family-list article { flex: 1 1 calc(33.333% - 10px); min-width: 0; min-height: 0; padding: clamp(20px, 2.2vw, 30px); }
.feature-icon { height: clamp(64px, 6.5vw, 92px); max-width: 112px; }
.family-list article.wide { flex-basis: 100%; display: grid; grid-template-columns: clamp(80px, 8vw, 112px) minmax(0, 1fr); column-gap: 28px; align-items: start; }
.family-list article.wide .feature-icon { margin: 0; }
@media (min-width: 1181px) {
  .family-list article.solo3 { flex-basis: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .family-list article.solo3 .feature-icon { margin: 0; }
}
@media (max-width: 1180px) {
  .family-list article { flex-basis: calc(50% - 7px); }
  .family-list article.solo2 { flex-basis: 100%; display: grid; grid-template-columns: clamp(80px, 8vw, 112px) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .family-list article.solo2 .feature-icon { margin: 0; }
}
.family-list li strong { color: #111; font-weight: 900; }
.family-list li.step::before, .family-list li.note-li::before { content: none; }
.family-list li.step { display: flex; gap: 10px; align-items: baseline; }
.family-list li.step b { flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: #111; font-size: 0.74rem; }
.family-list li.note-li { margin-top: 6px; padding: 10px 12px; border-left: 3px solid var(--gold); background: #f7f3ea; color: #5a4a2a; font-size: 0.9rem; }
.family-list a { text-decoration: underline; text-underline-offset: 3px; }
.family-list .list-title, .family-list .list-lead { flex-basis: 100%; }
.family-list .list-title { margin: 28px 0 0; font-size: 1.8rem; }
.family-list .list-lead { margin: 0 0 4px; }
.family-list .demo-card { margin: 0 0 16px; }
.family-list .demo-video { max-width: 240px; }
.family-list .demo-card figcaption span { color: #666; }
.mail-link { font-weight: 900; }

.table-scroll { overflow-x: auto; margin-bottom: 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid #e6e1d9; text-align: left; vertical-align: top; line-height: 1.45; }
.compare thead th { background: #f4f0e8; font-size: 0.9rem; font-weight: 900; }
.compare tbody th { font-weight: 800; }
.compare td { white-space: nowrap; font-weight: 900; }
.compare th:not(:first-child), .compare td { width: 76px; text-align: center; }
.mini-cards { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini-cards li::before { content: none !important; }
.mini-cards a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.mini-cards a:hover { border-color: #111; }
.mini-cards strong { display: block; font-size: 1rem; }
.mini-cards span { display: block; margin-top: 4px; color: #666; font-size: 0.9rem; font-weight: 700; line-height: 1.45; }
.related-links { margin-top: 40px; }
.related-links h2 { margin: 0 0 14px; font-size: 1.6rem; }
.related-links .mini-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audio-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.audio-list li::before { content: none !important; }
.audio-list li { display: grid; grid-template-columns: minmax(90px, 180px) 1fr; gap: 14px; align-items: center; }
.audio-list li span { font-weight: 900; }
.audio-list audio { width: 100%; max-width: 380px; height: 40px; }

/* Japanese has no spaces: allow breaks anywhere (the base CSS uses keep-all, which suits Korean) */
html[lang="ja"] body { word-break: normal; overflow-wrap: anywhere; line-break: strict; }

/* =============== tablet / phone =============== */
@media (max-width: 980px) {
  .app-features .tool-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-links .mini-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { gap: 8px; padding: 0 14px; }
  .brand img { width: 92px; }
  .lang-select select { min-height: 36px; padding: 0 30px 0 12px; font-size: 0.8rem; background-position: right 11px center; }
  .hero { min-height: calc(88svh - var(--hh) - var(--sub)); padding: 40px 20px 48px; }
  .detail-main { padding-top: calc(var(--hh) + var(--sub) + 20px); }
  .support-main { padding-top: calc(var(--hh) + 30px); }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero > img { width: min(172px, 48vw); }
  .detail-hero h1 { font-size: 2.6rem; }
  .section-title h2 { font-size: 2.35rem; }
  .plain-hero h1 { font-size: 2.35rem; }

  /* app heroes: show the whole photo (instrument and hands) instead of a face crop */
  .hero.app-hero { display: block; min-height: 0; padding: 0; background: #111; }
  .app-hero::after { display: none; }
  .app-hero .hero-bg { position: static; display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
  .app-hero .hero-copy { padding: 26px 20px 44px; }
  .app-hero .hero-copy h1 { font-size: 2.6rem; }
  .app-intro { grid-template-columns: 1fr; margin-top: 40px; }
  .app-intro .flow-item { padding: 20px; }
  .app-features { padding-top: 44px; }
  .app-features .tool-links { grid-template-columns: 1fr; }
  .app-features .tool-link-copy span { font-size: 1.4rem; }
  .app-features .phone-mockup { width: min(258px, 72vw); }

  .hero-shots { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
  .hero-shots li { scroll-snap-align: start; }
  .hero-shots figure, .hero-shots.n2 figure { width: min(60vw, 220px); }
  .family-list article { flex-basis: 100%; }
  .family-list article.solo2 { flex-basis: 100%; display: grid; grid-template-columns: 82px minmax(0, 1fr); column-gap: 18px; }
  .family-list article.wide { display: block; padding: 20px 18px; }
  .family-list article.wide .feature-icon { display: none; }
  .family-list .list-title { font-size: 1.4rem; }
  .mini-cards, .related-links .mini-cards { grid-template-columns: 1fr; }
  .audio-list li { grid-template-columns: 1fr; gap: 4px; }
  .compare { font-size: 0.88rem; }
  .compare th, .compare td { padding: 10px 8px; }
}

/* short desktop windows (and phones held sideways): the bars scroll away instead of eating the screen */
@media (min-width: 721px) and (max-height: 620px) { .site-header, .app-nav { position: absolute; } }

/* =============== typography refinements for the feature cards and page headers =============== */
/* The base CSS sets card text in weight 760-950, which maps to Bold and looks heavy. Body copy is Medium, headings stay bold. */
.family-list .feature-copy h2 { font-size: clamp(1.15rem, 1.45vw, 1.4rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; text-wrap: balance; margin-bottom: 14px; }
.family-list ul { gap: 8px; }
.family-list li {
  position: relative; padding-left: 1.15em; color: #3b3732; font-size: 0.97rem; font-weight: 500; line-height: 1.68;
  letter-spacing: -0.005em; text-wrap: pretty; overflow-wrap: break-word;
}
.family-list li::before { position: absolute; left: 0; top: 0; margin: 0; color: #b4ada1; font-weight: 400; } /* hanging "/" marker: wrapped lines align with the text */
.family-list li strong { color: #111; font-weight: 700; }
.family-list li.step { padding-left: 0; }
.family-list li.note-li { padding-left: 12px; font-weight: 500; }
.family-list .feature-icon { height: clamp(56px, 5.6vw, 76px); margin-bottom: 22px; }
.family-list article.wide .feature-icon, .family-list article.solo2 .feature-icon, .family-list article.solo3 .feature-icon { margin-bottom: 0; }
.detail-hero span { color: #55504a; font-weight: 600; line-height: 1.65; max-width: 44ch; text-wrap: pretty; }
.detail-hero p { letter-spacing: 0; font-weight: 800; }
.app-intro .flow-item p { font-weight: 500; line-height: 1.8; text-wrap: pretty; }
.tool-link-copy strong { font-weight: 600; text-wrap: balance; }
.hero-copy span { font-weight: 600; text-wrap: pretty; }
.compare td, .compare tbody th { font-weight: 700; }
.mini-cards span { font-weight: 500; }

/* =============== home: one short, same-format block per app =============== */
.app-teaser { padding: clamp(56px, 7vw, 96px) clamp(20px, 3vw, 36px); }
.app-teaser + .app-teaser { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.app-teaser:nth-of-type(odd) { grid-template-columns: 1.1fr 0.9fr; }
.app-teaser:nth-of-type(even) { grid-template-columns: 0.9fr 1.1fr; }
.app-teaser:nth-of-type(even) .pro-teaser-copy { order: 2; }
.app-teaser .pro-teaser-copy h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.12; text-wrap: balance; }
.app-teaser .pro-teaser-copy span { font-weight: 500; line-height: 1.7; text-wrap: pretty; max-width: 46ch; }
.teaser-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.teaser-actions a { margin-top: 0; }
.pro-teaser-copy a.alt { color: #f1ede4; background: transparent; border: 1px solid rgba(241, 237, 228, 0.45); box-shadow: none; }
.app-teaser .demo-video, .app-teaser img.demo-video { display: block; width: 100%; max-width: clamp(200px, 19vw, 250px); height: auto; aspect-ratio: auto; margin: 0 auto; object-fit: cover; }
.app-teaser video.demo-video { aspect-ratio: 440 / 950; }
.app-teaser .demo-card figcaption span:empty { display: none; }
@media (max-width: 980px) {
  .app-teaser:nth-of-type(odd), .app-teaser:nth-of-type(even) { grid-template-columns: 1fr; }
  .app-teaser:nth-of-type(even) .pro-teaser-copy { order: 0; }
}

/* home: splash screen + app screen side by side, so each app reads as its own app */
.duo-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 1.6vw, 22px); }
.app-teaser .duo-phones > .demo-video, .app-teaser .duo-phones > .duo-video { flex: 0 0 auto; width: clamp(130px, 15vw, 200px); max-width: none; margin: 0; }
.app-teaser .duo-phones > :last-child { margin-top: clamp(28px, 4vw, 56px); }
.duo-phones .demo-video { border-radius: 24px; }
.duo-phones .duo-video .demo-video { width: 100%; max-width: none; margin: 0; aspect-ratio: 440 / 950; }
.duo-phones img.demo-video { height: auto; aspect-ratio: auto; }
@media (max-width: 980px) { .app-teaser .duo-phones > .demo-video, .app-teaser .duo-phones > .duo-video { width: clamp(130px, 32vw, 190px); } }

/* =============== fixes found in iOS Safari =============== */
/* hamburger: the three bars were stretched to the edges of the circle */
.menu-toggle { place-content: center; gap: 5px; }
/* store buttons: the base ".hero-copy span" rule (margin-top, big type) leaked into the label inside the button */
.store-links > * > span { margin: 0; width: auto; font-size: 1rem; line-height: 1.2; font-weight: 800; color: inherit; }
.app-hero .store-links .is-off { color: #fff; border-color: #aaa; }
.store-links .is-off small { display: block; }
.store-links a { min-height: 48px; }
@media (max-width: 720px) {
  /* home: the four apps as a compact 2x2 instead of four full-height phones */
  .tool-overview:not(.app-features) .tool-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .tool-overview:not(.app-features) .tool-link { padding: 0; border-bottom: 0; gap: 12px; align-content: start; }
  .tool-overview:not(.app-features) .phone-mockup { width: min(100%, 176px); }
  .tool-overview:not(.app-features) .tool-link-copy { gap: 6px; text-align: left; }
  .tool-overview:not(.app-features) .tool-link-copy span { font-size: 1.1rem; }
  .tool-overview:not(.app-features) .tool-link-copy strong { width: 100%; font-size: 0.82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .app-teaser .pro-teaser-copy span { font-size: 1rem; }
  .app-teaser .pro-teaser-copy h2 { font-size: 1.9rem; }
}

/* =============== mobile panel menu: same dark colour as the header, with the app icons =============== */
.mobile-drawer { width: min(86vw, 340px); padding: 20px 20px 28px; background: var(--dark); color: #f1ede4; box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45); }
.drawer-top { margin-bottom: 18px; }
.drawer-top img { width: 104px; filter: brightness(1.7) contrast(1.08); }
.drawer-top button { color: #f1ede4; font-size: 0.95rem; padding: 8px 4px; }
.drawer-nav { gap: 0; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #f1ede4; font-size: 1.05rem; font-weight: 800; }
.drawer-icon { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.drawer-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; background: rgba(255, 255, 255, 0.05); }
.drawer-sub { padding: 2px 0 10px 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.drawer-nav .drawer-sub a { padding: 10px 0 10px 10px; border-bottom: 0; font-size: 0.96rem; font-weight: 700; color: #cfc9bd; background: none; box-shadow: none; }
.drawer-nav .drawer-sub a[aria-current="page"] { color: #fff; font-weight: 900; box-shadow: inset 3px 0 0 var(--gold); }
.drawer-nav .drawer-sub a.nav-pro { color: #2a1b00; }
.drawer-nav > a:last-child { padding-left: 44px; } /* 지원 / Support: line up with the app names */

/* buttons do not inherit the page font by default (they use the system font, which can lack Hangul/Kana in some setups) */
button, select, input, textarea { font-family: inherit; }

.mobile-drawer:focus { outline: none; }
.drawer-top button:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 2px; border-radius: 6px; }

/* =============== home "choose an app": icons + chevron on phones, big phone mockups only where there is room =============== */
.tl-icon, .tl-chevron { display: none; }
.section-title .section-lead { max-width: 52ch; color: #55504a; font-size: 1rem; font-weight: 600; line-height: 1.6; margin-top: 4px; }
@media (max-width: 720px) {
  .tool-overview:not(.app-features) { padding: 40px 0 44px; }
  .tool-overview:not(.app-features) .section-title { margin-bottom: 20px; gap: 8px; }
  .tool-overview:not(.app-features) .section-title h2 { font-size: 2rem; }
  .tool-overview:not(.app-features) .tool-links { grid-template-columns: 1fr; gap: 12px; }
  .tool-overview:not(.app-features) .tool-link {
    display: grid; grid-template-columns: 52px minmax(0, 1fr) 14px; align-items: center; gap: 14px;
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  }
  .tool-overview:not(.app-features) .tool-link:active { background: #f4f0e8; }
  .tool-overview:not(.app-features) .phone-mockup { display: none; }
  .tool-overview:not(.app-features) .tl-icon { display: block; width: 52px; height: 52px; border-radius: 12px; }
  .tool-overview:not(.app-features) .tl-chevron { display: block; width: 9px; height: 16px; color: #8b857b; }
  .tool-overview:not(.app-features) .tool-link-copy { order: 0; margin: 0; gap: 3px; text-align: left; }
  .tool-overview:not(.app-features) .tool-link-copy span { font-size: 1.12rem; }
  .tool-overview:not(.app-features) .tool-link-copy strong { font-size: 0.86rem; line-height: 1.4; -webkit-line-clamp: 2; }

  /* intro blocks below: tighter so four apps do not run for eight screens */
  .app-teaser { padding: 44px 20px; gap: 28px; }
  .app-teaser .pro-teaser-copy h2 { font-size: 1.75rem; }
  .app-teaser .teaser-actions { margin-top: 22px; }
  .app-teaser .demo-card figcaption { display: none; }
  .app-teaser .duo-phones > .demo-video, .app-teaser .duo-phones > .duo-video { width: clamp(120px, 38vw, 170px); }
}
@media (max-width: 720px) {
  /* the original staggered "rise in" effect left cards 3-4 displaced while scrolling; the list simply sits in place */
  .reveal-ready .tool-overview:not(.app-features) .tool-link.reveal { transform: none; transition: none; }
}

/* =============== app overview pages: intro -> feature list -> a few screens -> download / other apps =============== */
.page-sec { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: clamp(40px, 5vw, 72px) 0 0; }
.page-sec > h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 900; letter-spacing: -0.01em; }
.sec-lead { margin: 0 0 22px; color: #55504a; font-weight: 600; line-height: 1.6; max-width: 60ch; }

.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feat-list li { margin: 0; }
.feat-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 12px; align-items: center; gap: 18px; height: 100%;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
}
.feat-row:hover { border-color: #111; }
.feat-icon { width: 56px; height: 56px; object-fit: contain; }
.feat-copy { display: grid; gap: 4px; min-width: 0; }
.feat-copy strong { font-size: 1.12rem; font-weight: 800; }
.feat-copy > span { color: #55504a; font-size: 0.95rem; font-weight: 500; line-height: 1.55; text-wrap: pretty; }
.feat-row .tl-chevron { display: block; width: 9px; height: 16px; color: #8b857b; }

.screens-strip { list-style: none; margin: 18px 0 0; padding: 0 0 10px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.screens-strip li { flex: 0 0 auto; scroll-snap-align: start; width: clamp(150px, 15.5vw, 214px); }
.screens-strip figure { margin: 0; }
.screens-strip img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1); }
.screens-strip figcaption { margin-top: 10px; color: #55504a; font-size: 0.88rem; font-weight: 600; line-height: 1.4; text-wrap: balance; }

.app-end { padding-bottom: clamp(48px, 6vw, 88px); }
.app-end-box { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 90px); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: #fff; align-items: start; }
.app-end-box h2 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 900; }
.app-end .store-links { margin-top: 0; }
.app-end .store-links a { color: #fff; background: #111; border: 1px solid #111; padding: 12px 18px; font-size: 0.95rem; font-weight: 800; }
.app-end .store-links .is-off { color: #555; background: transparent; }
.other-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.other-apps a { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: 14px; font-weight: 800; background: #faf8f3; }
.other-apps a:hover { border-color: #111; }
.other-apps img { width: 44px; height: 44px; border-radius: 10px; }

@media (max-width: 980px) { .feat-list { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .page-sec { width: min(100% - 28px, 620px); padding-top: 36px; }
  .feat-row { grid-template-columns: 44px minmax(0, 1fr) 10px; gap: 14px; padding: 14px 16px; border-radius: 14px; }
  .feat-icon { width: 44px; height: 44px; }
  .feat-copy strong { font-size: 1.05rem; }
  .feat-copy > span { font-size: 0.88rem; }
  .screens-strip { margin-right: -14px; padding-right: 14px; }
  .screens-strip li { width: min(46vw, 190px); }
  .app-end-box { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  .other-apps { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .other-apps a { padding-right: 16px; }
  .app-end .store-links > * { flex: 1 1 140px; justify-content: center; }
}
.site-footer .footer-credit {
  display: grid;
  gap: 8px;
}
.site-footer .footer-credit strong {
  font-size: 20px;
  color: #111;
}
.site-footer .footer-credit p {
  display: block;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.site-footer .footer-credit small {
  font-size: 12px;
  color: #666;
}
.site-footer nav {
  flex-wrap: wrap;
}
