:root {
  --wood-900: #241209;
  --wood-800: #341808;
  --wood-700: #4a220e;
  --wood-600: #6b3416;
  --wood-500: #8a4a22;
  --wood-400: #b06a35;
  --wood-200: #e0b98c;
  --cream: #f7ecdd;
  --cream-dim: #ece0cc;
  --ink: #241708;
  --ink-soft: #5a4530;
  --gold: #c99b3f;
  --gold-light: #e8c877;

  --rnd-red: #e6432f;
  --rnd-blue: #2f6fe6;
  --rnd-green: #34a869;
  --rnd-orange: #f0932b;

  --max-width: 1160px;
  --serif: "Cinzel", "Georgia", serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--wood-800);
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1em;
}

/* wood-tile texture (real pattern) */
.wood-texture {
  background-color: var(--wood-800);
  background-image:
    linear-gradient(rgba(20,10,4,0.55), rgba(20,10,4,0.55)),
    url("assets/bricks.png");
  background-repeat: repeat;
  background-size: auto, 480px auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247,236,221,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36,23,8,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { height: 46px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--wood-800);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a.active { color: var(--gold); }

.nav-cta {
  background: var(--wood-800);
  color: var(--cream) !important;
  padding: 10px 22px;
  border-radius: 30px;
}

.nav-cta:hover { background: var(--wood-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--wood-800);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream);
  text-align: center;
  padding: 110px 20px 130px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,18,9,0.55), rgba(36,18,9,0.88));
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.hero-logo { height: 150px; margin: 0 auto 28px; }

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
}

.hero .accent { color: var(--gold-light); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(247,236,221,0.85);
  max-width: 560px;
  margin: 0 auto 2em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 40px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s, color 0.18s;
}

.btn-primary {
  background: var(--gold);
  color: #241208;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201,155,63,0.35);
}

.btn-ghost {
  border-color: rgba(247,236,221,0.5);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(247,236,221,0.1);
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--cream-dim); }
.section-dark { background: var(--wood-900); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(247,236,221,0.75); }

h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

/* ---------- Apps / Cards ---------- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.app-card {
  background: #fff;
  border-radius: 16px;
  padding: 34px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(36,18,9,0.08);
  border: 1px solid rgba(36,18,9,0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(36,18,9,0.15);
}

.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(36,18,9,0.18);
}

.app-card h3 { margin: 0; font-size: 1.3rem; }
.app-card .tag {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.app-card p { margin: 0; }
.app-card .app-link { margin-top: auto; font-weight: 700; color: var(--wood-700); }

/* ---------- Feature list ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.feature-item {
  padding: 26px;
  border-radius: 12px;
  background: rgba(247,236,221,0.06);
  border: 1px solid rgba(247,236,221,0.12);
}

.feature-item span.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  margin-inline-end: 10px;
}

.feature-item p { margin: 0; color: rgba(247,236,221,0.85); }

.feature-item.light {
  background: #fff;
  border: 1px solid rgba(36,18,9,0.08);
  box-shadow: 0 4px 16px rgba(36,18,9,0.06);
}

.feature-item.light p {
  color: var(--ink);
  font-weight: 500;
}

.feature-item.light span.dot { background: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(36,18,9,0.12);
}

.faq-item:first-child { border-top: 1px solid rgba(36,18,9,0.12); }

.faq-question {
  width: 100%;
  text-align: start;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wood-800);
}

.faq-question .plus {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.25s ease;
}

.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--gold);
}

.faq-question .plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.faq-question .plus::after { left: 50%; top: 0; height: 100%; width: 2px; margin-left: -1px; }

.faq-item.open .plus { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p { padding-bottom: 22px; margin: 0; }

/* ---------- App marketing page ---------- */
.app-hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(230,67,47,0.35), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(47,111,230,0.35), transparent 45%),
              radial-gradient(circle at 50% 90%, rgba(52,168,105,0.3), transparent 45%),
              var(--wood-900);
  color: var(--cream);
  text-align: center;
  padding: 120px 20px 100px;
}

.app-hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  border-radius: 30px;
}

.app-hero .eyebrow { color: var(--gold-light); }

.app-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
}

.app-tagline {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--gold-light);
  margin-bottom: 0.6em;
}

.app-hero p.lead {
  max-width: 620px;
  margin: 0 auto 2em;
  color: rgba(247,236,221,0.85);
  font-size: 1.08rem;
}

.badge-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.badge {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(247,236,221,0.3);
  color: rgba(247,236,221,0.85);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.75;
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
}

.section-dark .disclaimer { color: rgba(247,236,221,0.6); }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-card {
  background: var(--wood-900);
  color: var(--cream);
  border-radius: 18px;
  padding: 40px;
}

.contact-card .eyebrow { color: var(--gold-light); }
.contact-card h3 { color: #fff; }
.contact-card a { color: var(--gold-light); text-decoration: none; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-weight: 600;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--wood-800);
}

.contact-form input,
.contact-form textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(36,18,9,0.18);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form .btn { margin-top: 20px; align-self: flex-start; }

.form-note {
  font-size: 0.85rem;
  margin-top: 14px;
  color: var(--ink-soft);
}

.form-status {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 8px;
  display: none;
}

.form-status.show { display: block; }
.form-status.success { background: #e4f3e9; color: #1e6b3c; }
.form-status.error { background: #fbe6e3; color: #a12f1f; }

/* ---------- Legal ---------- */
.legal {
  max-width: 780px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2em;
}

.legal ul { padding-inline-start: 22px; color: var(--ink-soft); }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  color: rgba(247,236,221,0.7);
  padding: 50px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(247,236,221,0.14);
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-family: var(--serif); color: #fff; font-size: 1.1rem; }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-links a { text-decoration: none; color: rgba(247,236,221,0.75); font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-list {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--wood-900);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(105%);
    transition: transform 0.35s ease;
  }

  .nav-list.open { transform: translateX(0); }
  .nav-list a { color: var(--cream); font-size: 1.1rem; }
  .nav-cta { color: var(--wood-900) !important; }

  .section { padding: 70px 0; }
}
