/* AI Hosting Panel design system: bright white, four-colour 3D glass morph, embossed surfaces. English only.
   Shared by aihostingpanel.com and the panel's own landing page (copied to web/app/landing.css). Every rule sits under .site.
   Mobile first: base styles are for phones; wider screens are added with min-width queries. */

/* aihostingpanel.com: the shadcn/ui theme (ui.shadcn.com). Light is the default; the theme switch sets data-theme="dark" on <html>. */
:root, .site {
  color-scheme: light;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --ink: #0a0a0a;
  --ink-2: #525252;
  --text: #0a0a0a;
  --muted: #737373;
  --line: #e5e5e5;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --accent: #171717;
  --accent-hover: #262626;
  --on-accent: #fafafa;
  --accent-soft: #f5f5f5;
  --indigo: #171717; --magenta: #171717; --cyan: #171717; --orange: #171717;
  --pink: #171717; --amber: #171717; --teal: #171717; --violet: #171717;
  --grad: var(--accent);
  --grad4: var(--accent);
  --grad4-soft: var(--accent-soft);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --emboss-shadow: var(--shadow);
  --emboss-out: var(--shadow);
  --emboss-in: none;
}
html[data-theme="dark"], html[data-theme="dark"] .site {
  color-scheme: dark;
  --white: #0a0a0a;
  --surface: #0a0a0a;
  --surface-2: #171717;
  --bg: #0a0a0a;
  --bg-soft: #171717;
  --ink: #fafafa;
  --ink-2: #a3a3a3;
  --text: #fafafa;
  --muted: #a3a3a3;
  --line: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #e5e5e5;
  --accent-hover: #d4d4d4;
  --on-accent: #171717;
  --accent-soft: #171717;
  --indigo: #e5e5e5; --magenta: #e5e5e5; --cyan: #e5e5e5; --orange: #e5e5e5;
  --pink: #e5e5e5; --amber: #e5e5e5; --teal: #e5e5e5; --violet: #e5e5e5;
  --shadow: none;
  --emboss-shadow: none;
  --emboss-out: none;
  --emboss-in: none;
}
.site {
  position: relative;
  min-height: 100%;
  /* clip, not hidden: hidden would stop the sticky navigation from sticking */
  overflow-x: clip;
  background: var(--surface);
  color: var(--ink-2);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
html, body { background: var(--surface); color: var(--ink-2); }
/* TOKENS-END */
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site img { max-width: 100%; height: auto; }
.site p { margin: 0; }
.site a { color: var(--violet); text-decoration: none; }
.site h1, .site h2, .site h3 { margin: 0; color: var(--ink); }

/* Ambient background: four colour blobs that morph and drift behind the glass */
.site .blobs { position: absolute; inset: 0 0 auto 0; height: 1100px; overflow: hidden; pointer-events: none; z-index: 0; }
.site .blob {
  position: absolute; width: 520px; height: 520px; filter: blur(70px); opacity: 0.62;
  animation: morph 16s ease-in-out infinite alternate, drift 24s ease-in-out infinite alternate;
}
.site .blob.b1 { top: -160px; left: -190px; background: transparent; }
.site .blob.b2 { top: 40px; right: -210px; width: 470px; height: 470px; background: transparent; animation-duration: 20s, 28s; }
.site .blob.b3 { top: 560px; left: 20%; width: 400px; height: 400px; background: transparent; animation-duration: 22s, 30s; }
.site .blob.b4 { top: 760px; right: -150px; width: 430px; height: 430px; background: transparent; animation-duration: 18s, 26s; }
@keyframes morph {
  0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  50% { border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%; }
  100% { border-radius: 30% 70% 36% 64% / 55% 40% 60% 45%; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(40px, 30px, 0) rotate(60deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site .wrap { position: relative; z-index: 1; width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site .wrap.narrow { width: min(820px, calc(100% - 32px)); }

/* Navigation: a floating white glass bar. On phones the links open in a coloured sheet under it */
.site .nav {
  position: sticky; top: 10px; z-index: 50;
  width: min(1180px, calc(100% - 24px)); margin: 10px auto 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}
.site .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px 9px 14px; }
.site .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.site .brand span:last-child {
  background: var(--grad4); -webkit-background-clip: text; background-clip: text; color: var(--accent);
}
.site .mark {
  width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad4); color: var(--on-accent); font-weight: 700; font-size: 16px;
  box-shadow: var(--shadow);
}
.site .links { display: none; align-items: center; gap: 24px; }
.site .links a { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.site .links a:hover { color: var(--pink); }
.site .nav-actions { display: flex; align-items: center; gap: 8px; }
.site .menu-btn {
  width: 44px; height: 44px; border-radius: 15px; border: 1.5px solid color-mix(in srgb, var(--accent) 20%, transparent); background: var(--surface);
  color: var(--violet); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: var(--shadow);
}
.site .menu-btn .i-open { display: block; }
.site .menu-btn .i-close { display: none; }
.site .nav.open .menu-btn .i-open { display: none; }
.site .nav.open .menu-btn .i-close { display: block; }
.site .menu-sheet {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 10px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.96); border: 1.5px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--shadow);
}
.site .nav.open .menu-sheet { display: grid; gap: 4px; }
.site .menu-sheet a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 16px; font-weight: 700; color: var(--ink); }
.site .menu-sheet a:nth-child(4n+1) { color: var(--pink); }
.site .menu-sheet a:nth-child(4n+2) { color: var(--accent); }
.site .menu-sheet a:nth-child(4n+3) { color: var(--accent); }
.site .menu-sheet a:nth-child(4n+4) { color: var(--violet); }
.site .menu-sheet a:hover, .site .menu-sheet a:focus-visible { background: var(--grad4-soft); }
.site .menu-sheet a::after { content: "›"; font-size: 22px; opacity: 0.6; }

/* Buttons: a four-colour gradient that shimmers, and a white embossed ghost */
.site .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
  border-radius: 18px; border: 1.5px solid transparent; font-weight: 750; font-size: 15px; text-decoration: none; cursor: pointer;
  font-family: inherit; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.6s ease;
}
.site .btn.primary {
  background: var(--grad4); background-size: 200% 200%; animation: shimmer 9s ease infinite; color: var(--on-accent);
  text-shadow: none;
  box-shadow: var(--shadow);
}
.site .btn.ghost {
  background: var(--accent); color: var(--violet);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: var(--shadow);
}
.site .btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 14px; }
.site .btn:hover { transform: translateY(-3px); }
.site .btn:active { transform: translateY(0); }
.site .btn:focus-visible, .site a:focus-visible, .site summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site .btn.static { pointer-events: none; }

