/* Scoped styles for /use-cases/voice-typing-iphone-ipad/. Uses --type-* tokens only. */
:lang(ko) .ios-guide-page,
:lang(ko) .ios-guide-page p,
:lang(ko) .ios-guide-page li,
:lang(ko) .ios-guide-page h1,
:lang(ko) .ios-guide-page h2,
:lang(ko) .ios-guide-page h3 {
  word-break: keep-all;
}

.ios-guide-page h1,
.ios-guide-page h2,
.ios-guide-page h3 {
  text-wrap: balance;
}

:lang(ja) .ios-guide-page h1,
:lang(ja) .ios-guide-page h2,
:lang(ja) .ios-guide-page h3,
:lang(zh-Hans) .ios-guide-page h1,
:lang(zh-Hans) .ios-guide-page h2,
:lang(zh-Hans) .ios-guide-page h3,
:lang(zh-Hant) .ios-guide-page h1,
:lang(zh-Hant) .ios-guide-page h2,
:lang(zh-Hant) .ios-guide-page h3 {
  text-wrap: auto;
  word-break: auto-phrase;
}

.ios-guide-page .eyebrow,
.ios-guide-page .ios-summary .summary-label,
.ios-guide-page .ios-mode-card .mode-tag {
  text-transform: none;
  letter-spacing: 0.02em;
}

:lang(ja) .ios-guide-page .eyebrow,
:lang(ko) .ios-guide-page .eyebrow,
:lang(zh-Hans) .ios-guide-page .eyebrow,
:lang(zh-Hant) .ios-guide-page .eyebrow {
  font-family: inherit;
  font-weight: 600;
}

.use-case-hero {
  padding-top: 122px;
  padding-bottom: 48px;
}

.ios-summary {
  margin-top: 24px;
  padding: 20px 24px;
  border-left: 3px solid #55786e;
  border-radius: 12px;
  background: #eef3f1;
}
.ios-summary .summary-label {
  margin: 0 0 10px;
  color: #365c55;
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ios-summary ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.ios-summary li {
  color: var(--ink);
  font-size: var(--type-body);
  line-height: 1.6;
}

.ios-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.ios-mode-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ios-mode-card .mode-tag {
  margin: 0;
  color: #365c55;
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ios-mode-card h3 {
  margin: 0;
  font-size: var(--type-title-small);
}
.ios-mode-card p:not(.mode-tag) {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--type-body);
  line-height: 1.65;
}
.ios-mode-card .mode-jump {
  margin-top: auto;
  padding-top: 8px;
  font-size: var(--type-body);
  font-weight: 600;
  color: #254c43;
  text-decoration: none;
}
.ios-mode-card .mode-jump:hover {
  text-decoration: underline;
}

.ios-feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
  margin-top: 32px;
}
.ios-feature-split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.ios-device-showcase {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  min-width: 0;
}
.ios-device-showcase figcaption {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--type-caption);
  text-align: center;
  max-width: 42ch;
  line-height: 1.5;
}
.ios-device-showcase figcaption strong {
  color: var(--ink);
}

.ipad-frame {
  display: inline-block;
  width: min(100%, 380px);
  padding: 10px;
  border-radius: 26px;
  border: 3px solid #b5afa7;
  background: #1f1d1b;
  box-shadow: 0 14px 30px rgba(40, 32, 24, 0.16);
}
.ipad-frame a {
  display: block;
  border-radius: 17px;
  overflow: hidden;
}
.ipad-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.iphone-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  overflow: hidden;
  min-width: 0;
}
.iphone-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.iphone-stage figcaption {
  color: var(--ink-muted);
  font-size: var(--type-caption);
  text-align: center;
  max-width: 22ch;
  line-height: 1.45;
}
.iphone-stage figcaption strong {
  color: var(--ink);
}
.iphone-frame {
  display: inline-block;
  width: min(100%, 196px);
  padding: 8px;
  border-radius: 32px;
  border: 3px solid #b5afa7;
  background: #1f1d1b;
  box-shadow: 0 12px 28px rgba(40, 32, 24, 0.16);
}
.iphone-frame a {
  display: block;
  border-radius: 24px;
  overflow: hidden;
}
.iphone-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.flow-arrow {
  color: #365c55;
  font-size: var(--type-title-small);
  font-weight: 700;
  flex: none;
}

.ios-copy-stack {
  display: grid;
  gap: 16px;
}
.ios-copy-stack h3 {
  margin: 0;
  font-size: var(--type-title-small);
}
.ios-copy-stack p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--type-body);
  line-height: 1.7;
}
.ios-copy-stack strong {
  color: var(--ink);
}
.ios-copy-stack ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.ios-copy-stack li {
  color: var(--ink-muted);
  font-size: var(--type-body);
  line-height: 1.6;
}
.ios-copy-stack li strong {
  color: var(--ink);
}

.ios-callout {
  padding: 18px 22px;
  border-left: 3px solid #55786e;
  background: #eef3f1;
  border-radius: 8px;
}
.ios-callout p {
  margin: 0;
  color: var(--ink);
  font-size: var(--type-body);
  line-height: 1.65;
}

.ios-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.ios-steps-grid article {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.ios-steps-grid h3 {
  margin: 0 0 8px;
  font-size: var(--type-body-large);
}
.ios-steps-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--type-body);
  line-height: 1.65;
}
.ios-steps-note {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: var(--type-body);
  line-height: 1.65;
}

.ios-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border-top: 2px solid #55786e;
  border-bottom: 1px solid #d7dedb;
  background: #fff;
  border-radius: 8px;
}
.ios-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  text-align: left;
  font-size: var(--type-body);
}
.ios-table th,
.ios-table td {
  padding: 15px 18px;
  border-top: 1px solid #e3e7e5;
  vertical-align: top;
  line-height: 1.6;
}
.ios-table thead th {
  border-top: 0;
  background: #f4f7f5;
  color: #254c43;
  font-weight: 650;
}
.ios-table tbody th {
  color: var(--ink);
  font-weight: 600;
  width: 24%;
}
.ios-table-note {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: var(--type-body);
  line-height: 1.65;
}

.ios-faq-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.ios-faq-list details {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.ios-faq-list details:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.ios-faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--type-body-large);
  line-height: 1.45;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--ink);
}
.ios-faq-list summary::-webkit-details-marker {
  display: none;
}
.ios-faq-list summary::after {
  content: "+";
  color: #365c55;
  font-weight: 700;
  flex: none;
}
.ios-faq-list details[open] summary::after {
  content: "−";
}
.ios-faq-list details p {
  margin: 12px 0 4px;
  color: var(--ink-muted);
  font-size: var(--type-body);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .ios-feature-split,
  .ios-feature-split.reverse,
  .ios-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ios-mode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .iphone-pair {
    flex-direction: column;
    padding: 24px 16px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .ios-summary {
    padding: 18px 20px;
  }
}
