:root {
  --bg: #edf4fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --ink: #121827;
  --brand-ink: #0e0a47;
  --muted: #657184;
  --muted-soft: #8792a3;
  --line: rgba(126, 151, 185, 0.24);
  --line-strong: rgba(126, 151, 185, 0.38);
  --blue: #1677ff;
  --blue-deep: #3157f5;
  --blue-soft: #eaf2ff;
  --green: #29a36a;
  --green-soft: #e8f7ee;
  --violet: #7b54fe;
  --shadow-shell: 0 28px 76px rgba(87, 118, 156, 0.2);
  --shadow-card: 0 16px 38px rgba(74, 98, 128, 0.12);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(145deg, rgba(249, 252, 255, 0.98), rgba(232, 241, 250, 0.98) 48%, rgba(246, 250, 255, 0.98)),
    var(--bg);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content), calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-link img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 14px 28px rgba(49, 87, 245, 0.22);
}

.brand-link span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-link strong {
  overflow: hidden;
  color: var(--brand-ink);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-link small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #4d596b;
  font-size: 0.92rem;
  font-weight: 680;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--line);
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.68);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.92) 38%, rgba(247, 251, 255, 0.16) 74%),
    url("../web_store/boardly_marquee_1400x560.png") center right / cover no-repeat;
  box-shadow: inset 0 -1px 0 rgba(126, 151, 185, 0.22);
}

.hero-content {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 88px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 18px;
  color: var(--brand-ink);
  font-size: 5rem;
  font-weight: 880;
  line-height: 0.95;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 28px;
  color: #263244;
  font-size: 1.3rem;
  font-weight: 570;
  line-height: 1.45;
}

.hero-actions,
.trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 15px;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(75, 108, 255, 0.22);
  outline-offset: 2px;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 34px rgba(49, 87, 245, 0.26);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.88)),
    var(--surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 30px rgba(74, 98, 128, 0.09);
}

.trust-strip {
  margin-top: 18px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: #425064;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 22px rgba(74, 98, 128, 0.08);
  font-size: 0.88rem;
  font-weight: 680;
}

.section {
  padding: 82px 0;
}

.section-inner,
.policy-layout {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section h2,
.policy-hero h1 {
  color: var(--brand-ink);
  font-size: 2.6rem;
  font-weight: 850;
  line-height: 1.05;
}

.section-heading h2,
.intro-grid h2,
.preview-copy h2,
.callout-grid h2 {
  margin-bottom: 0;
}

.intro-band,
.privacy-callout {
  background: rgba(255, 255, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(126, 151, 185, 0.18);
}

.intro-grid,
.callout-grid,
.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.intro-grid p,
.preview-copy p,
.callout-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 520;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.price-card,
.policy-summary,
.policy-content article {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.74)),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--shadow-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.feature-card {
  min-height: 244px;
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 15px;
}

.feature-icon.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.feature-icon.violet {
  color: var(--violet);
  background: #f0ecff;
}

.feature-icon.green {
  color: var(--green);
  background: var(--green-soft);
}

.feature-icon.ink {
  color: var(--brand-ink);
  background: #eeeff7;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
}

.feature-card h3,
.price-card .plan-name,
.policy-summary strong {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 820;
  line-height: 1.15;
}

.feature-card p,
.price-card p,
.policy-summary p,
.policy-content p,
.policy-hero p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 510;
  line-height: 1.6;
}

.preview-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(236, 245, 255, 0.58)),
    var(--bg);
}

.product-preview {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: var(--shadow-shell);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  min-height: 220px;
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(49, 87, 245, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 46px rgba(49, 87, 245, 0.18);
}

.price-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-ink);
  font-size: 2rem;
  font-weight: 860;
  line-height: 1;
}

.callout-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--content), calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 610;
}

.site-footer a {
  color: var(--blue-deep);
}

.policy-hero {
  padding: 84px 0 70px;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(239, 246, 255, 0.92)),
    url("../web_store/boardly_promo_small_440x280.png") right 7vw center / 420px auto no-repeat;
  box-shadow: inset 0 -1px 0 rgba(126, 151, 185, 0.18);
}

.policy-hero .section-inner {
  max-width: 780px;
  margin-left: max(20px, calc((100% - var(--content)) / 2));
}

.policy-hero h1 {
  max-width: 680px;
  margin-bottom: 18px;
}

.policy-hero p {
  max-width: 640px;
  font-size: 1.08rem;
}

.policy-hero .updated {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #516074;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.policy-section {
  padding-top: 56px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: 22px;
  padding: 22px;
}

.policy-summary p + p {
  margin-top: 12px;
}

.policy-content {
  display: grid;
  gap: 14px;
}

.policy-content article {
  padding: 24px;
}

.policy-content h2 {
  margin-bottom: 10px;
  color: var(--brand-ink);
  font-size: 1.18rem;
  font-weight: 830;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .hero {
    min-height: 70svh;
    background:
      linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.9) 52%, rgba(247, 251, 255, 0.22) 100%),
      url("../web_store/boardly_marquee_1400x560.png") center right / cover no-repeat;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .preview-grid,
  .callout-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: static;
  }

  .policy-hero {
    background:
      linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(239, 246, 255, 0.94)),
      var(--bg);
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    width: min(var(--content), calc(100% - 28px));
    min-height: 126px;
    padding: 18px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 66svh;
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.97) 0%, rgba(247, 251, 255, 0.88) 58%, rgba(247, 251, 255, 0.2) 100%),
      url("../web_store/boardly_marquee_1400x560.png") center right / cover no-repeat;
  }

  .hero-content,
  .section-inner,
  .policy-layout,
  .site-footer {
    width: calc(100% - 40px);
  }

  .hero-content {
    padding: 44px 0 58px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-lede {
    max-width: 330px;
    font-size: 1.06rem;
  }

  .button {
    width: 100%;
  }

  .trust-strip span {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .policy-hero h1 {
    font-size: 2rem;
  }

  .policy-hero h1 {
    max-width: 320px;
    font-size: 1.85rem;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .price-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .policy-hero {
    padding: 56px 0 48px;
  }

  .policy-hero .section-inner {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .policy-hero p {
    max-width: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