/* Hero */
.site .hero { position: relative; z-index: 1; padding: 44px 0 28px; }
.site .hero-grid { display: grid; gap: 36px; align-items: center; }
.site .pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--accent) padding-box, var(--grad4) border-box;
  border: 1.5px solid transparent; font-size: 13px; font-weight: 700;
  background-clip: padding-box, border-box;
  background-image: var(--accent), var(--grad4);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.site h1 {
  margin: 20px 0 18px; font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700;
  filter: none;
}
.site h1 .grad { display: inline; }
.site .grad {
  background: var(--grad4); background-size: 200% 200%; animation: shimmer 10s ease infinite;
  -webkit-background-clip: text; background-clip: text; color: var(--accent);
}
.site h2 {
  font-size: clamp(2rem, 4.8vw, 3.2rem); line-height: 1.07; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 16px;
  background: var(--grad4); -webkit-background-clip: text; background-clip: text; color: var(--accent);
  filter: none;
}
.site h3 { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); text-shadow: none; }
.site .lead { color: var(--ink-2); font-size: clamp(1.04rem, 1.6vw, 1.22rem); max-width: 42ch; margin: 0 0 30px; font-weight: 500; }
.site .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.site .cta-row.center { justify-content: center; }
.site .proof { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--ink); font-size: 14px; font-weight: 650; }
.site .proof li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 7px; background: var(--teal); color: var(--on-accent); font-size: 12px; font-weight: 700; }
.site .proof li:nth-child(2)::before { background: var(--pink); }
.site .proof li:nth-child(3)::before { background: var(--violet); }

