:root {
  --navy: #0b1f3a;
  --navy-2: #102f57;
  --blue: #064ea3;
  --blue-hover: #003d82;
  --green: #075b34;
  --cream: #f7f1e7;
  --pale-blue: #eaf3ff;
  --white: #ffffff;
  --red: #a20d20;
  --gold: #8a5400;
  --border: #18344f;
  --shadow: 0 16px 40px rgba(11, 31, 58, 0.14);
  --radius: 18px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.cart-open {
  overflow: hidden;
}

a {
  color: var(--blue);
  font-weight: 750;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

a:hover {
  color: var(--blue-hover);
}

button,
input,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 4px solid #ffbf47;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 14px 20px;
  transform: translateY(-150%);
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
}

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

.page-width,
.narrow-width {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow-width {
  width: min(980px, calc(100% - 40px));
}

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--navy);
  line-height: 1.2;
  text-decoration: none;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}

.brand-tagline {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 700;
}

.help-link {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9px 18px;
  border: 3px solid var(--navy);
  border-radius: 14px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.help-link:hover {
  background: var(--pale-blue);
  color: var(--navy);
}

.help-link strong {
  font-size: 19px;
}

.hero {
  padding: 64px 0;
  background: linear-gradient(110deg, var(--white) 0%, var(--white) 58%, var(--cream) 58%, var(--cream) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: clamp(44px, 6vw, 78px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.13;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 62px);
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.018em;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 32px;
  font-weight: 850;
}

.hero-price .old-price {
  font-size: 20px;
  font-weight: 650;
  text-decoration: line-through;
}

.hero-price span:last-child {
  color: var(--green);
  font-size: 18px;
}

.benefit-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  min-height: 38px;
  margin-bottom: 14px;
  padding-left: 42px;
  font-size: 19px;
  font-weight: 650;
}

.benefit-list li::before {
  position: absolute;
  top: -2px;
  left: 0;
  content: "✓";
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.action-center {
  max-width: 560px;
  padding: 20px;
  background: var(--pale-blue);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.button {
  width: 100%;
  min-height: 78px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 17px 24px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button small {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  font-weight: 700;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 5px 0 #002d62;
}

.button-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(1px);
  box-shadow: 0 4px 0 #002d62;
}

.button-secondary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 5px 0 #034a29;
}

.button-secondary:hover {
  background: #034d2a;
  color: var(--white);
}

.payment-note,
.form-security {
  margin: 15px 0 0;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.product-figure {
  margin: 0;
}

.product-figure img {
  width: 100%;
  display: block;
  border: 4px solid var(--navy);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.product-figure figcaption {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.trust-strip {
  padding: 23px 0;
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-grid p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.trust-grid span {
  flex: 0 0 auto;
  color: #66f2a3;
  font-size: 30px;
}

.section {
  padding: 86px 0;
}

.product-details {
  text-align: center;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 44px;
}

.detail-grid article {
  padding: 30px 24px;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  text-align: left;
}

.detail-grid p {
  margin-bottom: 0;
}

.number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 850;
}

.personalize-section {
  background: var(--cream);
  border-block: 3px solid var(--navy);
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.order-intro > p:not(.eyebrow) {
  font-size: 20px;
}

.help-box {
  margin-top: 32px;
  padding: 24px;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
}

.help-box strong {
  font-size: 22px;
}

.help-box p {
  margin: 8px 0 0;
}

.order-form {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

fieldset {
  min-width: 0;
  margin: 0 0 38px;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 17px;
  padding: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.3;
}

.choice-list {
  display: grid;
  gap: 14px;
}

.choice-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 3px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  background: var(--pale-blue);
  box-shadow: 0 0 0 2px var(--navy);
}

.choice-card input {
  width: 26px;
  height: 26px;
  accent-color: var(--blue);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  font-size: 19px;
}

.choice-card small {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 650;
}

.choice-card b {
  font-size: 21px;
}

.field-label {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 750;
}

textarea {
  width: 100%;
  min-height: 142px;
  display: block;
  padding: 17px;
  background: var(--white);
  color: var(--navy);
  border: 3px solid var(--navy);
  border-radius: 12px;
  font-size: 19px;
  line-height: 1.5;
  resize: vertical;
}

textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}

textarea::placeholder {
  color: #3d536b;
  opacity: 1;
}

.field-help,
.field-error,
.name-count {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.field-error {
  color: var(--red);
}

.name-count {
  text-align: right;
}

.quantity-control {
  width: min(100%, 280px);
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  overflow: hidden;
  border: 3px solid var(--navy);
  border-radius: 14px;
}

.quantity-control button {
  min-height: 66px;
  background: var(--pale-blue);
  color: var(--navy);
  border: 0;
  cursor: pointer;
  font-size: 34px;
  font-weight: 850;
}

.quantity-control button:hover {
  background: #d5e8ff;
}

.quantity-control output {
  font-size: 26px;
  font-weight: 850;
  text-align: center;
}

.order-total {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  margin: 0 0 24px;
  padding: 20px;
  background: var(--cream);
  border: 2px solid var(--navy);
  border-radius: 14px;
}

.order-total span {
  font-size: 19px;
  font-weight: 750;
}

.order-total strong {
  font-size: 30px;
}

.order-total small {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: 700;
}

.reviews-section {
  text-align: center;
}

.review-disclosure {
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 14px 18px;
  background: #fff4cf;
  color: #5a3400;
  border: 2px solid #6f4300;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 750;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  margin: 0;
  padding: 30px;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  text-align: left;
}

.stars {
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
}

.review-card blockquote {
  margin: 18px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.55;
}

.review-card figcaption {
  font-size: 18px;
}

.review-card figcaption span {
  display: block;
  margin-top: 5px;
  color: #435970;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guarantee-section {
  background: var(--navy);
  color: var(--white);
}

.guarantee-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 32px;
  align-items: center;
}

.guarantee-card h2 {
  color: var(--white);
}

.guarantee-card p {
  font-size: 19px;
}

.guarantee-mark {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  font-weight: 850;
}

.text-link {
  color: var(--white);
}

.text-link:hover {
  color: #b8dbff;
}

.faq-section h2 {
  text-align: center;
}

details {
  margin: 16px 0;
  border: 3px solid var(--navy);
  border-radius: 14px;
}

summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
  list-style: none;
}

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

summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 34px;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.cart-panel {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100dvh;
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(105%);
  background: var(--white);
  box-shadow: -18px 0 50px rgba(11, 31, 58, 0.28);
  transition: transform 220ms ease, visibility 220ms;
}

.cart-panel[aria-hidden="false"] {
  visibility: visible;
  transform: translateX(0);
}

.cart-panel-inner {
  padding: clamp(28px, 6vw, 58px);
}

.close-cart {
  min-height: 58px;
  margin-bottom: 30px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  border: 3px solid var(--navy);
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.cart-summary {
  display: grid;
  grid-template-columns: 130px 1fr;
  margin: 28px 0;
}

.cart-summary dt,
.cart-summary dd {
  padding: 16px 0;
  border-bottom: 2px solid var(--navy);
}

.cart-summary dt {
  font-weight: 850;
}

.cart-summary dd {
  margin: 0;
  padding-left: 18px;
}

.cart-summary .cart-total-row {
  font-size: 26px;
}

.cart-shipping {
  color: var(--green);
  font-weight: 850;
}

.checkout-disclosure {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.backdrop {
  position: fixed;
  z-index: 190;
  inset: 0;
  background: rgba(3, 13, 24, 0.68);
}

.site-footer {
  padding: 68px 0 28px;
  background: #061426;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 50px;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: inherit;
  font-size: 22px;
  letter-spacing: 0;
}

.footer-brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.site-footer a {
  color: var(--white);
}

.site-footer nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact p,
.footer-contact address {
  margin: 0;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid #96acc5;
  font-size: 18px;
}

.footer-bottom p {
  margin: 6px 0;
}

.launch-note {
  color: #ffe59e;
  font-weight: 750;
}

.policy-main {
  min-height: 60vh;
  padding: 70px 0 90px;
}

.policy-main h1 {
  font-size: clamp(40px, 5vw, 54px);
}

.policy-main h2 {
  margin-top: 44px;
  font-family: inherit;
  font-size: 30px;
}

.policy-main h3 {
  margin-top: 32px;
}

.policy-main li {
  margin-bottom: 10px;
}

.policy-notice {
  margin: 28px 0;
  padding: 20px;
  background: #fff4cf;
  border: 3px solid #6f4300;
  border-radius: 14px;
  color: #4e2d00;
  font-weight: 750;
}

@media (max-width: 900px) {
  .hero {
    background: var(--white);
  }

  .hero-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .product-figure {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .trust-grid,
  .detail-grid,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 14px;
  }

  .trust-grid p {
    justify-content: center;
    text-align: center;
  }

  .detail-grid,
  .review-grid {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 18px;
  }

  .page-width,
  .narrow-width {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding-block: 18px;
  }

  .brand {
    text-align: center;
  }

  .help-link {
    width: 100%;
  }

  .hero {
    padding: 44px 0 54px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .section {
    padding: 62px 0;
  }

  .action-center,
  .order-form {
    margin-inline: -2px;
  }

  .choice-card {
    grid-template-columns: 30px 1fr;
  }

  .choice-card b {
    grid-column: 2;
  }

  .guarantee-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guarantee-mark {
    margin-inline: auto;
  }

  .cart-summary {
    grid-template-columns: 1fr;
  }

  .cart-summary dd {
    padding-top: 0;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
