/* Nokhatha site. Shares tokens, the mark, buttons, bands and the dial with the app. */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap, .hero, .section, .foot { max-width: 1160px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

/* navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(12px + env(safe-area-inset-top)) clamp(18px, 4vw, 40px) 12px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1; }
.brand .mark { width: 34px; height: 34px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang {
  min-height: 40px; padding: 0 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px;
}
.lang:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
@media (min-width: 920px) { .nav-links { display: flex; } }
@media (max-width: 440px) { .nav-end .btn-sm { display: none; } }
.btn-sm, .lang { white-space: nowrap; }

/* hero */
.hero { display: grid; gap: 22px; align-items: center; padding-block: clamp(20px, 5vw, 56px) clamp(28px, 5vw, 60px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--overdue); font-weight: 700; font-size: 14px; letter-spacing: .2px; }
.eyebrow::before { content: ""; width: 36px; height: 8px; background-image: var(--band-car); background-size: auto 8px; background-repeat: repeat-x; border-radius: 1px; }
.display { font-family: var(--font-display); font-weight: 700; }
.hero h1 { margin: 0; font-size: clamp(44px, 7.4vw, 82px); line-height: 1.1; letter-spacing: -.5px; }
.lead { margin: 16px 0 0; max-width: 58ch; color: var(--ink-2); font-size: clamp(16.5px, 1.55vw, 19px); line-height: 1.9; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta .btn { min-height: 52px; padding: 0 22px; font-size: 16px; }
.fine-line { margin: 16px 0 0; font-size: 14px; }
.fine-line a { color: var(--ink-2); font-weight: 600; text-underline-offset: 4px; }
.hero-dial { margin: 0; }
.dial-host { max-width: 600px; margin: 0 auto; min-height: 200px; }
@media (max-width: 600px) { .dial-host .dial .lbl { font-size: 17px; } }
.hero-dial figcaption { display: grid; gap: 4px; max-width: 460px; margin: 6px auto 0; text-align: center; }
.hero-dial figcaption span { font-weight: 600; line-height: 1.7; }
.hero-dial figcaption small { color: var(--ink-3); font-size: 13px; }
@media (min-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; }
}

/* sections */
.nav + main > .band, main > .band { max-width: 1160px; margin-inline: auto; width: calc(100% - 2 * clamp(18px, 4vw, 40px)); }
.section { padding-block: clamp(44px, 7vw, 88px); }
.section-head { max-width: 780px; margin-bottom: 30px; }
.section h2 { margin: 0; font-size: clamp(31px, 4.4vw, 50px); line-height: 1.2; }
.note { margin: 18px 0 0; max-width: 72ch; font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }

/* the year */
.seasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.season { position: relative; padding: 20px 18px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.season::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--g, var(--line)); }
.season.g-safari { --g: color-mix(in srgb, var(--ok) 72%, var(--surface)); }
.season.g-shita { --g: color-mix(in srgb, var(--ink-3) 82%, var(--surface)); }
.season.g-rabi { --g: color-mix(in srgb, var(--spring) 85%, var(--surface)); }
.season.g-qaith { --g: color-mix(in srgb, var(--rutab) 88%, var(--surface)); }
.season.now { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.season.now::before { background-image: var(--band-car); background-size: auto 6px; background-repeat: repeat-x; }
.season-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.season h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.3; }
.here { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--sadu); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.grp { flex: none; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.season-dates { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.len { color: var(--ink-3); }
.season-note { margin: 10px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.season-hint { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; font-weight: 500; line-height: 1.65; }
.season-hint .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--sadu); }
.season.now .season-dates, .season.now .season-note { color: color-mix(in srgb, var(--on-ink) 80%, transparent); }
.season.now .len { color: color-mix(in srgb, var(--on-ink) 62%, transparent); }
.season.now .season-hint { background: color-mix(in srgb, var(--on-ink) 11%, transparent); }
.season.now .season-hint .ic { color: var(--rutab); }

/* features */
.pillars { display: grid; gap: 14px; }
.pillar { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.pillar-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--tint-ok); color: var(--ok); }
.pillar:nth-child(2) .pillar-ic { background: var(--tint-overdue); color: var(--overdue); }
.pillar:nth-child(3) .pillar-ic { background: var(--tint-soon); color: var(--soon-ink); }
.pillar-ic .ic { width: 27px; height: 27px; }
.pillar h3 { margin: 18px 0 6px; font-family: var(--font-display); font-size: 25px; font-weight: 600; }
.pillar p { margin: 0; color: var(--ink-2); line-height: 1.9; }
@media (min-width: 880px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.extras { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.extras li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; line-height: 1.55; }
.extras li > span:first-child { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 6%, var(--surface)); }
.extras .ic { width: 20px; height: 20px; }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); gap: 18px; margin-top: 40px; padding: 8px 2px 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots figure { margin: 0; text-align: center; scroll-snap-align: center; }
.shots img { width: 100%; height: auto; border-radius: 32px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 28px 60px -28px rgb(18 23 40 / .4); }
.shots figcaption { margin-top: 12px; font-weight: 600; color: var(--ink-2); }
@media (min-width: 880px) { .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 26px; } }

/* privacy */
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts-list li { display: flex; gap: 14px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.facts-list li > span { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint-ok); color: var(--ok); }
.facts-list h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.facts-list p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
@media (min-width: 780px) { .facts-list { grid-template-columns: 1fr 1fr; } }

/* platforms */
.platforms { display: grid; gap: 14px; }
.platform { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.platform > span:first-child { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 6%, var(--surface)); }
.platform.ready { box-shadow: inset 0 0 0 1.5px var(--ink); }
.platform h3 { margin: 8px 0 0; font-family: var(--font-display); font-size: 23px; font-weight: 600; }
.platform p { flex: 1; margin: 0 0 8px; color: var(--ink-2); line-height: 1.8; }
.soon { padding: 5px 12px; border-radius: 999px; background: var(--tint-soon); color: var(--soon-ink); font-size: 13px; font-weight: 700; }
@media (min-width: 880px) { .platforms { grid-template-columns: repeat(3, 1fr); } }

/* footer */
.foot { display: grid; justify-items: center; gap: 12px; padding-block: 44px calc(52px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--line); }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.foot-brand .mark { width: 28px; height: 28px; }
.foot-meaning { margin: 0; max-width: 58ch; color: var(--ink-2); line-height: 1.85; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.foot-links a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.copy { margin: 0; font-size: 13px; color: var(--ink-3); }

/* English display words need air in Reem Kufi */
:root[lang="en"] :is(.display, .season h3, .pillar h3, .platform h3, .foot-brand, .brand) { word-spacing: var(--display-ws); }

/* questions */
.faq-title { margin: 40px 0 14px; font-size: clamp(24px, 3vw, 30px); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1.6; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); font-weight: 600; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); line-height: 1.9; }