.site .hero-visual { position: relative; min-height: 400px; display: grid; place-items: center; perspective: 1400px; }
.site .phone {
  position: relative; width: min(262px, 70vw); aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 12px;
  background: var(--accent);
  box-shadow: var(--shadow);
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -14deg));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}
.site .phone img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 12px; }
.site .phone::after {
  content: ""; position: absolute; inset: 9px; border-radius: 12px; pointer-events: none;
  background: var(--accent);
}
.site .chip {
  position: absolute; padding: 11px 15px; border-radius: 18px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--ink);
  background: var(--accent);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  animation: float 6s ease-in-out infinite;
}
.site .chip small { display: block; color: var(--ink-2); font-weight: 600; font-size: 11px; }
.site .chip-a { top: 2%; left: 0; border-left: 5px solid var(--pink); }
.site .chip-b { bottom: 10%; left: 2%; border-left: 5px solid var(--teal); animation-delay: -2s; }
.site .chip-c { top: 46%; right: 0; border-left: 5px solid var(--amber); animation-delay: -4s; }
/* Four glossy 3D orbs floating around the phone */
.site .orb {
  position: absolute; width: 74px; height: 74px; border-radius: 50%; pointer-events: none;
  background: var(--c);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.site .orb.o1 { --c: var(--accent); top: 8%; right: 14%; }
.site .orb.o2 { --c: var(--accent); bottom: 6%; right: 2%; width: 56px; height: 56px; animation-delay: -3s; }
.site .orb.o3 { --c: var(--accent); top: 40%; left: -2%; width: 46px; height: 46px; animation-delay: -1.5s; }
.site .orb.o4 { --c: var(--accent); bottom: 26%; left: 16%; width: 34px; height: 34px; animation-delay: -5s; }

/* Strip: a band of four-colour pills */
.site .strip { position: relative; z-index: 1; margin-top: 36px; padding: 20px 0; background: var(--grad4-soft); border-top: 1.5px solid var(--surface); border-bottom: 1.5px solid var(--surface); }
.site .strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.site .strip li {
  padding: 8px 14px; border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 750;
  box-shadow: var(--shadow); color: var(--pink);
}
.site .strip li:nth-child(4n+2) { color: var(--accent); }
.site .strip li:nth-child(4n+3) { color: var(--accent); }
.site .strip li:nth-child(4n+4) { color: var(--violet); }

/* Sections */
.site section.block { position: relative; z-index: 1; padding: 88px 0; }
.site .eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--surface); color: var(--violet); box-shadow: var(--shadow);
}
.site .section-lead { color: var(--ink-2); font-size: 1.06rem; max-width: 62ch; margin-bottom: 40px; font-weight: 500; }

/* Glass cards: white glass, embossed, with a four-colour edge ring and a light that follows the pointer */
.site .glass {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px;
  background: var(--accent);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  --c: var(--accent);
}
.site .glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
  background: transparent;
}
.site .glass:hover::before { opacity: 1; }
.site .glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: var(--grad4);
  -webkit-mask: var(--accent) content-box, var(--accent);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.7;
}
.site .glass > * { position: relative; }
.site .glass.c-pink { --c: var(--accent); }
.site .glass.c-amber { --c: var(--accent); }
.site .glass.c-teal { --c: var(--accent); }
.site .glass.c-violet { --c: var(--accent); }
.site .glass.c-pink::after { background: var(--accent); }
.site .glass.c-amber::after { background: var(--accent); }
.site .glass.c-teal::after { background: var(--accent); }
.site .glass.c-violet::after { background: var(--accent); }

/* Install command: a four-colour edged terminal, with white code */
.site .terminal {
  display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; border-radius: 12px;
  background: var(--accent); border: 2px solid transparent;
  background-image: var(--accent), var(--grad4); background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: var(--shadow);
}
.site .terminal .prompt { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; font-size: 18px; color: var(--pink); }
.site .terminal code {
  flex: 1; min-width: 0; white-space: normal; word-break: break-all; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.5; font-weight: 600;
}
.site .copy {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--grad4); color: var(--on-accent); font: inherit; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow);
}
.site code.inline { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; color: var(--violet); background: var(--accent); padding: 2px 7px; border-radius: 7px; word-break: break-all; }

.site .steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.site .step .step-num {
  width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--c, var(--violet)); color: var(--on-accent); font-weight: 700; font-size: 18px;
  box-shadow: var(--shadow);
}
.site .step:nth-child(4n+1) { --c: var(--accent); }
.site .step:nth-child(4n+2) { --c: var(--accent); }
.site .step:nth-child(4n+3) { --c: var(--accent); }
.site .step:nth-child(4n+4) { --c: var(--accent); }
.site .step p { color: var(--ink-2); font-size: 15px; font-weight: 500; }

