@font-face {
  font-family:'DM Sans';
  src:url('assets/fonts/dm-sans-reference-latin.woff2') format('woff2');
  font-style:normal;
  font-weight:400 700;
  font-display:swap
}

:root {
  --purple:#6237c8;
  --ink:#111;
  --muted:#555a64;
  --line:#e4e6ea;
  --pale:#f5f1fd
}

* {
  box-sizing:border-box
}

html {
  color-scheme:light;
  scroll-behavior:smooth
}

body {
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:'DM Sans',Arial,sans-serif;
  font-size:15px;
  font-optical-sizing:auto;
  line-height:1.6
}

button,input {
  font:inherit
}

button,a,input {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

a {
  color:var(--purple);
  text-underline-offset:4px
}

button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #6237c8;
  outline-offset:4px
}

.skip-link {
  position:absolute;
  z-index:20;
  left:16px;
  top:-80px;
  background:#fff;
  padding:12px 16px;
  border:2px solid var(--purple);
  border-radius:5px
}

.skip-link:focus {
  top:12px
}

.brand-strip {
  min-height:67px;
  padding:16px 24px;
  background:linear-gradient(110deg,#7646d8 0%,#6237c8 70%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px
}

.wordmark {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:inherit;
  text-decoration:none;
  font-size:22px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.7px
}

.wordmark svg {
  flex:none
}

.wordmark img {
  display:block;
  flex:none
}

.brand-strip a:focus-visible {
  outline-color:#fff
}

.strip-description {
  font-size:13px;
  letter-spacing:.01em;
  border-left:1px solid #ffffff5c;
  padding-left:25px
}

.checkout-main {
  padding:39px 20px 0
}

.checkout-heading {
  text-align:center;
  margin:0 auto 31px;
  max-width:700px
}

.eyebrow {
  font-size:11px;
  letter-spacing:.1em;
  font-weight:700;
  color:var(--purple);
  margin:0 0 8px
}

h1 {
  font-size:29px;
  line-height:1.3;
  letter-spacing:-.02em;
  margin:0 0 10px;
  font-weight:700
}

.checkout-heading>p:last-child {
  margin:0;
  color:var(--muted);
  font-size:15px
}

.checkout-shell {
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:20px;
  border-radius:15px;
  box-shadow:0 4px 30px #18122d12,0 0 2px #18122d0d;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,528px);
  gap:32px;
  align-items:start
}

.product-column {
  padding:9px 18px 8px 8px;
  min-width:0
}

.preview-label {
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--purple)
}

h2,h3,p,figure,dl {
  margin-top:0
}

.product-intro h2 {
  max-width:390px;
  font-size:26px;
  line-height:1.3;
  letter-spacing:-.025em;
  margin:8px 0 11px;
  font-weight:700
}

.product-intro p {
  color:var(--muted);
  font-size:14px;
  max-width:390px;
  margin-bottom:22px
}

.workbook-preview {
  margin:0 0 25px
}

.preview-trigger {
  width:100%;
  display:block;
  position:relative;
  border:1px solid var(--line);
  border-radius:9px;
  background:#f8f9fa;
  padding:14px 24px 43px;
  overflow:hidden
}

.preview-trigger>img {
  display:block;
  width:100%;
  max-width:352px;
  height:auto;
  margin:0 auto;
  box-shadow:0 2px 9px #11111115;
  border:1px solid #e6e6e6
}

.enlarge-label {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  font-size:11px;
  font-weight:650;
  background:#ffffffed;
  color:#38343f;
  border-top:1px solid var(--line)
}

figcaption {
  font-size:10px;
  color:#666b73;
  margin:7px 0 0;
  text-align:center
}

.contents-summary h3,.requirements h3 {
  font-size:15px;
  margin-bottom:10px;
  line-height:1.4;
  font-weight:700
}

.check-list {
  padding:0;
  margin:0 0 13px;
  list-style:none;
  display:grid;
  gap:7px;
  font-size:13px
}

