:root {
  --ink: #172b39;
  --navy: #152737;
  --muted: #536573;
  --paper: #fff;
  --soft: #f2f5f5;
  --line: #d7e0e2;
  --yellow: #f5c752;
  --teal: #b4d4ce;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

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

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

p {
  margin: 0 0 1.2em;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 0.55em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

button {
  font: inherit;
  cursor: pointer;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #b78005;
  outline-offset: 5px;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.section {
  padding-block: 90px;
}

.compact {
  padding-top: 20px;
}

.eyebrow {
  font-family: Consolas, monospace;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.lead {
  font-size: 1.2rem;
  max-width: 720px;
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.center {
  text-align: center;
  margin-top: 38px;
}

.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 99;
  background: var(--yellow);
  padding: 12px;
}

.skip:focus {
  top: 12px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 30px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--yellow);
  font: 700 1.5rem monospace;
  color: var(--ink);
  border-radius: 5px;
  letter-spacing: -0.1em;
  padding-right: 4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.94rem;
}

nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}

.nav-free {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 7px 12px;
}

.hero {
  position: relative;
  background: var(--navy);
  color: white;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-inner {
  min-height: 660px;
  display: flex;
  align-items: center;
  padding-block: 65px;
}

.hero-copy {
  width: 55%;
  max-width: 700px;
}

.hero .eyebrow {
  color: #c7d8dd;
}

.hero h1 {
  font-size: clamp(3.25rem, 5.35vw, 5.45rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--yellow);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 440px;
  color: #ccd8df;
  line-height: 1.75;
}

.actions {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--yellow);
  color: var(--ink);
  padding: 14px 23px;
  min-height: 52px;
  font-weight: 600;
  font-size: 0.93rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}

.button:hover {
  background: #e3b53e;
  text-decoration: none;
  transform: translateY(-2px);
}

.button.dark {
  background: var(--navy);
  color: #fff;
}

.button.dark:hover {
  background: #2e4859;
}

.button.outline {
  border-color: var(--ink);
  background: transparent;
}

.button.outline:hover {
  background: #e4ebec;
}

.text-link {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.light {
  color: white;
}

.hero-meta {
  display: flex;
  gap: 20px;
  font: 0.8rem Consolas, monospace;
  color: #d5e0e5;
  margin-top: 45px;
}

.hero-meta span + span {
  border-left: 1px solid #6b808c;
  padding-left: 20px;
}

.who {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 50px;
}

.who > div {
  max-width: 710px;
}

.who p:not(.eyebrow) {
  color: var(--muted);
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.product-grid {
  display: grid;
  gap: 25px;
}

.home-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 55px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cover-link {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 22px;
  background: #dbe5e8;
}

.cover-link img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: contain;
  transition: transform 0.35s;
}

.cover-link:hover img {
  transform: scale(1.035);
}

.card-meta {
  font: 0.76rem Consolas, monospace;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.25rem;
}

.product-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid #cbd6da;
  gap: 10px;
}

.price {
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.price small {
  font-size: 0.72rem;
  font-weight: 400;
}

.card-bottom a {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.study-banner {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: #dbe8e9;
  min-height: 340px;
}

.study-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.study-banner > div {
  position: relative;
  padding: 55px;
  max-width: 52%;
}

.study-banner .eyebrow {
  font-size: 0.75rem;
}

.study-banner h2 {
  font-size: 2.7rem;
}

.study-banner p:last-child {
  margin: 0;
}

.mission {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 80px;
}

.mission > .eyebrow {
  grid-column: 1 / -1;
}

.mission > div {
  align-self: center;
  color: var(--muted);
}

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

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.benefit-grid article {
  border-top: 1px solid var(--line);
  padding-top: 27px;
}

.benefit-grid svg {
  height: 36px;
  width: 36px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 25px;
}

.benefit-grid p {
  font-size: 0.97rem;
  color: var(--muted);
}

.free-section {
  background: var(--yellow);
  overflow: hidden;
}

.free-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 65px;
}

.free-inner h2 {
  font-size: clamp(2.7rem, 4.5vw, 4.25rem);
}

.free-inner .small {
  margin: 15px 0 0;
}

.free-cover {
  width: 270px;
  justify-self: center;
  transform: rotate(7deg);
  box-shadow: 15px 20px 0 #b98b2044;
  border: 1px solid #28334044;
  border-radius: 4px;
  overflow: hidden;
}

.faq-home {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 65px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  font-size: 1.03rem;
  font-weight: 600;
  list-style: none;
  line-height: 1.5;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  font-weight: 400;
  font-size: 1.5rem;
  flex-shrink: 0;
}

details[open] summary span {
  transform: rotate(45deg);
}

details > p {
  color: var(--muted);
  font-size: 1rem;
  margin: 17px 35px 0 0;
}

.site-footer {
  background: var(--navy);
  color: #d6e1e6;
  padding: 54px 0 25px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #45606e;
  padding-bottom: 35px;
  margin-bottom: 38px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px 60px;
  align-items: start;
}

.footer-grid section > a {
  display: block;
  margin-bottom: 8px;
}

.footer-grid h2 {
  font-size: 1rem;
  letter-spacing: 0;
  color: white;
  margin-bottom: 22px;
}

.footer-grid section > a {
  display: block;
  margin-bottom: 9px;
  font-size: 0.94rem;
}

.footer-grid p {
  font-size: 0.9rem;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #45606e;
  margin-top: 42px;
  padding-top: 22px;
  font-size: 0.79rem;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  gap: 6px;
  align-items: center;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-pending {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 15px;
}

.page-intro {
  padding-block: 70px 40px;
}

.page-intro h1 {
  max-width: 1000px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 90px;
  align-items: start;
}

.prose {
  max-width: 800px;
}

.prose h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 38px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--muted);
}

.prose a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal {
  padding-bottom: 80px;
}

.legal h2 {
  margin-top: 35px;
}

.note-card {
  padding: 35px;
  background: var(--soft);
  border-radius: 7px;
  border-top: 4px solid var(--yellow);
}

.note-card h2 {
  font-size: 2.7rem;
}

.note-card pre {
  overflow: auto;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.note-card .text-link {
  margin-bottom: 20px;
}

.faq-page {
  max-width: 920px;
}

.update {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.update h2 {
  margin-top: 0;
}

.outline-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.1fr;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.outline-number {
  font: 1.5rem monospace;
  color: var(--muted);
}

.outline-row h2 {
  font-size: 1.8rem;
}

.outline-row .small {
  color: var(--muted);
}

.outline-row ul {
  margin: 0;
  padding-left: 20px;
}

.outline-row li {
  margin-bottom: 7px;
}

.product-shell {
  padding-block: 45px 80px;
}

.breadcrumbs {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 35px;
}

.breadcrumbs a {
  text-decoration: underline;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.product-art {
  padding: 35px 55px;
  background: var(--soft);
  border-radius: 7px;
}

.product-art img {
  width: 100%;
  border: 1px solid #18324225;
  border-radius: 4px;
}

.product-info h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.product-info .tagline {
  font-size: 1.4rem;
  line-height: 1.4;
}

.product-info .description {
  color: var(--muted);
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 25px 0;
}

.product-specs dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.product-specs dd {
  margin: 2px 0 0;
  font-size: 0.95rem;
}

.buy-price {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 15px;
}

.buy-price small {
  font-size: 0.9rem;
  letter-spacing: 0;
  font-weight: 400;
}

.product-info .button {
  width: 100%;
  margin-bottom: 15px;
}

.purchase-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.purchase-note a {
  text-decoration: underline;
}

.product-lower {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.product-lower h2 {
  font-size: 2rem;
}

.modules {
  padding-left: 24px;
}

.modules li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.loading-wrap {
  min-height: 550px;
  display: grid;
  place-items: center;
  padding-block: 65px;
}

.loading-panel {
  width: min(100%, 660px);
  text-align: center;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.loading-panel h1 {
  font-size: 2.4rem;
}

.loading-panel p {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.loading-panel .button {
  margin-top: 12px;
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 25px;
  border: 3px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.noscript {
  background: var(--yellow);
  color: var(--ink);
  padding: 20px;
  margin: 0;
}

.error-box {
  grid-column: 1 / -1;
  padding: 30px;
  background: #f5eee4;
  border: 1px solid #d8c9b8;
  border-radius: 6px;
}

.error-box h2 {
  font-size: 1.5rem;
}

.error-box p:last-child {
  margin: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 1600px) {
  .hero-bg {
    object-fit: cover;
  }

  .hero-inner {
    min-height: 720px;
  }
}

@media (max-width: 1150px) {
  .container {
    width: calc(100% - 56px);
  }

  nav {
    gap: 19px;
  }

  .home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 35px;
  }

  .hero-copy {
    width: 57%;
  }

  .hero-inner {
    min-height: 620px;
  }

  .hero-meta {
    gap: 12px;
  }

  .hero-meta span + span {
    padding-left: 12px;
  }

  .study-banner > div {
    padding: 40px;
    max-width: 55%;
  }

  .study-banner h2 {
    font-size: 2.2rem;
  }

  .product-layout,
  .product-lower {
    gap: 40px;
  }

  .product-art {
    padding: 30px;
  }

  .footer-grid {
    gap: 35px;
  }

  .content-grid {
    gap: 40px;
  }
}

@media (max-width: 800px) {
  .nav-row {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 18px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 20px;
    gap: 0;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 12px 4px;
  }

  nav .nav-free {
    padding: 10px 14px;
    margin-top: 10px;
    text-align: center;
  }

  .hero-inner {
    min-height: 630px;
    padding: 55px 0 220px;
    align-items: start;
  }

  .hero-copy {
    width: 100%;
    max-width: 600px;
  }

  .hero-bg {
    object-fit: cover;
    object-position: 67% 50%;
    opacity: 0.16;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 8.3vw, 4.5rem);
  }

  .hero-inner {
    padding-bottom: 55px;
  }

  .hero-meta {
    flex-wrap: wrap;
  }

  .section {
    padding-block: 58px;
  }

  .compact {
    padding-top: 10px;
  }

  .who,
  .mission,
  .faq-home,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mission {
    padding-top: 0;
  }

  .mission > .eyebrow {
    margin-bottom: 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .study-banner > img {
    opacity: 0.22;
  }

  .study-banner > div {
    max-width: 100%;
  }

  .study-banner h2 {
    font-size: 2.7rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .free-inner {
    gap: 30px;
    grid-template-columns: 1.5fr 1fr;
  }

  .free-cover {
    width: 190px;
  }

  .free-inner p br {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 35px;
  }

  .footer-grid section:first-child {
    grid-column: 1 / -1;
  }

  .footer-brand {
    gap: 15px;
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-art {
    max-width: 430px;
    width: 100%;
    margin: auto;
    padding: 25px 50px;
  }

  .product-lower {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-intro {
    padding-top: 50px;
  }

  .outline-row {
    grid-template-columns: 40px 1fr;
    gap: 20px;
  }

  .outline-row ul {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 36px);
  }

  .brand {
    font-size: 1.35rem;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
  }

  .actions {
    gap: 20px;
  }

  .hero-meta {
    font-size: 0.73rem;
    gap: 8px;
  }

  .hero-meta span + span {
    padding-left: 8px;
  }

  .home-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 15px;
  }

  .product-card h3 {
    font-size: 1.15rem;
  }

  .product-card p {
    font-size: 0.89rem;
  }

  .card-meta {
    font-size: 0.7rem;
  }

  .cover-link {
    margin-bottom: 15px;
  }

  .price {
    font-size: 0.92rem;
  }

  .price small {
    font-size: 0.67rem;
  }

  .card-bottom {
    gap: 4px;
  }

  .card-bottom a {
    width: 27px;
    height: 27px;
  }

  .study-banner > div {
    padding: 30px 24px;
  }

  .study-banner h2 {
    font-size: 2.4rem;
  }

  .study-banner p br {
    display: none;
  }

  .benefit-grid {
    gap: 20px;
  }

  .benefit-grid h3 {
    font-size: 1.15rem;
  }

  .free-inner {
    grid-template-columns: 1fr;
    padding-block: 50px;
    gap: 45px;
  }

  .free-cover {
    width: 210px;
  }

  .free-inner h2 {
    font-size: 2.8rem;
  }

  .faq-home {
    gap: 25px;
  }

  .page-intro h1 {
    font-size: 2.6rem;
  }

  .product-art {
    max-width: 360px;
  }

  .product-specs {
    gap: 12px;
  }

  .loading-panel {
    padding: 30px 20px;
  }

  .loading-panel h1 {
    font-size: 2rem;
  }

  .outline-row {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  .outline-row h2 {
    font-size: 1.6rem;
  }

  .note-card {
    padding: 25px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* Social icons in footer */
.site-footer .footer-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 16px;
}

.site-footer .footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d6e1e6;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1;
}

.site-footer .footer-social-links a:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.site-footer .footer-social-links svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  display: inline-block;
  fill: #d6e1e6;
  color: #d6e1e6;
  overflow: visible;
}

