.store-section {
  --store-u: clamp(.7px, .056vw, 1px);
  --store-space: max(52px, calc(160 * var(--store-u)));
  --store-radius: max(22px, calc(32 * var(--store-u)));
  --store-control: max(44px, calc(56 * var(--store-u)));
  --store-card: #141414;
  --store-link: var(--text-link);
  --store-muted: #999;
  color: var(--ink);
}

.store-container {
  inline-size: min(calc(100% - 2 * var(--section-gutter)), var(--store-width));
  margin-inline: auto;
}

.store-heading {
  display: grid;
}

.store-heading .section-label {
  margin-block-end: max(16px, calc(32 * var(--store-u)));
  text-transform: uppercase;
}

.store-title {
  font-size: clamp(1.875rem, calc(48 * var(--store-u)), 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.075em;
  text-wrap: pretty;
}

.store-title span {
  color: var(--store-muted);
}

.store-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-block-size: var(--store-control);
  border-radius: max(11px, calc(16 * var(--store-u)));
  background: var(--gold);
  text-decoration: none;
  cursor: pointer;
}

.store-button:not(:disabled):hover,
.button--buy:hover {
  background: #ffdf80;
}

.store-section :focus-visible,
.button--buy:focus-visible {
  outline: 2px solid #1977dd;
  outline-offset: 3px;
}

.store-delivery {
  --store-width: calc(1228 * var(--store-u));
  padding-block: var(--store-space) max(32px, calc(72 * var(--store-u)));
}

.store-delivery__note {
  margin-block-start: max(10px, calc(16 * var(--store-u)));
  font-size: max(1rem, calc(20 * var(--store-u)));
  line-height: 1.4;
  letter-spacing: -.02em;
}

.store-delivery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: max(24px, calc(48 * var(--store-u)));
  margin-block-start: max(28px, calc(80 * var(--store-u)));
}

.store-delivery__table {
  inline-size: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: max(1rem, calc(20 * var(--store-u)));
  line-height: 1.4;
  letter-spacing: -.02em;
}

.store-delivery__table th {
  font-weight: 400;
  text-align: start;
}

.store-delivery__table tr {
  border-block-end: 1px solid #e2e2e2;
}

.store-delivery__table :is(th, td) {
  padding: max(9px, calc(13 * var(--store-u))) 0;
}

.store-delivery__table thead th {
  padding-block: 0 max(10px, calc(14 * var(--store-u)));
  color: var(--secondary-ink);
  font-size: max(.875rem, calc(16 * var(--store-u)));
}

.store-delivery__table tr > :last-child {
  padding-inline-start: 12px;
  color: var(--secondary-ink);
  text-align: end;
}

.store-delivery__table td {
  white-space: nowrap;
}

.store-delivery__help,
.store-plan__card,
.store-plan__teacher {
  border-radius: var(--store-radius);
  background: var(--store-card);
  color: var(--white);
}

.store-delivery__help {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
  min-block-size: calc(468 * var(--store-u));
  padding: max(24px, calc(35 * var(--store-u))) max(24px, calc(36 * var(--store-u)));
}

.store-delivery__help h3 {
  font-size: max(1.625rem, calc(46 * var(--store-u)));
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.045em;
  text-wrap: pretty;
}

.store-delivery__help p {
  margin-block-start: max(10px, calc(16 * var(--store-u)));
  font-size: max(1rem, calc(20 * var(--store-u)));
  line-height: 1.4;
  letter-spacing: -.02em;
}

.store-delivery__help .store-button {
  min-inline-size: min(100%, calc(218 * var(--store-u)));
}

.store-pricing,
.store-contact {
  padding-block: var(--store-space);
}

.store-pricing {
  --store-width: calc(1423 * var(--store-u));
}

.store-pricing__inner,
.store-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, calc(480 * var(--store-u))) minmax(0, 1fr);
  gap: clamp(32px, 26vw - 160px, calc(160 * var(--store-u)));
  align-items: start;
}

.store-plan {
  --store-plan-padding: max(24px, calc(40 * var(--store-u)));
  display: grid;
  gap: 4px;
  font-size: max(1rem, calc(20 * var(--store-u)));
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.014em;
}

.store-plan__payment,
.store-plan__subscription,
.store-plan__teacher {
  padding: var(--store-plan-padding);
}

.store-plan__payment {
  display: grid;
  gap: max(12px, calc(20 * var(--store-u)));
  padding-block-end: max(20px, calc(32 * var(--store-u)));
}

.store-plan__subscription {
  border-block-start: 1px solid #333;
  padding-block-start: max(20px, calc(32 * var(--store-u)));
}

.store-plan__label {
  color: #8d8d8d;
}