.check-list li {
  padding-left:23px;
  position:relative
}

.check-list li:before {
  content:'✓';
  position:absolute;
  left:0;
  top:1px;
  color:var(--purple);
  font-weight:700
}

.capacity-note {
  font-size:12px;
  color:var(--muted);
  margin-bottom:23px
}

.requirements {
  border-top:1px solid var(--line);
  padding-top:18px
}

.requirements p {
  font-size:11px;
  line-height:1.65;
  color:var(--muted);
  margin-bottom:10px
}

.requirements p:last-child {
  margin-bottom:0
}

.selection-column {
  border-left:1px solid #eff0f3;
  padding:8px 0 7px 25px;
  min-width:0
}

.selection-column>h2 {
  font-size:21px;
  line-height:1.3;
  letter-spacing:-.02em;
  font-weight:700;
  margin:0 0 21px
}

.contact-preview h3 {
  font-size:13px;
  line-height:1.5;
  margin:0 0 4px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap
}

.contact-preview h3 span {
  font-weight:500;
  color:#6d657c;
  font-size:10px;
  background:#f1edf8;
  border-radius:3px;
  padding:1px 5px
}

.contact-preview p {
  font-size:11px;
  color:#707580;
  margin-bottom:11px
}

.contact-preview input {
  display:block;
  width:100%;
  height:42px;
  border:1px solid #d7d8dd;
  border-radius:5px;
  font-size:14px;
  padding:8px 12px;
  margin-bottom:11px;
  background:#f9f9fa;
  color:#6a6e77;
  opacity:1;
  -webkit-text-fill-color:#6a6e77
}

.contact-preview input::placeholder {
  color:#727680;
  opacity:1
}

.base-product {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:21px 0;
  margin-top:23px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px
}

.base-product h3 {
  font-size:14px;
  line-height:1.5;
  font-weight:700;
  margin:0 0 3px
}

.base-product p {
  font-size:12px;
  color:var(--muted);
  margin:0
}

.base-product>strong {
  font-size:18px;
  white-space:nowrap;
  line-height:1.4
}

.bump-box {
  background:#fffbed;
  border:1px dashed #b9b6ab;
  border-radius:5px;
  padding:9px;
  margin-top:21px
}

.bump-label {
  display:grid;
  grid-template-columns:28px 22px minmax(0,1fr);
  align-items:flex-start;
  gap:10px;
  cursor:pointer;
  min-height:78px;
  padding:18px 14px;
  background:#fff3a0;
  border:1px solid #ead576;
  border-radius:6px
}

.bump-arrow {
  color:#ff0000;
  font-family:Arial,sans-serif;
  font-size:28px;
  font-weight:700;
  line-height:1;
  text-shadow:0 0 6px rgb(255 0 0 / 30%);
  opacity:1
}

.bump-box.is-visible .bump-arrow {
  animation:bump-arrow-blink .6s steps(1,end) 8
}

@keyframes bump-arrow-blink {
  0%,100% {opacity:1}
  50% {opacity:.12}
}

.bump-label input {
  accent-color:#087728;
  width:22px;
  height:22px;
  margin:2px 0 0;
  cursor:pointer
}

.bump-heading {
  min-width:0
}

.bump-heading strong {
  display:block;
  color:#087728;
  font-size:17px;
  font-weight:700;
  line-height:1.45
}

.bump-box>.bump-price {
  display:block;
  color:#626046;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
  margin:7px 8px 0
}

.bump-box>#bump-description {
  font-size:14px;
  color:#26251f;
  line-height:1.55;
  margin:7px 8px 11px
}

.bump-invitation {
  color:#b92d09;
  text-decoration:underline;
  text-underline-offset:2px;
  font-weight:700
}

.bump-preview {
  margin:0
}

