:root {
  color-scheme: light;
  --paper: #faf7ed;
  --ink: #202920;
  --muted: #546054;
  --green: #204c3a;
  --yellow: #f8c75d;
  --rule: #deddd0;
  --serif: "Baskervville", Baskerville, Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bd6419; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1152px, calc(100% - 68px)); margin-inline: auto; }
section[id] { scroll-margin-top: 25px; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .6rem 1rem; z-index: 5; background: white; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); }
.nav-bar { min-height: 81px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.06em; }
.brand-dot { color: #965015; margin-left: -7px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--yellow); border-radius: 13px; overflow: hidden; }
.brand-mark img { width: 25px; height: 33px; object-fit: contain; }
nav, .site-footer > div { display: flex; align-items: center; gap: clamp(15px, 4vw, 38px); }
nav a, .site-footer > div a { font-weight: 650; font-size: .91rem; text-decoration: none; }
nav a:hover, .site-footer > div a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { padding: .5rem .85rem; border-radius: 100px; border: 1px solid var(--rule); white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 5%; padding-block: 40px 52px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .15em; font-weight: 750; }
.eyebrow > span { display: inline-block; background: var(--yellow); width: 9px; height: 9px; border: 1px solid #9a661e; border-radius: 50%; flex: none; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.06em; line-height: .98; }
h1 { margin-top: 19px; font-size: clamp(4rem, 8vw, 7.3rem); }
h1 em { font-weight: inherit; color: var(--green); }
.hero-copy > p:not(.eyebrow) { max-width: 370px; margin-top: 23px; font-size: clamp(1rem, 2vw, 1.14rem); color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 23px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; padding: .74rem 1.12rem; min-height: 47px; border: 1px solid transparent; border-radius: 100px; text-decoration: none; font-size: .9rem; font-weight: 730; transition: background .18s, color .18s; }
.primary { background: var(--green); color: #fffdf3; }
.primary:hover { background: #32644b; }
.text-link { font-size: .9rem; font-weight: 720; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.hero-art { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.08; overflow: hidden; border-radius: 32px; background: radial-gradient(ellipse at 50% 38%, #ffe3a3, #f8c45e 76%); display: grid; place-items: center; }
.hero-art img { position: relative; z-index: 1; height: 87%; width: auto; margin-left: 0; transform: rotate(-7deg); filter: drop-shadow(0 12px 13px #7b3e1a22); }
.orbit { width: 74%; aspect-ratio: 1; border: 1px solid #8e5c2460; border-radius: 50%; position: absolute; }
.orbit-inner { width: 58%; border-style: dashed; opacity: .6; }
.spark { position: absolute; color: #64401d; font-size: clamp(1.2rem, 3.6vw, 2.9rem); line-height: 1; }
.spark-top { top: 16%; left: 20%; }
.spark-bottom { bottom: 16%; right: 18%; transform: scale(.69); }
.speech { position: absolute; z-index: 2; padding: .26em .72em; border-radius: 40px; background: #fff9e9; color: #513516; box-shadow: 0 4px 0 #8b591e33; font-size: clamp(.7rem, 2.3vw, 1.3rem); font-weight: 760; white-space: nowrap; }
.speech-hello { left: 8%; top: 49%; transform: rotate(-12deg); }
.speech-albanian { right: 4%; top: 24%; transform: rotate(9deg); }
.feature-wrap { background: var(--green); color: #fbf7e9; overflow: hidden; }
.feature { min-height: 420px; display: grid; grid-template-columns: .85fr 1fr; gap: 5%; align-items: center; }
.feature-copy { padding-block: 45px; }
.feature-copy .eyebrow { color: #fff0ba; margin-bottom: 19px; }
.featured-icon { height: 56px; width: 56px; border-radius: 14px; margin-bottom: 12px; }
h2 { font-size: clamp(2.7rem, 5.8vw, 5.15rem); }
.feature-copy > p:not(.eyebrow) { max-width: 410px; color: #e1ecdf; margin-top: 14px; }
.feature-tags { display: flex; gap: 8px; list-style: none; padding: 0; margin: 16px 0 20px; }
.feature-tags li { padding: .22rem .58rem; font-size: .76rem; border: 1px solid #91ad9b; border-radius: 100px; }
.light { background: #fef4d9; color: var(--green); }
.light:hover { background: var(--yellow); }
.screens { position: relative; height: 100%; min-height: 320px; isolation: isolate; }
.screens::before { content: ""; position: absolute; z-index: -1; width: 100%; height: 100%; inset: 0; background: radial-gradient(ellipse at center, #6d956d80, transparent 67%); }
.screen-row { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 3%; }
.screen { width: min(37%, 198px); height: auto; border-radius: 18px; border: 3px solid #eef2df; box-shadow: 0 15px 30px #122e29aa; }
.screen-first { transform: translateY(11%) rotate(-10deg); }
.screen-second { transform: translateY(-6%) rotate(9deg); }
.gallery-button { position: absolute; z-index: 2; bottom: 13px; right: 0; display: flex; gap: 8px; padding: .4rem .75rem; border: 1px solid #8eaf9a; color: #fff9e9; background: #183d2f; border-radius: 40px; font-size: .8rem; }
.gallery-button:hover { background: #2f624b; }
.directory { padding-block: 70px 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.section-heading h2, .support h2 { margin-top: 12px; }
.section-heading > p { max-width: 255px; color: var(--muted); }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button, .secondary { border: 1px solid var(--rule); background: #fffdf7; color: var(--ink); }
.filters button { border-radius: 100px; padding: .4rem .78rem; font-size: .84rem; font-weight: 650; }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.filters button:hover:not([aria-pressed="true"]), .secondary:hover { border-color: var(--green); }
.search { display: flex; align-items: center; gap: 7px; width: min(100%, 223px); padding: 2px 10px; border: 1px solid var(--rule); border-radius: 100px; background: #fffdf7; }
.search > span { font-size: 1.45rem; line-height: 1; }
.search input { background: transparent; border: 0; color: var(--ink); width: 100%; min-height: 37px; min-width: 0; }
.result-count { margin: 16px 0 11px; font-size: .85rem; color: var(--muted); }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-card { display: flex; align-items: center; min-height: 84px; height: 100%; gap: 12px; padding: 14px; background: #fffdf7; border: 1px solid var(--rule); border-radius: 16px; text-decoration: none; transition: background .18s, border-color .18s; }
.app-card:hover { background: #fffae9; border-color: #849985; }
.app-icon { flex: 0 0 51px; height: 51px; border-radius: 13px; position: relative; display: grid; place-items: center; overflow: hidden; background: #f4deb1; color: #503a20; font-size: 1.15rem; font-weight: 780; }
.app-icon[data-category="Dictionaries"] { background: #d8e4f0; color: #254360; }
.app-icon[data-category="Utilities"] { background: #e1e6fc; color: #3f4186; }
.app-icon[data-category="Lifestyle"] { background: #f1dfeb; color: #6b3a5c; }
.app-icon[data-category="Education"] { background: #d8e8d9; color: #254b32; }
.app-icon img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.app-label { min-width: 0; }
.app-label h3 { font-size: .92rem; font-weight: 760; line-height: 1.25; overflow-wrap: anywhere; }
.app-label p { color: var(--muted); margin-top: 4px; font-size: .75rem; }
.app-arrow { margin-left: auto; color: var(--green); }
.show-more { margin: 20px auto 0; display: flex; }
.support { background: #f5e8ca; border-radius: 25px; padding: 32px clamp(20px, 4.3vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; margin-bottom: 38px; }
.support h2 { font-size: clamp(2.5rem, 5.1vw, 4.4rem); }
.support p:not(.eyebrow) { max-width: 490px; margin-top: 12px; color: var(--muted); }
.support .button { flex-shrink: 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid var(--rule); padding-block: 22px 30px; }
dialog { width: min(850px, calc(100% - 28px)); max-height: 90dvh; border: 1px solid var(--rule); border-radius: 20px; background: var(--paper); color: var(--ink); padding: 18px; }
dialog::backdrop { background: #182a23c7; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.gallery-header h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); }
.gallery-header button { width: 40px; height: 40px; padding: 0; font-size: 1.6rem; border: 1px solid var(--rule); border-radius: 50%; background: #fffdf7; }
.gallery-track { display: flex; gap: 12px; padding: 3px 3px 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery-track img { height: min(60dvh, 525px); width: auto; max-width: none; flex: none; border-radius: 14px; scroll-snap-align: start; }
@media (max-width: 900px) {
  .app-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(3.05rem, 8.8vw, 5.5rem); }
  .feature { min-height: 380px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .nav-bar { min-height: 64px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand-dot { margin-left: -5px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark img { width: 21px; height: 28px; }
  nav { gap: 12px; }
  nav a { font-size: .8rem; }
  nav a:first-child { display: none; }
  .nav-contact { padding: .33rem .61rem; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 24px; }
  .hero-art { aspect-ratio: 1.3; border-radius: 23px; }
  h1 { font-size: clamp(3.45rem, 11.4vw, 5rem); margin-top: 12px; }
  .hero-copy > p:not(.eyebrow), .actions { margin-top: 15px; }
  .speech { font-size: clamp(.92rem, 3.8vw, 1.25rem); }
  .feature { grid-template-columns: 1fr; gap: 1px; }
  .feature-copy { padding-block: 32px 0; }
  .screens { min-height: 298px; overflow: hidden; }
  .screen { width: min(36%, 141px); }
  .gallery-button { bottom: 9px; right: 0; }
  .directory { padding-block: 50px 54px; }
  .section-heading, .catalog-controls, .support { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 10px; }
  .search { order: -1; width: 100%; }
  .support { margin-bottom: 26px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer > div { flex-wrap: wrap; }
}
@media (max-width: 475px) {
  .app-list { grid-template-columns: 1fr; }
  .app-card { min-height: 70px; padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; }
.detail-main { padding-block: 30px 0; }
.detail-hero { display: grid; justify-items: start; gap: 15px; margin-block: 20px 30px; padding: clamp(22px, 6vw, 65px); border-radius: 25px; background: #f5e8ca; }
.detail-hero h1 { margin: 0; font-size: clamp(2.65rem, 7vw, 6.25rem); overflow-wrap: anywhere; }
.detail-icon { border-radius: 22px; }
.detail-description { max-width: 570px; color: var(--muted); font-size: 1.07rem; }
.detail-gallery { margin-block: 35px 42px; }
.detail-gallery h2 { font-size: clamp(2.35rem, 4.5vw, 3.65rem); margin-bottom: 18px; }
.detail-gallery .gallery-track img { height: clamp(260px, 49vw, 410px); }
.detail-support h2 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); margin-top: 0; }
.detail-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.legal-copy { max-width: 760px; margin: 20px auto 40px; padding: clamp(22px, 5vw, 54px); background: #fffdf7; border: 1px solid var(--rule); border-radius: 24px; }
.legal-copy h1 { margin: 10px 0 22px; font-size: clamp(2.9rem, 7vw, 5.6rem); }
.legal-copy h2 { margin: 25px 0 10px; font-size: clamp(1.8rem, 3.6vw, 2.65rem); }
.legal-copy p + p { margin-top: 8px; }
.legal-copy a { text-underline-offset: .2em; overflow-wrap: anywhere; }
