/* The i2-suite homepage rhythm, with the working Zhuyin keyboard kept close. */
/* One responsive hero geometry for home and every keyboard landing page.
   Minimum heights reserve the artwork space while allowing longer copy to grow. */
.keyboard-landing-hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); align-items: center; gap: 40px; max-width: 1120px; min-height: 396px; padding-block: 28px; }
.keyboard-landing-hero > div { min-width: 0; }
.keyboard-landing-hero-art { display: flex; align-items: center; justify-content: center; }
.keyboard-landing-hero-art img { display: block; width: min(100%, 340px); height: auto; }
.keyboard-landing-nav { min-height: 65px; }
@media (max-width: 1000px) {
    .keyboard-landing-hero { gap: 12px; }
}
/* Reserve the extra wrapped headline line just above the stacked layout. */
@media (min-width: 681px) and (max-width: 760px) {
    .keyboard-landing-hero { min-height: 440px; }
}
@media (max-width: 680px) {
    .keyboard-landing-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; min-height: 560px; padding-block: 24px; }
    .keyboard-landing-hero-art img { width: min(100%, 210px); }
    .keyboard-landing-nav { min-height: 78px; }
}

/* i2Bopomo front-page SEO/GEO funnel (i2-frontpage) paired with the live Zhuyin workspace. */
.home-hero .hero-title-main { font-weight: inherit; color: var(--ink); }
.home-hero .home-assurance-check { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-size: 13px; font-weight: 500; color: var(--ink); }
.home-hero .home-assurance-check > span { display: inline-flex; align-items: center; gap: 6px; }
.home-hero .home-assurance-check > span + span::before { content: none !important; }
.home-hero .home-assurance-check .icon { width: 14px; height: 14px; color: var(--accent-readable, var(--accent)); stroke-width: 2.3; }

.home-seo-intro { padding-block: 22px 14px; }
.home-seo-intro-copy { margin: 0; padding-inline: 12%; color: var(--muted); font-size: 14.5px; line-height: 1.82; text-align: start; text-wrap: pretty; }
.home-seo-intro-copy strong { font-weight: 700; color: var(--ink); }
.home-seo-intro-copy a { color: var(--accent-readable, var(--accent)); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 38%, transparent); text-underline-offset: 3px; }
.home-seo-intro-copy a:hover { text-decoration-color: currentColor; }

.home-seo-funnel { min-width: 0; padding-bottom: 18px; }
.home-seo-heading { display: grid; justify-items: center; gap: 8px; margin-bottom: 34px; text-align: center; }
.home-seo-heading h2 { margin: 0; font-size: calc(clamp(26px, 3vw, 34px) * var(--site-heading-scale, 1)); font-weight: 750; line-height: 1.24; letter-spacing: -.7px; text-wrap: balance; }
.home-seo-heading p { max-width: 68ch; margin: 4px auto 0; color: var(--muted); font-size: 15px; line-height: 1.8; text-wrap: pretty; }

.home-tools-section { padding-block: 44px 20px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.home-tool-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-tool-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 18px 16px; border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: 20px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.home-tool-card-main { display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: auto auto; grid-template-areas: "art heading" "art desc"; column-gap: 14px; row-gap: 5px; align-items: start; align-content: center; min-height: 96px; color: inherit; text-decoration: none; }
.home-tool-card-art { grid-area: art; align-self: center; display: grid; place-items: center; width: 108px; height: 92px; }
.home-tool-card-art img { width: 100%; height: 100%; object-fit: contain; }
.home-tool-card-heading { grid-area: heading; position: relative; margin-top: 4px; padding-inline-end: 24px; }
.home-tool-card h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.26; letter-spacing: -.3px; color: var(--ink); }
.home-tool-card .card-arrow { position: absolute; inset-block-start: 2px; inset-inline-end: 0; color: var(--accent-readable, var(--accent)); opacity: .75; }
.home-tool-card .card-arrow .icon { width: 16px; height: 16px; }
.home-tool-card-description { grid-area: desc; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.56; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.home-dot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.home-dot-links a { color: var(--accent-readable, var(--accent)); font-weight: 500; text-decoration: none; }
.home-dot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-link-dot { color: var(--muted); opacity: .6; user-select: none; }
.home-card-dot-links { padding-top: 13px; border-top: 1px solid var(--line); margin-top: auto; }
.home-faq-dot-links { margin-top: 14px; padding-bottom: 4px; }

.home-categories, .home-geo-facts, .home-usecases, .home-guides { padding-block: 48px 20px; scroll-margin-top: 90px; }
.home-categories-grid, .home-usecases-grid, .home-guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-category-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: 24px; background: var(--surface); }
.home-category-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.home-category-art { flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center; padding: 6px; border-radius: 16px; background: var(--accent-soft); }
.home-category-art img { width: 100%; height: 100%; object-fit: contain; }
.home-category-title-wrap { min-width: 0; }
.home-category-count { display: inline-block; margin-bottom: 4px; color: var(--accent-readable, var(--accent)); font-size: 12px; font-weight: 600; }
.home-category-title-wrap h3 { margin: 0; font-size: 19.5px; font-weight: 700; line-height: 1.28; letter-spacing: -.3px; }
.home-category-description { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.76; }
.home-category-samples { margin-bottom: 14px; }
.home-category-cta { display: inline-flex; align-items: center; gap: 6px; width: fit-content; color: var(--ink); font-size: 13.5px; font-weight: 700; }
.home-category-cta .icon { width: 16px; height: 16px; color: var(--accent-readable, var(--accent)); }

