:root{--page-bg:#f5fafc;--surface:#fff;--surface-muted:#eaf6fb;--ink:#142e3b;--muted:#516977;--border:#d8e7ed;--primary:#076e94;--primary-hover:#066787;--primary-soft:#e3f3fa;--danger:#a72b36;--radius:20px;--sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--page-bg);color:var(--ink);font:16px/1.7 var(--sans)}button,input,select{font:inherit}button,a,summary,input,select{-webkit-tap-highlight-color:transparent}a{color:var(--primary);text-underline-offset:4px}button,summary{cursor:pointer}button:disabled{cursor:default;opacity:.48}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--primary);outline-offset:4px}[hidden]{display:none!important}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}.skip-link{position:fixed;top:-100px;left:15px;padding:10px;background:var(--surface);z-index:50}.skip-link:focus{top:10px}.hero{padding:34px 0 25px;text-align:center;max-width:850px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;text-transform:uppercase;color:var(--primary);margin:0 0 12px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3.5vw,42px);letter-spacing:-1.8px;line-height:1.16;text-wrap:balance;margin-bottom:16px}h2{font-size:28px;line-height:1.3;letter-spacing:-.8px;margin-bottom:22px}h3{font-size:18px;line-height:1.4;letter-spacing:-.3px;margin-bottom:10px}.hero-intro{color:var(--muted);font-size:17px;line-height:1.65;max-width:650px;margin:0 auto}.tool-shell{width:min(760px,calc(100% - 48px));margin:0 auto 54px;background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:24px 32px;box-shadow:0 12px 40px #163d5010}.tool-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.tool-label{font-size:14px;line-height:1.5;letter-spacing:0;font-weight:650;margin:0}.local-label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.local-label>span{height:6px;width:6px;border-radius:50%;background:#22846d}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:#f0f6f8;padding:4px;border-radius:12px;gap:4px}.mode-switch button{min-height:44px;background:transparent;border:1px solid transparent;border-radius:9px;color:var(--muted);font-size:14px;font-weight:650}.mode-switch button[aria-pressed=true]{background:var(--surface);color:var(--primary);border-color:var(--border);box-shadow:0 2px 4px #12334408}.preflight{text-align:center;font-size:12px;color:var(--muted);margin:14px 0 10px}.sound-display{display:flex;flex-direction:column;align-items:center;justify-content:center;height:118px;gap:12px}.sound-ring{width:82px;height:82px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);outline:1px solid #dceef6;outline-offset:8px;color:var(--primary)}.speaker-icon{width:38px;height:38px}.wave-bars{height:24px;display:flex;align-items:center;gap:4px}.wave-bars i{display:block;background:#88bfd3;width:3px;height:calc(var(--bar)*.55);border-radius:3px}.is-playing .wave-bars i{animation:wave 750ms ease-in-out infinite alternate;animation-delay:var(--delay);background:var(--primary)}@keyframes wave{from{transform:scaleY(.5)}to{transform:scaleY(1.7)}}.status-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.status-row p{font-size:13px;margin:0;color:var(--muted)}#countdown{font-size:25px;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-1px;white-space:nowrap}progress{display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:#edf3f6;margin:9px 0 23px}progress::-webkit-progress-bar{background:#edf3f6}progress::-webkit-progress-value{background:var(--primary)}progress::-moz-progress-bar{background:var(--primary)}.tool-options{display:grid;grid-template-columns:1fr 1fr;gap:28px}fieldset{padding:0;margin:0;border:0;min-width:0}legend,.field-label{font-size:12px;color:var(--muted);font-weight:650;margin-bottom:8px;display:block}.segmented{display:flex;gap:6px}.segmented label{position:relative;flex:1;cursor:pointer}.segmented input{position:absolute;width:1px;height:1px;opacity:0}.segmented span{display:flex;min-height:44px;align-items:center;justify-content:center;white-space:nowrap;padding:8px 10px;border:1px solid var(--border);border-radius:8px;font-size:13px}.segmented input:checked+span{color:var(--primary);background:var(--primary-soft);border-color:var(--primary)}.segmented input:focus-visible+span{outline:3px solid var(--primary);outline-offset:3px}.segmented input:disabled+span{opacity:.55}select{width:100%;min-height:44px;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:8px 12px;font-size:13px;color:var(--ink)}.test-options p{font-size:12px;color:var(--muted);margin:8px 0}.volume-row{display:flex;align-items:center;gap:15px;margin:20px 0}.volume-row label{font-size:12px;color:var(--muted);white-space:nowrap}.volume-row input{min-width:0;flex:1;accent-color:var(--primary);height:26px}.volume-row output{font-size:12px;color:var(--muted);width:36px;font-variant-numeric:tabular-nums}.playback-actions{display:grid;grid-template-columns:1fr 112px;gap:12px}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:50px;border:1px solid var(--border);border-radius:10px;text-decoration:none;font-size:14px;font-weight:650;padding:12px 18px}.button svg{width:18px;height:18px;fill:currentColor}.primary{background:var(--primary);border-color:var(--primary);color:white}.primary:hover{background:var(--primary-hover)}.stop{background:var(--surface);color:var(--danger)}.stop:not(:disabled){border-color:#d19097}.tool-footnote{font-size:11px;text-align:center;color:var(--muted);margin:12px 0 0}.after-cycle{margin-top:16px;padding:14px;background:var(--primary-soft);border-radius:10px;text-align:center}.after-cycle p{font-size:13px;margin:0}.text-button{border:0;background:transparent;color:var(--primary);font-weight:650;padding:10px;min-height:44px}.support-content{max-width:1000px}.content-section{padding:42px 0;border-top:1px solid var(--border)}.steps{padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin:25px 0 0}.step-number{font-size:12px;color:var(--primary);font-weight:750;display:block;margin-bottom:10px}.steps p{font-size:14px;color:var(--muted);margin-bottom:0}.editorial{max-width:800px;margin-inline:auto}.editorial p,.editorial li{color:var(--muted)}.editorial p:last-child{margin-bottom:0}.source-links{display:flex;flex-wrap:wrap;gap:12px 25px;font-size:13px;margin-top:20px}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px;background:var(--surface)}table{border-collapse:collapse;text-align:left;width:100%;min-width:620px;font-size:14px}th,td{padding:16px 20px;vertical-align:top;border-bottom:1px solid var(--border)}thead{background:var(--surface-muted);font-size:12px}tbody th{width:23%;font-weight:600}td{width:38%;color:var(--muted)}tr:last-child td,tr:last-child th{border-bottom:0}.related-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.resource-link{display:flex;gap:18px;padding:22px;border:1px solid var(--border);background:var(--surface);border-radius:14px;text-decoration:none}.resource-link:hover{border-color:var(--primary)}.resource-link h3{font-size:16px;color:var(--ink)}.resource-link p{color:var(--muted);font-size:13px;margin:0}.mini-preview{width:60px;min-width:60px;height:70px;border:1px solid #bddeeb;background:var(--primary-soft);border-radius:9px;display:grid;place-items:center;font-size:18px;font-weight:650;white-space:pre-line;line-height:1.3;text-align:center}.faq{max-width:800px;margin:auto}.faq details{border-bottom:1px solid var(--border)}.faq summary{padding:19px 30px 19px 0;font-size:16px;font-weight:600;position:relative;list-style:none}.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:'+';position:absolute;right:4px;color:var(--primary);font-size:22px;top:12px;font-weight:400}.faq details[open] summary::after{content:'−'}.faq details p{color:var(--muted);font-size:15px;max-width:710px;padding-bottom:10px}.review-note{text-align:center;font-size:11px;color:var(--muted);padding:12px 0 40px}.information{max-width:800px;padding-block:60px 80px;min-height:65vh}.information h1{font-size:42px}.information .lead{font-size:18px;color:var(--muted)}.information section{margin:35px 0}.information p{color:var(--muted)}.notice{background:#fff2d7;color:#6d4c0c;padding:12px;font-size:14px;border-radius:8px}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.hero{padding:30px 0 22px}.eyebrow{font-size:10px}h1{font-size:34px;letter-spacing:-1px}.hero-intro{font-size:15px;line-height:1.6}.tool-shell{width:calc(100% - 28px);padding:20px;margin-bottom:32px;border-radius:18px}.tool-top{margin-bottom:14px}.tool-label{font-size:12px}.local-label{font-size:10px}.preflight{font-size:11px}.sound-display{height:115px;gap:10px}.sound-ring{height:66px;width:66px}.speaker-icon{width:32px;height:32px}.tool-options{grid-template-columns:1fr;gap:14px}.volume-row{gap:10px;margin:17px 0}.playback-actions{grid-template-columns:1fr 88px;gap:8px}.button{font-size:13px;padding-inline:10px}.status-row p{font-size:12px}.content-section{padding:30px 0}h2{font-size:25px}.steps,.related-grid{grid-template-columns:1fr;gap:22px}.steps li{padding-left:35px;position:relative}.step-number{position:absolute;left:0;top:3px}.editorial{font-size:15px}.resource-link{padding:18px}.information{padding-block:38px 60px}.information h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.is-playing .wave-bars i{animation:none}}

/* Original shared navigation and footer template styles. */
:root {--muted-light:#64748b;--border-strong:#94a3b8;--surface-blue:#eaf6fb;--radius-sm:8px;--radius-md:12px;--shadow-sm:0 4px 14px rgba(15,23,42,.06);--shadow-md:0 18px 42px rgba(15,23,42,.09);--mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(203, 213, 225, 0.82);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand {
  flex: 0 0 auto;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.brand-copy {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.brand-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle[aria-expanded="true"] {
  border-color: var(--border-strong);
  background: var(--surface-blue);
  color: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.menu-icon-line {
  transform-origin: 12px 12px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon-line-top {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon-line-middle {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon-line-bottom {
  transform: translateY(-5px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}

.primary-nav a:hover {
  background: var(--surface-blue);
  color: var(--primary-hover);
}

.primary-nav .nav-privacy {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
}

.primary-nav .nav-privacy:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
  z-index: 50;
}

.language-menu summary {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 118px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.language-menu summary::marker {
  content: "";
  font-size: 0;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  width: 0;
  height: 0;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-bottom: 0;
  border-left: 4px solid transparent;
  content: "";
  flex: 0 0 auto;
  opacity: 0.58;
  transition: transform 180ms ease;
}

.language-menu summary:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.language-menu[open] summary {
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.language-menu[open] summary::after {
  transform: rotate(180deg);
}

.language-menu summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease, stroke 180ms ease;
}

.language-menu summary:hover svg,
.language-menu[open] summary svg {
  stroke: var(--primary-hover);
  transform: rotate(8deg);
}

.language-current {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.language-current-short {
  display: none;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: grid;
  gap: 3px;
  min-width: 160px;
  max-width: calc(100vw - 28px);
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.language-option,
.language-options a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.language-option:hover,
.language-options a:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
  text-decoration: none;
}

.language-option.is-current {
  background: var(--primary-soft);
  color: var(--primary-hover);
  cursor: default;
}

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}

.footer-brand {
  max-width: 510px;
}

.footer-logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.footer-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.footer-brand > p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--primary-hover);
}

.footer-email svg {
  width: 16px;
  height: 16px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 36px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-group p {
  margin: 0 0 3px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-group a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--primary-hover);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.67rem;
  line-height: 1.6;
}


.footer-email svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.brand{font-weight:inherit;letter-spacing:normal;}

@media (max-width:960px){.header-inner{gap:14px}.header-actions{gap:4px}.primary-nav a{padding-inline:9px;font-size:.8rem}}
@media (max-width:760px){
  .header-inner{align-items:center;flex-wrap:wrap;column-gap:10px;row-gap:0;padding:12px 0 10px}
  .header-actions{order:2;width:auto;align-items:center;flex-wrap:nowrap;gap:8px;margin-left:auto}
  .primary-nav{order:3;flex:1 0 100%;width:100%;display:none;gap:4px;margin-top:8px;padding:8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-md)}
  .primary-nav.is-mobile-open{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch}
  .primary-nav.is-mobile-open a{justify-content:flex-start;width:100%;min-height:48px;padding:12px 14px;border-radius:var(--radius-sm);font-size:.95rem}
  .mobile-menu-toggle{display:inline-flex}
  .language-menu{order:initial;margin-left:0}
  .primary-nav a{min-height:42px;padding-inline:10px}
  .footer-inner{align-items:flex-start;flex-direction:column}
}
@media (max-width:480px){
  .header-inner{column-gap:6px}.brand-copy{font-size:.96rem}.brand-copy small{display:none}.brand-mark{width:40px;height:40px}.header-actions{gap:6px}
  .primary-nav.is-mobile-open a{font-size:.92rem}.primary-nav{gap:4px}
  .footer-nav{width:100%;justify-content:space-between;gap:22px}
}
@media(prefers-reduced-motion:reduce){.menu-icon-line,.primary-nav a,.mobile-menu-toggle{transition:none}}

/* Water-blue visual refinement. Shared navigation keeps its original structure. */
:root {
  --page-bg: #f5f8fe;
  --surface: #ffffff;
  --surface-muted: #eef6ff;
  --surface-blue: #eaf4ff;
  --ink: #152d49;
  --muted: #52677f;
  --muted-light: #60738b;
  --border: #dce7f3;
  --border-strong: #a2b8d0;
  --primary: #0369a1;
  --primary-hover: #075985;
  --primary-soft: #e7f3fc;
  --danger: #a72b42;
  --shadow-sm: 0 4px 14px rgb(39 78 125 / 5%);
  --shadow-md: 0 16px 40px rgb(39 78 125 / 9%);
}

body {
  background:
    radial-gradient(ellipse 620px 420px at 18% 180px, #dff5fc80, transparent),
    radial-gradient(ellipse 680px 460px at 88% 420px, #e1eaff80, transparent),
    var(--page-bg);
}

.site-header {
  background: rgb(255 255 255 / 87%);
  border-bottom-color: rgb(216 229 245 / 80%);
}

.brand-mark, .footer-logo img {
  box-shadow: 0 4px 16px rgb(3 105 161 / 10%);
}

.primary-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.hero { padding-top: 38px; padding-bottom: 28px; }

.hero .eyebrow {
  display: inline-block;
  padding: 5px 13px;
  margin-bottom: 14px;
  background: #e8f3fc;
  border: 1px solid #d1e7f6;
  border-radius: 999px;
  color: #075985;
  font-size: 10px;
  letter-spacing: 1.6px;
}

.hero h1 {
  color: #153755;
  font-weight: 800;
  letter-spacing: -1.6px;
  margin-bottom: 14px;
}

.hero-intro { max-width: 640px; font-size: 16px; }

.tool-shell {
  position: relative;
  border-color: #d6e5f4;
  border-radius: 24px;
  box-shadow: 0 20px 64px -28px rgb(31 89 145 / 25%), 0 2px 8px rgb(31 89 145 / 3%);
  background: linear-gradient(180deg, #fbfdff 0, #ffffff 120px);
}

.tool-shell::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6 55%, #2dd4bf);
  border-radius: 0 0 4px 4px;
}

.tool-top { margin-bottom: 18px; }
.tool-label { font-weight: 750; color: #183d5e; }
.local-label { color: #426878; }
.local-label > span { background: #168369; box-shadow: 0 0 0 3px #e4f5ef; }

.mode-switch { background: #edf3fa; border: 1px solid #e2eaf4; padding: 4px; }
.mode-switch button { transition: background 160ms, color 160ms, box-shadow 160ms; }
.mode-switch button[aria-pressed=true] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(110deg, #0369a1, #087e8b);
  box-shadow: 0 3px 9px rgb(3 105 161 / 15%);
}

.preflight { color: #5a6e83; }
.sound-display { height: 112px; }
.sound-ring {
  position: relative;
  width: 74px;
  height: 74px;
  color: #0573ac;
  outline: 1px solid #d7eafb;
  outline-offset: 7px;
  background: linear-gradient(145deg, #e0f5ff, #e7edff);
  box-shadow: inset 0 1px 1px #fff, 0 4px 15px rgb(22 109 171 / 5%);
}
.wave-bars { gap: 5px; }
.wave-bars i { background: #81bcd8; }
.is-playing .sound-ring { outline-color: #71b9de; box-shadow: 0 0 0 13px #e8f6fd; }

.button { border-radius: 12px; transition: box-shadow 180ms, background 180ms, transform 180ms; }
.primary {
  border-color: transparent;
  background: linear-gradient(110deg, #0369a1, #087e8b);
  box-shadow: 0 5px 14px rgb(3 105 161 / 17%);
}
.primary:hover:not(:disabled) {
  background: linear-gradient(110deg, #075985, #086d78);
  box-shadow: 0 7px 20px rgb(3 105 161 / 23%);
  transform: translateY(-1px);
}
.primary:active:not(:disabled) { transform: translateY(0); }
.stop { background: #fff7f8; border-color: #f1d6dc; color: #a72b42; }
.stop:disabled { background: #f6f8fb; border-color: #e4eaf1; color: #6b7c90; opacity: 1; }
.stop:hover:not(:disabled) { background: #ffecef; }

.status-row { margin-top: 18px; min-height: 33px; }
#countdown {
  font-family: var(--mono);
  font-size: 23px;
  line-height: 1.4;
  color: #17466a;
  font-weight: 700;
  padding: 2px 10px;
  background: #eff6fc;
  border-radius: 8px;
}
progress, progress::-webkit-progress-bar { background: #e9f0f8; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #0284c7, #14b8a6); }
progress::-moz-progress-bar { background: #0284c7; }

legend, .field-label { color: #405c76; }
.segmented span, select {
  border-radius: 10px;
  background: #f8fbff;
  border-color: #d9e4f1;
  transition: background 150ms, border-color 150ms, box-shadow 150ms;
}
.segmented label:hover span { border-color: #8db7d6; }
.segmented input:checked + span {
  color: #075985;
  border-color: #55a5d2;
  background: #e5f2fc;
  box-shadow: inset 0 0 0 1px #55a5d2;
  font-weight: 700;
}
select:hover { border-color: #8db7d6; }
.volume-row { border-top: 1px solid #edf2f8; padding-top: 15px; margin-bottom: 12px; }
.volume-row input { accent-color: #0284c7; cursor: pointer; }
.volume-row output { color: #075985; font-family: var(--mono); font-weight: 650; }
.tool-footnote { color: #586b81; line-height: 1.65; }
.after-cycle { background: #eaf7f4; border: 1px solid #c8e7df; }

.content-section { border-top-color: #dce7f3; padding-block: 44px; }
.section-heading h2, .content-section > h2, .editorial h2, .faq h2 { color: #183b59; }
.steps { gap: 18px; }
.steps li {
  padding: 23px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #ffffffd9;
  box-shadow: 0 4px 14px rgb(40 78 120 / 3%);
}
.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  background: #e7f2fc;
  border-radius: 10px;
  color: #075985;
  font-family: var(--mono);
}
.steps h3 { font-size: 17px; }
.editorial { line-height: 1.8; }
.source-links a { font-weight: 600; }
.table-wrap { box-shadow: 0 6px 20px rgb(40 78 120 / 4%); }
thead { background: #eaf3fc; color: #244d6d; }
tbody tr:nth-child(even) { background: #f8fbff; }
.resource-link { box-shadow: 0 4px 14px rgb(40 78 120 / 3%); transition: border-color 160ms, box-shadow 160ms; }
.resource-link:hover { border-color: #8ab9da; box-shadow: 0 8px 22px rgb(40 78 120 / 8%); }
.mini-preview { border-color: #cce2f5; background: linear-gradient(145deg, #e7f6fc, #eaf0ff); color: #075985; }
.faq details { background: #fff; border: 1px solid #dce7f3; border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 17px 48px 17px 20px; font-size: 15px; }
.faq summary::after { right: 19px; top: 10px; }
.faq details[open] { border-color: #9fc5df; box-shadow: 0 4px 16px rgb(40 78 120 / 4%); }
.faq details p { margin: 0; padding: 0 20px 20px; }

.site-footer { background: #fafdff; border-top-color: #d8e6f3; }
.footer-group p { color: #42627f; }
.footer-email { padding: 6px 10px; background: #edf5fc; border-radius: 8px; color: #285573; }
.footer-bottom { border-top-color: #e1eaf4; }

@media (max-width: 700px) {
  .hero { padding: 26px 0 24px; }
  .hero h1 { font-size: 32px; letter-spacing: -1.1px; }
  .hero-intro { font-size: 15px; }
  .hero .eyebrow { font-size: 9px; padding: 4px 10px; letter-spacing: 1.3px; }
  .tool-shell { padding: 20px; border-radius: 20px; }
  .tool-top { align-items: flex-start; gap: 16px; }
  .local-label { max-width: 125px; font-size: 10px; line-height: 1.5; }
  .local-label > span { flex: 0 0 6px; }
  .sound-display { height: 100px; }
  .sound-ring { width: 62px; height: 62px; outline-offset: 5px; }
  .wave-bars { gap: 4px; }
  .status-row { margin-top: 14px; }
  #countdown { font-size: 21px; padding: 2px 8px; }
  .steps li { padding: 20px 20px 20px 66px; }
  .step-number { position: absolute; left: 18px; top: 21px; width: 30px; height: 30px; }
  .content-section { padding-block: 32px; }
  .faq summary { padding-left: 16px; }
  .faq details p { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .mode-switch button, .segmented span, select, .resource-link { transition: none; }
  .primary:hover:not(:disabled) { transform: none; }
}

/* Keep the original compact language trigger on narrow screens. */
@media (max-width: 480px) {
  .language-menu summary { min-width: 0; padding-inline: 10px; gap: 6px; font-size: .8rem; }
  .language-menu summary svg { width: 15px; height: 15px; }
  .language-current-full { display: none; }
  .language-current-short { display: inline; }
}

html[lang="ko"] :is(h1, h2, h3, p, li, button, label, summary, th, td) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

html[lang="ja"] :is(h1, h2, h3, p, li, summary) {
  line-break: strict;
}
