:root {
  --bg: #f8f6f1;
  --paper: #fffdf8;
  --ink: #252321;
  --muted: #68625b;
  --line: #e6ded2;
  --accent: #b9823d;
  --accent-dark: #795224;
  --sage: #4e6c63;
  --sage-dark: #263f3a;
  --ui-gray: #808080;
  --soft: #efe7da;
  --shadow: 0 18px 44px rgba(62, 52, 38, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(230, 222, 210, 0.85);
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  margin-top: -4px;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
}

.nav a, .footer a { text-decoration: none; }
.nav a:hover, .footer a:hover { color: var(--accent-dark); }

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ui-gray);
  color: #fff;
  box-shadow: 0 12px 30px rgba(128, 128, 128, 0.22);
}

.btn-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--sage-dark);
}

.btn-ghost {
  min-height: 38px;
  padding: 8px 12px;
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-size: 14px;
}

.intro-video {
  padding: 0 clamp(18px, 4vw, 56px);
  background: var(--paper);
  cursor: none;
}

.intro-video video {
  width: 100%;
  max-height: min(62vh, 620px);
  object-fit: cover;
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
  cursor: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px) clamp(46px, 8vw, 88px);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.lead p {
  margin-bottom: 10px;
}

.lead ul {
  margin: 8px 0 0;
  padding-left: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}

.hero__notes li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .72);
  color: var(--muted);
  font-size: 14px;
}

.hero__media {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero__media--video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--sage-dark);
}

.hero__media--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__media--placeholder {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.archive-visual {
  position: relative;
  width: min(78%, 460px);
  aspect-ratio: 4 / 3;
}

.archive-visual span {
  position: absolute;
  display: block;
  width: 58%;
  height: 68%;
  border: 1px solid rgba(121, 82, 36, .18);
  border-radius: 6px;
  background: linear-gradient(145deg, #fffdf8, #e9dfd0);
  box-shadow: 0 18px 36px rgba(62, 52, 38, .12);
}

.archive-visual span:nth-child(1) {
  left: 4%;
  top: 18%;
  transform: rotate(-8deg);
}

.archive-visual span:nth-child(2) {
  left: 24%;
  top: 7%;
  transform: rotate(4deg);
}

.archive-visual span:nth-child(3) {
  left: 42%;
  top: 24%;
  transform: rotate(10deg);
  background: linear-gradient(145deg, #f7efe3, #d8c6aa);
}

.section {
  padding: clamp(28px, 4vw, 48px) clamp(18px, 4vw, 56px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card strong { color: var(--sage-dark); }

.tariff-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.tariff-head h3 {
  max-width: none;
  margin-bottom: 0;
}

.tariff-price {
  width: 230px;
  margin-top: 14px;
  margin-left: 0;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ui-gray);
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.source-materials {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.source-materials h3 {
  margin: 4px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.source-materials p:last-child { margin-bottom: 0; color: var(--muted); }

.photo-collage {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: 8px solid #fff;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(62, 52, 38, .16);
  background: #765033;
}

.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-label::before,
.result-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.comparison-grid { align-items: stretch; }

.video-slot {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(38,63,58,.94), rgba(121,82,36,.78)),
    var(--soft);
  color: #fff;
}

.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ui-gray);
  object-fit: contain;
}

.video-card__copy {
  padding: 20px;
}

.video-card__copy h3 { margin-top: 0; }
.video-card__copy p { margin-bottom: 0; color: var(--muted); }

.video-card__tag {
  padding: 10px 14px;
  background: var(--ui-gray);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.faq-list p {
  max-width: 920px;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.code-showreel {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
}

.code-text p:last-child {
  margin-bottom: 0;
}

.video-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,.32));
}

.video-slot__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
}

.play-mark {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--sage-dark);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step {
  min-height: 210px;
  padding: 22px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.band {
  background: var(--sage-dark);
  color: #fff;
}

.band .eyebrow, .band .muted { color: rgba(255,255,255,.72); }
.band .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.band .card strong { color: #fff; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a {
  justify-content: flex-start;
  width: 100%;
}

.notice {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .74);
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) 18px;
}

.legal-layout h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.legal-layout h2 {
  margin-top: 32px;
  font-size: 28px;
}

.legal-layout ul { padding-left: 22px; }

.footer {
  padding: 36px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer nav {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer small {
  display: block;
  max-width: 1180px;
  margin: 28px auto 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header { align-items: flex-start; }
  .nav { display: none; }
  .hero, .section-heading, .contact-panel { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__media img { min-height: 300px; }
  .hero__notes, .grid-3, .media-grid, .steps, .footer-grid, .code-showreel { grid-template-columns: 1fr; }
  .source-materials { grid-template-columns: 1fr; }
  .tariff-price { width: 220px; }
}

@media (max-width: 560px) {
  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 10px;
  }
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .header-actions .btn-secondary { display: inline-flex; }
  .site-header .btn {
    width: auto;
    min-height: 40px;
    padding: 10px 14px;
    white-space: nowrap;
  }
  .hero { padding-top: 30px; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .video-slot { min-height: 280px; }
  .photo-collage { border-width: 4px; }
  .tariff-price {
    width: 100%;
    justify-self: stretch;
  }
}
