:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #626262;
  --line: #dedede;
  --soft: #f6f6f6;
  --surface: #ffffff;
  --accent: #087ce3;
  --accent-dark: #0567bd;
  --success: #157047;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-card: 0 18px 48px rgb(0 0 0 / 0.10);
  font-synthesis: none;
}

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

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  translate: 0 -160%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: translate 160ms ease;
}

.skip-link:focus {
  translate: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-frame {
  min-height: 100dvh;
  background: var(--surface);
}

.mobile-header {
  position: sticky;
  z-index: 50;
  inset-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.04);
  backdrop-filter: blur(18px) saturate(150%);
}

.mobile-brand {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.mobile-brand img {
  width: min(230px, 68vw);
  height: auto;
}

.mobile-menu {
  position: relative;
  flex: 0 0 auto;
}

.mobile-menu summary {
  display: grid;
  width: 46px;
  height: 46px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 16px rgb(0 0 0 / 0.06);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111;
  transition: rotate 160ms ease, translate 160ms ease, opacity 160ms ease;
}

.mobile-menu[open] summary span:nth-child(1) {
  translate: 0 7px;
  rotate: 45deg;
}

.mobile-menu[open] summary span:nth-child(2) {
  opacity: 0;
}

.mobile-menu[open] summary span:nth-child(3) {
  translate: 0 -7px;
  rotate: -45deg;
}

.mobile-menu nav {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  display: grid;
  width: min(260px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.mobile-menu nav a {
  min-height: 52px;
  padding: 14px 18px;
  border-bottom: 1px solid #ececec;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.home-grid {
  display: flex;
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 28px max(16px, env(safe-area-inset-right)) calc(124px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  flex-direction: column;
  gap: 26px;
}

.sales-column {
  display: contents;
}

.desktop-brand {
  display: none;
}

.intro-copy {
  order: 1;
  text-align: center;
}

.intro-copy .eyebrow,
.showcase-heading .eyebrow,
.checkout-dialog .eyebrow {
  margin: 0 0 10px;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.intro-copy h1 {
  max-width: 13ch;
  margin: 0 auto 18px;
  font-size: clamp(2.2rem, 10vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.intro-copy > p:last-child {
  max-width: 660px;
  margin: 0 auto;
  color: #444;
  font-size: clamp(1rem, 3.9vw, 1.15rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.purchase-card {
  order: 2;
  padding: 26px 22px 22px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% -20%, rgb(8 124 227 / 0.15), transparent 52%),
    #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.purchase-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.price {
  margin: 9px 0 18px;
  font-size: clamp(2.8rem, 15vw, 4.1rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1;
}

.buy-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border: 1px solid rgb(0 0 0 / 0.10);
  border-radius: 15px;
  background: var(--accent);
  box-shadow: 0 10px 24px rgb(8 124 227 / 0.27), inset 0 1px 0 rgb(255 255 255 / 0.25);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, translate 160ms ease, box-shadow 160ms ease;
}

.buy-button:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 28px rgb(8 124 227 / 0.31), inset 0 1px 0 rgb(255 255 255 / 0.25);
  translate: 0 -1px;
}

.buy-button:active {
  translate: 0 1px;
}

.buy-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.payment-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.benefits {
  order: 3;
}

.benefits ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.benefits li {
  display: grid;
  min-height: 116px;
  align-content: start;
  gap: 12px;
  padding: 17px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  background: var(--soft);
  color: #292929;
  font-size: 0.86rem;
  font-weight: 730;
  line-height: 1.35;
}

.benefit-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
}

.benefit-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.font-showcase {
  order: 4;
  min-width: 0;
}

.showcase-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 16px;
  margin-bottom: 14px;
}

.showcase-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.showcase-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 6vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.showcase-heading > a {
  min-height: 44px;
  align-content: center;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.sample-panel {
  display: flex;
  width: calc(100% + 32px);
  margin-inline: -16px;
  padding: 2px 16px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 16px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  gap: 12px;
}

.sample-panel::-webkit-scrollbar {
  display: none;
}

.sample-panel figure {
  display: flex;
  min-height: 142px;
  margin: 0;
  padding: 17px 16px 14px;
  flex: 0 0 min(84vw, 360px);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.05);
}

.sample-panel figure img {
  width: auto;
  max-width: none;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.sample-panel figcaption {
  padding-top: 10px;
  color: #555;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-copy {
  order: 5;
  display: grid;
  gap: 0;
  padding: 22px;
  border: 1px solid #e1e1e1;
  border-radius: var(--radius-lg);
  background: #fafafa;
}

.detail-copy p {
  margin: 0;
  padding-block: 17px;
  border-bottom: 1px solid #e4e4e4;
  color: #474747;
  font-size: 0.98rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.detail-copy p:first-child {
  padding-top: 0;
}

.detail-copy p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.site-footer {
  padding: 4px 16px calc(112px + env(safe-area-inset-bottom));
  color: #5e5e5e;
  font-size: 0.83rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.site-footer a {
  min-height: 44px;
  align-content: center;
  font-weight: 700;
}

.mobile-copyright {
  margin: 8px 0 0;
}

.sticky-purchase {
  position: fixed;
  z-index: 45;
  inset-inline: 0;
  inset-block-end: 0;
  display: grid;
  min-height: 80px;
  align-items: center;
  padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-top: 1px solid rgb(0 0 0 / 0.12);
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 -10px 30px rgb(0 0 0 / 0.10);
  backdrop-filter: blur(18px) saturate(150%);
  transition: translate 180ms ease, opacity 180ms ease;
}

.sticky-purchase.is-hidden {
  pointer-events: none;
  opacity: 0;
  translate: 0 110%;
}

.sticky-purchase > div {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.sticky-purchase > div span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-purchase > div strong {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.sticky-purchase > a {
  display: grid;
  min-height: 50px;
  padding-inline: 18px;
  place-items: center;
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.checkout-dialog {
  width: min(92vw, 480px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgb(0 0 0 / 0.34);
}

.checkout-dialog::backdrop {
  background: rgb(0 0 0 / 0.55);
  backdrop-filter: blur(5px);
}

.checkout-dialog form {
  position: relative;
  padding: 30px;
}

.checkout-dialog h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.checkout-dialog p:not(.eyebrow) {
  margin: 0 0 20px;
  color: #555;
}

.checkout-dialog code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #ececec;
  color: #222;
  font-size: 0.88em;
}

.dialog-close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.6rem;
  line-height: 1;
}

.dialog-action {
  min-height: 48px;
  cursor: pointer;
  padding-inline: 20px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 359px) {
  .mobile-header {
    min-height: 70px;
  }

  .mobile-brand img {
    width: 188px;
  }

  .benefits ul {
    grid-template-columns: 1fr;
  }

  .benefits li {
    min-height: 0;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .sticky-purchase > a {
    padding-inline: 13px;
    font-size: 0.84rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-header {
    padding-inline: 28px;
  }

  .mobile-brand img {
    width: 290px;
  }

  .home-grid {
    padding-inline: 28px;
    gap: 30px;
  }

  .intro-copy h1 {
    max-width: 14ch;
  }

  .purchase-card {
    padding-inline: 44px;
  }

  .benefits ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .benefits li {
    min-height: 150px;
  }

  .sample-panel {
    width: calc(100% + 56px);
    margin-inline: -28px;
    padding-inline: 28px;
    scroll-padding-inline: 28px;
  }

  .sample-panel figure {
    flex-basis: 44%;
  }

  .detail-copy {
    padding: 30px;
  }

  .site-footer {
    padding-inline: 28px;
  }
}

/*
 * Desktop parity lock.
 * At 1024px and wider the page returns to the live site's fixed 1000px,
 * two-column composition. Mobile/tablet components are removed.
 */
@media (min-width: 1024px) {
  html {
    scroll-behavior: auto;
  }

  body {
    min-width: 1000px;
    overflow-x: auto;
    background: #e6e6e6;
    color: #181818;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    text-rendering: auto;
  }

  .mobile-header,
  .sticky-purchase,
  .showcase-heading,
  .intro-copy .eyebrow,
  .benefit-icon,
  .payment-note,
  .mobile-copyright {
    display: none;
  }

  .site-frame {
    width: 1000px;
    min-height: 100vh;
    margin-inline: auto;
    background: #fff;
    box-shadow: 0 0 6px rgb(0 0 0 / 0.08);
  }

  .home-grid {
    display: grid;
    width: 920px;
    margin: 0 30px 0 50px;
    padding: 20px 0 36px;
    grid-template-columns: 450px 450px;
    column-gap: 20px;
    align-items: start;
  }

  .font-showcase {
    width: 450px;
    min-width: 450px;
    order: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .sales-column {
    display: flex;
    width: 450px;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
  }

  .sales-column > * {
    order: 0;
  }

  .sample-panel {
    display: block;
    width: 450px;
    min-height: 1000px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #a7a7a7;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  .sample-panel figure {
    display: block;
    width: 450px;
    min-height: 0;
    height: 80px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  .sample-panel figure img {
    display: block;
    width: 740px;
    max-width: none;
    height: 90px;
    object-fit: initial;
  }

  .sample-panel figure:nth-child(3) img {
    width: 580px;
    height: auto;
  }

  .sample-panel figure:nth-child(9) img {
    width: 650px;
    height: auto;
  }

  .sample-panel figcaption {
    display: none;
  }

  .desktop-brand {
    display: block;
    width: 450px;
    height: 70px;
  }

  .desktop-brand img {
    width: 450px;
    max-width: none;
    height: 70px;
  }

  .intro-copy h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .intro-copy {
    margin: 17px 0 0;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
  }

  .intro-copy > p:last-child,
  .detail-copy p {
    max-width: none;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-wrap: wrap;
  }

  .intro-copy > p:last-child {
    margin: 0 0 20px;
  }

  .detail-copy {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .detail-copy p {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
  }

  .benefits {
    margin: -2px 0 0;
  }

  .benefits ul {
    display: block;
    margin: 0;
    padding: 0 0 0 49px;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    list-style: disc;
  }

  .benefits li {
    display: list-item;
    min-height: 0;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
  }

  .purchase-card {
    margin: 25px 0 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .purchase-kicker {
    display: none;
  }

  .purchase-card h2 {
    margin: 0 0 1px;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
  }

  .price {
    margin: 0 0 14px;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
  }

  .buy-button {
    width: 320px;
    min-height: 48px;
    margin-inline: auto;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    background: #087ce3;
    box-shadow: none;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: none;
  }

  .buy-button:hover,
  .buy-button:active {
    background: #087ce3;
    box-shadow: none;
    translate: none;
  }

  .buy-button svg {
    display: none;
  }

  .site-footer {
    width: 930px;
    margin-inline: auto;
    padding: 0 0 28px;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-align: center;
  }

  .site-footer nav {
    gap: 4px;
  }

  .site-footer a {
    min-height: 0;
    font-weight: 400;
  }
}

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

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