.store-plan__amount,
.store-plan__monthly {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: -.043em;
}

.store-plan__amount {
  font-size: max(4.25rem, calc(96 * var(--store-u)));
  line-height: .8;
}

.store-plan__monthly {
  margin-block-start: max(6px, calc(8 * var(--store-u)));
  font-size: max(1.5rem, calc(32 * var(--store-u)));
  line-height: 1.1;
}

.store-plan__subscription .store-button {
  inline-size: 100%;
  margin-block-start: max(26px, calc(40 * var(--store-u)));
}

.store-plan__teacher {
  display: flex;
  align-items: center;
  gap: max(9px, calc(12 * var(--store-u)));
}

.store-plan__portrait {
  position: relative;
  flex: none;
  inline-size: max(48px, calc(64 * var(--store-u)));
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: max(10px, calc(16 * var(--store-u)));
  background: var(--gold);
}

.store-plan__portrait img {
  position: absolute;
  inset: auto auto 0 -67.1875%;
  inline-size: 167.1875%;
  block-size: 106.25%;
  object-position: bottom;
}

.store-pricing__details {
  align-self: center;
  translate: 0 calc(-47.5 * var(--store-u));
}

.store-pricing__equipment,
.store-pricing__assistant,
.store-pricing__items {
  display: flex;
  align-items: center;
}

.store-pricing__bundle {
  display: grid;
  justify-items: start;
  gap: 32px;
  margin-block-start: max(24px, calc(80 * var(--store-u)));
}

.store-pricing__equipment {
  gap: max(10px, calc(16 * var(--store-u)));
  max-inline-size: 100%;
}

.store-pricing__items {
  flex: none;
}

.store-pricing__items span {
  display: grid;
  flex: none;
  place-items: center;
  inline-size: clamp(44px, calc(100 * var(--store-u)), 100px);
  aspect-ratio: 1;
  overflow: hidden;
  border: max(1px, calc(3.125 * var(--store-u))) solid #000;
  border-radius: 50%;
  background: var(--gold);
}

.store-pricing__items span + span {
  margin-inline-start: calc(-40 * var(--store-u));
}

.store-pricing__items img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.store-pricing__extras {
  max-inline-size: 9em;
  font-size: max(.875rem, calc(16 * var(--store-u)));
  font-weight: 500;
  line-height: 1.4;
}

.store-pricing__assistant {
  gap: max(9px, calc(16 * var(--store-u)));
  font-size: max(.875rem, calc(20 * var(--store-u)));
  font-weight: 500;
  line-height: 1.4;
}

.store-pricing__badge {
  --badge-size: max(40px, calc(64 * var(--store-u)));
}

@media (width > 1200px) {
  .store-pricing__details {
    align-self: start;
    margin-block-start: calc(83 * var(--store-u));
    translate: none;
  }

  .store-pricing__bundle {
    gap: calc(64 * var(--store-u));
  }
}

.store-contact {
  --store-width: calc(1140 * var(--store-u));
  padding-block-end: max(40px, calc(43 * var(--store-u)));
}

.store-contact__content {
  min-inline-size: 0;
}

.store-contact__ending {
  position: relative;
  display: grid;
}

.store-contact__ending > span:not(.store-sr-only) {
  grid-area: 1 / 1;
}

.store-contact__ending-space {
  visibility: hidden;
}

.store-sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.store-contact__tabs {
  display: flex;
  gap: 0;
  min-block-size: 40px;
  margin-block: max(30px, calc(64 * var(--store-u))) max(22px, calc(32 * var(--store-u)));
  padding: 4px;
  border-radius: 16px;
  background: var(--white);
}

.store-contact__tabs button {
  flex: 1;
  min-inline-size: 0;
  padding: 5px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .875rem;
  line-height: 1.4;
  cursor: pointer;
}

.store-contact__tabs button[aria-selected="true"] {
  background: #f6f6f8;
}

.store-contact__tabs button:not([aria-selected="true"]):hover {
  background: #fafafa;
}

.store-contact__panels {
  display: grid;
}

.store-contact__panel {
  grid-area: 1 / 1;
  min-inline-size: 0;
}

/* Keep enough room for both tab panels. */
.store-contact__panel[hidden] {
  display: block;
  visibility: hidden;
}

.store-form {
  display: grid;
  gap: max(16px, calc(24 * var(--store-u)));
}

.store-form > label {
  display: grid;
  gap: 4px;
  color: var(--secondary-ink);
  font-size: .875rem;
  line-height: 1.4;
}

