/* NengyTalks website: the same look as the app (deep river blue, the canoe emblem, the Comfortaa wordmark). */
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "Comfortaa"; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/comfortaa.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #060d18; --bg2: #0a1526; --panel: #0d1828; --panel2: #12213a; --line: #1d2c40;
  --text: #e8eef6; --muted: #9db0c6; --accent: #4aa8f0; --accent2: #8fd8ff;
  --silver: linear-gradient(180deg, #ffffff 0%, #d4dde6 45%, #8e9cad 100%);
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
       -webkit-text-size-adjust: 100%; }
a { color: var(--accent2); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Wordmark: bold "Nengy", lighter blue "Talks" */
.wordmark { font-family: "Comfortaa", system-ui, sans-serif; white-space: nowrap; letter-spacing: -.01em; }
.wordmark b { font-weight: 700; color: #f2f6fb; }
.wordmark i { font-style: normal; font-weight: 400; background: linear-gradient(135deg, #8fd8ff, #2f7fd0);
              -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(6, 13, 24, .82); backdrop-filter: blur(10px);
       -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 1.35rem; }
.brand img { width: 36px; height: 36px; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--text); }
@media (max-width: 760px) { .top nav a.hide-small { display: none; } .top nav { gap: 12px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
       font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--silver); color: #0a1422; box-shadow: 0 6px 24px rgba(120, 180, 230, .18); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, .03); }
.btn-small { padding: 8px 14px; font-size: .92rem; border-radius: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px;
        background: radial-gradient(ellipse 60% 55% at 70% 35%, rgba(25, 105, 160, .45), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 span { background: linear-gradient(135deg, #8fd8ff, #2f7fd0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .small { color: var(--muted); font-size: .88rem; margin-top: 16px; }
.orb { position: relative; width: min(380px, 80vw); aspect-ratio: 1; margin: 0 auto; }
.orb img { width: 100%; height: 100%; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(80, 160, 230, .35)); }
.orb .say { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); white-space: nowrap; background: var(--panel);
            border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .95rem; color: var(--text); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .orb img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero { padding: 40px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .ctas { justify-content: center; }
  .orb { width: min(280px, 70vw); grid-row: 1; }
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 12px; letter-spacing: -.01em; line-height: 1.2; }
.intro { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
        background: rgba(74, 168, 240, .12); color: var(--accent2); }
.icon svg { width: 22px; height: 22px; }

/* Steps */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 22px; width: 28px; height: 28px;
                       border-radius: 50%; background: var(--silver); color: #0a1422; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.devices { margin-top: 16px; display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.devices b { color: var(--text); font-weight: 600; }

/* Business */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; color: var(--muted); }
.ticks li b { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
                    background: rgba(74, 168, 240, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chat { background: #f5f7fa; color: #1b2430; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); max-width: 380px;
        margin: 0 auto; font-size: .94rem; }
.chat header { background: #b5452b; color: #fff; padding: 12px 16px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.chat header::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5df29a; }
.chat .msgs { padding: 14px; display: grid; gap: 8px; }
.chat .m { max-width: 85%; padding: 9px 12px; border-radius: 14px; line-height: 1.4; }
.chat .b { background: #fff; border: 1px solid #e3e8ef; justify-self: start; border-bottom-left-radius: 4px; }
.chat .y { background: #b5452b; color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.chat .voice { display: flex; align-items: center; gap: 8px; }
.chat .voice i { flex: 1; height: 14px; min-width: 110px; background: repeating-linear-gradient(90deg, #b5452b 0 3px, transparent 3px 6px);
                 -webkit-mask: linear-gradient(90deg, #000 60%, rgba(0,0,0,.35)); mask: linear-gradient(90deg, #000 60%, rgba(0,0,0,.35)); }
.chat .foot { text-align: center; font-size: .75rem; color: #8a96a5; padding: 0 0 10px; }

/* The name */
.name { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.name img { width: 200px; }
.name blockquote { margin: 0 0 14px; font-size: 1.3rem; line-height: 1.45; }
.name blockquote b { color: var(--accent2); font-weight: 600; }
@media (max-width: 680px) { .name { grid-template-columns: 1fr; text-align: center; } .name img { width: 150px; margin: 0 auto; } }

/* Call to action */
.cta { text-align: center; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(25, 105, 160, .4), transparent 70%); }
.cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.doc { max-width: 760px; padding: 48px 16px 64px; margin: 0 auto; }
.doc h1 { font-size: 2rem; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.doc p, .doc li { color: #cdd8e5; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 8px 0; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); }
.doc .table { overflow-x: auto; }
