/* ─── PERPETUITY DESIGN SYSTEM ─────────────────────────────────────────── */
/* Editorial Bold: cream bg, black type, orange accent, Space Grotesk        */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg:       #f5f1ea;
  --bg-dark:  #111111;
  --ink:      #111111;
  --ink-mid:  #444444;
  --ink-low:  #888888;
  --rule:     #111111;
  --accent:   #ff6b35;
  --accent-bg: rgba(255,107,53,0.08);
  --cream-mid: #e8e2d6;
  --cream-dark: #d4cfc5;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --max: 1280px;
  --pad: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.ruled { border-top: 2px solid var(--rule); }
.ruled-b { border-bottom: 2px solid var(--rule); }
.ruled-light { border-top: 1px solid rgba(17,17,17,0.12); }
.ruled-light-b { border-bottom: 1px solid rgba(17,17,17,0.12); }

/* ── NAV ── */
.site-nav {
  border-bottom: 2px solid var(--rule);
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
}
.site-nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: stretch; height: 64px;
}
.site-nav__logo {
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  display: flex; align-items: center;
  text-decoration: none; color: var(--ink);
  border-right: 2px solid var(--rule);
  padding-right: 32px; margin-right: 32px;
}
.site-nav__links {
  display: flex; align-items: stretch; gap: 0; flex: 1;
  list-style: none;
}
.site-nav__links a {
  display: flex; align-items: center;
  padding: 0 24px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; color: var(--ink-mid);
  border-right: 1px solid rgba(17,17,17,0.1);
  transition: color 0.15s, background 0.15s;
}
.site-nav__links a:hover { color: var(--ink); background: rgba(17,17,17,0.04); }
.site-nav__links a.active { color: var(--ink); font-weight: 700; }
.site-nav__cta {
  display: flex; align-items: center; margin-left: auto;
  padding-left: 24px;
}
.site-nav__cta a {
  background: var(--accent); color: #fff;
  padding: 10px 24px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.15s;
}
.site-nav__cta a:hover { background: #e85c28; }

/* ── LABEL / EYEBROW ── */
.label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-low);
}
.label--accent { color: var(--accent); }
.label--white { color: rgba(245,241,234,0.6); }

/* ── BADGE ── */
.badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 3px 10px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; cursor: pointer; border: none;
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; transition: all 0.15s;
  padding: 14px 32px;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #333; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #e85c28; }
.btn--outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-low); border: 1px solid rgba(17,17,17,0.2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-dark); color: rgba(245,241,234,0.7);
  border-top: 2px solid var(--rule);
}
.site-footer__inner {
  max-width: var(--max); margin: 0 auto; padding: 64px var(--pad) 40px;
  display: grid; grid-template-columns: 240px 1fr 1fr 1fr; gap: 48px;
}
.site-footer__logo {
  font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  color: #f5f1ea; margin-bottom: 12px;
}
.site-footer__tagline { font-size: 13px; line-height: 1.6; }
.site-footer__col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245,241,234,0.4);
  margin-bottom: 16px;
}
.site-footer__col a {
  display: block; font-size: 14px; color: rgba(245,241,234,0.6);
  text-decoration: none; margin-bottom: 10px; transition: color 0.15s;
}
.site-footer__col a:hover { color: #f5f1ea; }
.site-footer__bottom {
  max-width: var(--max); margin: 0 auto; padding: 24px var(--pad);
  border-top: 1px solid rgba(245,241,234,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(245,241,234,0.3);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg-dark); color: rgba(245,241,234,0.7);
  border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule);
}
.trust-bar__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: stretch;
}
.trust-bar__item {
  flex: 1; padding: 32px 0;
  border-right: 1px solid rgba(245,241,234,0.1);
  padding-left: 40px;
}
.trust-bar__item:first-child { padding-left: 0; }
.trust-bar__item:last-child { border-right: none; }
.trust-bar__item strong {
  display: block; font-size: 15px; font-weight: 700;
  color: #f5f1ea; margin-bottom: 4px;
}
.trust-bar__item span { font-size: 13px; }

