/* Shared styles for the Indonesian (/) and English (/en/) landing pages. */

/* =========================
   TOKENS
   A neutral, product-first system for a professional audience: white
   and cool-grey surfaces, one brand purple for actions, Geist for all
   text and Geist Mono for timestamps. Fonts are self-hosted because
   the CSP only allows font-src 'self'.
========================= */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-subtle: #f7f7fb;
  --bg-muted: #efeff5;
  --ink: #0e1321;
  --ink-muted: #4b5467;
  --ink-subtle: #5f6879;
  --line: #e6e7ee;
  --line-strong: #d3d5df;

  --brand: #5b4bc4;
  --brand-hover: #4a3cad;
  --brand-soft: #f0edfb;
  --brand-line: #dcd5f5;
  --brand-ink: #3f3296;
  --highlight: #fff0b3;
  --live: #11764f;
  --live-bg: #e7f5ee;
  --chat: #9a5b13;
  --chat-bg: #fbf1e3;


  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(14, 19, 33, 0.06);
  --shadow-md: 0 6px 16px rgba(14, 19, 33, 0.07);
  --shadow-lg: 0 1px 2px rgba(14, 19, 33, 0.04), 0 24px 60px -12px rgba(14, 19, 33, 0.18);

  --max-width: 1180px;
  --gutter: 48px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
}

.container {
  width: min(var(--max-width), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* =========================
   PRIMITIVES
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
  cursor: pointer;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(63, 50, 150, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn-secondary {
  background: var(--bg);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

.pill-live {
  color: var(--live);
  background: var(--live-bg);
}

.pill-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

.pill-neutral {
  color: var(--ink-muted);
  background: var(--bg-muted);
}

.pill-brand {
  color: var(--brand-ink);
  background: var(--brand-soft);
}

.pill-chat {
  color: var(--chat);
  background: var(--chat-bg);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 14px;
}

.h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
  text-wrap: balance;
}

.sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 620px;
  text-wrap: pretty;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .sub {
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 112px 0;
}

.mono {
  font-family: var(--font-mono);
}

/* =========================
   NAV
========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 8px 10px;
}

.nav-signin:hover {
  color: var(--ink);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  padding: 88px 0 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(91, 75, 196, 0.10), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.badge b {
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 650;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--brand);
}

.hero-sub {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-micro {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-subtle);
}

.hero-micro span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-micro svg {
  width: 14px;
  height: 14px;
  color: var(--live);
}

/* Product shot: memoru web app, meeting detail → Overview. */
.shot {
  position: relative;
  max-width: 1080px;
  margin: 64px auto 0;
  padding: 10px 10px 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.window {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 11px 11px 0 0;
  background: var(--bg);
  overflow: hidden;
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-url {
  margin: 0 auto;
  padding: 0 14px;
  height: 24px;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-subtle);
}

.app {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 500px;
  font-size: 13px;
}

.app-side {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: #fbfbfd;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 0 6px 16px;
}

.app-brand .logo-mark {
  width: 22px;
  height: 22px;
}

.app-search,
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink-subtle);
  font-size: 12px;
}

.app-search {
  margin-bottom: 12px;
}

.app-search svg,
.search svg {
  width: 13px;
  height: 13px;
}

.app-group {
  padding: 12px 8px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-subtle);
}

.app-item {
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 2px;
}

.app-item b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-item small {
  font-size: 11px;
  color: var(--ink-subtle);
}

.app-item.is-active {
  background: var(--brand-soft);
}

.app-item.is-active b {
  color: var(--brand-ink);
}

.app-main {
  min-width: 0;
  padding: 24px 30px 30px;
}

.app-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.app-title {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-subtle);
}

.avatars {
  display: flex;
  flex-shrink: 0;
}

.avatars span {
  width: 28px;
  height: 28px;
  margin-left: -6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--bg);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.avatars span:nth-child(1) { background: #5b4bc4; }
.avatars span:nth-child(2) { background: #1f7a8c; }
.avatars span:nth-child(3) { background: #b0503a; }
.avatars span:nth-child(4) { background: #3b6b35; }
.avatars span:nth-child(5) { background: #5f6879; }

.app-tabs {
  display: flex;
  gap: 22px;
  margin: 18px 0 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-subtle);
}

.app-tabs span {
  padding-bottom: 10px;
}

.app-tabs .is-active {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--brand);
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 26px;
}

.label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.label .pill {
  text-transform: none;
  letter-spacing: 0;
}

.recap-text {
  font-size: 14px;
  line-height: 1.65;
}

.recap-text-sm {
  font-size: 13px;
}

.label-spaced {
  margin-top: 22px;
}

.checks-list {
  margin-top: 18px;
}

.checks-list-flush {
  margin-top: 0;
}

.checks-list li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-top: 1px solid var(--bg-muted);
  color: var(--ink-muted);
}

.checks-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 15px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--live);
  border-bottom: 2px solid var(--live);
  transform: rotate(-45deg);
}

