/* Bhejde site design system (Apple style: white, spacious, big type) */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #e8e8ed;
  --line: #d2d2d7;
  --accent: #ccff00;
  --accent-ink: #14170a;
  --blue: #0071e3;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .07);
  --shadow-lg: 0 18px 60px rgba(0, 0, 0, .14);
  --max: 1080px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14.5px !important;
  font-weight: 600;
  transition: transform .15s, opacity .15s;
}
.nav-cta:hover { transform: scale(1.03); opacity: .9; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 8px; }
.nav-burger svg { display: block; }

/* -------------------------------------------------------------- hero */
.hero { padding: 96px 0 72px; text-align: center; }
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #32d74b; }
.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 em { font-style: normal; color: var(--ink-2); }
.hero p.sub {
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--ink-2);
  max-width: 680px;
  margin: 26px auto 0;
  line-height: 1.45;
}

/* ------------------------------------------------------------ buttons */
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg { flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.btn-ghost { background: var(--bg-2); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-3); }
.btn small { font-weight: 400; opacity: .65; font-size: 14px; }

/* --------------------------------------------------------------- cards */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-2); }
.section h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -.025em;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.section .lede {
  text-align: center;
  color: var(--ink-2);
  font-size: 19px;
  max-width: 640px;
  margin: 18px auto 0;
}

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

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: var(--radius);
  padding: 30px;
}
.card h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card .ico svg { display: block; }

/* --------------------------------------------------------- dl (download) */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.dl-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .18s, box-shadow .18s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dl-card .plat { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.dl-card .plat svg { flex: none; }
.dl-card h3 { font-size: 21px; letter-spacing: -.01em; }
.dl-card .meta { color: var(--ink-3); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.dl-card p { color: var(--ink-2); font-size: 15px; margin: 8px 0 18px; flex: 1; }
.dl-card .btn { justify-content: center; width: 100%; font-size: 16px; padding: 13px 20px; }
.badge-new {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- steps */
.steps { max-width: 860px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 64px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 8px 24px; align-items: start; }
.step .num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}
.step h3 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; padding-top: 8px; }
.step p { grid-column: 2; color: var(--ink-2); font-size: 17px; margin-top: -4px; }
.step .shot { grid-column: 2; margin-top: 20px; }
.step .shot img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: var(--shadow);
}
.step .shot figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; text-align: center; }
.note {
  grid-column: 2;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  font-size: 15.5px;
  color: var(--ink-2);
  margin-top: 14px;
}
.note b { color: var(--ink); }

/* ------------------------------------------------------------- features */
.ticks { max-width: 720px; margin: 44px auto 0; display: grid; gap: 16px; }
.tick { display: flex; gap: 14px; align-items: flex-start; }
.tick svg { flex: none; margin-top: 3px; }
.tick b { display: block; font-size: 17px; }
.tick span { color: var(--ink-2); font-size: 15.5px; }

/* --------------------------------------------------------------- quotes */
.prose { max-width: 760px; margin: 0 auto; padding: 72px 0 40px; }
.prose h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -.03em; line-height: 1.08; }
.prose h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.02em; margin: 48px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 8px; }
.prose p { color: var(--ink-2); margin: 12px 0; font-size: 16.5px; }
.prose ul { margin: 12px 0 12px 22px; color: var(--ink-2); font-size: 16.5px; }
.prose li { margin: 7px 0; }
.prose .updated { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.prose strong { color: var(--ink); }
.callout {
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 26px 0;
}
.callout p { margin: 6px 0; }

/* ----------------------------------------------------------------- form */
.form-wrap { max-width: 640px; margin: 44px auto 0; }
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-msg { font-size: 15.5px; padding: 14px 18px; border-radius: 14px; display: none; }
.form-msg.ok { display: block; background: #e8f8ec; color: #135c26; }
.form-msg.err { display: block; background: #fdeeee; color: #8a1f1f; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer .brand { font-size: 16px; }
.footer small { color: var(--ink-3); font-size: 13.5px; display: block; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .grid-3, .dl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-burger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; font-size: 16px; }
  .nav-cta { margin: 8px 24px 0; text-align: center; }
  .grid-3, .grid-2, .dl-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .step { grid-template-columns: 44px 1fr; gap: 6px 16px; }
  .step .num { width: 40px; height: 40px; font-size: 18px; }
  .btn-row .btn { width: 100%; justify-content: center; }
}
