/* Homepage content only. The shared generator, header and footer keep their own styles. */
.home-main .home-intro .home-hero{padding:26px 0 7px;margin:0;text-align:center}
.home-main .home-hero h1{font-size:clamp(28px,3.6vw,44px);line-height:1.15;margin:0 0 14px;text-wrap:balance}
.home-main .home-hero .lead{font-size:16px;line-height:1.65;max-width:890px;margin:0 auto}
.home-main .home-article{max-width:1040px;margin:0 auto;padding:0 0 30px}
.home-main .home-section{margin:0;padding:48px 0;border-top:1px solid var(--border);scroll-margin-top:100px}
.home-main .home-section h2{font-size:clamp(24px,2.8vw,32px);line-height:1.2;margin:0 0 22px;text-wrap:balance}
.home-main .home-section h3{font-size:19px;line-height:1.3;margin:0 0 12px}
.home-main .home-section p{line-height:1.7;margin:0 0 16px}
.home-main .home-toc{margin:28px 0;padding:18px 22px;border:1px solid var(--border);border-radius:var(--radius,16px);background:var(--surface)}
.home-main .home-toc p{font-size:13px;font-weight:700;margin:0 0 10px;color:var(--text-2)}
.home-main .home-toc ul{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;margin:0;padding:0}
.home-main .home-toc a{display:inline-flex;align-items:center;min-height:36px;font-size:14px}
.home-main .home-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.home-main .home-step{padding:20px;border:1px solid var(--border);border-radius:18px;min-width:0;background:var(--surface)}
.home-main .home-step .home-step-number{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--accent-soft);color:var(--accent-deep);font-weight:700;font-size:14px}
.home-main .home-step .wp-block-image{margin:20px 0 0}
.home-main .home-step img{display:block;width:100%;height:auto;max-width:300px;margin:auto;border:1px solid var(--border);border-radius:12px}
.home-main .home-note{background:var(--accent-soft);border-radius:12px;padding:16px 20px;margin-top:20px!important;color:var(--text-1)}
.home-main .home-comparison{margin:24px 0;overflow-x:auto;border:1px solid var(--border);border-radius:14px}
.home-main .home-comparison table{width:100%;border-collapse:collapse;text-align:left;min-width:440px;margin:0}
.home-main .home-comparison caption{text-align:left;padding:16px;font-size:14px;font-weight:700;color:var(--text-2)}
.home-main .home-comparison th,.home-main .home-comparison td{padding:14px 16px;border-top:1px solid var(--border);vertical-align:middle}
.home-main .home-comparison thead{background:var(--accent-soft)}
.home-main .home-comparison th{font-weight:600}
.home-main .home-unicode{font-size:24px;font-family:serif;white-space:nowrap}
.home-main .home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-main .home-style-card{padding:22px 18px;background:var(--surface);border:1px solid var(--border);border-radius:16px;min-width:0}
.home-main .home-style-card .home-style-preview{font-size:27px;line-height:1.5;font-family:serif;overflow-wrap:anywhere;margin:12px 0 16px}
.home-main .home-style-card p:last-child{font-size:14px;margin-bottom:0}
.home-main .home-platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.home-main .home-platform-grid>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--border);border-radius:12px;min-width:0;font-weight:600;background:var(--surface)}
.home-main .home-platform-preview{font-size:20px;font-family:serif;overflow-wrap:anywhere}
.home-main .home-unicode-diagram{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.home-main .home-unicode-diagram>div{padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--surface);min-width:0}
.home-main .home-unicode-diagram .home-diagram-label{font-size:13px;color:var(--text-2);margin:0 0 8px}
.home-main .home-unicode-diagram .home-unicode-example{font-size:36px;line-height:1.4;margin:0;font-family:serif}
.home-main .home-diagnostic{padding-left:22px;line-height:1.75}
.home-main .home-diagnostic li+li{margin-top:10px}
.home-main .faq-list{display:grid;gap:10px}
.home-main .faq-item{border:1px solid var(--border);border-radius:12px;padding:16px 18px;background:var(--surface)}
.home-main .faq-item summary{cursor:pointer;font-weight:600;line-height:1.5;min-height:28px}
.home-main .faq-item p{margin:14px 0 0}
.home-main .home-return a{display:inline-flex;min-height:44px;align-items:center;font-weight:700}
.home-main .home-article a:focus-visible,.home-main summary:focus-visible{outline:3px solid var(--accent-deep);outline-offset:4px;border-radius:4px}
@media(max-width:900px){.home-main .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-main .home-steps{gap:12px}.home-main .home-step{padding:16px}.home-main .home-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-main .home-intro .home-hero{padding:20px 0 5px}.home-main .home-hero .lead{font-size:14px;line-height:1.6}.home-main .home-section{padding:32px 0}.home-main .home-steps{grid-template-columns:1fr}.home-main .home-step{padding:20px}.home-main .home-step img{max-width:280px}.home-main .home-toc{padding:16px;margin:20px 0}.home-main .home-toc ul{gap:4px 14px}.home-main .home-style-card{padding:16px}.home-main .home-style-card h3{font-size:17px}.home-main .home-platform-grid>a{padding:12px;flex-direction:column;align-items:flex-start}.home-main .home-unicode-diagram{grid-template-columns:1fr}.home-main .home-comparison th,.home-main .home-comparison td{padding:12px}.home-main .home-note{padding:14px 16px}}
/* Override inherited article-width limits only for these homepage sections. */
.home-main .home-intro .home-hero,.home-main .home-section{max-width:none;width:100%}
.home-main .home-intro .home-hero .lead{margin-inline:auto;text-align:center}
.home-main .home-step{display:flex;flex-direction:column}
.home-main .home-step .wp-block-image{margin-top:auto;padding-top:18px}
.home-main .home-step img{width:auto;max-width:100%;max-height:340px;object-fit:contain}
/* Keyboard access to the horizontally scrolling comparison on narrow screens. */
.home-main .home-comparison:focus-visible{outline:3px solid var(--accent-deep);outline-offset:4px}
.home-main .home-section h2[id]{scroll-margin-top:100px}
/* Compatibility words need content-sized buttons, unlike single-symbol tiles. */
.home-main #compat-h2 ~ .symbol-grid-mini{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.75rem;
}
.home-main #compat-h2 ~ .symbol-grid-mini .symbol-tile{
 display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;
 width:max-content;max-width:100%;height:auto;min-height:44px;
 padding:.65rem 1rem;box-sizing:border-box;font-family:inherit;font-size:1rem;
 line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center;
}
.home-main #compat-h2 ~ .symbol-grid-mini .symbol-tile:focus-visible{
 outline:3px solid var(--accent-deep);outline-offset:3px;
}

