:root {
  --bg: #0f0b08;
  --bg-2: #17100b;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f4ece3;
  --muted: #a99e91;
  --accent: #e8a15a;
  --accent-2: #c9743a;
  --accent-glow: rgba(232, 161, 90, 0.35);
  --green: #7bcf8a;
  --radius: 20px;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(201, 116, 58, 0.18), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(232, 161, 90, 0.12), transparent 70%),
    radial-gradient(50% 50% at 10% 60%, rgba(123, 207, 138, 0.06), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 11, 8, 0.55);
  border-bottom: 1px solid var(--card-border);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #241505 !important; font-weight: 650;
  padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 6px 20px -6px var(--accent-glow);
}
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

header { padding: 92px 0 60px; text-align: center; position: relative; }

.hero-icon-wrap { position: relative; display: inline-block; margin-bottom: 34px; }
.hero-icon {
  width: 148px; height: 148px; border-radius: 34px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(201, 116, 58, 0.45));
  position: relative; z-index: 2;
}
.hero-icon-wrap::after {
  content: ""; position: absolute; inset: -30% -30% -10%; z-index: 1;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(20px); animation: pulse 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes pulse { 0%,100% { opacity:.6; transform: scale(1) } 50% { opacity:1; transform: scale(1.08) } }

.steam { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 12px; }
.steam span {
  display: block; width: 7px; height: 34px; border-radius: 50%;
  background: linear-gradient(to top, transparent, rgba(255,255,255,0.5));
  filter: blur(3px); opacity: 0;
  animation: steam 3.2s ease-in-out infinite;
}
.steam span:nth-child(2) { animation-delay: .8s; }
.steam span:nth-child(3) { animation-delay: 1.6s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(6px) scaleX(1); }
  40% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-26px) scaleX(1.6); }
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 750; letter-spacing: -0.035em; line-height: 1.05;
  background: linear-gradient(180deg, #fff, #cbb6a1);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tagline { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--muted); max-width: 620px; margin: 22px auto 0; font-weight: 400; }
.tagline b { color: var(--accent); font-weight: 600; }

.cta-row { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #241505; font-weight: 680; font-size: 1.05rem;
  padding: 15px 30px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 34px -8px var(--accent-glow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -8px var(--accent-glow); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); font-weight: 550; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--card-border); background: var(--card);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }
.micro { margin-top: 20px; font-size: 0.85rem; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

section { padding: 74px 0; }
.eyebrow { color: var(--accent); font-weight: 650; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 720; letter-spacing: -0.03em; text-align: center; margin-top: 12px; }
.section-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 14px auto 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 52px; }
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(232,161,90,0.35); background: rgba(255,255,255,0.055); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(232,161,90,0.22), rgba(201,116,58,0.12));
  border: 1px solid rgba(232,161,90,0.25);
}
.card h3 { font-size: 1.18rem; font-weight: 650; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin-top: 8px; font-size: 0.96rem; }

.table-wrap { margin-top: 48px; overflow-x: auto; }
table {
  width: 100%; border-collapse: collapse; min-width: 520px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden;
}
th, td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--card-border); }
thead th { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }
td:first-child { font-weight: 600; }
.yes { color: var(--green); font-weight: 600; }
.no { color: var(--muted); }
.star { color: var(--accent); font-weight: 700; }

.demo { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; margin-top: 52px; }
@media (max-width: 820px) { .demo { grid-template-columns: 1fr; } }
.demo h3 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.demo p { color: var(--muted); margin-top: 14px; }
.demo ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.demo li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 0.98rem; }
.demo li::before { content: "☕"; }

/* Mock of the app's drop-down panel. Stylised in the site's palette rather than the app's
   blue accent, so it sits with the rest of the page. */
.panel {
  background: rgba(30, 23, 17, 0.72);
  border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  max-width: 340px; margin: 0 auto; width: 100%;
  font-size: 0.92rem;
}
.pbar { display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 7px 14px; background: rgba(0,0,0,0.32); border-bottom: 1px solid var(--card-border); }
.pbar img { width: 15px; height: 15px; border-radius: 4px; }
.pbar span { font-size: 0.78rem; font-variant-numeric: tabular-nums; }

.prow { padding: 12px 14px; }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ptitle { font-weight: 600; font-size: 0.92rem; }
.psub { color: var(--muted); font-size: 0.78rem; line-height: 1.35; margin-top: 2px; }

.switch { position: relative; flex-shrink: 0; width: 38px; height: 22px; border-radius: 11px; background: rgba(255,255,255,0.14); transition: background .18s; }
.switch span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.45); transition: left .18s; }
.switch.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.switch.on span { left: 18px; }

.seg { display: flex; gap: 2px; margin-top: 12px; padding: 2px; background: rgba(0,0,0,0.3); border-radius: 8px; }
.seg span { flex: 1; text-align: center; white-space: nowrap; padding: 5px 2px; border-radius: 6px; font-size: 0.72rem; color: var(--muted); }
.seg span.sel { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1208; font-weight: 600; }

.pcount { margin-top: 10px; font-size: 0.76rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.psep { height: 1px; background: var(--card-border); }
.prow.quit { display: flex; align-items: center; justify-content: space-between; color: var(--muted); padding: 11px 14px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 52px; }
.step { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px; }
.step .n { font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.step h3 { margin-top: 10px; font-size: 1.12rem; font-weight: 640; }
.step p { color: var(--muted); margin-top: 8px; font-size: 0.94rem; }
.step code { background: rgba(255,255,255,0.07); padding: 2px 7px; border-radius: 6px; font-size: 0.82em; color: var(--accent); }

.download-band { text-align: center; padding: 90px 0; }
.download-card {
  background: linear-gradient(135deg, rgba(232,161,90,0.12), rgba(201,116,58,0.06));
  border: 1px solid rgba(232,161,90,0.24);
  border-radius: 28px; padding: 56px 32px; position: relative; overflow: hidden;
}
.download-card img { width: 92px; height: 92px; border-radius: 22px; margin-bottom: 22px; filter: drop-shadow(0 14px 30px rgba(201,116,58,0.4)); }
.download-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 730; letter-spacing: -0.03em; }
.download-card p { color: var(--muted); margin: 12px auto 30px; max-width: 460px; }

footer { border-top: 1px solid var(--card-border); padding: 40px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .brand { font-size: 0.98rem; }
footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--text); }
.foot-note { color: var(--muted); font-size: 0.85rem; }

.fade-up { animation: fadeUp .9s ease both; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px);} to { opacity:1; transform:none; } }
