:root {
  color-scheme: light;
  --bg: #f7f0e5;
  --bg-soft: #fffaf1;
  --panel: rgba(255, 253, 248, 0.86);
  --panel-strong: #fffdf8;
  --border: rgba(126, 94, 42, 0.18);
  --text: #2d241b;
  --soft: #6d6256;
  --accent: #7a5a2a;
  --accent-soft: #ae8c52;
  --shadow: 0 20px 48px rgba(67, 48, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.65 "Trebuchet MS", Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 219, 163, 0.54), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(180deg, #f3e8d3 0%, var(--bg) 22%, #f6efe5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 154, 112, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 154, 112, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.28;
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(83, 59, 25, 0.08);
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  display: block;
}

.brand-text {
  font: 700 1.2rem/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--soft);
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 42px;
  align-items: center;
  padding: 64px 4px 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font: 700 0.8rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero h1,
.section-heading h2,
.tablet-copy h2,
.doc-panel h1,
.doc-panel h2,
.feature-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.hero-text {
  margin: 20px 0 0;
  font-size: 1.12rem;
  color: var(--soft);
  max-width: 620px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(180deg, #8f6a33 0%, #755520 100%);
  color: #fff9ef;
  box-shadow: 0 12px 24px rgba(104, 74, 28, 0.22);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent);
}

.hero-points {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--soft);
}

.hero-visual {
  position: relative;
  min-height: 760px;
}

.phone-card {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #f2ebde;
  border: 1px solid rgba(80, 58, 29, 0.08);
}

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

.phone-card-main {
  right: 0;
  top: 0;
  width: 360px;
}

.phone-card-side {
  left: 0;
  bottom: 32px;
  width: 250px;
  transform: rotate(-6deg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.feature-card,
.doc-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.feature-card {
  padding: 24px 22px;
}

.feature-card h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  color: var(--accent);
}

.feature-card p {
  margin: 0;
  color: var(--soft);
}

.showcase {
  margin-top: 42px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.screen-card img,
.tablet-stack img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.screen-card figcaption {
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.96rem;
}

.tablet-band {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 252, 246, 0.72);
  box-shadow: var(--shadow);
}

.tablet-copy h2 {
  margin: 0;
  font-size: 2.2rem;
}

.tablet-copy p:last-child {
  color: var(--soft);
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 42px;
  padding: 18px 8px 0;
  color: var(--soft);
}

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

.footer-links a {
  text-decoration: none;
}

.doc-wrap {
  width: min(820px, 100%);
  margin: 42px auto 0;
}

.doc-panel {
  padding: 30px 26px;
}

.doc-panel h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: var(--accent);
}

.doc-panel h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--accent);
}

.doc-panel p,
.doc-panel li {
  color: var(--text);
}

.doc-panel ul {
  margin: 0;
  padding-left: 20px;
}

.doc-soft {
  color: var(--soft);
}

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

  .hero-visual {
    min-height: 660px;
    order: -1;
  }

  .feature-grid,
  .screen-row,
  .tablet-stack {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 10px;
  }

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

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .hero {
    gap: 22px;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-card-main {
    width: 300px;
  }

  .phone-card-side {
    width: 190px;
  }

  .doc-panel {
    padding: 24px 18px;
  }
}