/* Static, non-interactive ornaments confined to empty homepage section padding.
 * CSS images are decorative (no accessible nodes or tab stops); no motion. */
.home-main{
 --ornament-type:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C9A4E7%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203C4%203%207%2010%203%2012c4%202%201%209%205%209M16%203c4%200%201%207%205%209-4%202-1%209-5%209%22%2F%3E%3C%2Fsvg%3E");
 --ornament-heart:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C9A4E7%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020%203.8%2012A5%205%200%200%201%2012%205a5%205%200%200%201%208.2%207Z%22%2F%3E%3C%2Fsvg%3E");
 --ornament-sparkle:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C9A4E7%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%202%202.5%207.5L22%2012l-7.5%202.5L12%2022l-2.5-7.5L2%2012l7.5-2.5Z%22%2F%3E%3C%2Fsvg%3E");
 --ornament-flower:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C9A4E7%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%208C4-3-2%2013%208%2012c-11%208%205%2014%204%204%208%2011%2014-5%204-4%2011-8-5-14-4-4Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
 --ornament-diamond:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C9A4E7%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%206%209-6%209-6-9Z%22%2F%3E%3C%2Fsvg%3E");
 --ornament-star:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C9A4E7%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%202%203%206%207%201-5%205%201%207-6-3-6%203%201-7-5-5%207-1Z%22%2F%3E%3C%2Fsvg%3E");
}
/* Reserve ornament lanes so outlines never sit behind copy or controls. */
.home-main .home-intro .home-hero{padding-top:40px;padding-bottom:30px;position:relative;isolation:isolate}
.home-main .home-section:has(> #explora-h2),.home-main .home-section:has(> #compat-h2){position:relative;isolation:isolate}
.home-main .home-hero::before,.home-main .home-hero::after,
.home-main .home-section:has(> #explora-h2)::before,.home-main .home-section:has(> #compat-h2)::before{
 content:"";position:absolute;pointer-events:none;user-select:none;opacity:.45;z-index:0;
 background-repeat:no-repeat;animation:none;transition:none;
}
.home-main .home-hero::before{
 top:5px;left:3%;right:3%;height:28px;
 background-image:var(--ornament-heart),var(--ornament-diamond),var(--ornament-sparkle);
 background-size:26px 26px,18px 24px,28px 28px;background-position:left center,63% 2px,right center;
}
.home-main .home-hero::after{
 bottom:1px;left:8%;right:6%;height:26px;
 background-image:var(--ornament-star),var(--ornament-type),var(--ornament-flower);
 background-size:20px 20px,24px 24px,26px 26px;background-position:left center,36% center,right center;
}
.home-main .home-section:has(> #explora-h2)::before{
 top:9px;right:7%;width:28px;height:28px;background-image:var(--ornament-flower);background-size:contain;transform:rotate(14deg);
}
.home-main .home-section:has(> #compat-h2)::before{
 top:12px;left:4%;width:19px;height:24px;background-image:var(--ornament-diamond);background-size:contain;transform:rotate(-12deg);
}
@media(max-width:600px){
 .home-main .home-intro .home-hero{padding-top:36px;padding-bottom:27px}
 .home-main .home-hero::before{left:7px;right:9px;height:24px;background-image:var(--ornament-heart),var(--ornament-sparkle);background-size:23px 23px,24px 24px;background-position:left center,right center}
 .home-main .home-hero::after{left:12px;right:16px;height:23px;background-image:var(--ornament-type),var(--ornament-flower);background-size:19px 19px,23px 23px;background-position:left center,right center}
 .home-main .home-section:has(> #explora-h2)::before{top:4px;right:12px;width:23px;height:23px;opacity:.4}
 .home-main .home-section:has(> #compat-h2)::before{display:none}
}

/* Repeat the same outline language once in the networks section's empty gutter. */
@media(min-width:601px){
 .home-main .home-section:has(> #usos-h2){position:relative;isolation:isolate}
 .home-main .home-section:has(> #usos-h2)::before{
  content:"";position:absolute;top:11px;left:19%;width:22px;height:24px;
  background:var(--ornament-type) center/contain no-repeat;opacity:.45;
  pointer-events:none;user-select:none;z-index:0;
 }
}

/* Compact, optional chooser beside the input; the existing article remains intact. */
.home-main #letriza-app [data-home-guidance]{font-size:14px;line-height:1.65}
.home-main #letriza-app [data-home-guidance] p{margin:10px 0}
.home-main #letriza-app [data-home-guidance] ul{padding-inline-start:22px;margin:12px 0}
.home-main #letriza-app [data-home-guidance] li{margin-block:8px}
.home-main #letriza-app [data-home-guidance] a{display:inline-flex;align-items:center;min-height:44px}
.home-main #letriza-app [data-home-example]{min-height:44px;white-space:normal;text-align:left}
