:root {
  --bg: #f6f8fc;
  --bg-soft: #eef3f9;
  --panel: #ffffff;
  --panel-2: #f9fbff;
  --text: #0f172a;
  --muted: #526277;
  --line: #d9e3f0;
  --line-strong: #c4d3e6;
  --accent: #2f8cff;
  --accent-2: #0d5bd1;
  --accent-soft: #eaf3ff;
  --success: #1f7ae0;
  --header-bg: #07101c;
  --header-text: #edf4ff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(47, 140, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 16, 28, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.nav {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: min-height 0.28s ease;
}

.brand-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--header-text);
  text-decoration: none;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition:
    padding 0.28s ease,
    gap 0.28s ease,
    background 0.28s ease,
    transform 0.28s ease;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 7px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition:
    width 0.28s ease,
    height 0.28s ease,
    padding 0.28s ease,
    border-radius 0.28s ease;
}

.brand-text {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  line-height: 1;
  transition: font-size 0.28s ease;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  transition: gap 0.28s ease;
}

.nav-links a {
  color: rgba(237, 244, 255, 0.84);
  transition: color 0.2s ease, opacity 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
}

.site-header.scrolled {
  background: rgba(7, 16, 28, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.site-header.scrolled .nav {
  min-height: 78px;
}

.site-header.scrolled .brand-with-logo {
  gap: 12px;
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.04);
}

.site-header.scrolled .brand-logo {
  width: 42px;
  height: 42px;
  padding: 5px;
  border-radius: 10px;
}

.site-header.scrolled .brand-text {
  font-size: 1.10rem;
}

.site-header.scrolled .nav-links {
  gap: 18px;
}

/* Hero */

.hero {
  padding: 88px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.04;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 14px;
}

.hero-note {
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 24px;
}

.hero-actions,
.sample-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(47, 140, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: #f8fbff;
}

/* Shared cards */

.hero-card,
.card,
.step,
.contact-form,
.sample-viewer,
.value-item,
.sample-tab,
.sample-point {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Hero logo card */

.hero-logo-card {
  padding: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(47, 140, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-logo {
  width: min(100%, 320px);
  max-height: 320px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 12px 28px rgba(13, 91, 209, 0.12));
}

.hero-logo-copy h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--text);
}

.hero-logo-copy p {
  margin: 0;
  color: var(--muted);
}

/* Value strip */

.value-strip {
  padding: 0 0 24px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-item {
  padding: 18px 20px;
  text-align: center;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(13, 91, 209, 0.025), rgba(13, 91, 209, 0.01));
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Samples */

.samples-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
}

.sample-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sample-tab {
  text-align: left;
  color: var(--text);
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  background: #ffffff;
  width: 100%;
}

.sample-tab.active {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, rgba(47, 140, 255, 0.10), rgba(47, 140, 255, 0.04)),
    var(--panel-2);
  box-shadow: inset 0 0 0 1px rgba(47, 140, 255, 0.08);
}

.sample-viewer {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.sample-preview {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.sample-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-meta h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.sample-meta p {
  color: var(--muted);
}

.sample-points {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.sample-point {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.sample-point strong {
  display: block;
  margin-bottom: 4px;
}

/* Cards and steps */

.cards,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.step {
  padding: 22px;
}

.card h3,
.step h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p,
.step p {
  color: var(--muted);
}

.step-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.direct-mail {
  font-weight: 700;
}

.contact-form {
  padding: 22px;
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  padding: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--accent-2);
  font-weight: 600;
}

/* Footer */

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Large tablet */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    max-width: 760px;
    margin: 0 auto;
  }

  .samples-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Tablet */

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.scrolled .nav {
    min-height: auto;
  }

  .brand-with-logo {
    width: fit-content;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .value-grid,
  .contact-layout,
  .samples-layout,
  .sample-viewer {
    grid-template-columns: 1fr;
  }

  .sample-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sample-tab {
    width: auto;
    flex: 1 1 220px;
  }
}

/* Mobile */

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .sample-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .brand-with-logo {
    gap: 10px;
    padding: 8px 12px 8px 8px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text {
    font-size: 1.18rem;
  }

  .site-header.scrolled .brand-logo {
    width: 40px;
    height: 40px;
  }

  .site-header.scrolled .brand-text {
    font-size: 1.02rem;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .section {
    padding: 56px 0;
  }

  .sample-viewer,
  .card,
  .step,
  .contact-form,
  .hero-logo-card {
    padding: 18px;
  }

  .sample-preview {
    min-height: 220px;
  }

  .value-item {
    border-radius: 18px;
  }

  .footer-row {
    flex-direction: column;
  }
}

/* Small mobile */

@media (max-width: 420px) {
  .container {
    width: min(var(--max), calc(100% - 16px));
  }

  .brand-text {
    font-size: 1.06rem;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    padding: 6px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }

  .nav-links a {
    font-size: 0.92rem;
  }

  .sample-tab {
    flex: 1 1 100%;
  }

  .sample-preview {
    min-height: 190px;
  }

.sample-source {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}


  .hero-actions .btn,
  .sample-actions .btn {
    min-height: 46px;
  }
}