/* Android */
.site .app-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
.site .app-grid > * { min-width: 0; }
.site .download .meta { color: var(--ink-2); font-size: 14px; font-weight: 600; margin: 4px 0 20px; }
.site .download .btn { width: 100%; }
.site .checksum { margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--accent); box-shadow: var(--shadow); }
.site .checksum span { display: block; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.site .checksum code { display: block; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink); font-weight: 600; }
.site .app-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.site .app-steps li { display: flex; gap: 14px; }
.site .app-steps .dot {
  flex: none; width: 32px; height: 32px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--on-accent);
  background: var(--grad4); box-shadow: var(--shadow);
}
.site .app-steps li:nth-child(4n+1) .dot { background: var(--pink); }
.site .app-steps li:nth-child(4n+2) .dot { background: var(--amber); }
.site .app-steps li:nth-child(4n+3) .dot { background: var(--teal); }
.site .app-steps li:nth-child(4n+4) .dot { background: var(--violet); }
.site .app-steps strong { display: block; font-weight: 700; color: var(--ink); }
.site .app-steps p { color: var(--ink-2); font-size: 14px; font-weight: 500; }

.site .shots {
  list-style: none; margin: 0 -16px; padding: 24px 16px 34px; display: grid; grid-auto-flow: column; grid-auto-columns: 70%;
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.site .shots::-webkit-scrollbar { display: none; }
.site .shot { scroll-snap-align: center; }
.site .shot figure { margin: 0; }
.site .shot .frame {
  padding: 9px; border-radius: 12px;
  background: var(--accent);
  box-shadow: var(--shadow);
}
.site .shot img { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 12px; background: var(--surface); }
.site .shot figcaption { margin-top: 16px; color: var(--ink); font-size: 14px; font-weight: 750; text-align: center; }
/* Landscape screenshots (the Windows section): the same frame and captions, with a 16:9 picture instead of a phone shape */
.site .shots.wide { grid-auto-columns: min(82vw, 340px); }
.site .shots.wide .shot img { aspect-ratio: 16 / 9; border-radius: 12px; }
@media (min-width: 900px) { .site .shots.wide { grid-auto-columns: 440px; } }

/* Feature bento: each card takes one of the four colours */
.site .bento { display: grid; gap: 20px; }
.site .bento .glass h3 { font-size: 1.14rem; margin: 20px 0 14px; }
.site .bento ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.site .bento li strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.site .bento li p { margin-top: 3px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.site .icon-tile {
  width: 54px; height: 54px; border-radius: 19px; display: grid; place-items: center; color: var(--on-accent);
  background: var(--c);
  box-shadow: var(--shadow);
}
.site .icon-tile svg { display: block; }

/* Licence */
.site .tri { display: grid; gap: 20px; }
.site .tri .glass p { color: var(--ink-2); font-size: 15px; font-weight: 500; margin-top: 10px; }
.site .big {
  display: block; font-size: clamp(3rem, 7vw, 4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  background: var(--grad4); background-size: 200% 200%; animation: shimmer 9s ease infinite;
  -webkit-background-clip: text; background-clip: text; color: var(--accent);
  filter: none;
}
.site .plan-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.site .plan-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; font-weight: 600; }
.site .plan-list svg { flex: none; color: var(--on-accent); background: var(--teal); border-radius: 7px; padding: 3px; margin-top: 2px; width: 24px; height: 24px; }
.site .plan-list li:nth-child(2n) svg { background: var(--pink); }
.site .timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.site .timeline li { display: flex; gap: 16px; }
.site .timeline .step-num { flex: none; width: 42px; height: 42px; margin: 0; border-radius: 15px; }
.site .timeline strong { display: block; font-weight: 700; color: var(--ink); }
.site .timeline p { color: var(--ink-2); font-size: 15px; font-weight: 500; margin-top: 3px; }
.site .renew-grid { display: grid; gap: 30px; }
.site .renew-steps { margin: 24px 0 0; padding-left: 22px; color: var(--ink-2); display: grid; gap: 12px; font-weight: 500; }
.site .renew-steps li::marker { color: var(--pink); font-weight: 700; }
.site .renew-steps strong { color: var(--ink); font-weight: 700; }
.site .lic-card { border-radius: 12px; padding: 22px; background: var(--accent); box-shadow: var(--shadow); margin-bottom: 16px; border: 1.5px solid var(--surface); }
.site .lic-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.site .lic-card p { color: var(--ink-2); font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.site .lic-card p strong { color: var(--accent); font-weight: 700; }
.site .lic-card.ended p strong { color: var(--pink); }
.site .lic-card .btn { margin-top: 8px; }

/* FAQ: each question is an embossed card with its own colour edge */
.site .faq { display: grid; gap: 14px; }
.site .faq details {
  position: relative; border-radius: 12px; padding: 20px 22px; background: var(--accent);
  box-shadow: var(--shadow); border: 1.5px solid var(--surface);
}
.site .faq details:nth-child(4n+1) { border-left: 6px solid var(--pink); }
.site .faq details:nth-child(4n+2) { border-left: 6px solid var(--amber); }
.site .faq details:nth-child(4n+3) { border-left: 6px solid var(--teal); }
.site .faq details:nth-child(4n+4) { border-left: 6px solid var(--violet); }
.site .faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.site .faq summary::-webkit-details-marker { display: none; }
.site .faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad4); color: var(--on-accent); font-size: 22px; font-weight: 600; transition: transform 0.25s ease;
}
.site .faq details[open] summary::after { transform: rotate(45deg); }
.site .faq details p { color: var(--ink-2); margin-top: 12px; max-width: 70ch; font-weight: 500; }

/* Final call to action: a soft four-colour field */
.site .final-glass { text-align: center; padding: 60px 26px; background: var(--grad4-soft), var(--surface); }
.site .final-glass h2 { margin-bottom: 14px; }
.site .final-glass .lead { margin: 0 auto 30px; }

/* Footer */
.site footer { position: relative; z-index: 1; padding: 48px 0 140px; color: var(--ink-2); font-size: 14px; background: var(--surface); }
.site footer::before { content: ""; display: block; height: 4px; margin-bottom: 36px; border-radius: 4px; background: var(--grad4); }
.site footer .foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.site footer .foot-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site footer .foot-links a:hover { color: var(--pink); }
/* The flag strip at the very bottom of the page: Bangladesh green with the red disc of the flag */
.site footer .flag-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--accent); }
.site footer .flag-strip::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--accent); }
.site .brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex: 0 0 auto; }
.site .tagline { margin: 6px 0 0; font-size: clamp(18px, 2.2vw, 22px); font-weight: 750; color: var(--teal); letter-spacing: -0.01em; }
.site .legal p { font-size: 12.5px; color: var(--ink-2); max-width: 110ch; margin-bottom: 10px; font-weight: 500; }
.site .legal a { color: var(--violet); font-weight: 700; }