.bump-preview img {
  display:block;
  width:100%;
  height:auto;
  border:1px solid #e3dec9;
  border-radius:2px;
  background:#fff
}

.bump-preview figcaption {
  color:#626046;
  font-size:13px;
  line-height:1.45;
  margin:8px 2px 2px
}

.order-summary {
  margin-top:26px
}

.order-summary h3 {
  font-size:15px;
  line-height:1.4;
  font-weight:700;
  margin-bottom:14px
}

.order-summary dl {
  margin:0
}

.summary-row {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-top:10px;
  font-size:13px;
  color:#4a4d55
}

.summary-row[hidden] {
  display:none
}

.summary-row dd {
  margin:0;
  white-space:nowrap;
  color:#111
}

.total-row {
  border-top:1px solid var(--line);
  padding-top:15px;
  margin-top:16px;
  font-size:17px;
  font-weight:700;
  color:var(--ink)
}

.total-row small {
  display:block;
  font-size:10px;
  font-weight:500;
  color:#666b73;
  margin-top:2px
}

.total-row dd {
  font-size:25px;
  letter-spacing:-.03em;
  line-height:1.4
}

.payment-preview {
  border:0;
  background:var(--purple);
  color:#fff;
  border-radius:5px;
  min-height:53px;
  padding:13px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  width:100%;
  font-size:16px;
  font-weight:700;
  margin-top:23px
}

.payment-preview:hover {
  background:#522baa
}

.payment-preview span {
  font-size:22px;
  font-weight:400;
  line-height:1
}

.disconnected-note {
  font-size:11px;
  color:#686d76;
  text-align:center;
  margin:10px 5px 0
}

.payment-notice {
  border:1px solid #cdbce9;
  background:#f6f2fe;
  border-radius:5px;
  padding:14px;
  margin-top:16px;
  font-size:12px;
  line-height:1.6;
  color:#3f2c62
}

.payment-notice strong {
  font-size:13px
}

.payment-notice p {
  margin:5px 0 0
}

.use-notice {
  font-size:11px;
  line-height:1.7;
  color:#6b7079;
  margin:22px 0 0
}

.back-link {
  text-align:center;
  margin:26px 0 0;
  font-size:13px
}

.back-link a {
  text-decoration:none
}

.back-link a:hover {
  text-decoration:underline
}

footer {
  text-align:center;
  font-size:11px;
  color:#6b7079;
  padding:32px 20px 29px;
  line-height:1.6
}

footer p {
  margin:0 0 3px
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.preview-dialog {
  border:0;
  border-radius:12px;
  padding:0;
  max-width:min(1100px,calc(100% - 32px));
  width:1100px;
  max-height:90dvh;
  box-shadow:0 15px 70px #0003;
  color:var(--ink);
  overflow:hidden
}

.preview-dialog::backdrop {
  background:#151020b8
}

.dialog-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 20px;
  border-bottom:1px solid var(--line);
  background:#fff
}

.dialog-toolbar h2 {
  font-size:16px;
  line-height:1.4;
  margin:0;
  font-weight:700
}

.dialog-toolbar p {
  font-size:11px;
  color:var(--muted);
  margin:3px 0 0
}

.dialog-toolbar button {
  display:flex;
  align-items:center;
  gap:8px;
  flex:none;
  background:#f5f1fd;
  color:#492592;
  border:1px solid #d9cbea;
  border-radius:5px;
  min-height:40px;
  padding:7px 12px;
  font-size:12px;
  font-weight:700
}

.dialog-toolbar button span {
  font-size:22px;
  line-height:1
}

.dialog-image-wrap {
  max-height:calc(90dvh - 88px);
  overflow:auto;
  background:#f7f7f7;
  padding:14px
}

.dialog-image-wrap img {
  display:block;
  width:100%;
  min-width:800px;
  height:auto;
  margin:0 auto
}

body.dialog-open {
  overflow:hidden
}

