/* Hey Minnal website. System fonts only; colours follow the app's Default theme (ui/theme/Theme.kt). */
:root {
  --bg: #f7f7fc;
  --surface: #ffffff;
  --surface-2: #f0f0fa;
  --text: #14142b;
  --muted: #55556d;
  --line: #e3e3ee;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-text: #4338ca;
  --amber: #fbbf24;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(20, 20, 43, .06), 0 8px 24px rgba(20, 20, 43, .06);
  --shadow-lg: 0 24px 60px rgba(49, 46, 129, .22);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e19;
    --surface: #171728;
    --surface-2: #1f1f34;
    --text: #ececf5;
    --muted: #a8a8c0;
    --line: #2a2a42;
    --accent: #818cf8;
    --accent-2: #a78bfa;
    --accent-text: #a5b4fc;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--accent-text); }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
section { scroll-margin-top: 72px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Icons */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand svg { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
@media (max-width: 820px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: var(--on-accent); box-shadow: 0 6px 18px rgba(79, 70, 229, .35); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: .9rem; }
.btn .i { width: 20px; height: 20px; }

/* Hero */
/* clip, not hidden: overflow:hidden makes the hero its own scroll box, so jumping to #get scrolled
   the hero's contents (not the page) and there was no way to scroll them back. */
.hero { position: relative; padding: 72px 0 56px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -40% -15%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(251, 191, 36, .2); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin: 20px 0 18px; }
.grad { background: linear-gradient(135deg, #4f46e5, #7c3aed 60%, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .grad { background-image: linear-gradient(135deg, #a5b4fc, #c4b5fd 60%, #e9d5ff); } }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; scroll-margin-top: 120px; }
.soon { cursor: default; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: .9rem; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 6px; }
.facts .i { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 920px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* Phone mock-up */
.phone {
  width: 100%; max-width: 330px; margin: 0 auto; border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #26264a, #12121f); box-shadow: var(--shadow-lg);
}
.screen { border-radius: 30px; background: var(--surface); overflow: hidden; padding: 18px 14px 16px; }
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 12px; }
.screen-top strong { font-size: 1.2rem; }
.screen-top span { font-size: .75rem; color: var(--muted); }
.chips { display: flex; gap: 6px; padding: 0 2px 12px; overflow: hidden; }
.chip { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.chip.on { background: var(--accent); color: var(--on-accent); }
.row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 6px; border-top: 1px solid var(--line); }
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .85rem; }
.av-a { background: #0d9488; } .av-b { background: #d97706; } .av-c { background: #db2777; } .av-d { background: #2563eb; } .av-e { background: #7c3aed; }
.row-body { min-width: 0; flex: 1; }
.row-head { display: flex; justify-content: space-between; gap: 6px; font-size: .82rem; }
.row-head b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-head time { color: var(--muted); font-size: .72rem; flex: none; }
.row-src { font-size: .68rem; color: var(--accent-text); font-weight: 600; }
.row-text { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { display: inline-block; font-size: .62rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; margin-left: 4px; background: rgba(251, 191, 36, .2); color: #b45309; }
@media (prefers-color-scheme: dark) { .tag { color: #fcd34d; } }
.ask { margin: 12px 4px 0; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: .8rem; color: var(--muted); }
.mic { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; }
.mic .i { width: 18px; height: 18px; }

/* Sources strip */
.sources { padding: 8px 0 24px; }
.sources p { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.kicker { color: var(--accent-text); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 10px 0 14px; }
.head p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 640px) { .section { padding: 56px 0; } .head { margin-bottom: 32px; } }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section.alt .card { background: var(--bg); box-shadow: none; }
.card h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Assistant split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 10px 0 14px; }
.split > div > p { color: var(--muted); font-size: 1.05rem; }
.says { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.says li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .95rem; }
.says .i { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .35); font-size: .92rem; }
.note .i { flex: none; color: #d97706; margin-top: 1px; }

.chat { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head svg { width: 32px; height: 32px; border-radius: 9px; }
.chat-head b { display: block; font-size: .95rem; }
.chat-head span { font-size: .78rem; color: var(--muted); }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; }
.me { justify-self: end; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border-bottom-right-radius: 6px; }
.bot { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.confirm { justify-self: start; width: 92%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.confirm-title { font-size: .78rem; font-weight: 700; color: var(--accent-text); }
.confirm-field { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.confirm-value { font-size: .9rem; padding: 8px 10px; margin-top: 4px; border-radius: 10px; background: var(--surface-2); }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.mini { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.mini.go { border: 0; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 24px; padding-top: 64px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; left: 24px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* Privacy */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 920px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Google data table */
.data { max-width: 860px; margin: 0 auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: .85rem; }
.table td:first-child { font-weight: 600; white-space: nowrap; }
.table td { color: var(--muted); }
.table td:first-child { color: var(--text); }
.data .small { margin-top: 18px; color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) {
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .table tr:last-child { border-bottom: 0; }
  .table td { border: 0; padding: 4px 16px; white-space: normal; }
  .table td:first-child { white-space: normal; }
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; }
.plan h3 { margin-top: 0; font-size: 1.2rem; }
.plan .price { font-size: .95rem; color: var(--muted); margin: 6px 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .95rem; }
.plan li .i { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.plan.pro { border: 2px solid var(--accent); position: relative; }
.badge { position: absolute; top: -12px; left: 24px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--amber); color: #3b2a00; }
.fine { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.section.alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: .95rem; }

/* Contact */
.contact { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-card { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border-radius: 24px; padding: 48px 28px; box-shadow: var(--shadow-lg); }
.contact-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.contact-card p { opacity: .9; margin: 12px 0 24px; }
.contact-card a.mail { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #312e81; font-weight: 700; padding: 12px 22px; border-radius: 999px; text-decoration: none; overflow-wrap: anywhere; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.foot .wrap { display: grid; gap: 20px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot .legal { font-size: .82rem; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 20px; }
.notfound img { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px; }
.notfound h1 { font-size: 2rem; margin-bottom: 10px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }
