/* NxtDuo app landing pages. Shared by /<app>/index.html.
   Each page sets --accent (brand colour from the home page) and --accent-ink
   (a darker shade of it that passes 4.5:1 for text) on <body>. */

/* Self-hosted fonts (latin subset). Same rules as style.css. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/plus-jakarta-sans-latin-var.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #eef7f3;
  --bg-2: #f8fcfa;
  --ink: #0b2a26;
  --muted: #45665f;
  --line: rgba(15, 76, 69, 0.14);
  --deep: #0f4c45;
  --mint-text: #15997f;
  --accent: #3fe0b0;
  --accent-ink: #13775e;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg) linear-gradient(170deg, #f6fbf9 0%, #eaf5f0 60%, #e2f1eb 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* Header */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand b { color: var(--mint-text); font-weight: 600; }
.top-link { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.top-link:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 5vw, 64px) 0 clamp(36px, 6vw, 72px); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent-ink); }
h1 { margin: 16px 0 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
h1 .promise { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent-ink); }
.intro { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 54ch; margin: 20px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; background: var(--accent-ink); color: #fff; transition: transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 35%, transparent); }
.cta-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.art { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 70px rgba(15, 76, 69, .14); }
.art img { width: 100%; }
.art.emoji { aspect-ratio: 16 / 11; display: grid; place-items: center; align-content: center; gap: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, #fff), #dcefe7); }
.art.emoji .glyph { font-size: clamp(84px, 12vw, 140px); line-height: 1; }
.art.emoji .label { font-weight: 700; font-size: 20px; color: var(--ink); }

/* Content */
.content { display: grid; gap: 14px; padding-bottom: 24px; }
.block { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.4vw, 36px); }
.block h2 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.block h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.block p, .block ul { margin: 0 0 12px; max-width: 68ch; }
.block p:last-child, .block ul:last-child { margin-bottom: 0; }
.block ul { padding-left: 20px; }
.block li { margin-bottom: 6px; }
.faq h3 { margin: 18px 0 4px; font-size: 17px; }
.faq h3:first-of-type { margin-top: 6px; }

/* More from NxtDuo */
.more { padding: 32px 0 8px; }
.more h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 14px; }
.more ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.more a { display: block; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; border-left: 5px solid var(--c, var(--mint-text)); transition: transform .2s, box-shadow .2s; }
.more a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 76, 69, .1); }
.more b { display: block; font-size: 16px; }
.more span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Footer */
.foot { margin-top: 40px; padding: 24px 0 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot a { color: var(--muted); }

[lang="te"], [lang="kn"] { font-weight: 500; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .art { order: -1; border-radius: 18px; }
}
h1 .alt { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--accent-ink); margin-left: 8px; white-space: nowrap; }
