/* ─── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #fafaf8;
  --bg-2:       #f3f3f0;
  --border:     #e3e3de;
  --border-2:   #d0d0ca;
  --text:       #111110;
  --text-2:     #6b6b67;
  --text-3:     #b0b0ab;
  --green:      #16a34a;
  --green-d:    #15803d;
  --green-bg:   #f0fdf4;
  --green-b:    #bbf7d0;
  --font:       -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --mono:       "SF Mono", "Fira Code", ui-monospace, monospace;
  --max-w:      1080px;
  --row-h:      4.2rem;
}

html  { scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; }
ul    { list-style: none; }

/* ─── Layout ──────────────────────────────────────────────────── */
.wrap {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }

/* ─── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav-brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-brand-mark svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a {
  padding: 0.36rem 0.7rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 120ms, background 120ms;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--bg-2); }

.nav-cta {
  padding: 0.4rem 1rem !important;
  background: var(--green) !important;
  color: white !important;
  border-radius: 7px;
  font-weight: 600 !important;
  transition: background 120ms, transform 120ms !important;
}

.nav-cta:hover { background: var(--green-d) !important; transform: none !important; color: white !important; }

/* ─── Page header (editorial, not full-screen hero) ───────────── */
.page-header {
  padding-top: clamp(5.5rem, 12vw, 8rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.page-header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.page-header-copy { max-width: 44rem; }

.header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.header-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.page-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.page-header-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--text-2);
  max-width: 38rem;
  line-height: 1.68;
}

.page-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-stat {
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 1.15rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 120ms, transform 120ms, border-color 120ms;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover { background: var(--green-d); }

.btn-secondary {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}

.btn-secondary:hover { border-color: var(--text-3); background: var(--bg-2); }

.btn-sm {
  padding: 0.36rem 0.85rem;
  font-size: 0.78rem;
}

.btn-buy {
  background: var(--green-bg);
  border-color: var(--green-b);
  color: var(--green-d);
  font-weight: 700;
}

.btn-buy:hover { background: #dcfce7; border-color: var(--green); }

/* ─── Ticker ──────────────────────────────────────────────────── */
.ticker {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-2);
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.62rem 1.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border-right: 1px solid var(--border);
}

.ticker-item::before {
  content: "—";
  color: var(--green);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Section label ───────────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.7rem;
}

.section-body {
  color: var(--text-2);
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── App catalog ─────────────────────────────────────────────── */
.catalog {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.catalog-header {
  display: grid;
  grid-template-columns: 2.5rem 2.5rem 1fr 1fr 6.5rem 12.5rem;
  gap: 1rem;
  padding: 0.6rem 1.4rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.catalog-header span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.catalog-row {
  display: grid;
  grid-template-columns: 2.5rem 2.5rem 1fr 1fr 6.5rem 12.5rem;
  gap: 1rem;
  align-items: center;
  padding: 0 1.4rem;
  min-height: var(--row-h);
  border-bottom: 1px solid var(--border);
  transition: background 120ms;
  cursor: pointer;
}

.catalog-row:last-child { border-bottom: none; }
.catalog-row:hover { background: #f5fdf7; }

.row-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}

.row-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.14);
}

.row-identity { min-width: 0; }

.row-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.row-category {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 0.1rem;
}

.row-liner {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.5;
  min-width: 0;
}

.row-price-wrap { text-align: right; }

.row-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}

.row-usd {
  font-size: 0.68rem;
  color: var(--text-3);
  font-weight: 500;
  display: block;
  font-family: var(--font);
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.status-badge {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-badge.available { background: var(--green); }
.status-badge.preview   { background: #d97706; }

/* ─── Bundle card ─────────────────────────────────────────────── */
.bundle-card {
  margin-top: 2rem;
  border: 1px solid var(--green-b);
  border-radius: 12px;
  background: var(--green-bg);
  overflow: hidden;
}

.bundle-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  align-items: center;
}

.bundle-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.bundle-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.bundle-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 38rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.bundle-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.bundle-app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  background: white;
  border: 1px solid var(--green-b);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 120ms;
}

.bundle-app-chip:hover { border-color: var(--green); }

.bundle-chip-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.bundle-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.bundle-price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}

.bundle-price-usd {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 0.1rem;
  font-family: var(--font);
}

.bundle-savings {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-d);
  background: white;
  border: 1px solid var(--green-b);
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
}

