/* =========================================================
   AuditTailor landing page
   Plain CSS, kept intentionally small and easy to modify.
   ========================================================= */

:root {
  --bg: #ffffff;
  --soft: #faf8f9;
  --ink: #2f1f32;
  --text: #534b55;
  --muted: #777078;
  --accent: #bf3260;
  --border: #e9e5e7;
  --container: 1080px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}

p {
  margin-bottom: 18px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.label {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand span span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #655d67;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.nav-button {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
}

/* Buttons / links */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

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

.button-secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--ink);
}

.text-link {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
}

/* Hero */
.hero {
  padding: 68px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 820px;
}

.lede {
  max-width: 720px;
  margin-bottom: 26px;
  color: #625a64;
  font-size: 1.12rem;
}

.hero-disclaimer {
  margin: 12px 0 0;
  color: #8a838b;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.hero-disclaimer span {
  margin: 0 0.28em;
  color: #b2acb2;
}

.hero-logo {
  width: 230px;
  justify-self: end;
}

.hero-media {
  margin-top: 58px;
}

/* Shared media */
.media-shell {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.product-media {
  width: 100%;
  height: auto;
}

.media-placeholder {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fbfafb;
  color: var(--muted);
  text-align: center;
}

.media-placeholder.compact {
  min-height: 330px;
}

.media-placeholder strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.05rem;
}

.media-placeholder span {
  max-width: 520px;
  margin-bottom: 12px;
}

.media-placeholder code {
  color: var(--accent);
  font-size: 0.82rem;
}

/* Main sections */
.section {
  padding: 86px 0;
  border-top: 1px solid var(--border);
}

.section-soft {
  background: var(--soft);
}

.section-title {
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 70px;
}

.feature-list span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.demo-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 58px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.demo-row:last-child {
  padding-bottom: 0;
}

.demo-row.reverse .demo-copy {
  order: 2;
}

.demo-row.reverse .media-shell {
  order: 1;
}

.demo-copy p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
}

.demo-copy .small-note {
  margin-top: 16px;
  font-size: 0.9rem;
}

.licensed-title {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 26px;
}

.licensed-title > p {
  max-width: 610px;
  margin-bottom: 4px;
  color: var(--muted);
}

/* Install / footer */
.install-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.install-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.install-row h2 {
  margin-bottom: 5px;
  font-size: 1.55rem;
}

.install-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}

.footer-disclaimer {
  max-width: 760px;
  justify-self: end;
  text-align: right;
}

/* Responsive */
@media (max-width: 820px) {
  .hero-grid,
  .demo-row,
  .licensed-title {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 180px;
    justify-self: start;
  }

  .demo-row,
  .licensed-title {
    gap: 28px;
  }

  .demo-row.reverse .demo-copy,
  .demo-row.reverse .media-shell {
    order: initial;
  }

  .feature-list {
    margin-bottom: 50px;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-media {
    margin-top: 42px;
  }

  .section {
    padding: 66px 0;
  }

  .demo-row {
    padding: 38px 0;
  }

  .media-placeholder,
  .media-placeholder.compact {
    min-height: 270px;
    padding: 28px 20px;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-disclaimer {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
}

.media-header > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.media-header strong {
  font-size: 14px;
  font-weight: 600;
}

.media-header span {
  font-size: 13px;
  color: var(--muted);
}

.media-header .media-duration {
  flex-shrink: 0;
  font-size: 12px;
  font-family: monospace;
}

.product-media {
  display: block;
  width: 100%;
}

.footer-row {
  display: block;
}

.footer-disclaimer {
  margin: 0 auto;
  max-width: 850px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* =========================================================
   LICENCE PAGE
   ========================================================= */

.license-container {
  max-width: 960px;
}

/* Intro */

.license-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.license-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
}

.license-hero .lede {
  max-width: 700px;
  margin-bottom: 0;
}


/* Individual steps */

.license-step {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.license-step.section-soft {
  background: var(--surface-soft);
}


/* Step heading */

.step-heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border: 1px solid var(--border);
  border-radius: 50%;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  color: var(--accent);
  background: #fff;
}

.step-heading h2 {
  margin: 1px 0 7px;
  font-size: 26px;
}

.step-heading p {
  margin: 0;
  color: var(--muted);
}


/* Content underneath each heading */

.step-content {
  margin-left: 60px;
  max-width: 820px;
}

.step-copy {
  max-width: 680px;
  margin-bottom: 28px;
}

.step-copy p {
  margin-top: 0;
}

.small-note {
  font-size: 14px;
  color: var(--muted);
}


/* Activation instructions */

.activation-steps {
  margin: 0;
  padding-left: 20px;
}

.activation-steps li {
  padding-left: 6px;
  margin-bottom: 8px;
}


/* Screenshots */

.license-step .media-shell {
  margin-top: 28px;
}

.license-step .media-header {
  padding: 16px 20px;
}

.license-step .media-placeholder {
  min-height: 300px;
}


/* Final section */

.license-complete {
  padding: 56px 0 64px;
}

.license-complete h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.license-complete p {
  margin: 0 0 14px;
  color: var(--muted);
}


/* Mobile */

@media (max-width: 760px) {
  .license-hero {
    padding: 52px 0 42px;
  }

  .license-step {
    padding: 48px 0;
  }

  .step-heading {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .step-number {
    width: 32px;
    height: 32px;
  }

  .step-heading h2 {
    font-size: 22px;
  }

  .step-content {
    margin-left: 50px;
  }
}

@media (max-width: 520px) {
  .step-content {
    margin-left: 0;
  }
}

.license-notice {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}

.license-notice strong {
  flex-shrink: 0;
}

.license-notice span {
  color: var(--muted);
}

/* Contact page */

.contact-section {
  padding: 80px 0 100px;
  min-height: 65vh;
}

.contact-container {
  max-width: 850px;
}

.contact-section h1 {
  margin: 8px 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
}

.contact-section .lede {
  max-width: 720px;
}

.contact-card {
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-card p {
  margin: 0 0 6px;
  color: var(--muted);
}

.contact-card a {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card .contact-note {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 14px;
}