/* andsayem.com – personal site of Abu Sayed.
   Warm paper background, deep ink text, one emerald accent. */

:root {
  --paper: #F6F4EF;
  --paper-2: #EEEBE3;
  --card: #FFFFFF;
  --ink: #14201B;
  --ink-2: #3D4A44;
  --muted: #6B7570;
  --line: #E2DED4;
  --acc: #0E9F6E;
  --acc-ink: #07714E;
  --acc-soft: #DDF3E9;
  --dark: #0F1A16;
  --dark-2: #16241F;
  --dark-line: rgba(255,255,255,.09);
  --r: 18px;
  --shadow: 0 1px 2px rgba(20,32,27,.04), 0 10px 30px -12px rgba(20,32,27,.18);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.ic { flex: none; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 15px var(--body); background: var(--ink); color: #fff; border: 1px solid var(--ink); transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { background: var(--acc-ink); border-color: var(--acc-ink); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(7,113,78,.6); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--acc-soft); color: var(--acc-ink); border-color: var(--acc-soft); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc-ink); border-bottom: 1px solid transparent; }
.link:hover { border-color: currentColor; }
.link .ic { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246,244,239,.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--acc); }
.logo b { display: block; font: 700 17px/1.1 var(--display); letter-spacing: -.01em; }
.logo small { display: block; font-size: 12.5px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current] { background: var(--paper-2); color: var(--ink); }
.nav .btn { margin-left: 8px; }
.menu { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }
.menu .ic { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 20%, rgba(14,159,110,.12), transparent 70%), radial-gradient(500px 300px at 10% 90%, rgba(14,159,110,.06), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(14,159,110,.18); flex: none; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--acc-ink); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--acc-soft); z-index: -1; border-radius: 4px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; margin-bottom: 32px; }
.lead strong { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { margin: 0; font: 800 36px/1.1 var(--display); letter-spacing: -.03em; }

.hero-art { position: relative; justify-self: end; width: min(440px, 100%); }
.photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 6; background: var(--paper-2); box-shadow: 0 30px 60px -28px rgba(20,32,27,.45); transform: rotate(1.5deg); }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 28px; border: 2px dashed rgba(14,159,110,.35); transform: rotate(1.5deg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8); }
.float-card b { display: block; font: 700 15px/1.2 var(--display); }
.float-card small { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.float-card small .ic { width: 14px; height: 14px; }
.fc-app { left: -48px; bottom: 56px; transition: transform .2s; }
.fc-app:hover { transform: translateY(-3px); }
.fc-app img { width: 44px; height: 44px; border-radius: 12px; }
.fc-role { right: -26px; top: 36px; padding-left: 16px; }

/* ---------- Sections ---------- */
.sec { padding: 104px 0; }
.sec-soft { background: var(--paper-2); }
.sec-dark { background: var(--dark); color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-ink); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-dark .kicker, .kicker-light { color: #5FE0AE; }
.sec h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.03em; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.sec-dark .link { color: #5FE0AE; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-text { font-size: 18px; color: var(--ink-2); }
.about-text strong { color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.facts .ic { width: 18px; height: 18px; color: var(--acc); }
.facts a:hover { color: var(--acc-ink); }

/* Apps */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips button { display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--body); color: rgba(255,255,255,.75); background: transparent; border: 1px solid var(--dark-line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: .2s; }
.chips button span { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.08); }
.chips button:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.chips button.on { background: #fff; color: var(--dark); border-color: #fff; }
.chips button.on span { background: var(--acc-soft); color: var(--acc-ink); }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--dark-2); border: 1px solid var(--dark-line); transition: transform .25s, border-color .25s, background .25s; }
.app:hover { transform: translateY(-4px); border-color: rgba(95,224,174,.45); background: #1A2B25; }
.app[hidden] { display: none; }
.app-icon { width: 60px; height: 60px; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.6); }
.app-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.app-body p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.62); margin: 0; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.app-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.6); }
.app-meta span { display: inline-flex; align-items: center; gap: 5px; }
.app-meta .ic { width: 15px; height: 15px; }
.app-meta .cat { color: #5FE0AE; font-weight: 600; }
.app-meta .rate .ic { color: #FFC23D; }
.app-play { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #fff; border: 1px solid var(--dark-line); transition: .2s; }
.app-play:hover { background: #fff; color: var(--dark); border-color: #fff; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); background: #5FE0AE; padding: 3px 9px; border-radius: 6px; margin-bottom: 12px; }

.app-top { grid-column: span 2; grid-row: span 2; padding: 30px; background: linear-gradient(150deg, #134233 0%, var(--dark-2) 60%); border-color: rgba(95,224,174,.3); overflow: hidden; }
.app-top .app-icon { width: 96px; height: 96px; border-radius: 24px; }
.app-top h3 { font-size: clamp(24px, 2.6vw, 32px); }
.app-top .app-body p { font-size: 16px; max-width: 440px; }
.app-shots { display: flex; gap: 12px; margin: 8px 0 4px; }
.app-shots img { width: calc((100% - 24px) / 3); max-width: 150px; aspect-ratio: 9 / 19; object-fit: cover; border-radius: 14px; border: 1px solid var(--dark-line); background: #0b1411; transition: transform .3s; }
.app-top:hover .app-shots img:nth-child(1) { transform: translateY(-4px) rotate(-1.5deg); }
.app-top:hover .app-shots img:nth-child(3) { transform: translateY(-4px) rotate(1.5deg); }
.app-top .app-play { background: #fff; color: var(--dark); border-color: #fff; padding: 11px 18px; font-size: 14px; }
.app-top .app-play:hover { background: #5FE0AE; border-color: #5FE0AE; }

/* Experience */
.exp-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 44px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--acc); }
.when { display: inline-block; font-size: 13px; font-weight: 600; color: var(--acc-ink); background: var(--acc-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.timeline h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.timeline h3 span { color: var(--muted); font-weight: 500; }
.timeline p { color: var(--ink-2); font-size: 16.5px; max-width: 600px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; padding: 4px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.side { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card-h { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.edu { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.edu:first-of-type { border-top: 0; padding-top: 0; }
.edu b { font-weight: 600; line-height: 1.35; }
.edu span { color: var(--ink-2); font-size: 15px; }
.edu small { color: var(--muted); font-size: 13px; }
.skill + .skill { margin-top: 16px; }
.skill small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.skill .tags span { background: var(--paper); }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service { grid-column: span 2; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.num { position: absolute; right: 24px; top: 22px; font: 700 14px var(--display); color: #C9C4B8; }
.s-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--acc-soft); color: var(--acc-ink); margin-bottom: 22px; }
.s-ic .ic { width: 24px; height: 24px; }
.service h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.service p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(14,159,110,.35), transparent 65%); }
.contact > * { position: relative; }
.contact h2 { margin-bottom: 16px; }
.contact p { color: rgba(255,255,255,.7); font-size: 18px; max-width: 480px; margin-bottom: 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.03); transition: .2s; }
.contact-list a:hover { border-color: rgba(95,224,174,.5); background: rgba(95,224,174,.06); }
.contact-list .ic { width: 22px; height: 22px; color: #5FE0AE; }
.contact-list small { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); }
.contact-list b { font-weight: 600; font-size: 15px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot .logo img { width: 34px; height: 34px; }
.foot p { margin: 0; font-size: 14px; color: var(--muted); }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); transition: .2s; }
.social a:hover { color: var(--acc-ink); border-color: var(--acc); background: var(--card); }
.social .ic { width: 18px; height: 18px; }

/* ---------- App page ---------- */
.crumb { font-size: 14px; color: var(--muted); padding: 28px 0 0; }
.crumb a:hover { color: var(--acc-ink); }
.ap-hero { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; padding: 28px 0 40px; }
.ap-icon { width: 140px; height: 140px; border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.ap-hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 12px; }
.ap-hero .lead { margin-bottom: 22px; max-width: 680px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills span { font-size: 13px; padding: 4px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.pills .cat { background: var(--acc-soft); border-color: var(--acc-soft); color: var(--acc-ink); font-weight: 600; }
.ap-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 48px; }
.ap-facts div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.ap-facts dt { font-size: 13px; color: var(--muted); }
.ap-facts dd { margin: 2px 0 0; font: 700 22px/1.2 var(--display); letter-spacing: -.01em; }
.ap-sec { padding: 0 0 56px; }
.ap-sec h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots a { flex: none; scroll-snap-align: start; }
.shots img { height: 420px; width: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--paper-2); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; max-width: 880px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose { max-width: 760px; font-size: 17px; color: var(--ink-2); }
.ap-cols { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.info { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 22px; }
.info div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info div:last-child { border-bottom: 0; }
.info dt { color: var(--muted); }
.info dd { margin: 0; text-align: right; font-weight: 500; word-break: break-all; }
.info a { color: var(--acc-ink); }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.more a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: .2s; }
.more a:hover { border-color: var(--acc); transform: translateY(-2px); }
.more img { width: 52px; height: 52px; border-radius: 14px; }
.more b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.more small { color: var(--muted); font-size: 13px; }
.nf { text-align: center; padding: 100px 0; }
.nf h1 { font-size: 48px; margin-bottom: 12px; }
.nf .cta { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .apps { grid-template-columns: repeat(2, 1fr); }
  .fc-app { left: -16px; }
  .fc-role { right: -10px; }
}
@media (max-width: 900px) {
  .hero-in, .about, .exp-grid, .contact, .ap-cols { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 32px 0 64px; }
  .hero-art { justify-self: center; width: min(380px, 88%); margin-top: 8px; }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 1; }
  .service:last-child { grid-column: span 2; }
  .contact { padding: 40px 28px; }
  .sec { padding: 80px 0; }

  .menu { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 17px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .apps { grid-template-columns: 1fr; }
  .app-top { grid-column: auto; grid-row: auto; padding: 24px; }
  .services { grid-template-columns: 1fr; }
  .service:last-child { grid-column: auto; }
  .stats { gap: 14px 28px; }
  .stats dd { font-size: 30px; }
  .lead { font-size: 17px; }
  .fc-app { left: -8px; bottom: 24px; }
  .fc-role { right: -8px; top: 18px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .ap-hero { grid-template-columns: 1fr; gap: 18px; }
  .ap-icon { width: 104px; height: 104px; border-radius: 26px; }
  .shots img { height: 340px; }
  .logo small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* About: roles */
.roles { display: grid; gap: 10px; margin-top: 26px; }
.role { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: .2s; }
a.role:hover { border-color: var(--acc); transform: translateY(-2px); box-shadow: var(--shadow); }
.role .s-ic { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.role .s-ic .ic { width: 21px; height: 21px; }
.role .s-yt { background: #FDE6E4; color: #C8271B; }
.role b { display: flex; align-items: center; gap: 6px; font: 700 16px/1.25 var(--display); color: var(--ink); }
.role b .ic { width: 14px; height: 14px; color: var(--muted); }
.role small { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Ayzenix band */
.ayz-sec { padding-top: 0; background: var(--dark); }
.ayz { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 28px; background: linear-gradient(135deg, #EAF1FF 0%, #E6FAF6 100%); color: var(--ink); }
.ayz .kicker { color: #1D4ED8; }
.ayz h2 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 14px; background: linear-gradient(90deg, #1D4ED8, #0891B2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ayz p { font-size: 17px; color: var(--ink-2); margin-bottom: 24px; }
.ayz .btn { background: #1D4ED8; border-color: #1D4ED8; }
.ayz .btn:hover { background: #0891B2; border-color: #0891B2; box-shadow: 0 10px 24px -10px rgba(8,145,178,.6); }
.ayz-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ayz-apps a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: 16px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); text-align: center; transition: .2s; }
.ayz-apps a:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 12px 24px -14px rgba(29,78,216,.45); }
.ayz-apps img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.3); }
.ayz-apps span { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) { .ayz { grid-template-columns: 1fr; padding: 36px 24px; } }
@media (max-width: 420px) { .ayz-apps { grid-template-columns: repeat(2, 1fr); } }

/* Featured app: full-width row, text left, screenshots right */
.app-top { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "icon shots" "body shots" "play shots"; column-gap: 40px; align-items: start; }
.app-top .app-icon { grid-area: icon; }
.app-top .app-body { grid-area: body; }
.app-top .app-play { grid-area: play; justify-self: start; margin-top: 18px; }
.app-top .app-shots { grid-area: shots; margin: 0; align-self: center; }
.app-top .app-shots img { width: 150px; }
@media (max-width: 900px) {
  .app-top { grid-template-columns: 1fr; grid-template-areas: "icon" "body" "shots" "play"; }
  .app-top .app-shots img { width: calc((100% - 24px) / 3); }
}

/* Hero: top 3 apps card */
.fc-apps { left: -56px; bottom: 28px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; width: 280px; }
.fc-title { margin: 0 0 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fc-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background .2s; }
.fc-row:hover { background: var(--paper-2); }
.fc-row img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.fc-row span { min-width: 0; }
.fc-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.fc-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 10px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s; }
.fc-all:hover { background: var(--acc-ink); }
.fc-all .ic { width: 16px; height: 16px; }
@media (max-width: 1080px) { .fc-apps { left: -16px; } }
@media (max-width: 640px) { .fc-apps { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 12px 0; } }

/* Long app list: first 12, then "Show all" */
.apps.collapsed .extra { display: none; }
.more-apps { display: flex; justify-content: center; margin-top: 28px; }
.more-apps[hidden] { display: none; }

/* ---------- Ayzenix highlight ---------- */
:root { --ayz: #1D4ED8; --ayz-2: #0891B2; }
/* header link */
.nav-ayz { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 8px !important; border-radius: 999px; font-weight: 600 !important; color: var(--ayz) !important; background: #EAF0FF; border: 1px solid #D5E0FF; }
.nav-ayz:hover { background: #DCE6FF !important; }
.nav-ayz img { width: 22px; height: 22px; border-radius: 6px; }
/* hero badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badges .eyebrow { margin: 0; }
.eyebrow-ayz { color: var(--ayz); border-color: #D5E0FF; background: #F3F6FF; transition: .2s; }
.eyebrow-ayz:hover { background: #E6EDFF; }
.eyebrow-ayz img { width: 20px; height: 20px; border-radius: 6px; }
.eyebrow-ayz b { font-weight: 700; }
/* section */
.ayz-sec { padding-top: 0; background: transparent; }
.ayz { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 56px; border-radius: 32px; position: relative; overflow: hidden;
       background: linear-gradient(135deg, #0B1B4D 0%, #0E2F6B 45%, #075A6E 100%); color: #fff; box-shadow: 0 40px 80px -40px rgba(13,40,110,.55); }
.ayz::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.35), transparent 65%); }
.ayz::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(120deg, #000 10%, transparent 70%); pointer-events: none; }
.ayz > * { position: relative; z-index: 1; }
.ayz-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ayz-brand img { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); }
.ayz-brand b { display: block; font: 800 30px/1 var(--display); letter-spacing: -.02em; background: linear-gradient(90deg, #fff, #7DD3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ayz-brand small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.65); }
.ayz h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; background: none; color: #fff; -webkit-background-clip: initial; background-clip: initial; }
.ayz p { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 26px; max-width: 520px; }
.ayz-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0 0 22px; }
.ayz-stats div { display: flex; flex-direction: column-reverse; }
.ayz-stats dt { font-size: 13px; color: rgba(255,255,255,.6); }
.ayz-stats dd { margin: 0; font: 800 32px/1.1 var(--display); color: #7DD3FC; letter-spacing: -.02em; }
.ayz-do { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ayz-do li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.ayz-do .ic { width: 16px; height: 16px; color: #7DD3FC; }
.ayz .cta { margin: 0; }
.ayz .btn { background: #fff; color: #0B1B4D; border-color: #fff; }
.ayz .btn:hover { background: #7DD3FC; border-color: #7DD3FC; color: #0B1B4D; box-shadow: 0 10px 24px -10px rgba(125,211,252,.6); }
.ayz .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.ayz .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; box-shadow: none; }
.ayz-side { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.ayz-side-h { margin: 0 0 14px 4px !important; font-size: 12px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6) !important; }
.ayz-apps a { background: rgba(255,255,255,.95); color: var(--ink); }
.ayz-apps a:hover { background: #fff; box-shadow: 0 14px 28px -14px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .ayz { grid-template-columns: 1fr; padding: 36px 22px; }
  .nav-ayz { align-self: flex-start; margin: 6px 0 0 8px; }
}

/* ---------- Day / night mode ---------- */
.theme-btn { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, transform .3s; }
.theme-btn:hover { border-color: var(--acc); transform: rotate(-15deg); }
.theme-btn .ic { width: 19px; height: 19px; }
.theme-btn .t-moon, [data-theme="dark"] .theme-btn .t-sun { display: none; }
[data-theme="dark"] .theme-btn .t-moon { display: block; color: #FCD34D; }
.top-in > .nav { margin-left: auto; }
.top-in > .theme-btn { margin-left: 0; }
body, .top, .card, .service, .eyebrow, .facts li, .role, .more a, .info, .ap-facts div { transition: background-color .3s, border-color .3s, color .3s; }

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0B1210;
  --paper-2: #16211D;
  --card: #121C18;
  --ink: #E9EFEC;
  --ink-2: #B9C5BF;
  --muted: #8A9791;
  --line: #24312C;
  --acc: #2FCB8E;
  --acc-ink: #5FE0AE;
  --acc-soft: #113426;
  --dark: #111C18;
  --dark-2: #182622;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.7);
}
[data-theme="dark"] .top { background: rgba(11,18,16,.82); }
[data-theme="dark"] .btn { color: #0B1210; }
[data-theme="dark"] .btn:hover { background: var(--acc-ink); border-color: var(--acc-ink); color: #0B1210; box-shadow: 0 10px 24px -10px rgba(95,224,174,.5); }
[data-theme="dark"] .btn-ghost { color: var(--ink); }
[data-theme="dark"] .btn-ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--card); }
[data-theme="dark"] .btn-light, [data-theme="dark"] .btn-light:hover { color: #14201B; }
[data-theme="dark"] .btn-light:hover { background: #5FE0AE; border-color: #5FE0AE; }
[data-theme="dark"] .skip, [data-theme="dark"] .fc-all { color: #0B1210; }
[data-theme="dark"] .float-card { background: rgba(18,28,24,.94); border-color: var(--line); }
[data-theme="dark"] .sec-dark { background: var(--dark); border-block: 1px solid var(--line); }
[data-theme="dark"] .contact { border: 1px solid var(--line); }
[data-theme="dark"] .nav-ayz { color: #93C5FD !important; background: #0F1E3D; border-color: #1E3A6E; }
[data-theme="dark"] .nav-ayz:hover { background: #15295A !important; }
[data-theme="dark"] .eyebrow-ayz { color: #93C5FD; background: #0F1E3D; border-color: #1E3A6E; }
[data-theme="dark"] .eyebrow-ayz:hover { background: #15295A; }
[data-theme="dark"] .ayz { box-shadow: 0 0 0 1px rgba(125,211,252,.15), 0 40px 80px -40px rgba(0,0,0,.8); }
[data-theme="dark"] .ap-icon, [data-theme="dark"] .app-icon { background: #1B2723; }
[data-theme="dark"] .ayz .btn { color: #0B1B4D; }
[data-theme="dark"] .ayz .btn-ghost { color: #fff; }
@media (max-width: 900px) {
  .top-in > .theme-btn { width: 38px; height: 38px; margin-left: auto; margin-right: -10px; }
}