/* Mobile call-to-action bar: always one tap away on a phone */
.site .mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 10px; padding: 10px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.86); border: 1.5px solid var(--surface); box-shadow: var(--shadow);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site .mobile-cta .btn { flex: 1; min-height: 50px; padding: 0 12px; font-size: 14px; }

.site .mt { margin-top: 30px; }

/* Larger screens */
@media (min-width: 700px) {
  .site .wrap { width: min(1180px, calc(100% - 48px)); }
  .site .bento { grid-template-columns: repeat(2, 1fr); }
  .site .tri { grid-template-columns: repeat(3, 1fr); }
  .site .steps { grid-template-columns: repeat(3, 1fr); }
  .site .shots { grid-auto-columns: 230px; }
}
@media (min-width: 900px) {
  .site .nav { width: min(1180px, calc(100% - 48px)); }
  .site .links { display: flex; }
  .site .menu-btn { display: none; }
  .site .menu-sheet { display: none !important; }
  .site .hero { padding: 76px 0 40px; }
  .site .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .site .hero-visual { min-height: 600px; }
  .site .phone { width: 304px; }
  .site .chip-a { top: 10%; left: -6%; }
  .site .chip-b { bottom: 12%; left: -4%; }
  .site .chip-c { top: 50%; right: -8%; }
  .site .app-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 60px; }
  .site .shots { margin: 0; padding: 24px 4px 34px; grid-auto-columns: 250px; gap: 24px; }
  .site .bento { grid-template-columns: repeat(3, 1fr); }
  .site .renew-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; }
  .site .mobile-cta { display: none; }
  .site footer { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; }
}

