/*
Theme Name: Peptorix Offer
Description: A single-offer WordPress landing page for Peptorix’s buy-one-get-one-free promotion.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peptorix-offer
*/

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102838;
  --muted: #425b68;
  --navy: #091d2b;
  --mint: #b8f3df;
  --teal: #105e55;
  --paper: #f3f9f8;
  --line: #cbdcda;
  --shell: min(1120px, 100% - 112px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 Inter, system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2e9c8c; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
svg { flex: none; }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }
.screen-reader-text:focus { z-index: 20; top: 8px; left: 8px; width: auto; height: auto; padding: 10px 16px; clip-path: none; color: var(--navy); background: white; }
#offer-details, #offer-verification { scroll-margin-top: 24px; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #f6fcff; background: var(--navy); }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 82% 48%, #13495b 0%, transparent 48%), linear-gradient(115deg, #081b29 34%, #113445 100%);
  content: "";
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 48%;
  background-image: linear-gradient(#b6f6ed13 1px, transparent 1px), linear-gradient(90deg, #b6f6ed13 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, black 74%);
  content: "";
}
.masthead { position: relative; z-index: 1; display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid #d4ffff2b; }
.brand { display: inline-flex; flex: none; }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid #c5fff23a; border-radius: 12px; background: #b0f4f21a; }
.brand-mark img { width: 25px; height: 28px; }
.masthead nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 44px); }
.nav-link { display: inline-flex; align-items: center; gap: 7px; color: #e0f5f6; font-size: 13px; font-weight: 650; text-decoration: none; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-link--cta { color: var(--mint); }

.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 494px; align-items: center; gap: 38px; padding-block: 55px 69px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: 11px; font-weight: 760; line-height: 1.45; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { width: 19px; height: 1px; background: currentColor; content: ""; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { margin-block: 24px; font-size: clamp(52px, 6.05vw, 89px); font-weight: 780; line-height: .99; letter-spacing: -.075em; }
.hero h1 span { display: block; color: var(--mint); }
.hero-lead { color: #d3e8ed; font-size: clamp(16px, 1.55vw, 20px); }
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 18px; margin-top: 29px; }
.button { display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: 24px; padding: 12px 22px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 750; text-decoration: none; cursor: pointer; }
.button--mint { color: var(--navy); background: var(--mint); }
.button--mint:hover { background: #d8ffef; }
.button--dark { color: white; background: #0e514e; }
.button--dark:hover { background: #123e3c; }
button:focus-visible { outline: 3px solid #2e9c8c; outline-offset: 4px; }
.button--dark:disabled { color: #455f63; background: #d9e8e6; cursor: default; }
.action-note { color: #c4dee5; font-size: 13px; }

.hero-art { position: relative; display: grid; width: min(100%, 390px); aspect-ratio: 1; justify-self: end; place-items: center; }
.orbit { position: absolute; display: grid; width: 94%; aspect-ratio: 1; place-items: center; border: 1px solid #a8e6de48; border-radius: 50%; }
.orbit::before, .orbit::after { position: absolute; aspect-ratio: 1; border: 1px solid #a8e6de38; border-radius: 50%; content: ""; }
.orbit::before { width: 79%; }
.orbit::after { width: 63%; border-style: dashed; }
.art-axis { position: absolute; inset: 50% -5% auto; border-top: 1px solid #a8e6de45; }
.art-axis--vertical { inset: -5% 50%; border-top: 0; border-left: 1px solid #a8e6de45; }
.art-point { position: absolute; top: 17%; right: 19%; width: 7px; height: 7px; border-radius: 50%; background: #b8f3df; box-shadow: 0 0 18px #9ae9df; }
.art-point--second { inset: auto auto 14% 23%; width: 5px; height: 5px; background: #77c5dd; }
.hero-emblem { position: relative; width: 43%; height: auto; filter: drop-shadow(0 16px 35px #030e1a9e); }

.offer-strip { color: #102f32; background: var(--mint); }
.offer-strip .shell { display: flex; min-height: 60px; align-items: center; justify-content: center; gap: 0; margin-block: 0; padding: 10px 0; list-style: none; }
.offer-strip li { display: flex; flex: 1; align-items: center; justify-content: center; gap: 9px; padding: 4px 16px; text-align: center; font-size: 13px; font-weight: 690; line-height: 1.35; }
.offer-strip li + li { border-inline-start: 1px solid #205e5752; }

.details { padding-block: 74px 85px; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(38px, 7vw, 105px); }
.details h2 { max-width: 12ch; margin-block: 16px; font-size: clamp(38px, 5vw, 60px); font-weight: 760; line-height: 1.05; letter-spacing: -.065em; }
.verification { padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: white; }
.verification:focus { outline: 2px solid #2e9c8c; outline-offset: 4px; }
.verification h3 { font-size: 17px; line-height: 1.4; }
.verification p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.verification-form { margin-top: 14px; }
.verification-form .button, .verification > .button { margin-top: 14px; }
.verification .verification-error { color: #972f3d; }
.verification-status:empty { margin: 0; }
.verification-retry { display: block; margin-top: 8px; padding: 2px 0; border: 0; color: var(--teal); background: none; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.verification-retry[hidden] { display: none; }
.steps { overflow: hidden; margin: 0; padding: 4px 24px; border: 1px solid var(--line); border-radius: 19px; background: white; list-style: none; }
.steps li { display: flex; align-items: center; gap: 15px; padding: 16px 0; }
.steps li + li { border-top: 1px solid #dce8e7; }
.step-number { display: grid; width: 34px; height: 34px; flex: none; place-items: center; border: 1px solid #c7e5df; border-radius: 50%; color: #1b6258; background: #eef9f6; font-size: 12px; font-weight: 750; }
.steps strong { display: block; font-size: 15px; }
.steps p { color: var(--muted); font-size: 13px; line-height: 1.5; }

.site-footer { border-top: 1px solid var(--line); background: #e9f3f2; }
.footer-row { display: flex; min-height: 86px; align-items: center; padding-block: 17px; }
.footer-brand img { width: 21px; height: auto; }
.site-content { min-height: 65vh; padding-block: 45px; }
.site-content article { max-width: 72ch; margin-block: 18px; }

@media (max-width: 880px) {
  :root { --shell: min(720px, 100% - 64px); }
  .hero-grid { min-height: 430px; gap: 22px; }
  .hero h1 { font-size: clamp(48px, 7.7vw, 68px); }
}

@media (max-width: 610px) {
  :root { --shell: calc(100% - 40px); }
  .masthead { min-height: 68px; gap: 12px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 9px; }
  .brand-mark img { width: 20px; height: 22px; }
  .nav-link--details { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; padding-block: 49px 19px; }
  .hero h1 { margin-block: 18px; font-size: clamp(47px, 11vw, 65px); }
  .hero-action { margin-top: 23px; }
  .hero-art { width: min(49%, 181px); margin-right: 7%; margin-top: -3px; }
  .hero::after { inset-inline-start: 32%; background-size: 30px 30px; }
  .offer-strip .shell { width: 100%; }
  .offer-strip li { padding-inline: 7px; font-size: 11px; }
  .details { padding-block: 47px 53px; }
  .details-grid { grid-template-columns: 1fr; gap: 29px; }
  .verification { padding: 16px; }
  .footer-row { min-height: 74px; }
}
