:root {
  color-scheme: light;
  --ink: #18181d;
  --muted: #696975;
  --paper: #ffffff;
  --soft: #f7f7fa;
  --lavender: #f1edff;
  --lavender-strong: #e4dcff;
  --purple: #6840f5;
  --purple-dark: #5230d7;
  --purple-ink: #281565;
  --lime: #c8ff57;
  --line: #e3e3e8;
  --danger: #c8385f;
  --radius: 18px;
  --shadow: 0 18px 55px rgb(55 33 126 / 10%);
  font-family: Inter, Pretendard, "Noto Sans KR", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.file-open-warning { display: none; }
.site-header, main, footer { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.site-header:not(.content-header) { display: block; }
.header-primary { min-height: 72px; display: flex; align-items: center; gap: 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { display: block; width: 178px; height: auto; }
.brand-description { margin: 0; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.header-tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.free-badge { color: var(--purple); font-size: 12px; font-weight: 800; }
.language-switcher { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.language-switcher button { min-height: 30px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.language-switcher button:hover { color: var(--ink); }
.language-switcher button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 12%); }
.main-nav { display: flex; align-items: center; gap: 30px; min-height: 50px; border-top: 1px solid var(--line); }
.main-nav a, .footer-nav a, .locale-links a { color: #4f4f58; font-size: 14px; font-weight: 750; text-decoration: none; }
.main-nav a:hover, .footer-nav a:hover, .locale-links a:hover { color: var(--purple); }
.main-nav .nav-home { color: var(--purple); }
.announcement-bar { background: var(--lavender); border-block: 1px solid var(--lavender-strong); }
.announcement-bar > div { width: min(1200px, calc(100% - 40px)); min-height: 52px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement-bar p { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--purple-ink); font-size: 13px; font-weight: 700; }
.announcement-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 5px rgb(103 66 238 / 12%); }
.announcement-bar a { color: var(--purple); font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap; }

.partner-promo { margin-top: 34px; padding: 25px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); }
.partner-promo[hidden] { display: none; }
.partner-copy h2 { max-width: 720px; margin: 7px 0 8px; font-size: clamp(23px, 3vw, 36px); line-height: 1.1; }
.partner-copy > p:not(.ad-label, .affiliate-disclosure) { max-width: 680px; margin: 0; color: #c9c9d0; line-height: 1.55; }
.ad-label { margin: 0; color: #bdaeff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.affiliate-disclosure { margin: 14px 0 0; color: #aaaab3; font-size: 12px; line-height: 1.55; }
.partner-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 10px; background: var(--purple); color: #fff; font-weight: 850; text-decoration: none; white-space: nowrap; }
.partner-cta:hover { background: #7b5af4; }
.partner-cta[aria-disabled="true"] { background: #4b4b52; color: #d6d6dc; cursor: not-allowed; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 22px; padding: 44px 0 28px; }
.hero, .discovery-card { min-height: 570px; border-radius: 24px; overflow: hidden; }
.hero { padding: clamp(30px, 5vw, 54px); background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.eyebrow { margin: 0; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.hero .eyebrow { color: #d9d0ff; }
h1 { max-width: 700px; margin: 14px 0 18px; font-size: clamp(42px, 5.5vw, 68px); line-height: 1.02; letter-spacing: -.055em; word-break: keep-all; text-wrap: balance; }
.intro { max-width: 660px; margin: 0; color: #e8e3ff; font-size: 17px; line-height: 1.65; word-break: keep-all; }
html[lang="ja"] h1, html[lang="ja"] .intro { word-break: normal; overflow-wrap: anywhere; }
form { margin-top: 34px; padding: 22px; border-radius: 17px; background: #fff; color: var(--ink); box-shadow: 0 16px 34px rgb(44 20 131 / 24%); }
form > label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 850; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
input, select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); padding: 0 14px; }
input { font-size: 16px; }
input::placeholder { color: #a2a2ab; }
input:focus, select:focus { outline: 3px solid rgb(103 66 238 / 15%); border-color: var(--purple); }
button { border: 0; cursor: pointer; }
.search-row button { min-width: 132px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 18px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 850; }
.search-row button:hover { background: #303039; }
.search-row button:disabled { opacity: .55; cursor: wait; }
.result-tools input:disabled { opacity: .62; cursor: not-allowed; }
.query-hint { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.filters label { color: var(--muted); font-size: 11px; font-weight: 750; }
.filters select { min-height: 42px; margin-top: 6px; font-size: 12px; }
.search-help { margin-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.search-help summary { padding: 12px 2px 4px; color: var(--purple); font-size: 11px; font-weight: 850; cursor: pointer; }
.search-help ol { display: grid; gap: 5px; margin: 8px 0 9px; padding-left: 21px; font-size: 11px; line-height: 1.55; }
.search-help a { color: var(--purple); font-size: 11px; font-weight: 850; text-underline-offset: 3px; }
.error { min-height: 1.35em; margin: 10px 0 -5px; color: var(--danger); font-size: 12px; font-weight: 700; }
.batch-lab { margin-top: 12px; border: 1px solid rgb(255 255 255 / 28%); border-radius: 14px; background: rgb(35 16 105 / 22%); }
.batch-lab summary { padding: 14px 16px; color: #fff; font-size: 13px; font-weight: 850; cursor: pointer; }
.batch-lab[open] summary { border-bottom: 1px solid rgb(255 255 255 / 22%); }
.batch-lab-body { padding: 16px; border-radius: 0 0 13px 13px; background: #fff; color: var(--ink); }
.batch-lab-body > p { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.batch-lab-body > label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 850; }
.batch-lab textarea { width: 100%; min-height: 108px; resize: vertical; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.55; }
.batch-lab textarea:focus { outline: 3px solid rgb(103 66 238 / 15%); border-color: var(--purple); }
.batch-settings { display: grid; grid-template-columns: minmax(170px, 240px); margin-top: 9px; }
.batch-settings label { color: var(--muted); font-size: 10px; font-weight: 800; }
.batch-settings select { min-height: 38px; margin-top: 5px; font-size: 11px; }
.batch-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 10px; margin-top: 9px; }
.batch-actions button { min-height: 40px; padding: 0 15px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 850; }
.batch-actions button:disabled { opacity: .55; cursor: wait; }
.batch-actions > span { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.batch-secondary-actions { min-width: 0; display: flex; flex-wrap: nowrap; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.batch-secondary-actions::-webkit-scrollbar { display: none; }
.batch-secondary-actions button { flex: 0 0 auto; min-height: 36px; padding-inline: 10px; background: var(--soft); color: var(--ink); }
.batch-summary[hidden] { display: none; }
.batch-summary { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.batch-summary::-webkit-scrollbar { display: none; }
.batch-summary strong, .batch-summary span { display: inline-flex; flex: 0 0 auto; min-height: 29px; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--lavender); color: var(--purple); font-size: 9px; font-weight: 850; }
.batch-summary strong { background: var(--lime); color: #34410a; }
.batch-results { display: grid; gap: 8px; max-height: 350px; margin-top: 12px; overflow-y: auto; }
.batch-result-card { padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.batch-result-card header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.batch-result-card header div { min-width: 0; }
.scheme-badge { flex: 0 0 auto; display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: var(--purple); color: #fff; font-size: 11px; }
.scheme-1 { background: #e05c8a; }
.scheme-2 { background: #258b79; }
.scheme-3 { background: #d8792f; }
.scheme-4 { background: #3479b9; }
.scheme-5 { background: #7b62a8; }
.batch-result-card strong, .batch-result-card header div > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.batch-result-card strong { font-size: 12px; }
.rhyme-highlight { padding: 1px 3px; border-radius: 4px; background: #dcd3ff; color: inherit; }
.rhyme-1 { background: #ffd7e5; }
.rhyme-2 { background: #ccefe8; }
.rhyme-3 { background: #ffe0c5; }
.rhyme-4 { background: #d5e9ff; }
.rhyme-5 { background: #e7ddf6; }
.batch-result-card header div > span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.batch-result-count { flex: 0 0 auto; color: var(--purple); font-size: 9px; font-weight: 850; }
.batch-candidates { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.batch-candidates button { min-height: 29px; padding: 0 9px; border: 1px solid #dcd5f3; border-radius: 999px; background: #fff; color: var(--purple-ink); font-size: 10px; font-weight: 800; }
.batch-candidates button:hover { border-color: var(--purple); color: var(--purple); }
.batch-no-results { color: var(--muted); font-size: 10px; }

.discovery-card { position: relative; display: flex; flex-direction: column; padding: clamp(30px, 4vw, 44px); background: var(--lavender); color: var(--purple-ink); }
.discovery-badge { display: inline-flex; width: fit-content; padding: 7px 10px; border-radius: 7px; background: var(--lime); color: #28320c; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.discovery-card h2 { max-width: 440px; margin: 20px 0 16px; font-size: clamp(38px, 4.1vw, 54px); line-height: 1.08; letter-spacing: -.055em; word-break: keep-all; text-wrap: balance; }
.discovery-copy > p { max-width: 430px; margin: 0; color: #65578a; font-size: 15px; line-height: 1.65; word-break: keep-all; }
.sound-demo { position: relative; min-height: 150px; margin: 32px 0 18px; padding: 23px; border-radius: 16px; background: #fff; box-shadow: 0 15px 38px rgb(67 37 159 / 11%); overflow: hidden; }
.sound-demo::after { content: ""; position: absolute; inset: auto -35px -55px auto; width: 150px; height: 150px; border-radius: 50%; background: var(--purple); opacity: .1; }
.sound-demo span, .sound-demo strong, .sound-demo b { position: absolute; z-index: 1; font-size: clamp(18px, 2vw, 26px); font-weight: 900; }
.sound-demo span { left: 24px; top: 22px; }
.sound-demo strong { right: 28px; top: 58px; color: var(--purple); }
.sound-demo b { left: 68px; bottom: 22px; color: #7b69ad; }
.sound-demo i { position: absolute; left: 88px; top: 48px; width: 8px; height: 50px; border-radius: 999px; background: var(--purple); transform: rotate(62deg); opacity: .18; }
.sound-demo i:nth-of-type(2) { left: 111px; top: 47px; height: 74px; opacity: .3; }
.sound-demo i:nth-of-type(3) { left: 135px; top: 55px; height: 45px; opacity: .55; }
.library-count { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 20px; border-top: 1px solid #d7ccfb; }
.library-count strong { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.045em; }
.library-count span { color: #6e6092; font-size: 12px; font-weight: 750; }

.quick-searches { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 28px 0 44px; border-bottom: 1px solid var(--line); }
.quick-searches h2 { margin: 7px 0 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.example-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.example-list button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; }
.example-list button:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-1px); }
.example-list span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--lavender); color: var(--purple); font-size: 9px; font-weight: 900; }

.results { padding: 65px 0 80px; scroll-margin-top: 20px; }
.results-header, .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.results h2, .section-heading h2 { margin: 8px 0 0; font-size: clamp(34px, 4.4vw, 50px); letter-spacing: -.05em; }
.results-header code { display: inline-flex; padding: 9px 12px; border-radius: 8px; background: var(--lavender); color: var(--purple); font-weight: 800; }
.signature-block { display: grid; justify-items: end; gap: 8px; }
.signature-block p { max-width: 510px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.results-header .stress-signature { border: 1px solid #d4c8ff; background: #f2edff; }
.result-tools[hidden], .saved-panel[hidden] { display: none; }
.result-guide[hidden] { display: none; }
.result-tools { display: grid; grid-template-columns: minmax(220px, 1.35fr) minmax(150px, .65fr) auto auto; align-items: end; gap: 12px; margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.result-tools label { min-width: 0; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .02em; }
.result-tools label > span { display: block; margin-bottom: 6px; }
.result-tools input[type="search"], .result-tools select { min-height: 40px; font-size: 12px; }
.rare-toggle { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink) !important; white-space: nowrap; }
.rare-toggle input { width: 16px; min-height: 16px; margin: 0; accent-color: var(--purple); }
.rare-toggle > span { margin: 0 !important; }
.saved-summary { display: flex; min-height: 40px; align-items: center; justify-content: flex-end; gap: 9px; }
.saved-summary > span { color: var(--purple); font-size: 11px; font-weight: 850; white-space: nowrap; }
.saved-summary button, .saved-panel button { min-height: 36px; padding: 0 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 850; }
.saved-summary button:disabled { opacity: .4; cursor: default; }
.result-guide { margin-top: 12px; border: 1px solid #d9cdfd; border-radius: 12px; background: #faf8ff; }
.result-guide summary { padding: 13px 15px; color: var(--purple); font-size: 11px; font-weight: 850; cursor: pointer; }
.result-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 15px 15px; }
.result-guide-grid > div { padding: 12px; border-radius: 9px; background: #fff; }
.result-guide-grid strong { font-size: 11px; }
.result-guide-grid p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.saved-panel { margin-top: 14px; padding: 18px; border: 1px solid #d9cdfd; border-radius: 14px; background: var(--lavender); }
.saved-panel header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.saved-panel h3 { margin: 0; font-size: 18px; }
.saved-panel header button { background: transparent; color: var(--purple); }
.saved-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.saved-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: #fff; }
.saved-item strong, .saved-item span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-item strong { font-size: 15px; }
.saved-item span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.saved-item > button { width: 28px; min-height: 28px; padding: 0; background: var(--soft); color: var(--ink); font-size: 16px; }
.result-list { display: grid; gap: 40px; margin-top: 28px; }
.result-group { display: grid; gap: 22px; }
.result-group-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.result-group-header h3 { margin: 0; font-size: clamp(23px, 2.5vw, 31px); letter-spacing: -.04em; }
.result-group-header > span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: var(--lavender); color: var(--purple); font-size: 11px; font-weight: 850; }
.syllable-group { display: grid; gap: 11px; }
.syllable-heading { margin: 0; color: #676771; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.result-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; min-height: 154px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.result-row:hover { border-color: #c9bbff; transform: translateY(-2px); box-shadow: 0 12px 28px rgb(55 33 126 / 9%); }
.result-word strong { display: block; margin-bottom: 6px; font-size: 25px; line-height: 1.1; word-break: break-word; }
.result-word span, .result-pronunciation span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.result-word .result-meta { display: block; padding-right: 64px; }
.result-word .frequency-badge { display: inline-flex; margin-top: 9px; padding: 4px 7px; border-radius: 999px; background: #f0f0f4; color: #6d6d76; font-size: 9px; font-weight: 850; letter-spacing: .02em; }
.result-word .frequency-common { background: #e9f8c5; color: #405b00; }
.result-word .frequency-rare { background: #f4f1fb; color: #80788f; }
.result-pronunciation { grid-column: 1 / -1; padding-bottom: 40px; }
.result-pronunciation code { display: block; margin-bottom: 4px; color: #454550; font-size: 12px; white-space: normal; }
.result-pronunciation > span { display: block; }
.result-pronunciation .stress-tail { margin-top: 3px; color: var(--purple); font-weight: 800; }
.score { position: absolute; right: 20px; top: 20px; color: #aaaab3; font-size: 11px; }
.score .score-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 8px; font-weight: 800; text-align: right; }
.score strong { color: var(--purple); font-size: 27px; letter-spacing: -.04em; }
.actions { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 5px; }
.actions button { width: 34px; min-height: 32px; padding: 0; border-radius: 8px; background: var(--soft); color: #5e5e68; font-size: 17px; font-weight: 800; }
.actions button:hover { background: var(--lavender); color: var(--purple); }
.actions button[aria-pressed="true"] { background: var(--purple); color: #fff; }
.empty { grid-column: 1 / -1; padding: 70px 24px; border: 1px dashed #cec8df; border-radius: 14px; background: var(--soft); color: var(--muted); text-align: center; }

.learn-section { padding: 68px 0 88px; border-top: 1px solid var(--line); }
.section-heading > a { color: var(--purple); font-size: 13px; font-weight: 850; text-decoration: none; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 30px; }
.guide-card { position: relative; min-height: 260px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); text-decoration: none; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card > span { color: var(--purple); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.guide-card h3 { max-width: 290px; margin: 42px 0 13px; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.13; letter-spacing: -.045em; word-break: keep-all; }
.guide-card p { max-width: 330px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; word-break: keep-all; }
.guide-card b { position: absolute; right: 24px; top: 23px; font-size: 22px; }
.guide-card-primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.guide-card-primary > span, .guide-card-primary p { color: #ded6ff; }
.guide-card-accent { background: var(--lavender); border-color: var(--lavender-strong); }

.entry-ad { width: min(640px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 18px; background: transparent; color: var(--ink); }
.entry-ad::backdrop { background: rgb(24 24 29 / 72%); backdrop-filter: blur(5px); }
.entry-ad-card { padding: clamp(26px, 5vw, 46px); border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgb(0 0 0 / 28%); }
.entry-ad-card h2 { margin: 10px 0 14px; font-size: clamp(30px, 5vw, 48px); line-height: 1.03; }
.entry-ad-card > p:not(.ad-label, .affiliate-disclosure) { color: var(--muted); line-height: 1.65; }
.entry-ad-actions { display: flex; gap: 10px; margin-top: 24px; }
.secondary-button { min-height: 48px; padding: 0 18px; border-radius: 10px; background: #ececf1; color: var(--ink); font-weight: 800; }

footer { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); align-items: start; gap: 34px 52px; padding: 32px 0 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-main { display: grid; gap: 18px; }
.footer-nav, .locale-links { display: flex; align-items: center; gap: 18px; }
footer p { max-width: 620px; margin: 0; line-height: 1.6; }
.business-info { min-width: 0; }
.business-info > strong { display: block; margin-bottom: 12px; color: var(--ink); font-size: 11px; letter-spacing: .12em; }
.business-info-list { display: flex; flex-wrap: wrap; gap: 7px 18px; line-height: 1.55; }
.business-info-list > span { display: inline-flex; gap: 6px; min-width: 0; }
.business-info-list b { flex: 0 0 auto; color: #575762; font-weight: 800; }
.business-info-list a { color: inherit; text-underline-offset: 2px; }
.business-address { flex-basis: 100%; }

.content-header { min-height: 78px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 34px; border-bottom: 1px solid var(--line); }
.content-header .main-nav { justify-content: center; min-height: auto; border: 0; }
.locale-links a[aria-current="page"] { color: var(--purple); }
.content-page { padding: 74px 0 90px; }
.content-page article { max-width: 880px; }
.content-page h1 { max-width: 900px; margin-top: 14px; color: var(--ink); font-size: clamp(45px, 6vw, 72px); }
.content-lead { max-width: 760px; margin: 0 0 48px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.prose { display: grid; gap: 14px; }
.prose section { padding: 30px 32px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.prose section:nth-child(even) { background: var(--soft); }
.prose h2 { margin: 0 0 16px; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.04em; }
.prose p, .prose li { color: #484852; font-size: 16px; line-height: 1.85; }
.prose ul { padding-left: 22px; }
.setup-note { padding: 18px; border: 1px solid #e4cc78; border-radius: 12px; background: #fff8dc; color: #72520b !important; }
.contact-address a { color: var(--purple); font-size: 20px; font-weight: 850; }
.content-search-cta { margin-top: 38px; }
.content-search-cta a { display: inline-flex; min-height: 50px; align-items: center; padding: 0 22px; border-radius: 10px; background: var(--purple); color: #fff; font-weight: 850; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 960px) {
  .brand-description { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero, .discovery-card { min-height: auto; }
  .discovery-card { min-height: 480px; }
  .guide-cards { grid-template-columns: 1fr 1fr; }
  .guide-card:last-child { grid-column: 1 / -1; }
  .content-header { grid-template-columns: auto 1fr; }
  .content-header .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
  .content-header .locale-links { justify-self: end; }
}

@media (max-width: 720px) {
  .site-header, main, footer, .announcement-bar > div { width: min(100% - 28px, 1200px); }
  .header-primary { min-height: 66px; gap: 10px; }
  .brand img { width: 152px; }
  .free-badge { display: none; }
  .header-tools { gap: 8px; }
  .language-switcher button { padding-inline: 8px; }
  .main-nav { gap: 22px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .announcement-bar > div { align-items: flex-start; flex-direction: column; gap: 5px; padding: 13px 0; }
  .announcement-bar p { align-items: flex-start; line-height: 1.45; }
  .announcement-bar a { padding-left: 17px; }
  .partner-promo { grid-template-columns: 1fr; gap: 20px; }
  .partner-cta { width: 100%; }
  .hero-grid { padding-top: 24px; }
  .hero { padding: 29px 20px 22px; border-radius: 18px; }
  .hero h1 { font-size: 38px; line-height: 1.08; }
  html[lang="ja"] .hero h1 { font-size: 36px; line-height: 1.1; letter-spacing: -.055em; }
  .intro { font-size: 15px; }
  form { margin-top: 26px; padding: 16px; }
  .search-row { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-row button { width: 100%; }
  .batch-lab summary { padding-block: 13px; }
  .batch-lab-body { padding: 13px; }
  .batch-settings { grid-template-columns: 1fr; }
  .batch-actions { grid-template-columns: 1fr; }
  .batch-actions > span { grid-column: auto; }
  .discovery-card { min-height: 455px; padding: 28px 22px; border-radius: 18px; }
  .discovery-card h2 { max-width: 100%; font-size: 34px; line-height: 1.14; }
  .quick-searches { align-items: flex-start; flex-direction: column; }
  .example-list { justify-content: flex-start; }
  .results-header, .section-heading { align-items: flex-start; flex-direction: column; }
  .signature-block { width: 100%; justify-items: start; }
  .signature-block p { max-width: 100%; text-align: left; }
  .result-tools { grid-template-columns: 1fr; align-items: stretch; }
  .result-guide-grid { grid-template-columns: 1fr; }
  .saved-summary { justify-content: space-between; }
  .saved-summary button { min-height: 40px; }
  .saved-list { grid-template-columns: 1fr; }
  .result-list { gap: 34px; }
  .result-grid { grid-template-columns: 1fr; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-card:last-child { grid-column: auto; }
  footer { grid-template-columns: 1fr; }
  .footer-nav { flex-wrap: wrap; }
  .business-info-list { gap: 6px 14px; }
  .entry-ad-actions { flex-direction: column; }
  .content-header { grid-template-columns: 1fr auto; gap: 16px; }
  .content-header .main-nav { overflow-x: auto; }
  .locale-links { gap: 10px; }
  .content-page { padding-top: 52px; }
  .content-page h1 { font-size: clamp(39px, 11vw, 58px); }
  .content-lead { font-size: 17px; }
  .prose section { padding: 24px 20px; }
}
