:root {
  --paper: #faf7f0;
  --paper-card: #fffdf8;
  --ink: #26201d;
  --muted: #6b625c;
  --soft: #988d84;
  --line: rgba(83, 72, 64, 0.16);
  --line-strong: rgba(83, 72, 64, 0.28);
  --gold: #d9bc5f;
  --gold-dark: #96730d;
  --burgundy: #8d2f3d;
  --night: #11100d;
  --night-panel: #201d16;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(46, 37, 28, 0.14);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(217, 188, 95, 0.18), transparent 34rem),
    radial-gradient(
      circle at 86% 8%,
      rgba(141, 47, 61, 0.08),
      transparent 24rem
    ),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 56%, #eee7dd 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.display {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(83, 72, 64, 0.1);
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(84, 65, 22, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav a:hover,
.footer a:hover,
.doc-shell a:hover {
  color: var(--gold-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: auto;
  margin: 0 auto;
  gap: clamp(34px, 6vw, 72px);
  padding: clamp(24px, 4vw, 42px) 0 24px;
}

.app-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.app-lockup img {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.app-lockup span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-lockup strong {
  display: block;
  margin-top: 4px;
  font-size: 1.08rem;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(3.9rem, 8vw, 6.25rem);
  line-height: 0.88;
}

.lede {
  max-width: 55ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.28rem);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  font-size: 0.98rem;
  font-weight: 650;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(150, 115, 13, 0.34);
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #1d170c;
}

.button.dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--night-panel);
  color: #fff9ef;
}

.hero-media {
  position: relative;
  min-height: 450px;
}

.phone-frame {
  overflow: hidden;
  width: min(100%, 228px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  background: var(--paper-card);
  box-shadow: var(--shadow);
}

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

.hero-media .phone-frame:first-child {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 12px;
}

.hero-media .phone-frame:last-child {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 190px);
  border-color: rgba(37, 32, 28, 0.36);
  box-shadow: 0 22px 70px rgba(17, 16, 13, 0.24);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.section-lede {
  max-width: 64ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.shot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: 0 18px 50px rgba(46, 37, 28, 0.1);
}

.shot-card img {
  width: 100%;
  height: auto;
}

.shot-caption {
  padding: 18px 20px 20px;
}

.shot-caption h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.shot-caption p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.feature-band {
  background: var(--night);
  color: #fff8ed;
}

.feature-band .section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(36px, 7vw, 84px);
  align-items: center;
}

.feature-band p {
  color: rgba(255, 248, 237, 0.72);
}

.feature-band .phone-frame {
  border-color: rgba(255, 248, 237, 0.18);
  background: #070606;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 44px rgba(46, 37, 28, 0.08);
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.doc-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 72px) 0 84px;
}

.doc-shell h1 {
  margin-bottom: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
}

.updated {
  margin-bottom: 38px;
  color: var(--soft);
  font-weight: 700;
}

.doc-shell h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.doc-shell h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.doc-shell p,
.doc-shell li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.doc-shell ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.doc-shell a {
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-panel {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.82);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  gap: 20px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 580px;
  }

  .hero-media .phone-frame:first-child {
    right: auto;
    left: 16%;
  }

  .showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band .section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero,
  .section,
  .doc-shell,
  .footer,
  .header-inner {
    width: min(100% - 28px, 560px);
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media .phone-frame,
  .hero-media .phone-frame:first-child,
  .hero-media .phone-frame:last-child {
    position: static;
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .hero-media .phone-frame:last-child {
    display: none;
  }

  .showcase,
  .features {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
