/*
Theme Name: ReVerte
Author: Full Court
Version: 1.0
*/

/* =========================
   DESIGN TOKENS
   ========================= */
:root {
  --color-bg: #efede8;
  --color-ink: #1f3c18;

  --radius-cta: 6px;

  --font-body: "Inter", system-ui, sans-serif;
  --font-heading: "Inter Tight", "Inter", system-ui, sans-serif;


}

/* =========================
   BASE RESET
   ========================= */
html,
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1 {
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 0.9 !important;
  font-size: clamp(3em, 8vw, 7rem) !important;
}

h2 {
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  font-size: clamp(3rem, 5vw, 4rem) !important;
}

h3 {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
}

p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

small {
  font-size: 0.875rem !important;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-cta);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-ink);
  color: var(--color-bg);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-ink);
}

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

/* =========================
   LINKS
   ========================= */
a {
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

/* Ultra-smooth FAQ accordion */
.faq-grid {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

details[open] .faq-grid {
  grid-template-rows: 1fr;
}

.faq-grid > div {
  overflow: hidden;
}


/* Stage / background */
.mac-stage {
  background: radial-gradient(
    1200px 600px at 50% -200px,
    #f6f6f4 0%,
    #efeee9 40%,
    #e9e8e3 100%
  );
  padding: 12px;
  border-radius: 20px;
}

/* Outer bezel */
.mac-frame {
  background: #111;
  border-radius: 18px;
  padding: 12px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Screen surface */
.mac-screen {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

/* Screenshot */
.mac-image {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.reverte-post-content h2 {
  font-size: 2rem !important;
  line-height: 1.15 !important;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.reverte-post-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.reverte-post-content p {
  margin-bottom: 1.25rem;
}

.reverte-post-content ul,
.reverte-post-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.reverte-post-content li {
  margin-bottom: 0.5rem;
}

.reverte-post-content a {
  text-decoration: underline;
}

.reverte-post-content img {
  border-radius: 14px;
  margin: 2rem 0;
}

[data-resources-menu] {
  top: 64px;
}

body.admin-bar [data-resources-menu] {
  top: 96px;
}