/* ---- Home page sections: Ubuntu, showcase, platforms, AI, Git, runtimes, lists, marquee ---- */
.site .marquee { position: relative; z-index: 1; overflow: hidden; padding: 18px 0; background: var(--grad4-soft); border-top: 1.5px solid var(--surface); border-bottom: 1.5px solid var(--surface); }
.site .marquee-track { display: flex; gap: 12px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 48s linear infinite; }
.site .marquee-track li {
  flex: none; padding: 9px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow);
  font-size: 13.5px; font-weight: 750; white-space: nowrap; color: var(--pink);
}
.site .marquee-track li:nth-child(4n+2) { color: var(--accent); }
.site .marquee-track li:nth-child(4n+3) { color: var(--accent); }
.site .marquee-track li:nth-child(4n+4) { color: var(--violet); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site .split { display: grid; gap: 36px; align-items: center; }
.site .art-wrap { display: grid; place-items: center; }
.site .art { width: min(330px, 92%); height: auto; animation: float 8s ease-in-out infinite; filter: none; }
.site .ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.site .ticks li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 650; }
.site .ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px;
  background: var(--grad4); color: var(--on-accent); display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.site .grid-3 { display: grid; gap: 20px; margin-top: 30px; }
.site .list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.site .list li strong { display: block; color: var(--ink); font-weight: 700; font-size: 15px; }
.site .list li p { color: var(--ink-2); font-size: 14px; margin-top: 2px; font-weight: 500; }
.site .fine { font-size: 13px; color: var(--ink-2); margin-top: 18px; font-weight: 500; }
.site .big-h3 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; font-weight: 700; color: var(--ink); margin: 0 0 4px; }

/* Platforms */
.site .platforms { display: grid; gap: 18px; margin-top: 30px; }
.site .platform h3 { margin: 12px 0 6px; }
.site .platform p { color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.site .platform-art { display: grid; place-items: center; height: 124px; }
.site .device { width: 124px; height: 124px; filter: none; animation: float 7s ease-in-out infinite; }
.site .status { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--shadow); }
.site .status.live { background: var(--accent); color: var(--on-accent); }
.site .status.soon { background: var(--accent); color: var(--on-accent); }
.site .badge-soon { display: inline-block; margin-left: 12px; padding: 7px 13px; border-radius: 999px; background: var(--grad4); color: var(--on-accent); font-size: 12px; font-weight: 700; }

/* Showcase slider: auto-advances, pauses on hover and focus, swipes on touch */
.site .slider { position: relative; margin: 30px -12px 0; padding: 16px 12px 30px; overflow: hidden; border-radius: 12px; }
.site .slider:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.site .slides { display: flex; transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; }
.site .slide { flex: 0 0 100%; min-width: 0; margin: 0; padding: 28px; }
.site .slide-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.site .slide-head h3 { font-size: 1.4rem; margin-top: 2px; }
.site .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.site .slide-what { font-size: 1.04rem; color: var(--ink-2); font-weight: 500; max-width: 60ch; }
.site .how-label { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.site .how { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.site .how li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 650; }
.site .how-num {
  flex: none; width: 30px; height: 30px; border-radius: 11px; display: grid; place-items: center;
  background: var(--c); color: var(--on-accent); font-weight: 700; box-shadow: var(--shadow);
}
.site .slider-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.site .arrow {
  width: 48px; height: 48px; border-radius: 16px; border: 1.5px solid var(--surface); background: var(--surface); box-shadow: var(--shadow);
  color: var(--violet); font: inherit; font-size: 26px; font-weight: 700; cursor: pointer; line-height: 1;
}
.site .dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.site .dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: color-mix(in srgb, var(--accent) 25%, transparent); cursor: pointer; transition: width 0.3s ease, background 0.3s ease; }
.site .dots button[aria-current="true"] { width: 30px; background: var(--grad4); }

/* AI readiness */
.site .flow { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.site .flow li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.site .flow li > span {
  flex: none; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad4); color: var(--on-accent); font-weight: 700;
}
.site .flow strong { display: block; font-weight: 700; color: var(--ink); }
.site .flow p { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.site .chat { margin-top: 22px; display: grid; gap: 12px; }
.site .bubble { max-width: 90%; margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.site .bubble.user { justify-self: end; background: var(--grad4); color: var(--on-accent); border-bottom-right-radius: 6px; }
.site .bubble.bot { justify-self: start; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); border-bottom-left-radius: 6px; }

/* Runtimes */
.site .runtimes { display: grid; gap: 20px; margin-top: 30px; }
.site .runtime { text-align: left; }
.site .runtime .cube { width: 100px; height: 100px; display: block; margin-bottom: 14px; filter: none; animation: float 6s ease-in-out infinite; }
.site .runtime p { color: var(--ink-2); font-size: 15px; font-weight: 500; margin-top: 8px; }

/* Connectors and planned items */
.site .connectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site .connector { padding: 9px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; font-weight: 750; color: var(--ink); }
.site .planned { margin-top: 24px; }
.site .planned p { color: var(--ink-2); font-weight: 500; margin-top: 8px; }

/* Lists, virtues and roadmap */
.site .list.grid-2 { display: grid; gap: 18px; }
.site .virtues { display: grid; gap: 18px; margin-top: 30px; }
.site .virtues h3 { font-size: 1.1rem; }
.site .virtues p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; font-weight: 500; }
.site .roadmap { margin-top: 26px; }
.site .roadmap h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.site .roadmap p { color: var(--ink-2); font-weight: 500; }

