:root {
  --navy: #071635;
  --navy-deep: #03142e;
  --cream: #fcf8ef;
  --muted: rgba(252, 248, 239, 0.72);
  --line: rgba(252, 248, 239, 0.14);
  --amber: #d7912f;
  --amber-bright: #e3a344;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 47rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

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

a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(215, 145, 47, 0.55);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--amber-bright);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--amber);
  color: var(--navy);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.55rem 0.85rem;
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--navy);
}

.skip-link:focus-visible {
  outline-color: var(--cream);
}

/* Header */

.site-header {
  background: var(--navy-deep);
  border-top: 2px solid var(--amber);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  font-size: 1.075rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--cream);
}

.mark {
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
}

/* Hero and offer */

.hero {
  padding-block: clamp(3.25rem, 9vw, 5.75rem) 0;
}

.offer {
  padding-block: clamp(2.5rem, 6vw, 3.5rem) clamp(3rem, 7vw, 4.5rem);
}

h1 {
  max-width: 14.5em;
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 1.5rem + 3.4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.02rem + 0.3vw, 1.22rem);
  line-height: 1.6;
}

.panel {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
}

.panel h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.panel p {
  margin-bottom: 0;
  max-width: 38rem;
}

.panel p + p {
  margin-top: 0.75rem;
}

.price {
  color: var(--cream);
  font-weight: 500;
}

.example {
  padding-left: 1rem;
  border-left: 2px solid rgba(215, 145, 47, 0.55);
  color: var(--muted);
  font-size: 0.97rem;
  font-variant-numeric: tabular-nums;
}

.panel .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  background: var(--amber);
  color: #071635;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 7px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--amber-bright);
  color: #071635;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline-color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(252, 248, 239, 0.32);
}

.btn-ghost:hover {
  background: rgba(252, 248, 239, 0.06);
  color: var(--cream);
  border-color: rgba(252, 248, 239, 0.6);
}

/* Sections */

.section {
  border-top: 1px solid var(--line);
}

.section .wrap {
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section h2::before {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  flex: none;
  background: var(--amber);
}

.section p {
  margin-bottom: 0;
  max-width: 41rem;
}

.section p + p {
  margin-top: 0.9rem;
}

/* Products */

.products {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: product;
}

.products > li {
  position: relative;
  padding: 1.5rem 0 1.6rem 2.9rem;
  counter-increment: product;
  border-top: 1px solid var(--line);
}

.products > li:last-child {
  padding-bottom: 0;
}

.products > li::before {
  content: counter(product, decimal-leading-zero);
  position: absolute;
  top: 1.55rem;
  left: 0;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.products h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.products p {
  max-width: 38rem;
  color: var(--muted);
}

.products .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 0.8rem;
  font-size: 0.93rem;
}

/* Contact and privacy */

a[href^="mailto:"] {
  word-break: break-word;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  padding-block: 1.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--cream);
  text-decoration-color: rgba(215, 145, 47, 0.7);
}

.footer-inner a:hover {
  color: var(--amber-bright);
}

/* Small screens */

@media (max-width: 32rem) {
  .wrap {
    padding-inline: 1.15rem;
  }

  .panel {
    padding: 1.35rem 1.25rem;
    border-radius: 0 10px 10px 0;
  }

  .products > li {
    padding-left: 2.4rem;
  }

  .panel .actions {
    gap: 0.75rem;
  }

  .btn {
    flex: 1 1 auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