.store-form :is(input:not([type="checkbox"]), textarea) {
  inline-size: 100%;
  min-block-size: var(--store-control);
  padding: max(10px, calc(13 * var(--store-u))) 16px;
  border: 1px solid transparent;
  border-radius: max(11px, calc(16 * var(--store-u)));
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.store-form textarea {
  display: block;
  resize: vertical;
  field-sizing: content;
  max-block-size: 16rem;
}

@supports (field-sizing: content) {
  .store-form textarea { resize: none; }
}

.store-form ::placeholder {
  color: #a0a0a0;
  opacity: 1;
}

.store-form .store-button:disabled {
  background: #fff3d1;
  color: #a2a2a2;
  cursor: default;
}

.store-form__consent {
  display: flex;
  align-items: start;
  gap: 6px;
  font-size: .875rem;
  line-height: 24px;
}

.store-form__consent input {
  flex: none;
  appearance: none;
  inline-size: 24px;
  block-size: 24px;
  margin: 0;
  background: url("assets/store/checkbox.svg") center no-repeat;
  cursor: pointer;
}

.store-form__consent input:checked {
  appearance: auto;
  accent-color: #1985ff;
}

.store-form__consent label {
  cursor: pointer;
}

.store-form__consent a,
.store-footer a {
  color: var(--store-link);
  text-decoration: none;
}

.store-section a:hover {
  text-decoration: underline;
  text-underline-offset: .15em;
}

.store-section .store-button:hover,
.store-section .store-channel:hover {
  text-decoration: none;
}

.store-form__status {
  color: var(--secondary-ink);
  font-size: .875rem;
  line-height: 1.4;
}

.store-channels {
  display: grid;
  gap: max(14px, calc(24 * var(--store-u)));
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-channel {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: max(10px, calc(16 * var(--store-u)));
  min-block-size: 70px;
  padding: max(12px, calc(16 * var(--store-u))) max(12px, calc(24 * var(--store-u)));
  border-radius: max(12px, calc(16 * var(--store-u)));
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

a.store-channel:hover {
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px #e2e2e2;
}

.store-channel__icon {
  display: grid;
  place-items: center;
  inline-size: 32px;
  block-size: 32px;
}

.store-channel__phone-icon img {
  grid-area: 1 / 1;
}

.store-channel__copy {
  display: grid;
  gap: 4px;
  font-size: 1rem;
  line-height: 22px;
}

.store-channel small {
  color: var(--secondary-ink);
  font-size: .875rem;
  line-height: 20px;
}

.store-channel__number {
  color: inherit;
  text-decoration: none;
}

.store-channel__action {
  justify-self: center;
}

.store-channel__toggle {
  display: grid;
  place-items: center;
  inline-size: 32px;
  block-size: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.store-channel__toggle:hover {
  background: #f6f6f8;
}

.store-footer {
  --store-width: calc(1274 * var(--store-u));
  background: url("assets/store/footer-rule.svg") center top / 100% 1px no-repeat;
  padding-block: max(32px, calc(56 * var(--store-u)));
}

.store-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.55vw, calc(92.5 * var(--store-u)));
  font-size: 1rem;
  line-height: 1.5;
}

.store-footer__column,
.store-footer__links,
.store-footer address {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.store-footer__column {
  align-content: start;
  gap: max(16px, calc(24 * var(--store-u)));
}

.store-footer h2 {
  font-size: max(1.125rem, calc(20 * var(--store-u)));
  font-weight: 700;
  text-wrap: pretty;
}

.store-footer address {
  font-style: normal;
}

.store-footer address a {
  color: inherit;
}

.store-footer__links [aria-disabled] {
  color: var(--secondary-ink);
}

.store-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(7px, .625vw, 16px);
}

.store-footer__social > img,
.store-footer__social > a {
  display: grid;
  place-items: center;
  flex: none;
}

.store-footer__social img,
.store-footer__social a img {
  max-inline-size: 100%;
}

@media (min-width: 1850px) {
  .store-footer__social {
    flex-wrap: nowrap;
    gap: 16px;
  }
}

@media (max-width: 740px) {
  .store-section {
    --store-space: clamp(44px, 9.5vw, 72px);
    --store-width: 100%;
  }

  .store-title {
    font-size: clamp(1.875rem, 6vw, 2.5rem);
    letter-spacing: -.06em;
  }

  .store-delivery__grid,
  .store-pricing__inner,
  .store-contact__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .store-delivery__help {
    min-block-size: auto;
  }

  .store-pricing__details {
    grid-row: 1;
    translate: none;
  }

  .store-pricing__bundle {
    --store-u: clamp(.47px, .13vw, .8px);
    gap: 24px;
    margin-block-end: 6px;
  }

  .store-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .store-footer__column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 410px) {
  .store-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
