/* Azerkit page CSS for every kit page (landing, pricing, try, articles, sign-in): only what sits
   inside a visual (addon stills, the map, website screens) plus the brand's primary button. */
/* Brand primary (src/brand/BRAND.md): the green gradient, ink text. */
  .btn.btn--primary { background: linear-gradient(180deg, #4ADE80, #16A34A); color: #06140D; }
  .nav__logo img { border-radius: 7px; }
  /* hero: the real addon window cut by the frame, the threat HUD over its lower left */
  .hero__art .akshot { height: auto; border-radius: 12px; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .85), 0 0 0 1px rgb(0 0 0 / .5); }
  .hero__art > .akhud { left: var(--s-6); bottom: var(--s-6); width: 300px; height: auto; z-index: 2; border-radius: 10px; box-shadow: 0 24px 48px -16px rgb(0 0 0 / .9), 0 0 0 1px rgb(234 244 239 / .12); }
  @media (max-width: 1023px) { .hero__art > .akhud { left: var(--s-4); bottom: var(--s-4); width: 240px; } }
  /* the Modules page, whole */
  #modules .akframe { display: block; margin-top: var(--s-7); background: #0A0F0D; border-radius: 16px; overflow: hidden; border: 1px solid #21302A; }
  #modules .akframe img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
  /* feature cards: each panel holds a real addon still, cut by the panel's foot */
  #replaces .panel { --p-h: 300px; }
  @media (max-width: 639px) { #replaces .panel { --p-h: 176px; } }
  .akpanel__img { position: absolute; left: 24px; top: 24px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; object-position: top left; border-radius: 10px 0 0 0; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .8); }
  .akpanel__img--hud { left: 50%; top: 50%; width: min(86%, 420px); height: auto; transform: translate(-50%, -50%); border-radius: 10px; object-fit: contain; }
  .akfaqshot { width: 100%; max-width: 420px; height: auto; border-radius: 10px; margin-top: var(--s-5); border: 1px solid #21302A; }
  .akplanicon { display: inline-block; width: 32px; height: 32px; border-radius: 6px; vertical-align: -9px; margin-right: 10px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #2f4339; }
  .akplusbadge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; border: 1px solid #4ADE80; color: #4ADE80; font-size: 13px; font-weight: 500; box-shadow: 0 0 12px rgb(74 222 128 / .25); vertical-align: 3px; margin-left: 6px; }
  .close__word { line-height: 1.12; padding-top: .14em; }
  .hero__art .ui-pause:focus-visible, .hero__art button:focus-visible { outline: 2px solid #06140D; outline-offset: 2px; box-shadow: 0 0 0 4px #4ADE80; }
  @media (max-width: 400px) { .nav__actions > .nav__link, .nav__actions > .btn { display: none; } }

  /* the map frame (split) */
  #map .frame { background: #0b1418; position: relative; display: block; overflow: hidden; }
  .akmap { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .akmap__tag { position: absolute; z-index: 2; left: var(--s-5); bottom: var(--s-5); display: flex; gap: 8px; flex-wrap: wrap; }
  .akmap__tag span { height: 28px; padding: 0 10px; border-radius: 14px; background: rgb(10 15 13 / .88); border: 1px solid #21302A; color: #EAF4EF; font: 500 13px/28px var(--font-text); }
  .akmap__tag span i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

  /* the website screens (tabs) */
  .akweb { background: #111A16; color: #EAF4EF; border: 1px solid #21302A; border-radius: 14px; padding: 20px; font: 400 14px/1.45 var(--font-text); box-shadow: 0 32px 64px -32px rgb(0 0 0 / .85); }
  .akweb h4 { margin: 0; font: 600 17px/1.3 var(--font-text); }
  .akweb p { margin: 4px 0 0; color: #8FA49A; }
  .akcode { margin-top: 18px; display: flex; gap: 8px; }
  .akcode b { width: 44px; height: 54px; border-radius: 10px; background: #0A0F0D; border: 1px solid rgb(74 222 128 / .45); display: grid; place-items: center; font: 500 24px/1 var(--font-mono); color: #EAF4EF; }
  .akcmd { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #0A0F0D; border: 1px solid #21302A; font: 400 14px/1.4 var(--font-mono); color: #cfdcd5; }
  .akcmd span { color: #4ADE80; }
  .akwait { margin-top: 14px; display: flex; align-items: center; gap: 10px; color: #8FA49A; }
  .akwait i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgb(74 222 128 / .18); }
  .aklv { margin-top: 18px; display: grid; gap: 8px; }
  .aklv__row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 60px; gap: 10px; align-items: center; color: #cfdcd5; font-variant-numeric: tabular-nums; }
  .aklv__row i { display: block; height: 12px; border-radius: 0 4px 4px 0; background: #2fb866; }
  .aklv__row i.you { background: #338ced; }
  .aklv__row span:last-child { text-align: right; }
  .aklv__key { display: flex; gap: 16px; margin-top: 14px; color: #8FA49A; font-size: 13px; }
  .aklv__key span::before { content: ""; display: inline-block; width: 12px; height: 2px; border-radius: 1px; margin-right: 6px; vertical-align: 3px; background: #2fb866; }
  .aklv__key span.you::before { background: #338ced; }
  .aklfg { margin-top: 16px; display: grid; padding: 0; list-style: none; }
  .aklfg li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid #21302A; align-items: center; }
  .aklfg li img { grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 6px; }
  .aklfg li b { font-weight: 500; }
  .aklfg li small { color: #8FA49A; grid-column: 2; }
  .aklfg li em { grid-row: 1 / span 2; grid-column: 3; font-style: normal; height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid #2f4339; display: inline-flex; align-items: center; font-size: 13px; color: #EAF4EF; }
  .akphone { margin-top: 16px; display: grid; gap: 8px; padding: 0; list-style: none; }
  .akphone li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #17231E; }
  .akphone li img { width: 32px; height: 32px; border-radius: 6px; }
  .akphone li b { display: block; font-weight: 500; }
  .akphone li small { color: #8FA49A; }
  .akphone li time { color: #8FA49A; font-size: 13px; align-self: start; }
  .akplus { display: inline-flex; height: 20px; padding: 0 8px; border-radius: 6px; border: 1px solid #4ADE80; color: #4ADE80; font-size: 13px; font-weight: 500; align-items: center; margin-left: 8px; vertical-align: 2px; }
  #website .frame { background: #0b1418; }

/* hero media: an addon still, top-left anchored */
.akmedia img { object-position: var(--ly-pos, 0 0); }
/* pricing: the Plus badge (green, as the addon and app show it), the yearly link, the compare rows */
.card--plan h3 .akplusbadge { margin-left: 10px; }
.akyearrow { margin-top: calc(-1 * var(--s-3)); }
button.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.akcompare { margin-top: var(--s-7); }
.akcompare__row { min-height: 48px; align-items: center; border-bottom: 1px solid var(--line); font-size: 16px; }
.akcompare__head { color: var(--muted); font-size: 13px; font-weight: 500; }
.akcheck { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%2306140D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; vertical-align: -3px; }
/* footer legal row: the year, Privacy and Terms side by side */
.aklegal { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s-5); }

/* /try: the hero window holds the real addon still; the demo is one app frame (controls | live addon) */
.hero__window .akwin { border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .85), 0 0 0 1px rgb(234 244 239 / .12); }
.hero__window .akwin img { display: block; width: 100%; height: auto; }
.aktry.ui { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: var(--s-7); background: #0d1512; border: 1px solid #21302A; border-radius: 16px; overflow: hidden; }
.aktry__side { display: grid; align-content: start; gap: var(--s-4); padding: var(--s-5); border-right: 1px solid #21302A; min-width: 0; }
.aktry__classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.aktry__class { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border-radius: 8px; border: 1px solid #21302A; background: #111A16; font: 500 13px/1 var(--font-text); cursor: pointer; }
.aktry__class img { width: 24px; height: 24px; border-radius: 4px; }
.aktry__class[aria-checked="true"] { border-color: #4ADE80; background: rgb(74 222 128 / .08); }
.aktry__slots { display: grid; grid-template-columns: repeat(6, 44px); gap: var(--s-2); }
.aktry__slotwrap { position: relative; }
.aktry__slot { display: block; width: 44px; height: 44px; padding: 0; border: 1px solid #000; border-radius: 6px; background: #000; box-shadow: 0 0 0 1px #3a4a42; cursor: pointer; overflow: hidden; }
.aktry__slot img { width: 100%; height: 100%; }
.aktip { position: absolute; z-index: 5; left: 0; bottom: calc(100% + 8px); width: 240px; padding: 8px 10px; border-radius: 6px; background: rgb(6 12 10 / .96); border: 1px solid #3a4a42; font: 400 13px/1.45 var(--font-text); color: #4ADE80; display: none; }
.aktip b { display: block; color: #fff; font-weight: 500; font-size: 14px; }
.aktry__slotwrap:is(:hover, :focus-within) .aktip { display: block; }
.aktry__slotwrap:nth-child(6n) .aktip, .aktry__slotwrap:nth-child(6n-1) .aktip { left: auto; right: 0; }
.aktry__chat { min-height: 96px; padding: var(--s-3); border-radius: 8px; background: rgb(0 0 0 / .35); font: 400 13px/1.5 var(--font-text); color: #EAF4EF; overflow: hidden; }
.aktry__chat p { overflow-wrap: anywhere; }
.aktry__game { position: relative; min-width: 0; min-height: 0; background: #0A0F0D; }
.aktry__game iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s ease; }
.aktry__game iframe.is-ready { opacity: 1; }
.aktry__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
@media (max-width: 1023px) {
  .aktry.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(320px, 1fr); }
  .aktry__side { border-right: 0; border-bottom: 1px solid #21302A; }
  .aktry__game { order: -1; }
}
@media (max-width: 639px) {
  .aktry.ui { grid-template-rows: 240px auto; }
  .aktry__slots { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .aktry__slot { width: 100%; height: auto; aspect-ratio: 1; }
  .aktip { display: none !important; }
}
.aknums { margin-top: var(--s-8); }
.akhuds { margin-top: var(--s-8); }
.akhuds__cell { display: grid; place-items: center; padding: var(--s-6); border-radius: 16px; background: #0A0F0D; border: 1px solid #21302A; }
.akhuds__cell img { max-height: 160px; width: auto; }

/* the dealt effect grounds (hero frame, card panels) in the brand's dark greens, never a pale field */
[data-fx] { --fx-bg: #0c1611; --fx-surface: #10241a; --fx-ink: #1d4a31; --fx-muted: #173a27; --fx-accent: #16A34A; --fx-accent-ink: #4ADE80; }

/* articles: linked cards with the addon page each is about, category labels, rows, the tag row */
.akcat { color: var(--accent); }
.akpost h3 { font-size: var(--t-card); line-height: 1.3; }
.akpost .panel { --p-h: 260px; background: #0d1a14; }
.akpost .t-label { margin-bottom: var(--s-2); }
@media (max-width: 639px) { .akpost .panel { --p-h: 176px; } }
.akrows a.rows__name:hover { color: var(--accent); }
.akmq { margin-top: var(--s-8); }
.akmq a { font: 500 20px/1.3 var(--font-display); color: var(--ink); }
.akmq a:hover { color: var(--accent); }
.ly-collage .akpiece { border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px -16px rgb(0 0 0 / .85), 0 0 0 1px rgb(234 244 239 / .1); }
.ly-collage .akpiece img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

/* an article: the reading column, its contents list, tags */
.hero h1.akh1 { font-size: clamp(32px, 1.6vw + 25px, 48px); line-height: 1.08; }
.akread { height: auto !important; min-height: 100svh; }
.aktoc { position: relative; }
.aktoc ol { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.aktoc a { color: var(--muted); font-size: 15px; }
.aktoc a:hover { color: var(--ink); }
.akprose { font-size: 17px; line-height: 1.75; color: #cfdcd5; max-width: 68ch; }
.akprose > * + * { margin-top: var(--s-5); }
.akprose h2 { margin-top: var(--s-8); font-size: 30px; line-height: 1.2; color: var(--ink); scroll-margin-top: 96px; }
.akprose h3 { margin-top: var(--s-7); font-size: 22px; line-height: 1.3; color: var(--ink); scroll-margin-top: 96px; }
.akprose h2 + *, .akprose h3 + * { margin-top: var(--s-4); }
.akprose strong { color: var(--ink); font-weight: 500; }
.akprose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(74 222 128 / .6); text-underline-offset: 4px; }
.akprose a:hover { text-decoration-color: var(--accent); }
.akprose .heading-anchor { display: none; }
.akprose :is(ul, ol):not(.aktags) { list-style: none; padding-left: 0; counter-reset: ak; display: grid; gap: var(--s-3); }
.akprose :is(ul, ol):not(.aktags) > li { position: relative; }
.akprose ul:not(.aktags) > li::before { content: ""; position: absolute; left: -16px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.akprose ol > li { counter-increment: ak; }
.akprose ol > li::before { content: counter(ak) "."; position: absolute; left: -22px; color: var(--accent); font-weight: 500; }
.akprose code { font: 400 .9em/1 var(--font-mono); padding: 2px 6px; border-radius: 6px; background: #111A16; border: 1px solid #21302A; color: var(--ink); }
.akprose pre { padding: var(--s-5); border-radius: 12px; background: #0d1512; border: 1px solid #21302A; overflow-x: auto; }
.akprose pre code { padding: 0; border: 0; background: none; }
.akprose blockquote { padding-left: var(--s-5); border-left: 2px solid var(--accent); color: var(--ink); }
.akprose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.akprose th, .akprose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #21302A; }
.akprose img { border-radius: 12px; border: 1px solid #21302A; }
.akprose .heading-anchor, .akprose a[aria-hidden="true"] { text-decoration: none; }
.aktags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-8); }
.aktags a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: 22px; border: 1px solid #21302A; font-size: 14px; }
.aktags a:hover { border-color: var(--accent); }
.akrel { margin-top: var(--s-8); }
@media (max-width: 1023px) { .aktoc { display: none; } .akprose { grid-column: 1 / -1; } }

/* sign-in: Google's own button (its branding rules: dark theme, the four-colour G, pill), the form */
.akauth .akgoogle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 400px; height: 44px; margin-top: var(--s-5); border-radius: 22px; border: 1px solid #8E918F; background: #131314; color: #E3E3E3; font: 500 14px/20px "Roboto", var(--font-text); }
.akauth .akgoogle:hover { background: #1f1f21; }
.akform { max-width: 400px; margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.akform .btn-row { margin-top: var(--s-2); }
.aknotice { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: 8px; border: 1px solid rgb(74 222 128 / .35); background: rgb(74 222 128 / .08); font-size: 15px; }
.akshots { margin-top: var(--s-8); }
.akshots__cell { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid #21302A; }
.akshots__cell img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

/* /map: a still of the map in the hero; the live map as one app frame in #explore */
.akmapframe { margin-top: var(--s-7); border-radius: 16px; border: 1px solid #21302A; overflow: hidden; background: #0A0F0D; min-height: 420px; }
.akmapframe__map { width: 100%; height: 100%; min-height: 420px; }
.akstatement { font-size: clamp(40px, 4.4vw, 72px); line-height: 1.02; max-width: 14ch; }
.akmapcards { margin-top: var(--s-8); }
.akmapcards .panel { --p-h: 240px; }
.akplannote { margin-top: var(--s-2); }
@media (min-width: 640px) { .akplannote { display: none; } }
@media (min-width: 1024px) { #map .frame--split, #website .frame--split { min-height: 640px; } }
.akcompare__row > span { display: flex; align-items: center; min-height: 28px; }
.akplusbadge--name { height: 28px; padding: 0 10px; font-size: 17px; margin-left: 0; vertical-align: 2px; }
.akcompare__head { border-bottom: 0; }
.akcompare__feat { display: flex; align-items: center; gap: 12px; }
.akcompare__feat img { width: 28px; height: 28px; border-radius: 5px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #2f4339; }
/* the centred hero's lit frame in the brand's dark greens (layout.css lights it from the sage ground) */
.hero--centred .hero__window { background: #0c1611; --fx-bg: #0c1611; --fx-surface: #10241a; --fx-ink: #1d4a31; --fx-accent: #16A34A; }
:is(.hero__window, .hero__art, .hero__media) .ui-pause:focus-visible { outline: 2px solid #06140D; outline-offset: 2px; box-shadow: 0 0 0 4px #4ADE80; }
.aktry.ui { background: transparent; }

/* an article's parts: the text on the left, the addon page it is about on the right */
.akpart .akprose > h2:first-child { margin-top: 0; }
.akpart__shot { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid #21302A; background: #0A0F0D; align-self: start; }
.akpart__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
#statement .mo-la__sub { color: var(--ink); }
.akpart .akprose > .sr-only + * { margin-top: 0; }
.akprose :is(ul, ol):not(.aktags) > li { padding-left: 0; }
.akshots--wide .akshots__cell { aspect-ratio: 16 / 9; }
@media (max-width: 639px) { .akmapframe, .akmapframe__map { min-height: 480px; } }
@media (max-width: 639px) {
  #plans { --hm: 2; }
  .akcompare { margin-top: var(--s-5); }
  .akcompare__row { min-height: 40px; font-size: 15px; row-gap: 0; }
  .akcompare__feat img { width: 24px; height: 24px; }
}
.hero__window .akwin { z-index: 2; }
@media (max-width: 639px) {
  .aktry.fill { flex: none; }
  .aktry.ui { grid-template-rows: 320px auto; }
}
@media (max-width: 639px) { .akshots .akshots__cell:nth-child(n+2) { display: none; } }

@media (max-width: 639px) {
  .akpart__shot { aspect-ratio: 1 / 1; }
  .hero.akarticle .btn--secondary, .hero.akarticle .akbyline { display: none; }
  .hero h1.akh1 { font-size: 32px; }
  .akprose h2 { font-size: 24px; }
  .akprose h3 { font-size: 20px; }
  .hero--split.akauthhero .hero__media { flex: none; height: 160px; min-height: 0; }
  .hero--split.akauthhero .hero__media .ly-float { display: none; }
  .akauthhero .hero__lead { display: none; }
}
@media (min-width: 640px) { #plans .akmore { display: none; } }
@media (max-width: 639px) { main > #demo > .wrap > .aktry.fill { flex: none; } }
/* phones: a short article part lets its addon page take the rest of the screen, so every part ends on its picture */
@media (max-width: 639px) {
  main > .akpart > .wrap > .grid { flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--s-6); }
  .akpart__shot { flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; }
}
/* Tailwind's "group" (group-hover) in the map app is not the kit's .group column: give it back its own layout */
.akmapframe .group { display: revert-layer; flex-direction: revert-layer; min-height: revert-layer; }
/* (kit) React pages also carry Tailwind, whose start-N utilities would shift the kit's grid columns */
.grid > [class*="start-"] { inset-inline-start: auto; }
/* the map app's own colours win over the kit's inherited link and button colour */
.akmapframe :is(a, button) { color: revert-layer; }
.aklegal > .muted { flex-basis: 100%; }
@media (max-width: 639px) {
  #layers { --hm: 2; }
  .akmapcards .panel { --p-h: 176px; }
  .akstatement { font-size: 40px; }
}
.akmapframe :is(button, input, select) { font: revert-layer; }
.akmapframe > div > button.absolute { background: #0A0F0D; color: #EAF4EF; box-shadow: none; }
@media (max-width: 639px) { .aklegal { flex-direction: column; align-items: flex-start; } }