@media(min-width:1200px) {
  .checkout-shell {
    gap:35px
  }

  .selection-column {
    padding-left:27px
  }

  .product-column {
    padding-right:26px
  }

}

@media(max-width:900px) {
  .checkout-shell {
    grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
    gap:20px
  }

  .selection-column {
    padding-left:20px
  }

  .product-column {
    padding-right:0
  }

  .product-intro h2 {
    font-size:23px
  }

  .preview-trigger {
    padding:12px 10px 43px
  }

  .bump-box {
    padding:9px
  }

}

@media(max-width:800px) {
  .checkout-main {
    padding-top:30px
  }

  .checkout-shell {
    max-width:620px;
    grid-template-columns:1fr;
    gap:25px;
    padding:24px
  }

  .selection-column {
    padding:0;
    border-left:0
  }

  .product-column {
    padding:0
  }

  .product-intro h2 {
    font-size:25px;
    max-width:none
  }

  .product-intro p {
    max-width:none
  }

  .workbook-preview {
    max-width:390px;
    margin:0 auto 24px
  }

  .preview-trigger {
    padding:13px 25px 43px
  }

  .contents-summary {
    margin-top:0
  }

  .requirements {
    padding-top:17px
  }

  .selection-column {
    border-top:1px solid var(--line);
    padding-top:24px
  }

  .requirements p {
    font-size:12px
  }

  .capacity-note {
    margin-bottom:20px
  }

}

@media(max-width:480px) {
  .brand-strip {
    min-height:62px;
    padding:17px 20px
  }

  .wordmark {
    font-size:21px
  }

  .strip-description {
    display:none
  }

  .checkout-main {
    padding:27px 20px 0
  }

  .checkout-heading {
    margin-bottom:25px
  }

  .eyebrow {
    font-size:9px;
    letter-spacing:.08em
  }

  h1 {
    font-size:27px
  }

  .checkout-heading>p:last-child {
    font-size:13px;
    line-height:1.6
  }

  .checkout-shell {
    padding:18px;
    border-radius:12px;
    gap:23px
  }

  .product-intro h2 {
    font-size:23px
  }

  .product-intro p {
    font-size:13px;
    margin-bottom:18px
  }

  .preview-trigger {
    padding:11px 11px 41px
  }

  .enlarge-label {
    font-size:10px
  }

  .workbook-preview {
    margin-bottom:21px
  }

  .check-list {
    font-size:12px;
    gap:7px
  }

  .contents-summary h3,.requirements h3 {
    font-size:14px
  }

  .capacity-note,.requirements p {
    font-size:11px
  }

  .selection-column>h2 {
    font-size:20px;
    margin-bottom:20px
  }

  .bump-label {
    grid-template-columns:26px 22px minmax(0,1fr);
    gap:8px;
    padding:16px 12px
  }

  .bump-heading strong {
    font-size:16px
  }

  .bump-arrow {
    font-size:26px
  }

  .bump-box>#bump-description {
    margin-left:6px;
    margin-right:6px
  }

  .base-product h3 {
    font-size:13px
  }

  .base-product p {
    font-size:11px
  }

  .summary-row {
    font-size:12px
  }

  .total-row {
    font-size:16px
  }

  .total-row dd {
    font-size:25px
  }

  .payment-preview {
    font-size:14px;
    padding-left:10px;
    padding-right:10px
  }

  .use-notice {
    font-size:10px
  }

  .back-link {
    font-size:12px
  }

  .dialog-toolbar {
    padding:13px;
    gap:10px
  }

  .dialog-toolbar h2 {
    font-size:13px
  }

  .dialog-toolbar p {
    font-size:10px
  }

  .dialog-toolbar button {
    font-size:11px;
    padding:6px 9px
  }

  .dialog-image-wrap {
    padding:8px
  }

  .preview-dialog {
    max-width:calc(100% - 20px)
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  * {
    animation:none!important;
    transition:none!important
  }

}