.home-geo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.home-geo-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 24px; background: var(--surface); }
.home-geo-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.home-geo-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent-readable, var(--accent)); }
.home-geo-icon .icon { width: 22px; height: 22px; }
.home-geo-card h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.home-geo-card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.78; }

.home-usecase-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.home-usecase-card h3 { margin: 0 0 12px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.home-usecase-card p { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.78; }

.home-guide-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.home-guide-art { display: grid; place-items: center; height: 176px; padding: 18px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-bottom: 1px solid var(--line); }
.home-guide-art img { width: auto; max-width: 100%; height: 100%; max-height: 140px; object-fit: contain; }
.home-guide-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.home-guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 600; }
.home-guide-meta > span:first-child { color: var(--accent-readable, var(--accent)); }
.home-guide-body h3 { margin: 0 0 10px; font-size: 18.5px; font-weight: 700; line-height: 1.32; }
.home-guide-body p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-guide-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--accent-readable, var(--accent)); font-size: 13.5px; font-weight: 600; }
.home-guide-link .icon { width: 16px; height: 16px; }
.home-guides-footer { display: flex; justify-content: center; margin-top: 28px; }
.home-guides-all { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 14px; font-size: 14.5px; font-weight: 600; }
.home-guides-all .icon { width: 17px; height: 17px; }

.home-how { padding-block: 48px 44px; border-top: 1px solid var(--line); }
.home-steps-funnel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.home-steps-funnel li { display: flex; gap: 15px; align-items: flex-start; }
.home-step-num { flex: none; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--accent-readable, var(--accent)); }
.home-steps-funnel h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.home-steps-funnel p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.76; }

.home-promise-funnel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); align-items: center; gap: 38px; padding: 38px 46px; margin: 0 0 50px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); border-radius: 26px; background: var(--accent-soft); }
.home-promise-funnel .promise-copy h2 { margin: 10px 0 14px; font-size: calc(clamp(24px, 2.7vw, 31px) * var(--site-heading-scale, 1)); font-weight: 750; line-height: 1.25; }
.home-promise-funnel .promise-copy p { margin: 0 0 14px; color: color-mix(in srgb, var(--ink) 28%, var(--muted)); font-size: 14.5px; line-height: 1.8; }
.promise-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-readable, var(--accent)); font-size: 14px; font-weight: 650; }
.promise-link .icon { width: 16px; height: 16px; }
.promise-art { width: min(100%, 310px); justify-self: center; }
.promise-art svg { display: block; width: 100%; height: auto; }

.home-faq-funnel { padding-block: 10px 36px; max-width: 900px; margin-inline: auto; }
.home-faq-funnel-list { display: grid; gap: 12px; }
.home-faq-funnel-item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 18px 22px; }
.home-faq-funnel-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.home-faq-funnel-item summary::-webkit-details-marker { display: none; }
.home-faq-funnel-item summary h3 { margin: 0; font-size: 16.5px; font-weight: 650; line-height: 1.45; }
.home-faq-funnel-item summary .icon { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.home-faq-funnel-item[open] summary .icon { transform: rotate(180deg); }
.home-faq-funnel-item > p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }

