/* =========================================================
   tapminta — marketing site styles
   Palette: mint #73c69f · dark grey #3e3e3e · white · light mint #ebf6f2
   Type:    Montserrat (display + body)
   ========================================================= */

:root {
  --mint:      #73c69f;
  --mint-ink:  #2e7d57;   /* deeper mint variant — legible accent text on white */
  --mint-soft: #ebf6f2;   /* light accent mint */
  --white:     #ffffff;
  --black:     #000000;

  --grey:       #3e3e3e;  /* primary text + dark surfaces */
  --grey-soft:  #5c5c5c;
  --grey-faint: #8a8a8a;

  --bg:    #ffffff;
  --panel: #ebf6f2;

  --line:      rgba(62, 62, 62, 0.14);
  --line-soft: rgba(62, 62, 62, 0.08);

  --font-display: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-body:    "Montserrat", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --maxw: 1160px;
  --shadow-card: 0 1px 2px rgba(62,62,62,.05), 0 20px 44px -26px rgba(62,62,62,.30);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--grey);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .86em;
  background: var(--mint-soft);
  color: var(--mint-ink);
  padding: .12em .42em;
  border-radius: 5px;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--grey); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  padding: .72em 1.3em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { font-size: 1.0rem; padding: .85em 1.65em; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--grey); color: var(--white); }
.btn-primary:hover { background: var(--mint-ink); box-shadow: 0 14px 26px -14px rgba(46,125,87,.55); }

.btn-ghost { background: transparent; color: var(--grey); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--grey); background: rgba(62,62,62,.04); }

.btn-onmint { background: var(--white); color: var(--mint-ink); }
.btn-onmint:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.35); }

.btn-console { font-size: .9rem; padding: .58em 1.05em; }

.soon-tag {
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--mint); color: #1c3f2e;
  padding: .22em .5em; border-radius: 999px; line-height: 1;
}
.soon-tag-dark { background: var(--mint-soft); color: var(--mint-ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; }
.logo-horizontal { display: block; width: auto; }
.main-nav { margin-left: auto; display: flex; gap: 30px; }
.main-nav a { font-weight: 500; color: var(--grey-soft); font-size: .98rem; transition: color .15s; }
.main-nav a:hover { color: var(--grey); }
.main-nav + .btn-console { margin-left: 6px; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 9vw, 108px) 0 clamp(54px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint-ink); margin-bottom: 22px;
}
.hero-copy h1 { font-size: clamp(2.7rem, 6.2vw, 4.4rem); margin-bottom: 22px; }
.hero-copy h1 em { font-style: normal; color: var(--mint-ink); }
.lead { font-size: 1.16rem; font-weight: 400; color: var(--grey-soft); max-width: 34ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: .95rem; color: var(--grey-faint); font-weight: 500; }

/* hero visual */
.hero-visual { display: flex; justify-content: center; }
.show-stage { position: relative; width: min(420px, 100%); margin: 0 auto; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.blob { position: absolute; z-index: 0; width: 80%; height: 80%; top: 8%; left: 10%; background: var(--mint-soft); border-radius: 50%; }
.hero-logo { position: relative; z-index: 2; height: clamp(210px, 44vw, 264px); width: auto; filter: drop-shadow(0 22px 40px rgba(62,62,62,.16)); }
.ripple {
  position: absolute; z-index: 1; top: 26%; left: 66%;
  width: 64px; height: 64px; margin: -32px;
  border: 2px solid var(--mint); border-radius: 50%;
  opacity: 0; animation: ripple 3s ease-out infinite;
}
@keyframes ripple {
  0%   { transform: scale(.4); opacity: .6; }
  80%  { opacity: 0; }
  100% { transform: scale(2.7); opacity: 0; }
}
.stat-pill {
  position: absolute; z-index: 3; left: -1%; bottom: 12%;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow-card);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.stat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(115,198,159,.22); }
.stat-pill strong { display: block; font-size: 1.18rem; font-weight: 800; line-height: 1; color: var(--grey); }
.stat-pill span:not(.stat-dot):not(.stat-trend) { font-size: .78rem; color: var(--grey-faint); }
.stat-trend { font-size: .76rem; font-weight: 700; color: var(--mint-ink); }

/* ---------- generic section ---------- */
.section { padding: clamp(56px, 9vw, 102px) 0; }
.section-head { max-width: 30ch; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }

/* ---------- how it works ---------- */
.how { border-top: 1px solid var(--line-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { padding: 30px 28px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.step-num { font-size: .9rem; color: var(--mint-ink); font-weight: 700; letter-spacing: .05em; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 16px 0 18px; border-radius: 12px; background: var(--mint-soft); color: var(--mint-ink); }
.step-icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--grey-soft); font-size: 1rem; }

/* ---------- features ---------- */
.features { background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px 26px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px; background: var(--grey); color: var(--mint); }
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { font-size: 1.24rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--grey-soft); font-size: .98rem; }

/* ---------- use cases ---------- */
.use-cases-inner { text-align: center; }
.use-cases h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 14px auto 34px; max-width: 20ch; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag-list li { font-weight: 600; font-size: .96rem; padding: .62em 1.25em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); transition: border-color .18s, color .18s, background .18s; }
.tag-list li:hover { border-color: var(--mint); color: var(--mint-ink); background: var(--mint-soft); }

/* ---------- console cta ---------- */
.console-cta { position: relative; background: var(--grey); color: var(--white); padding: clamp(64px, 10vw, 116px) 0; overflow: hidden; }
.console-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(440px 340px at 86% -12%, rgba(115,198,159,.42), transparent 70%),
    radial-gradient(360px 300px at -4% 118%, rgba(115,198,159,.20), transparent 70%);
}
.console-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.eyebrow-light { color: var(--mint); }
.console-cta h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
.console-lead { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 30px; }
.console-cta code { background: rgba(255,255,255,.16); color: #eafff6; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); padding: 54px 0 38px; border-top: 1px solid var(--line-soft); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px 40px; align-items: start; }
.footer-brand p { color: var(--grey-faint); margin-top: 12px; font-size: .96rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.footer-nav a { color: var(--grey-soft); font-weight: 500; font-size: .96rem; }
.footer-nav a:hover { color: var(--mint-ink); }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--grey-faint); font-size: .88rem; }
.footer-domains { font-family: ui-monospace, monospace; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90;
  transform: translate(-50%, 24px);
  display: flex; align-items: center; gap: 10px;
  background: var(--grey); color: var(--white);
  padding: 13px 20px; border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45);
  font-size: .95rem; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(115,198,159,.28); }

/* ---------- reveal on load ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: var(--d, 0s); }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .lead { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-inner { gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
