/* Photographic, tactile surfaces. All scenes are local stock photographs. */
@media screen {
  :root {
    --paper: #fffdf8;
    --ink: #194d3e;
    --ink-deep: #113d31;
    --text: #354f45;
    --muted: #52675d;
    --line: #becbbc;
    --edge: #a5bca0;
    --grain: repeating-linear-gradient(117deg, #ffffff05 0 2px, #244f4307 2px 3px, transparent 3px 6px);
  }
  body { background: var(--paper); }
  main { overflow: clip; }
  .container { width: min(1200px, calc(100% - 72px)); }
  .section { padding-block: 92px; }
  .eyebrow { font-size: .75rem; letter-spacing: .12em; }
  h2 { font-size: clamp(38px, 4vw, 54px); }
  .section-heading h2::after, .shared-copy h2::after, .directory-heading h2::after, .about-section h2::after {
    content: ''; display: block; width: 94px; height: 10px; margin-top: 22px;
    border-radius: 70% 18% 60% 30%; transform: rotate(-2deg);
    background: repeating-linear-gradient(105deg, #d29946 0 4px, #e4b56b 4px 6px, #bd803e 6px 8px);
    box-shadow: 0 3px 0 #83552c26, 0 -2px 0 #fff9 inset;
  }

  /* Image layers have no pointer events; every section keeps its own wash. */
  .hero-backdrop, .photo-section, .directory-section, .site-footer {
    position: relative; isolation: isolate; background: transparent;
    --scene-position: center; --scene-opacity: .3;
  }
  .hero-backdrop::before, .photo-section::before, .directory-section::before, .site-footer::before {
    content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background-image: var(--scene); background-size: cover; background-position: var(--scene-position);
    opacity: var(--scene-opacity);
  }
  .hero-backdrop::after, .photo-section::after, .directory-section::after, .site-footer::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, #fffdf8b3 0, #fffdf81a 23%, #fffdf800 66%, #fffdf8cc 100%);
  }
  .hero-backdrop { --scene: url('assets/outdoor-play.jpg'); --scene-opacity: .28; --scene-position: center 40%; border-radius: 0; padding-bottom: 36px; }
  .hero-backdrop::after { background: linear-gradient(90deg, #fffdf8bf, #fffdf859 52%, #fffdf814), linear-gradient(0deg, #fffdf8 0, transparent 20%); }
  .photo-explore { --scene: url('assets/wooden-blocks.jpg'); --scene-opacity: .32; --scene-position: center; }
  .photo-together { --scene: url('assets/caregiver-play.jpg'); --scene-opacity: .36; --scene-position: center 44%; }
  .photo-stories { --scene: url('assets/family-cooking.jpg'); --scene-opacity: .29; --scene-position: center 38%; }
  .directory-section { --scene: url('assets/pediatric-care.jpg'); --scene-opacity: .27; --scene-position: 57% center; border-radius: 0; padding-block: 94px; }
  .photo-about { --scene: url('assets/caregiver-play.jpg'); --scene-opacity: .3; --scene-position: center 58%; }
  .photo-closing { --scene: url('assets/outdoor-play.jpg'); --scene-opacity: .4; --scene-position: center 41%; }
  .site-footer { --scene: url('assets/wooden-blocks.jpg'); --scene-opacity: .17; border-radius: 0; }
  #explorar { position: relative; isolation: auto; }
  #explorar::before { content: none; }

  .site-header { background: #fffdf8ed; padding-top: 14px; }
  .header-inner { border: 2px solid #b6c7af; border-bottom-width: 5px; border-radius: 34px 58px 28px 54px; box-shadow: 0 8px 24px #183a3010, 0 2px 0 #fff inset; }
  .brand img { height: auto; }
  .main-nav a { font-size: .875rem; }
  .hero { padding-top: 58px; padding-bottom: 66px; }
  .hero-copy > .eyebrow { border: 1.5px dashed #879d76; font-size: .75rem; border-radius: 9px 24px 8px 22px; padding: 9px 13px; background: #fffdf8e8; }
  .hero h1 { font-size: clamp(54px, 5.5vw, 79px); }
  .hero h1 em { color: #537b53; }
  .hero h1 em::after { border-bottom: 8px solid #d6ab5e; bottom: -10px; opacity: .65; filter: drop-shadow(0 3px 0 #91682720); }
  .hero-lead { font-size: 1.125rem; }
  .hero-soft { color: #385c49; }
  .hero-photo { border: 9px solid #fffefa; border-radius: 48% 43% 29% 12% / 43% 40% 17% 10%; box-shadow: 8px 10px 0 #809b713b, 0 28px 50px #214e4229, 0 0 0 3px #d9b579; }
  .photo-halo { border: 3px dashed #9c784c; background: transparent; inset: -9px -16px -12px -12px; }
  .photo-note { border: 2px solid #d3ab72; border-bottom-width: 5px; border-radius: 28px 28px 8px 28px; box-shadow: 0 10px 22px #584f3821, 0 2px 0 white inset; }
  .intro-strip { background: #ffffffc9; backdrop-filter: blur(7px); border: 2px solid #9eaf94; border-bottom: 6px solid #8d9e82; border-radius: 20px 54px 20px 54px; box-shadow: 0 13px 30px #25463814; }
  .strip-line { height: 5px; border-radius: 80%; background: repeating-linear-gradient(90deg, #97ad88 0 7px, #c6d1bc 7px 9px); }

  /* Raised, irregular controls preserve a generous clickable area. */
  .button { border-radius: 16px 30px 16px 9px; border-width: 2px; min-height: 52px; font-size: .9375rem; padding: 14px 23px; transition: transform .18s ease, box-shadow .18s ease; }
  .button.primary { background: var(--grain), linear-gradient(135deg, #39765b, #194d3e 85%); border-color: #164532; box-shadow: 0 5px 0 #123b2e, 0 13px 24px #173d4324, 0 2px 0 #ffffff50 inset; }
  .button.primary:hover { background: var(--grain), linear-gradient(135deg, #468365, #235b46); box-shadow: 0 7px 0 #123b2e, 0 17px 26px #173d4330, 0 2px 0 #ffffff50 inset; transform: translateY(-2px) rotate(-.5deg); }
  .button.primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #123b2e; }
  .button.secondary { background: #fffdf6eb; border-color: #809b73; box-shadow: 0 4px 0 #9bad8e, 0 10px 18px #23433316, 0 2px 0 white inset; border-radius: 30px 12px 28px 12px; }
  .button.text-button { background: #ffffffa6; border: 1px solid #97ab9080; padding: 12px 18px; border-radius: 30px 10px 26px 10px; }
  .header-help { min-height: 43px; padding: 8px 14px; font-size: .8125rem; border-color: #a6b99a; box-shadow: 0 3px 0 #c8d2bd; }
  .link-button { text-decoration-thickness: 3px; text-underline-offset: 6px; font-size: .875rem; }
  .chip { font-size: .875rem; min-height: 44px; border: 2px solid #a9b69c; border-radius: 17px 27px 17px 10px; background: #fffffff0; box-shadow: 0 3px 0 #bfcbb3; }
  .chip:nth-child(2n) { border-radius: 27px 14px 24px 14px; }
  .chip.active { background: #e8f1de; border-color: #4f7650; box-shadow: 0 3px 0 #6f9065, 0 2px 0 white inset; }
  .mode-switch { background: #f3f6edee; border: 2px solid #9fb193; border-radius: 27px 13px 27px 13px; box-shadow: 0 4px 0 #b8c6ac; }
  .mode-switch button { font-size: .875rem; border-radius: 22px 10px 22px 10px; }
  .mode-switch button.selected { background: #285b45; box-shadow: 0 2px 0 #153e2d; }
  .stage-hint, .library-toolbar p { font-size: .875rem; color: #3e5549; }
  .stage-hint { max-width: 760px; }
  .search-box { background: #fffefbe8; border: 2px solid #9fb095; border-radius: 12px 30px 12px 30px; box-shadow: 0 4px 0 #bfccb3; }
  .search-box input { font-size: 1rem; }

  /* Topic pieces alternate arches, oval shapes, and rounded asymmetric forms. */
  .topic-grid { gap: 19px; margin-block: 36px 52px; align-items: stretch; }
  .topic-card { position: relative; min-height: 210px; padding: 27px 15px 25px; border: 2.5px solid var(--piece-edge, #b69371); border-bottom-width: 6px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; background-image: var(--grain), linear-gradient(150deg, #ffffffde, var(--piece-fill, #efd5b8)); box-shadow: 0 7px 0 #ffffff83, 0 16px 24px #233d281b, 0 3px 0 #fff inset; }
  .topic-card:nth-child(6n+1) { --piece-edge: #bd8d68; --piece-fill: #f3caa4; border-radius: 50% 50% 22px 22px; }
  .topic-card:nth-child(6n+2) { --piece-edge: #9d86b4; --piece-fill: #ddcdec; border-radius: 44% 28% 42% 25%; transform: rotate(1.5deg); }
  .topic-card:nth-child(6n+3) { --piece-edge: #799a6d; --piece-fill: #d3e4c0; border-radius: 48% 48% 48% 48%; }
  .topic-card:nth-child(6n+4) { --piece-edge: #b49347; --piece-fill: #f2dfa1; border-radius: 22% 44% 20% 44%; transform: rotate(-1.5deg); }
  .topic-card:nth-child(6n+5) { --piece-edge: #b77e88; --piece-fill: #efd0d6; border-radius: 50% 50% 22px 22px; }
  .topic-card:nth-child(6n+6) { --piece-edge: #6f9ba7; --piece-fill: #c9e5e8; border-radius: 28% 44% 28% 44%; }
  .topic-card .topic-icon { margin-bottom: 15px; width: 48px; height: 48px; background: #fffc; border: 1.5px dashed var(--piece-edge); box-shadow: 0 3px 0 #ffffffa6; border-radius: 50%; }
  .topic-card strong { font-size: .875rem; line-height: 1.45; max-width: 145px; }
  .topic-card .topic-arrow { display: none; }
  .topic-card.active { border-color: #234f37; box-shadow: 0 5px 0 #547952, 0 0 0 4px #ffffffd1, 0 16px 25px #183d3424; }
  .topic-card:hover { transform: translateY(-5px) rotate(-1deg); }

  .content-grid { gap: 34px 28px; padding: 10px 5px; align-items: stretch; }
  .content-card { --card-edge: #98ae89; position: relative; border: 2px solid var(--card-edge); border-bottom-width: 6px; background: var(--grain), linear-gradient(135deg, #fffffff5, #fffdf3ed); backdrop-filter: blur(5px); padding: 37px 30px 32px; min-height: 320px; box-shadow: 0 7px 0 #ffffff82, 0 19px 35px #2b49311b, 0 3px 0 white inset; }
  .content-card:nth-child(3n+1) { border-radius: 105px 105px 26px 26px; padding-top: 53px; transform: rotate(-.7deg); }
  .content-card:nth-child(3n+2) { --card-edge: #c5a174; border-radius: 32px 72px 32px 72px; transform: translateY(10px) rotate(.7deg); }
  .content-card:nth-child(3n) { --card-edge: #aa94bd; border-radius: 65px 22px 65px 22px; }
  .content-card::before { top: 14px; left: calc(50% - 28px); right: auto; width: 56px; height: 6px; border-radius: 50%; background: repeating-linear-gradient(95deg, var(--card-edge) 0 5px, #ffffffa6 5px 7px); box-shadow: 0 2px 0 #243f2420; }
  .content-card:hover { transform: translateY(-5px) rotate(0); border-color: #698561; box-shadow: 0 9px 0 #ffffff9c, 0 24px 35px #2b493126; }
  .content-card h3 { font-size: 1.875rem; line-height: 1.16; }
  .content-card p { font-size: 1rem; line-height: 1.65; }
  .content-card .card-meta { font-size: .75rem; margin-bottom: 19px; gap: 8px; }
  .content-card .card-meta > span:first-child { background: #edf3e7; border: 1px solid #bdcdae; }
  .content-card .card-bottom { font-size: .8125rem; }
  .card-bottom > svg { width: 35px; height: 35px; border: 1px solid #b6c7a7; background: #e7efdb; box-shadow: 0 3px 0 #b6c7a7; }
  .centered { margin-top: 40px; }

  .shared-section { border: 0; background: none; box-shadow: none; border-radius: 0; padding: 86px 0; gap: 80px; overflow: visible; }
  .shared-section::after { content: none; }
  .shared-copy { background: #fffefaed; border: 2px solid #b5b99a; border-bottom: 7px solid #a8af87; border-radius: 70px 22px 62px 22px; padding: 42px; box-shadow: 0 22px 40px #344b331b, 0 2px 0 #fff inset; }
  .shared-copy h2 { font-size: clamp(37px, 3.7vw, 49px); }
  .shared-copy p { font-size: 1rem; }
  .shared-art { min-height: 440px; }
  .paper-front { width: 275px; height: 335px; top: 48px; left: calc(50% - 120px); border: 3px solid #d8b77c; border-bottom-width: 9px; border-radius: 120px 120px 24px 24px; padding: 48px 30px 28px; box-shadow: 10px 14px 0 #7d957a40, 0 25px 38px #23453526; background: var(--grain), #fffdf3; transform: rotate(8deg); }
  .paper-back { width: 275px; height: 335px; top: 56px; left: calc(50% - 155px); background: #e0decce8; border: 3px dashed #74906b; border-radius: 100px 100px 28px 28px; transform: rotate(-9deg); }
  .paper-front strong { font-size: 2.25rem; }
  .paper-label { font-size: .75rem; }
  .paper-mark { font-size: .8125rem; }
  .paper-star { font-size: 62px; }
  .drawn-loop { color: #bb8739; text-shadow: 0 3px 0 #fff8; }
  .type-grid { gap: 24px; }
  .type-card { border: 2px solid #a6b69b; border-bottom: 6px solid #94a589; background: #fffefbf2; box-shadow: 0 15px 30px #243f231c, 0 3px 0 #fff inset; border-radius: 70px 70px 22px 22px; padding: 34px 25px 28px; }
  .type-card:nth-child(even) { border-radius: 24px 60px 24px 60px; border-color: #baa387; }
  .type-card > span { display: grid; place-items: center; width: 36px; height: 36px; border: 2px dotted #bb984f; border-radius: 50%; font-size: .8125rem; margin-bottom: 16px; background: #fff8dc; }
  .type-card p { font-size: 1rem; }
  .heading-note { font-size: 1rem; color: #354f45; }
  .types-section > .small-note { background: #fffefaad; border-radius: 18px; padding: 14px 17px; }

  .directory-heading h2 { font-size: 3.2rem; }
  .directory-heading p { font-size: 1rem; }
  .province-box { border: 2px solid #9eafa1; border-bottom-width: 6px; border-radius: 30px 60px 30px 15px; background: #ffffffec; box-shadow: 0 14px 28px #31534620; }
  .province-box label { font-size: 1rem; }
  .province-box select { border: 2px solid #b0c0a5; border-radius: 14px 24px 14px 24px; font-size: 1rem; }
  .directory-notice { background: #fffefbea; border: 2px dashed #a2b09b; border-radius: 20px 40px 20px 40px; padding: 19px 23px; }
  .directory-notice p { font-size: .9375rem; }
  .directory-meta { font-size: .8125rem; color: #354f45; }
  .hospital-grid { gap: 28px; }
  .hospital-card { background: #fffffff2; border: 2px solid #acbca3; border-bottom: 6px solid #95a888; border-radius: 48px 16px 48px 16px; padding: 32px; box-shadow: 0 14px 28px #2e4b331a, 0 3px 0 white inset; }
  .hospital-card:nth-child(2n) { border-radius: 18px 48px 18px 48px; border-color: #adb5c1; }
  .hospital-card h3 { font-size: 1.625rem; }
  .hospital-card p, .hospital-card details, .hospital-card a { font-size: .9375rem; }
  .hospital-province, .hospital-kind { font-size: .8125rem; }
  .verification-warning { font-size: .8125rem; }
  .directory-footer p { font-size: .875rem; color: #354f45; background: #fffefaad; border-radius: 16px; padding: 13px 15px; }
  .about-section { align-items: center; gap: 65px; }
  .about-section > div:first-child { background: #fffefae6; border: 2px solid #bdc6ad; border-left: 7px solid #8aa47b; border-radius: 24px 70px 24px 50px; padding: 36px; box-shadow: 0 16px 30px #26442c13; }
  .about-section > div > p { font-size: 1rem; }
  .powered-card { border: 2px solid #b6c3a7; border-bottom-width: 5px; border-radius: 50% 50% 18px 18px; box-shadow: 0 12px 25px #2546321b; width: 50%; padding: 21px 15px 15px; gap: 6px; }
  .powered-card img { width: 84px; height: auto; }
  .powered-label { font-size: .75rem; letter-spacing: .06em; }
  .closing-section { padding: 100px 24px; text-align: center; }
  .closing-section h2 { font-size: clamp(36px, 4vw, 52px); text-shadow: 0 2px 16px #fff, 0 0 35px #fff; }
  .closing-section > span { display: inline-flex; padding: 16px; border: 3px dotted #a17b4b; border-radius: 50%; background: #fffdfaeb; box-shadow: 0 6px 0 #d8cbb45c; margin-bottom: 20px; }
  .closing-section .link-button { background: #fffdf6e6; border: 2px solid #a5b99b; border-radius: 30px 12px 30px 12px; padding: 13px 21px; box-shadow: 0 4px 0 #b4c3a7; }
  .site-footer { border-top: 3px dashed #9cb092; padding: 35px 0 45px; }
  .footer-inner > p, .footer-inner .link-button { font-size: .8125rem; }
  .guide-launcher { border: 2px solid #50785b; border-bottom-width: 5px; box-shadow: 0 6px 0 #143829, 0 18px 30px #163f3a40, 0 2px 0 #ffffff4d inset; border-radius: 30px 30px 10px 30px; }
  .guide-panel { border: 3px solid #92ae86; border-radius: 34px 34px 16px 34px; }
  .guide-message { border: 1px solid #cad2bd; box-shadow: 0 3px 0 #e3e8d9; }
  .guide-options button { border: 1.5px solid #a8bc99; border-radius: 20px 10px 20px 10px; box-shadow: 0 2px 0 #d0dbc4; }
  dialog { border: 3px solid #b7c5a8; border-bottom-width: 7px; border-radius: 32px 50px 24px 45px; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #825310; outline-offset: 5px; }
}

@media screen and (max-width: 1100px) {
  .topic-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .topic-card { min-height: 195px; }
  .topic-card strong { max-width: 190px; font-size: 1rem; }
  .shared-section { gap: 40px; }
  .shared-copy { padding: 34px; }
  .content-card { padding-inline: 24px; }
  .content-card h3 { font-size: 1.625rem; }
  .content-card .card-meta { flex-wrap: wrap; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { gap: 30px; }
}
@media screen and (max-width: 900px) {
  .hero-copy > .eyebrow { font-size: .75rem; }
  .hero h1 { font-size: 3.25rem; }
  .hero-details { flex-wrap: wrap; font-size: .75rem; }
  .hero-actions .button { font-size: .875rem; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .shared-section { gap: 30px; }
  .shared-copy h2 { font-size: 2.25rem; }
  .paper-card { width: 220px; height: 295px; }
  .paper-front { left: calc(50% - 95px); padding: 43px 23px 24px; }
  .paper-back { left: calc(50% - 130px); }
  .paper-front strong { font-size: 1.9rem; }
  .about-section { grid-template-columns: 1.7fr 1fr; }
  .about-section h2 { font-size: 2.125rem; }
  .powered-card { width: 70%; max-width: 225px; }
}
@media screen and (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .section { padding-block: 60px; }
  .hero-backdrop { --scene-opacity: .28; --scene-position: 42% top; }
  .photo-explore { --scene-position: 51% center; --scene-opacity: .25; }
  .photo-together { --scene-position: 52% center; }
  .photo-stories { --scene-position: 66% center; --scene-opacity: .25; }
  .directory-section { --scene-position: 54% center; --scene-opacity: .2; padding-block: 60px; }
  .photo-about { --scene-position: 46% center; }
  .header-inner { height: 78px; padding: 12px 17px; border-radius: 22px 35px 20px 32px; }
  .hero { padding: 42px 4px 52px; }
  .hero h1 { font-size: clamp(43px, 11vw, 65px); }
  .hero-copy > .eyebrow { font-size: .75rem; display: flex; line-height: 1.5; max-width: 100%; white-space: normal; }
  .hero-lead { font-size: 1.0625rem; }
  .hero-details { font-size: .75rem; gap: 9px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { padding: 13px 17px; }
  .hero-photo { border-width: 7px; }
  .hero-visual { margin-top: 24px; }
  .photo-note { font-size: .8125rem; }
  .intro-strip { padding: 23px 20px; border-radius: 18px 35px 18px 35px; }
  h2, .about-section h2, .directory-heading h2 { font-size: 2.375rem; }
  .section-heading .eyebrow, .shared-copy .eyebrow, .directory-heading .eyebrow { font-size: .75rem; }
  .section-heading h2::after, .shared-copy h2::after, .directory-heading h2::after, .about-section h2::after { height: 8px; margin-top: 17px; }
  .mode-switch { margin-top: 24px; }
  .mode-switch button { font-size: .875rem; padding: 10px 12px; }
  .chip-row { gap: 10px 7px; }
  .chip { font-size: .875rem; padding: 8px 11px; }
  .stage-hint { font-size: .875rem; margin-top: 17px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 21px 15px; margin-block: 32px 44px; }
  .topic-card { min-height: 210px; padding: 27px 14px 23px; }
  .topic-card strong { font-size: .875rem; max-width: 140px; }
  .topic-card .topic-icon { margin-bottom: 12px; }
  .content-grid { grid-template-columns: 1fr; gap: 30px; padding-inline: 3px; }
  .content-card { min-height: 285px; padding: 37px 29px 31px; }
  .content-card:nth-child(3n+1) { padding-top: 51px; border-radius: 90px 90px 26px 26px; transform: none; }
  .content-card:nth-child(3n+2) { transform: none; }
  .content-card h3 { font-size: 1.9375rem; }
  .content-card p { font-size: 1rem; }
  .content-card .card-meta { font-size: .75rem; }
  .content-card .card-bottom { font-size: .8125rem; }
  .search-box { min-height: 52px; }
  .search-box input { font-size: 1rem; }
  .shared-section { grid-template-columns: 1fr; padding: 46px 0 64px; gap: 12px; }
  .shared-art { min-height: 365px; }
  .paper-card { width: 240px; height: 300px; }
  .paper-front { left: calc(50% - 112px); top: 30px; padding: 45px 27px 25px; }
  .paper-back { left: calc(50% - 132px); top: 35px; }
  .paper-front strong { font-size: 2rem; }
  .paper-label { font-size: .75rem; }
  .paper-mark { font-size: .8125rem; }
  .shared-copy { padding: 33px 27px; border-radius: 55px 20px 48px 20px; }
  .shared-copy h2 { font-size: 2.375rem; }
  .shared-copy .small-note { font-size: .8125rem; }
  .type-grid { grid-template-columns: 1fr; gap: 25px; }
  .type-card { padding: 32px; }
  .type-card p { font-size: 1rem; }
  .types-section .heading-note { font-size: 1rem; }
  .types-section > .small-note { font-size: .875rem; }
  .province-box { padding: 24px 21px; }
  .directory-notice { padding: 18px 15px; gap: 10px; }
  .directory-notice p { font-size: .875rem; }
  .directory-meta { font-size: .75rem; gap: 7px; }
  .hospital-grid { grid-template-columns: 1fr; gap: 24px; }
  .hospital-card { padding: 28px; }
  .hospital-card h3 { font-size: 1.75rem; }
  .hospital-card p, .hospital-card details, .hospital-card a { font-size: .9375rem; }
  .directory-footer p { font-size: .875rem; }
  .about-section { grid-template-columns: 1fr; gap: 34px; }
  .about-section > div:first-child { padding: 30px 25px; border-radius: 24px 48px 24px 45px; }
  .about-section > div > p { font-size: 1rem; }
  .about-links { flex-wrap: wrap; }
  .powered-card { width: 50%; max-width: 180px; padding: 20px 14px 14px; gap: 3px; }
  .powered-card img { width: 70px; }
  .closing-section { padding: 72px 6px; }
  .closing-section h2 { font-size: 2.125rem; }
  .site-footer { padding: 32px 0 120px; }
  .footer-inner > p, .footer-inner .link-button { font-size: .8125rem; }
  .guide-launcher small { font-size: .75rem; }
  .guide-header > div > span, .guide-scope { font-size: .75rem; }
  .guide-options button { font-size: .875rem; }
  .guide-bottom button { font-size: .75rem; }
  .guide-panel { border-radius: 27px 27px 12px 27px; }
}
@media screen and (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .topic-card { min-height: 205px; padding-inline: 11px; }
  .topic-card strong { font-size: .875rem; }
  .mode-switch button { font-size: .8125rem; padding-inline: 10px; }
  .content-card { padding-inline: 25px; }
  .content-card .card-meta { gap: 6px; }
  .powered-card { min-width: 142px; }
}
@media screen and (prefers-reduced-motion: reduce) {
  .topic-card, .content-card, .button { transition: none; }
  .topic-card:hover, .content-card:hover, .button:hover { transform: none; }
}