/* ── PRODUCT CARD ── */
.product-card {
  border: 2px solid var(--rule); background: var(--bg);
  text-decoration: none; color: var(--ink);
  display: block; transition: all 0.15s;
  position: relative; overflow: hidden;
}
.product-card:hover { background: var(--ink); color: #f5f1ea; }
.product-card:hover .product-card__name { color: #f5f1ea; }
.product-card:hover .product-card__tagline { color: rgba(245,241,234,0.6); }
.product-card:hover .product-card__thumb { filter: invert(1); }
.product-card__thumb {
  height: 240px; background: var(--cream-mid);
  border-bottom: 2px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; color: rgba(17,17,17,0.3);
  transition: filter 0.15s;
}
.product-card__body { padding: 24px 28px; }
.product-card__badge { margin-bottom: 12px; }
.product-card__name { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.product-card__tagline { font-size: 14px; color: var(--ink-mid); line-height: 1.5; }
.product-card__meta {
  padding: 16px 28px; border-top: 1px solid rgba(17,17,17,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}

/* ── PRICING CARD ── */
.pricing-grid { display: flex; gap: 0; border: 2px solid var(--rule); }
.pricing-card {
  flex: 1; padding: 40px 40px 40px;
  border-right: 2px solid var(--rule);
  position: relative;
}
.pricing-card:last-child { border-right: none; }
.pricing-card--featured { background: var(--accent); color: #fff; }
.pricing-card__tier { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; opacity: 0.7; }
.pricing-card__price { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.pricing-card__note { font-size: 12px; margin-bottom: 28px; opacity: 0.7; }
.pricing-card__desc { font-size: 14px; line-height: 1.7; margin-bottom: 36px; opacity: 0.75; }
.pricing-card__btn {
  width: 100%; padding: 16px; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── ROADMAP ── */
.roadmap { display: flex; flex-direction: column; gap: 0; }
.roadmap__item {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(17,17,17,0.1);
  padding: 24px 0;
}
.roadmap__status {
  flex: 0 0 160px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px;
}
.roadmap__status--done { color: #2d8a4e; }
.roadmap__status--progress { color: var(--accent); }
.roadmap__status--planned { color: var(--ink-low); }
.roadmap__content { flex: 1; }
.roadmap__title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.roadmap__desc { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(17,17,17,0.12); }
.faq-item__q {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; cursor: pointer; font-size: 16px; font-weight: 600;
  gap: 24px;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__icon { flex-shrink: 0; font-size: 18px; transition: transform 0.2s; color: var(--ink-low); }
.faq-item__a {
  font-size: 15px; color: var(--ink-mid); line-height: 1.75;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-item__a { max-height: 400px; padding-bottom: 20px; }
.faq-item.open .faq-item__icon { transform: rotate(45deg); }

/* ── SECTION HEADER ── */
.section-header {
  padding: 64px 0 48px;
  border-bottom: 2px solid var(--rule);
  margin-bottom: 0;
}
.section-header__eyebrow { margin-bottom: 12px; }
.section-header__title { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fadeup { animation: fadeUp 0.6s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.25s; }
.anim-delay-3 { animation-delay: 0.4s; }
.anim-delay-4 { animation-delay: 0.55s; }

/* ── HERO DEFINITION CARD ── */
.def-card {
  border: 2px solid var(--rule);
  display: inline-block;
  padding: 40px 48px;
  background: var(--bg);
  max-width: 600px;
  position: relative;
}
.def-card__word {
  font-size: 52px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 8px;
}
.def-card__phonetic {
  font-family: var(--font-mono); font-size: 14px;
  color: var(--ink-low); margin-bottom: 20px;
}
.def-card__pos {
  font-style: italic; font-size: 14px; color: var(--ink-mid);
  margin-bottom: 12px;
}
.def-card__def {
  font-size: 17px; line-height: 1.65; color: var(--ink);
  border-left: 3px solid var(--accent); padding-left: 16px;
}
.def-card__example {
  margin-top: 16px; font-style: italic; font-size: 14px;
  color: var(--ink-mid); padding-left: 16px;
}
