:root {
  --bg: #161618;
  --canvas: #1e1e20;
  --fg: #ebebeb;
  --accent: #aa8e4e;
  --muted: #9e9e9c;
  --deep: #707070;
  --line: rgba(170, 142, 78, 0.22);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 22, 24, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 800;
  letter-spacing: 0.38em;
  font-size: 13px;
  text-decoration: none;
}

.brand img {
  width: 22px;
  height: 22px;
  filter: invert(72%) sepia(28%) saturate(700%) hue-rotate(6deg);
}

#nav-toggle {
  position: absolute;
  left: -9999px;
}

.nav-toggle {
  display: none;
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav a {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--fg);
}

.hero {
  padding: 48px 0 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 1.7rem;
  margin: 0 0 12px;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.lede,
.prose p,
.prose li {
  color: #d6d6d4;
}

.lede {
  font-size: 1.08rem;
  max-width: 42rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #161618;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
}

.frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--canvas);
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  font-size: 13px;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.card p,
.muted {
  color: var(--muted);
}

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

.mosaic img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  color: var(--muted);
  margin: 10px 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--deep);
  font-size: 13px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

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

@media (max-width: 860px) {
  .hero,
  .grid-3,
  .grid-2,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic img {
    height: 220px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #161618;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px;
    flex-direction: column;
  }

  #nav-toggle:checked ~ .nav {
    display: flex;
  }
}

/* Phone Mockup Frames */
.phone-mockup-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 0 0 6px #222226, 0 0 0 8px rgba(170, 142, 78, 0.35), 0 20px 40px rgba(0, 0, 0, 0.8);
  background: #000;
  max-width: 280px;
  margin: 0 auto;
}

.phone-mockup-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-wrap .phone-mockup-frame {
  max-width: 255px;
  max-height: 520px;
  border-radius: 30px;
}

.hero-phone-wrap .phone-mockup-frame img {
  max-height: 520px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.mockups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.mockup-item {
  text-align: center;
}

.mockup-item .phone-mockup-frame {
  max-width: 210px;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-item .phone-mockup-frame img {
  max-height: 430px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.mockup-item:hover .phone-mockup-frame {
  transform: translateY(-4px);
  box-shadow: 0 0 0 6px #222226, 0 0 0 8px rgba(170, 142, 78, 0.6), 0 24px 50px rgba(0, 0, 0, 0.9);
}

.mockup-item h3 {
  margin-top: 14px;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--accent);
}

.mockup-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .mockups-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .hero-phone-wrap .phone-mockup-frame {
    max-width: 230px;
    max-height: 480px;
  }

  .hero-phone-wrap .phone-mockup-frame img {
    max-height: 480px;
  }
}

@media (max-width: 580px) {
  .mockups-grid {
    grid-template-columns: 1fr;
  }
}
