:root {
  --ink: #241d18;
  --ink-soft: #5d5147;
  --paper: #f4eee4;
  --paper-deep: #e7ded1;
  --line: rgba(22, 24, 23, 0.16);
  --dark: #0e1110;
  --dark-soft: #1d2420;
  --cream: #fffaf1;
  --gold: #c89437;
  --copper: #9f6426;
  --green: #7b5222;
  --blue: #3b6d86;
  --surface: rgba(255, 252, 246, 0.72);
  --shadow: 0 18px 54px rgba(52, 41, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Avenir Next, Helvetica Neue, Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(28px, 4vw, 48px);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 248, 236, 0.08);
  background: rgba(8, 12, 10, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.brand-mark,
.site-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  color: var(--cream);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  object-fit: cover;
}

.site-nav {
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 250, 241, 0.92);
  font-size: 0.92rem;
}

.site-nav a:last-child {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.9) 0%, rgba(7, 9, 8, 0.58) 44%, rgba(7, 9, 8, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.08) 52%, rgba(7, 9, 8, 0.78) 100%),
    url("assets/atum-passive-tube-eq-ui.png") center 48% / cover no-repeat;
  transform: scale(1.01);
}

.hero-copy {
  position: relative;
  max-width: 620px;
  padding: 120px clamp(18px, 6vw, 72px) 66px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  font-family: Georgia, Times New Roman, serif;
  line-height: 0.95;
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.4vw, 3.35rem);
  font-family: Georgia, Times New Roman, serif;
  line-height: 1.06;
  font-weight: 500;
}

h3 {
  margin-bottom: 14px;
  font-family: Georgia, Times New Roman, serif;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 28px;
  color: rgba(255, 248, 236, 0.84);
  font-size: clamp(1.04rem, 1.65vw, 1.24rem);
  line-height: 1.56;
}

.hero-actions,
.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.product-actions {
  align-items: flex-start;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary {
  color: #16120a;
  background: var(--gold);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #dfad50;
}

.button.secondary {
  color: var(--cream);
  border-color: rgba(255, 248, 236, 0.48);
  background: rgba(255, 248, 236, 0.06);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--gold);
}

.button.dark {
  color: var(--ink);
  border-color: rgba(22, 24, 23, 0.32);
  background: rgba(255, 255, 255, 0.28);
}

.intro-section,
.product-section,
.details-section,
.community-section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 6vw, 72px);
}

.intro-section {
  background: #f7f1e8;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 6vw, 80px);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.32;
}

.intro-grid p:first-child {
  font-family: Georgia, Times New Roman, serif;
}

.intro-grid p:last-child {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.product-image-wrap {
  position: relative;
  overflow: visible;
  padding: clamp(8px, 1.5vw, 14px);
  border: 1px solid rgba(36, 29, 24, 0.12);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(215, 208, 197, 0.42)),
    #ebe5db;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 38px rgba(52, 41, 31, 0.12);
}

.product-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 0;
  filter: drop-shadow(0 14px 14px rgba(12, 10, 8, 0.2));
}

.product-copy {
  max-width: 440px;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.spec-list {
  display: grid;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.text-link {
  color: var(--green);
  font-weight: 680;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.offer-note {
  flex-basis: 100%;
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.4;
}

.video-demos {
  max-width: 920px;
  margin: clamp(42px, 6vw, 68px) auto 0;
  padding-top: clamp(22px, 3.4vw, 34px);
  border-top: 1px solid var(--line);
}

.video-demos-heading {
  max-width: 620px;
  margin-bottom: 20px;
}

.video-demos-heading h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.video-demos-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.video-demo-grid {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  align-items: start;
}

.video-demo-card {
  width: 100%;
  max-width: 450px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(36, 29, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.62);
  box-shadow: 0 18px 44px rgba(39, 30, 20, 0.08);
}

.video-demo-card video {
  display: block;
  width: 100%;
  max-height: 254px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #090706;
}

.details-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--paper);
}

.detail {
  min-height: 210px;
  padding: clamp(24px, 3.4vw, 36px);
  color: var(--cream);
  border: 0;
  border-radius: 0;
  background: #26302c;
}

.detail:nth-child(2) {
  background: #31483d;
}

.detail:nth-child(3) {
  background: #314e5e;
}

.detail p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.98rem;
  line-height: 1.62;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: #f7f1e8;
  border-top: 1px solid var(--line);
}

.community-copy {
  max-width: 620px;
}

.community-form {
  display: grid;
  gap: 16px;
}

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

.community-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 680;
}

.community-form input {
  width: 100%;
  border: 1px solid rgba(36, 29, 24, 0.2);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 252, 246, 0.72);
  font: inherit;
  font-weight: 400;
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 72px);
  color: #6b5d51;
  border-top: 1px solid rgba(36, 29, 24, 0.1);
  background: rgba(255, 252, 246, 0.72);
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6b5d51;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold);
}

.legal-main {
  min-height: 100svh;
  padding: 136px clamp(18px, 6vw, 72px) 72px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.42), rgba(231, 222, 209, 0.72));
}

.legal-document {
  max-width: 920px;
}

.legal-document h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.legal-document h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.legal-document ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.legal-date {
  margin-bottom: 34px;
  color: var(--copper);
  font-weight: 760;
}

.license-main {
  min-height: 100svh;
  padding: 136px clamp(18px, 6vw, 72px) 72px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.42), rgba(231, 222, 209, 0.72));
}

.license-document {
  max-width: 1180px;
}

.license-document h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.license-intro {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: 34px;
}

.license-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 280px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(36, 29, 24, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.72);
  box-shadow: 0 18px 44px rgba(39, 30, 20, 0.08);
}

.license-panel h2,
.activation-note h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.license-panel p,
.activation-note p {
  margin: 0;
  color: var(--ink-soft);
}

.trial-form {
  display: grid;
  gap: 8px;
}

.trial-form label {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 680;
}

.form-row {
  display: grid;
  gap: 10px;
}

.form-row input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(36, 29, 24, 0.2);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 252, 246, 0.72);
  font: inherit;
}

.serial-result {
  min-height: 48px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.serial-result code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.result-label,
.result-meta {
  display: block;
}

.result-label {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-meta {
  margin-top: 8px;
}

.result-error {
  color: #9b241d;
}

.activation-note {
  max-width: 760px;
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: clamp(24px, 4vw, 34px);
  border-top: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .video-demos {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: center;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 9, 8, 0.92) 0%, rgba(7, 9, 8, 0.56) 42%, rgba(7, 9, 8, 0.9) 100%),
      url("assets/atum-passive-tube-eq-ui.png") center 52% / auto 82% no-repeat;
  }

  .hero-copy {
    padding-top: 140px;
  }

  .intro-grid,
  .product-layout,
  .community-section,
  .details-section,
  .license-grid,
  .video-demo-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: none;
  }

}

@media (max-width: 560px) {
  .site-header {
    flex-direction: row;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 0;
  }

  .brand-mark {
    gap: 9px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .brand-mark span {
    font-size: 0.92rem;
  }

  .site-nav {
    gap: 8px;
    font-size: 0.78rem;
  }

  .site-nav a:last-child {
    padding: 7px 12px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-copy {
    padding-bottom: 46px;
  }

  .button {
    width: 100%;
  }

  .product-actions {
    align-items: stretch;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

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

  .footer-nav {
    justify-content: flex-start;
  }
}