.steps-box {
  align-self: start;
  padding: 16px 16px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fcfcfe;
}

.step-item {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.step-item:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

.step-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-subtle);
}

.src {
  color: var(--brand);
  font-weight: 600;
}

/* =========================
   PLATFORMS STRIP
========================= */

.platforms {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.platforms-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 48px;
}

.platforms p {
  font-size: 14px;
  color: var(--ink-subtle);
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.platform-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--ink-muted);
}

.platform-icon svg {
  width: 17px;
  height: 17px;
}

.list-row .platform-icon {
  background: var(--bg);
}

.logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.logo-zoom {
  width: 86px;
  height: 20px;
}

.platform-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-subtle);
}

.badge-logo {
  width: 16px;
  height: 16px;
  margin: 0 -4px 0 0;
}

.badge-zoom {
  width: 44px;
  height: 10px;
  margin-right: -6px;
}

.chip-logo {
  width: 14px;
  height: 14px;
  margin-right: 6px;
}

/* =========================
   FEATURE CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 22px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* =========================
   FEATURE ROWS
========================= */

.features {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.row + .row {
  margin-top: 120px;
}

.row.is-flipped > :first-child {
  order: 2;
}

.row h3 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 650;
  text-wrap: balance;
}

.row .sub {
  font-size: 17px;
}

.ticks {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-muted);
}

.ticks li b {
  color: var(--ink);
  font-weight: 600;
}

.ticks svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.stage {
  position: relative;
  padding: clamp(18px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 0%, rgba(91, 75, 196, 0.10), transparent 55%),
    var(--bg-muted);
  border: 1px solid var(--line);
}

.mock {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  overflow: hidden;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.mock-brand .logo-mark {
  width: 20px;
  height: 20px;
}

.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  color: var(--ink-muted);
}

.control + .control {
  border-left: 1px solid var(--line);
}

.select {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.switch {
  width: 32px;
  height: 19px;
  border-radius: var(--radius-full);
  background: var(--brand);
  position: relative;
  flex-shrink: 0;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2.5px;
  right: 2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.feed {
  padding: 2px 16px 8px;
}

.feed-line {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--bg-muted);
}

.feed-line:last-child {
  border-bottom: 0;
}

.feed-line time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-subtle);
  padding-top: 2px;
}

.feed-line header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feed-line header .pill {
  font-size: 10px;
  padding: 0 7px;
}

.feed-line p {
  color: var(--ink-muted);
  line-height: 1.5;
}

.feed-line.is-typing p::after {
  content: "▍";
  color: var(--brand);
  animation: pulse 1s steps(2) infinite;
}

.feed-line.is-quoted {
  margin: 4px -10px;
  padding: 11px 10px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  background: #fbfaff;
}

.feed-line.is-quoted p {
  color: var(--ink);
}

.feed-line mark,
.list-row mark {
  background: var(--highlight);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

/* Stacked recap + source card */
.mock-stack {
  display: grid;
  gap: 14px;
}

.mock-body {
  padding: 14px 16px;
}

.step-item.is-open {
  margin: 4px -10px 0;
  padding: 12px 10px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  background: #fbfaff;
}

.connector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 22px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.connector::before {
  content: "";
  width: 2px;
  height: 22px;
  background: var(--brand-line);
}

/* Library */
.list-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfd;
}

.list-bar .search {
  flex: 1 1 150px;
  color: var(--ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.chip.is-on {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 600;
}

.list-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--bg-muted);
}

.list-row:first-of-type {
  border-top: 0;
}

.list-row .platform-icon {
  width: 32px;
  height: 32px;
}

.list-row b {
  display: block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-row small {
  font-size: 12px;
  color: var(--ink-subtle);
}

/* =========================
   USE CASES (tabs)
========================= */

.tablist {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
}

.tab {
  padding: 9px 18px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-muted);
  cursor: pointer;
}

.tab:hover {
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.tabpanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.tabpanel h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.tabpanel > div > p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 16px;
}

.role-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  font-size: 13px;
}

.role-card .mock {
  box-shadow: var(--shadow-md);
}

/* =========================
   COMPARISON
========================= */