@media (min-width: 700px) {
  .site .list.grid-2 { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .site .platforms { grid-template-columns: 1fr 1fr; }
  .site .runtimes { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .site .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .site .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .site .platforms { grid-template-columns: repeat(3, 1fr); }
  .site .virtues { grid-template-columns: repeat(4, 1fr); }
  .site .slide { padding: 40px; }
  .site .slide-head h3 { font-size: 1.9rem; }
  .site .art { width: min(380px, 92%); }
}

/* Windows: what works and what does not yet, two cards side by side */
.site .win-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }

/* Every platform, side by side in the hero: the same card for each, with its real status */
.site .platforms { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; }
.site .plat { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.82); border: 1.5px solid var(--surface); box-shadow: var(--shadow); }
.site .plat strong { font-size: 14px; }
.site .plat small { grid-column: 2; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.site .plat-icon { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--on-accent); background: var(--plat, var(--accent)); }
.site .plat.s-live { --plat: var(--accent); }
.site .plat.s-preview { --plat: var(--accent); }
.site .plat.s-dev { --plat: var(--accent); }
.site .plat.s-soon { --plat: var(--accent); }
.site .plat.s-live small { color: var(--accent); }
.site .plat.s-preview small { color: var(--accent); }
.site .plat.s-dev small { color: var(--accent); }
@media (min-width: 700px) { .site .platforms { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* A phone's bottom bar sits over the page: leave room at the end so the footer is never hidden behind it */
@media (max-width: 899px) { .site footer { padding-bottom: 112px; } }
/* Equal card heights in each row; on a phone the last card, when alone, spans both columns */
.site .platforms { grid-auto-rows: 1fr; }
.site .platforms .plat { height: 100%; }
@media (max-width: 699px) { .site .platforms .plat:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Theme switch in the navigation: a moon in light mode, a sun in dark mode */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 auto; padding: 0; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--surface-2); }
.theme-toggle svg { display: block; }
.theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* Navigation on phones: the brand and the actions stay on one line */
.nav .brand span { white-space: nowrap; }
.nav-actions .btn { white-space: nowrap; }
@media (max-width: 480px) { .nav .brand span { font-size: 16px; } .nav-actions { gap: 8px; } .nav-actions .btn { padding: 0 12px; min-height: 40px; } }

/* Light surfaces: no black surface behind a logo, icon, command, code sample, card or status. Black stays on the buttons. */
.site .phone { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.site .phone::after { background: var(--surface); }
.site .chip { background: var(--surface); border: 1px solid var(--line); }
.site .glass { background: var(--surface-2); border: 1px solid var(--line); }
.site .glass.c-pink::after, .site .glass.c-amber::after, .site .glass.c-teal::after, .site .glass.c-violet::after { background: var(--border-strong); }
.site .terminal { background: var(--surface-2); background-image: var(--surface-2), linear-gradient(var(--border-strong), var(--border-strong)); }
.site code.inline { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
.site .pill { background: var(--surface) padding-box, linear-gradient(var(--border-strong), var(--border-strong)) border-box; }
.site .checksum { background: var(--surface-2); border: 1px solid var(--line); }
.site .shot .frame { background: var(--surface-2); border: 1px solid var(--line); }
.site .lic-card { background: var(--surface-2); border: 1px solid var(--line); }
.site footer .flag-strip { background: var(--line); }
.site footer .flag-strip::after { background: var(--ink-2); }
.site .status.live, .site .status.soon { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.site .plat-icon { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.site .btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
html[data-theme="dark"] .logo.mono { filter: invert(1); }