[dir="rtl"] :is(.home-tool-card .card-arrow, .home-category-cta, .home-guide-link, .home-guides-all, .promise-link) .icon { transform: scaleX(-1); }

@media (max-width: 1020px) {
    .home-tool-cards, .home-categories-grid, .home-usecases-grid, .home-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .home-seo-intro-copy { padding-inline: 0; }
    .home-promise-funnel { padding: 30px; gap: 24px; }
}
@media (max-width: 760px) {
    .home-tool-cards, .home-categories-grid, .home-geo-grid, .home-usecases-grid, .home-guides-grid, .home-steps-funnel { grid-template-columns: 1fr; gap: 16px; }
    .home-promise-funnel { grid-template-columns: 1fr; padding: 26px 22px; }
    .promise-art { width: 180px; grid-row: 1; }
}

.home-page { --home-muted: #556173; background: #fdfdfd; }
.home-content { font-family: var(--font-body); line-height: 1.6; }
.home-content[lang="en"] { --font-body: "Google Sans Flex", Arial, sans-serif; }
.home-content .container { width: min(1120px, calc(100% - 64px)); }
.home-content h1, .home-content h2, .home-content h3 { text-wrap: balance; }
.home-content p { text-wrap: pretty; }
.home-content #home-title, .home-content #home-title > span { letter-spacing: normal; }
.home-hero-band { background: #fff0f3; border-bottom: 1px solid #f4dce2; }
.home-hero-copy { text-align: center; min-width: 0; }
.home-eyebrow { display: block; font-size: 11px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; color: var(--home-muted); margin-bottom: 12px; }
.home-hero h1 { margin: 0 0 17px; font-size: clamp(36px, 4vw, 52px); line-height: 1.13; letter-spacing: -1.6px; font-weight: 800; }
.home-hero h1 > span { color: var(--accent-readable, var(--accent)); }
.home-lead { max-width: 460px; margin: 0 auto; color: var(--home-muted); font-size: 16px; line-height: 1.75; }
.home-hero-actions { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 23px; }
.home-cta { min-height: 54px; min-width: 185px; padding: 11px 18px 11px 23px; gap: 18px; border-radius: 13px; font-size: 15px; }
.home-cta .icon { width: 29px; height: 29px; padding: 6px; background: #ffffff25; border-radius: 50%; }
.home-text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--accent-readable, var(--accent-hover)); font-size: 14px; font-weight: 650; }
.home-text-link .icon { width: 17px; height: 17px; }
.home-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-assurance { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 12px; margin-top: 17px; color: var(--home-muted); font-size: 12px; }
.home-assurance span + span::before { content: "·"; margin-right: 12px; }
.home-quick-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 22px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.home-quick-nav > span { color: var(--home-muted); }
.home-quick-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: var(--ink); font-weight: 550; }
.home-quick-nav a:hover { color: var(--accent-readable, var(--accent-hover)); }
.home-quick-nav .icon { width: 14px; height: 14px; color: var(--accent-readable, var(--accent-hover)); }
.home-typing { padding-block: 32px 0; }
.home-section-heading { text-align: center; margin-bottom: 27px; }
.home-section-heading h2 { margin: 0; font-size: clamp(26px, 2.8vw, 34px); font-weight: 750; line-height: 1.2; letter-spacing: -.7px; }
.home-section-heading > p { max-width: 660px; margin: 12px auto 0; color: var(--home-muted); font-size: 15px; line-height: 1.7; }
.home-typing-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(740px, calc(100% - 48px)); margin: 0 auto 17px; }
.home-typing-heading h2 { margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -.4px; }
.home-typing-heading p { color: var(--home-muted); font-size: 13px; margin: 4px 0 0; }
.home-typing-heading .home-text-link { flex-shrink: 0; font-size: 12px; }
#typing { scroll-margin-top: 18px; }
#typing:focus { outline: none; }
.home-content #keyboardApp { scroll-margin-top: 16px; margin-bottom: 0; }
.home-typing-guide { max-width: 980px; padding-block: 29px 54px; }
.home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.home-steps > li { display: flex; align-items: flex-start; gap: 12px; }
.home-step-number { display: grid; place-items: center; flex: 0 0 28px; height: 28px; background: var(--accent-soft); color: var(--accent-readable, var(--accent-hover)); border-radius: 8px; font-size: 12px; font-weight: 700; }
.home-steps h3 { font-size: 15px; margin: 2px 0 5px; line-height: 1.4; }
.home-steps p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--home-muted); }
.home-steps kbd { font: inherit; color: var(--ink); white-space: nowrap; }
.home-steps-link { margin: 17px 0 0; text-align: center; }
.home-steps-link .home-text-link { font-size: 13px; }
.home-learn { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; padding: 37px 44px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.home-learn-copy h2 { font-size: clamp(27px, 3vw, 37px); letter-spacing: -.9px; line-height: 1.2; max-width: 450px; margin: 0 0 15px; }
.home-learn-copy > p { max-width: 460px; margin: 0 0 18px; color: var(--home-muted); font-size: 15px; line-height: 1.8; }
.home-learn-copy .home-eyebrow { color: var(--accent-readable, var(--accent-hover)); }
.home-learning-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 15px; }
.home-learning-links a { color: var(--home-muted); font-size: 13px; min-height: 35px; display: inline-flex; align-items: center; }
.home-learning-links a:hover { color: var(--accent-readable, var(--accent-hover)); text-decoration: underline; text-underline-offset: 4px; }
.home-reading-art { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 240px; padding: 24px 20px; border-radius: 19px; background: var(--accent-soft); }
.home-reading-symbols { display: flex; gap: 10px; }
.home-reading-symbols span { display: grid; place-items: center; width: 58px; height: 64px; background: var(--surface); box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 13%, var(--line)); border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line)); border-radius: 11px; color: var(--accent-readable, var(--accent-hover)); font: 34px Arial, sans-serif; }
.home-reading-art > .icon { width: 24px; height: 24px; margin: 20px 0 6px; transform: rotate(90deg); color: var(--home-muted); }
.home-reading-word { font: 58px/1.4 Arial, sans-serif; color: var(--ink); }
.home-reading-caption { font-size: 13px; color: var(--home-muted); margin-top: 7px; }
.home-methods { padding-block: 60px; }
.home-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-method-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.home-method-card:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 12px 30px #18223b09; }
.home-method-main { display: flex; flex: 1; flex-direction: column; padding: 25px 25px 17px; }
.home-method-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.home-method-heading h3 { font-size: 25px; line-height: 1.2; letter-spacing: -.6px; margin: 0; }
.home-native { font: 600 21px Arial, sans-serif; color: var(--accent-readable, var(--accent-hover)); }
.home-method-art { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; height: 133px; margin: 21px 0 17px; border-radius: 13px; background: var(--canvas); direction: ltr; }
.home-method-code { font-size: 25px; font-weight: 650; color: var(--accent-readable, var(--accent-hover)); }
.home-method-result { font: 33px/1.2 Arial, sans-serif; color: var(--ink); }
.home-root-keys { display: flex; gap: 10px; }
.home-root-keys > span { display: grid; justify-items: center; min-width: 53px; padding: 7px 10px 10px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 9px; background: var(--surface); font: 27px/1.25 Arial, sans-serif; }
.home-root-keys small { font: 10px/1.5 "Google Sans Flex", sans-serif; color: var(--home-muted); align-self: start; justify-self: start; }
.home-method-main > p { color: var(--home-muted); font-size: 14px; margin: 0 0 18px; line-height: 1.75; flex: 1; }
.home-method-action { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--accent-readable, var(--accent-hover)); }
.home-method-action .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--accent-soft); }
.home-method-extra { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 13px 25px; border-top: 1px solid var(--line); }
.home-method-extra a { min-height: 30px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--home-muted); }
.home-method-extra a:hover { color: var(--accent-readable, var(--accent-hover)); }
.home-method-extra .icon { width: 13px; height: 13px; }
.home-tools-band { border-block: 1px solid var(--line); background: var(--canvas); padding-block: 47px 50px; }
.home-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-tool { display: flex; gap: 13px; padding: 21px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; min-width: 0; }
.home-tool:hover { border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); }
.home-tool-mark { flex: 0 0 39px; height: 42px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-readable, var(--accent-hover)); border-radius: 9px; font: 23px Arial, sans-serif; }
.home-tool strong { display: block; font-size: 15px; line-height: 1.4; margin: 1px 0 5px; }
.home-tool small { display: block; color: var(--home-muted); font-size: 12px; line-height: 1.7; }
.home-promise { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 60px; padding-block: 55px; border-bottom: 1px solid var(--line); }
.home-promise h2 { font-size: 32px; line-height: 1.25; letter-spacing: -.6px; margin: 0 0 15px; }
.home-promise p { margin: 0 0 12px; color: var(--home-muted); font-size: 14px; line-height: 1.85; }
.home-privacy-art { position: relative; max-width: 290px; width: 100%; justify-self: center; }
.home-privacy-browser { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); overflow: hidden; box-shadow: 0 10px 30px #19213308; }
.home-browser-top { display: flex; align-items: center; gap: 5px; padding: 14px; border-bottom: 1px solid var(--line); background: var(--canvas); }
.home-browser-top span { width: 5px; height: 5px; border-radius: 50%; background: var(--home-muted); opacity: .55; }
.home-browser-body { padding: 22px 24px 28px; }
.home-browser-body > strong { display: block; font: 34px/1.4 Arial, sans-serif; margin-bottom: 14px; }
.home-browser-line { height: 5px; border-radius: 3px; margin-top: 9px; width: 83%; background: var(--line); }
.home-browser-line:last-child { width: 57%; }
.home-local-badge { display: flex; align-items: center; gap: 9px; width: fit-content; padding: 11px 15px; margin: -5px auto 0; position: relative; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 17%, var(--line)); color: var(--accent-readable, var(--accent-hover)); border-radius: 11px; font-size: 12px; font-weight: 600; }
.home-local-badge .icon { width: 17px; height: 17px; }
.home-faq { display: grid; grid-template-columns: .65fr 1fr; gap: 70px; padding-block: 55px 10px; }
.home-faq-intro h2 { font-size: 33px; line-height: 1.22; letter-spacing: -.7px; margin: 0 0 13px; }
.home-faq-intro p { color: var(--home-muted); font-size: 14px; max-width: 280px; }
.home-faq-item { border-bottom: 1px solid var(--line); }
.home-faq-item:first-child { border-top: 1px solid var(--line); }
.home-faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 65px; padding: 17px 0; list-style: none; font-size: 15px; font-weight: 600; }
.home-faq-item > summary::-webkit-details-marker { display: none; }
.home-faq-item > summary .icon { width: 17px; height: 17px; flex: none; color: var(--home-muted); transition: transform .15s; }
.home-faq-item[open] > summary .icon { transform: rotate(180deg); }
.home-faq-item > p { color: var(--home-muted); font-size: 14px; line-height: 1.85; margin: 0 25px 18px 0; }
.home-faq-item > .home-text-link { margin-bottom: 16px; font-size: 13px; }
.home-content :is(a, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
.home-content .home-method-main:focus-visible { border-radius: 20px 20px 0 0; }
.home-content .home-cta:focus-visible { outline-color: var(--ink); border-radius: 13px; }
:root[data-appearance="dark"] .home-page { --home-muted: #b3bdcc; background: var(--page-bg); }
:root[data-appearance="dark"] .home-hero-band { background: #2b1d27; border-color: #47323d; }
@media (max-width: 1000px) {
    .home-hero h1 { font-size: 40px; }
    .home-learn { gap: 28px; padding: 30px; }
    .home-method-main { padding: 21px 19px 17px; }
    .home-method-extra { padding-inline: 19px; }
    .home-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-faq { gap: 35px; }
}
@media (max-width: 680px) {
    .home-content .container { width: calc(100% - 32px); }
    .home-hero h1 { font-size: clamp(32px, 8.3vw, 42px); letter-spacing: -1px; margin-bottom: 13px; }
    .home-lead { font-size: 14px; max-width: 360px; }
    .home-hero-actions { gap: 15px; margin-top: 18px; }
    .home-hero-actions .home-text-link { font-size: 12px; }
    .home-cta { min-width: 151px; min-height: 48px; gap: 12px; padding: 9px 13px 9px 16px; font-size: 14px; }
    .home-assurance { font-size: 10px; gap: 6px 9px; margin-top: 12px; }
    .home-assurance span + span::before { margin-right: 9px; }
    .home-quick-nav { gap: 5px 17px; padding-block: 11px; font-size: 12px; }
    .home-quick-nav > span { width: 100%; text-align: center; font-size: 11px; }
    .home-typing { padding-top: 24px; }
    .home-typing-heading { width: calc(100% - 32px); align-items: flex-start; gap: 12px; }
    .home-typing-heading h2 { font-size: 22px; }
    .home-typing-heading p { font-size: 12px; }
    .home-typing-heading .home-text-link { max-width: 93px; overflow-wrap: anywhere; font-size: 11px; gap: 5px; line-height: 1.5; }
    .home-typing-heading > div { min-width: 0; overflow-wrap: anywhere; }
    .home-typing-guide { padding-block: 24px 36px; }
    .home-steps { grid-template-columns: 1fr; gap: 18px; }
    .home-steps > li { gap: 12px; }
    .home-steps h3 { margin-bottom: 3px; }
    .home-steps-link { text-align: left; padding-left: 40px; margin-top: 9px; }
    .home-learn { grid-template-columns: 1fr; gap: 23px; padding: 24px; border-radius: 18px; }
    .home-learn-copy h2 { font-size: 29px; }
    .home-learn-copy > p { font-size: 14px; }
    .home-reading-art { min-height: 210px; }
    .home-reading-symbols span { width: 49px; height: 55px; font-size: 29px; }
    .home-reading-word { font-size: 48px; }
    .home-methods { padding-block: 38px; }
    .home-section-heading { margin-bottom: 23px; }
    .home-section-heading > p { font-size: 14px; }
    .home-method-grid { grid-template-columns: 1fr; gap: 16px; }
    .home-method-main { padding: 24px 23px 18px; }
    .home-method-extra { padding-inline: 23px; }
    .home-method-art { height: 112px; }
    .home-method-main > p { margin-bottom: 16px; }
    .home-tools-band { padding-block: 34px; }
    .home-tools-grid { grid-template-columns: 1fr; gap: 10px; }
    .home-tool { padding: 18px; }
    .home-promise { grid-template-columns: 1fr; gap: 26px; padding-block: 36px; }
    .home-promise h2 { font-size: 28px; }
    .home-privacy-art { max-width: 245px; }
    .home-faq { grid-template-columns: 1fr; gap: 20px; padding-block: 36px 0; }
    .home-faq-intro h2 { font-size: 28px; }
    .home-faq-intro p { max-width: none; }
}
@media print { .home-hero-band, .home-quick-nav, .home-methods, .home-tools-band, .home-promise, .home-faq { display: none; } }

.home-content:is([lang="ar"],[lang="fa"],[lang="ur"]) { --font-body: "Noto Kufi Arabic", "Google Sans Flex", sans-serif; font-family: var(--font-body); line-height: 1.95; }
.home-content[dir="rtl"] :is(h1,h2,h3,.home-eyebrow) { letter-spacing: 0; }
.home-content:is([lang="ar"],[lang="fa"],[lang="ur"]) :is(h1,h2,h3) { line-height: 1.65; }
.home-content:is([lang="ar"],[lang="fa"],[lang="ur"]) .home-hero h1 { font-size: clamp(29px,3.4vw,43px); }
.home-content[dir="rtl"] .home-assurance span + span::before { margin-right: 0; margin-inline-end: 12px; }
.home-content[dir="rtl"] :is(.home-cta,.home-text-link,.home-tool,.home-method-action,.home-method-extra a,.home-quick-nav a) > .icon { transform: rotate(180deg); }
.home-content[dir="rtl"] :is([lang^="zh"], .home-reading-symbols, .home-method-code, .home-root-keys) { direction: ltr; unicode-bidi: isolate; }
.home-content[dir="rtl"] .home-reading-symbols { font-family: Arial, sans-serif; }
@media (max-width: 680px) {
    .home-content[dir="rtl"] .home-steps-link { text-align: start; padding-left: 0; padding-inline-start: 40px; }
    .home-content:is([lang="ar"],[lang="fa"],[lang="ur"]) .home-hero h1 { font-size: clamp(26px,7.6vw,36px); }
}