.compare {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 18px 24px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  border-top: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-subtle);
  background: #fbfbfd;
}

thead th.is-us {
  color: var(--brand-ink);
  background: var(--brand-soft);
}

tbody th {
  font-weight: 500;
  color: var(--ink);
  width: 38%;
}

td {
  color: var(--ink-muted);
}

td.is-us {
  color: var(--ink);
  font-weight: 550;
  background: #fbfaff;
}

.yes {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.yes::before {
  content: "✓";
  flex-shrink: 0;
  font-weight: 700;
  color: var(--live);
}

/* =========================
   PRIVACY
========================= */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.privacy-grid .card {
  box-shadow: none;
  background: var(--bg-subtle);
}

.privacy-note {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-muted);
}

.privacy-note a {
  color: var(--brand);
  font-weight: 600;
}

/* =========================
   GET STARTED
========================= */

.start {
  padding-top: 0;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.start-step {
  padding: 32px;
}

.start-step + .start-step {
  border-left: 1px solid var(--line);
}

.start-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
}

.start-step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.start-step p {
  font-size: 15px;
  color: var(--ink-muted);
}

.start-step small {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-subtle);
}

/* =========================
   FAQ
========================= */

.faq {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 88px);
}

.faq-aside .sub {
  font-size: 16px;
}

.faq-aside a {
  color: var(--brand);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--ink-muted);
  font-size: 16px;
  font-weight: 500;
}

/* =========================
   CTA + FOOTER
========================= */

.cta {
  padding: 0 0 112px;
  background: var(--bg-subtle);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(91, 75, 196, 0.14), transparent 70%),
    var(--bg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 650;
  text-wrap: balance;
}

.cta-band p {
  max-width: 520px;
  margin: 16px auto 0;
  font-size: 18px;
  color: var(--ink-muted);
}

.cta-band .hero-actions {
  margin-top: 30px;
}

.cta-band small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-subtle);
}

footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin-top: 12px;
  max-width: 280px;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  gap: 72px;
}

.footer-col h2 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-subtle);
}

/* =========================
   CONVERSION: repeated install prompts
========================= */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.text-link:hover {
  color: var(--brand-hover);
}

.text-link span {
  transition: transform 0.15s var(--ease-out);
}

.text-link:hover span {
  transform: translateX(3px);
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 112px;
  padding: 28px 32px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-xl);
  background: var(--bg);
  box-shadow: var(--shadow-md);
}

.inline-cta h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.inline-cta p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-muted);
}

.start-cta {
  margin-top: 40px;
  text-align: center;
}

.start-cta p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-subtle);
}

.mobile-cta {
  display: none;
}

/* =========================
   LANGUAGE SWITCHING
========================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.lang-button:hover {
  background: var(--bg-subtle);
  color: var(--ink);
}

.lang-button svg {
  width: 16px;
  height: 16px;
}

.lang-switch {
  display: flex;
  gap: 16px;
}

.lang-switch a {
  color: var(--ink-subtle);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .overview {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 32px;
  }

  section {
    padding: 88px 0;
  }

  .start {
    padding-top: 0;
  }

  .cta {
    padding-bottom: 88px;
  }

  .hero {
    padding-top: 64px;
  }

  .app {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-side {
    display: none;
  }

  .app-main {
    padding: 20px;
  }

  .cards,
  .privacy-grid,
  .start-grid,
  .row,
  .tabpanel,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .row.is-flipped > :first-child {
    order: 0;
  }

  .row + .row {
    margin-top: 88px;
  }

  .inline-cta {
    margin-top: 88px;
  }

  .start-step + .start-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .nav-signin {
    display: none;
  }

  /* The sticky bottom bar carries the install button on phones. */
  .nav-actions .btn {
    display: none;
  }

  /* Indonesian labels run longer; let buttons wrap instead of overflowing. */
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  /* On phones the install button stays one thumb away. */
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }

  .mobile-cta .btn {
    width: 100%;
  }

  body {
    padding-bottom: 72px;
  }

  .inline-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px 20px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .badge-lead {
    display: none;
  }

  .hero-sub {
    font-size: 17px;
  }

  .window-url {
    min-width: 0;
    flex: 1;
  }

  .avatars {
    display: none;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .control + .control {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .tablist {
    border-radius: var(--radius-lg);
  }

  th,
  td {
    padding: 14px 14px;
    font-size: 14px;
  }

  tbody th {
    width: 34%;
  }

  .list-row .pill {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill-live::before,
  .feed-line.is-typing p::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