.bundle-cta { flex-shrink: 0; }

/* ─── Why section ─────────────────────────────────────────────── */
.why-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.why-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.why-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  font-family: var(--mono);
  padding-top: 0.15rem;
}

.why-body-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; }

.why-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.why-text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─── All apps link grid ──────────────────────────────────────── */
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.link-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 120ms, color 120ms, transform 120ms;
}

.link-tile:hover {
  border-color: var(--border-2);
  color: var(--text);
  transform: translateY(-2px);
}

.link-tile-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.12);
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

.footer-brand-mark {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: var(--green);
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--text-3);
  transition: color 120ms;
}

.footer-nav a:hover { color: var(--text-2); }

.footer-copy {
  font-size: 0.74rem;
  color: var(--text-3);
}

/* ─── Product hero ────────────────────────────────────────────── */
.product-header {
  padding-top: clamp(5.5rem, 12vw, 7.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}

.product-header-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}

.product-header-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.16);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.cat-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0.22rem 0.6rem;
  border-radius: 5px;
  border: 1px solid var(--border-2);
  background: white;
}

.status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 5px;
}

.status-tag.available {
  color: var(--green-d);
  background: var(--green-bg);
  border: 1px solid var(--green-b);
}

.status-tag.preview {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.product-header h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 0.7rem;
}

.product-header-liner {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.product-buy-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}

.product-price-usd {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  font-family: var(--font);
  margin-left: 0.1rem;
}

.permission-line {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ─── Product page sections ───────────────────────────────────── */
.features-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.feature-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  font-family: var(--mono);
  padding-top: 0.1rem;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.feature-body {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.68;
}

/* ─── Detail table ────────────────────────────────────────────── */
.detail-table {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.detail-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  border-bottom: 1px solid var(--border);
}

.detail-row:last-child { border-bottom: none; }

.detail-key {
  padding: 1rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-2);
  border-right: 1px solid var(--border);
}

.detail-val {
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  background: white;
}

/* ─── Suite pill on product page ──────────────────────────────── */
.suite-mention {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--green-b);
  background: var(--green-bg);
  margin-top: 1rem;
  flex-wrap: wrap;
}

.suite-mention-text {
  flex: 1;
  min-width: 0;
}

.suite-mention-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.suite-mention-sub {
  font-size: 0.78rem;
  color: var(--text-2);
}

/* ─── Related ─────────────────────────────────────────────────── */
.related-row {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.related-card {
  padding: 1rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: white;
  transition: border-color 120ms, transform 120ms;
}

.related-card:hover { border-color: var(--border-2); transform: translateY(-2px); }

.related-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.6rem;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.12);
}

.related-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.related-liner {
  font-size: 0.74rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ─── Reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Suite page header ───────────────────────────────────────── */
.suite-header {
  padding-top: clamp(5.5rem, 12vw, 7.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--border);
  background: var(--green-bg);
}

/* ─── CTA band ────────────────────────────────────────────────── */
.cta-strip {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3rem);
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-strip-title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.cta-strip-sub {
  font-size: 0.9rem;
  color: var(--text-2);
}

.cta-strip-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .catalog-header { display: none; }
  .catalog-row {
    grid-template-columns: 2rem 2.5rem 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 0;
    padding: 0.9rem 1rem;
    min-height: unset;
  }
  .row-liner  { display: none; }
  .row-price-wrap { text-align: left; }
  .row-actions { grid-column: 4; grid-row: 1 / 3; align-self: center; }
  .why-body-wrap { grid-template-columns: 1fr; gap: 0.4rem; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .bundle-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-header-inner { grid-template-columns: 1fr; }
  .page-header-actions { align-items: flex-start; flex-direction: row; }
  .product-header-inner { grid-template-columns: 1fr; }
  .product-header-icon { display: none; }
  .feature-row { grid-template-columns: 2.5rem 1fr; grid-template-rows: auto auto; }
  .feature-body { grid-column: 2; }
  .related-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .link-grid { grid-template-columns: 1fr 1fr; }
  .related-row { grid-template-columns: 1fr 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .detail-row { grid-template-columns: 1fr; }
  .detail-key { border-right: none; border-bottom: 1px solid var(--border); }
}
