.pricing, .pricing *{ box-sizing: border-box; }


  .pricing{
    --page-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --card-bg-custom: #FDECE1;
    --card-border: #FBDCC8;
    --orange: #F4772A;
    --orange-dark: #E15F14;
    --orange-soft: #FDECE1;
    --text-dark: #1B1F27;
    --text-gray: #7A8091;
    --divider: #F0E4DA;
    --check: #F4772A;

    box-sizing: border-box;
    font-family: 'Inter', 'Outfit', sans-serif;
    color: var(--text-dark);
    background: var(--page-bg);

    max-width: 1220px;
    margin: 0 auto;
    padding: 64px 24px 96px;
  }

  .pricing__header{
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
  }

  .eyebrow{
    display:inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--orange);
    background: var(--orange-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    text-transform: uppercase;
  }

  .pricing__header h2{
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 38px);
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .pricing__header h2 span{ color: var(--orange); }

  .pricing__header .sub{
    color: var(--text-gray);
    font-size: 15.5px;
    margin: 0;
  }

  .controls{
    display:flex;
    flex-direction: column;
    align-items:center;
    gap: 22px;
    margin-bottom: 48px;
  }

  .duration-tabs{
    position: relative;
    display:inline-flex;
    background: #FAF8F6;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 5px;
    gap: 2px;
  }

  .duration-tabs .tab{
    position: relative;
    z-index: 2;
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--text-gray);
    transition: color .25s ease;
  }

  .duration-tabs .tab.active{ color: #fff; }

  .tab-indicator{
    position:absolute;
    top:5px; bottom:5px; left:5px;
    width: 110px;
    background: var(--orange);
    border-radius: 999px;
    transition: transform .3s cubic-bezier(.65,.05,.36,1);
    z-index: 1;
  }

  .class-select-wrap{
    display:flex;
    align-items:center;
    gap: 10px;
  }

  .control-label{
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
  }

  .class-select{
    appearance: none;
    -webkit-appearance: none;
    background: #FFFFFF url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%237A8091" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 6l4 4 4-4"/></svg>') no-repeat right 12px center;
    border: 1.5px solid var(--card-border);
    border-radius: 10px;
    padding: 10px 34px 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
  }

  .cards{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 24px;
    align-items: stretch;
    justify-content: center;
  }

  @media (max-width: 980px){
    .cards{ grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); }
  }
  @media (max-width: 620px){
    .cards{ grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-left: auto; margin-right: auto; }
  }

  .card{
    display:flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 22px;
    padding: 28px 26px 30px;
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .card:hover{
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -20px rgba(244,119,42,0.35);
  }

  .card--custom{
    background: var(--card-bg-custom);
    border-color: #F7CBAA;
  }

  .card__head{
    display:flex;
    align-items:center;
    gap: 9px;
    margin-bottom: 16px;
  }

  .card__head .icon{
    color: var(--orange);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .card__head .icon svg{ width:100%; height:100%; display:block; }

  .card__head h3{
    font-size: 16.5px;
    font-weight: 700;
    margin: 0;
  }

  /* ---------- Sessions per week selector (Standard plan) ---------- */
  .session-select{
    margin-bottom: 16px;
  }

  .session-label{
    display:block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
  }

  .session-chip-row{
    display:flex;
    gap: 6px;
  }

  .session-chip{
    flex: 1;
    padding: 8px 0;
    border-radius: 9px;
    border: 1.5px solid var(--card-border);
    background: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    cursor: pointer;
    transition: all .15s ease;
  }

  .session-chip:hover{ border-color: var(--orange); }

  .session-chip.active{
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
  }

  .price{
    display:flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 6px;
  }
  .price .currency{ font-size: 16px; font-weight: 700; color: var(--text-dark); }
  .price .amount{ font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
  .price .period{ font-size: 13.5px; color: var(--text-gray); font-weight: 500; }

  .price-note{
    font-size: 12.5px;
    color: var(--text-gray);
    margin: 0 0 16px;
    min-height: 16px;
  }
  .price-note__save{
    color: var(--orange-dark);
    font-weight: 600;
  }

  .custom-block{
    font-size: 13.5px;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0 0 18px;
    font-weight: 500;
  }

  /* ---------- Compare table (now shown up top, before the CTA) ---------- */
  details.compare{
    font-size: 13px;
    margin-bottom: 18px;
    background: #FAFAFA;
    border: 1px solid var(--divider);
    border-radius: 12px;
    padding: 2px 12px;
  }

  .card--custom details.compare{ background: rgba(255,255,255,0.5); }

  details.compare summary{
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--orange-dark);
    padding: 10px 0;
    list-style: none;
    display:flex;
    align-items:center;
    justify-content: space-between;
  }
  details.compare summary::-webkit-details-marker{ display:none; }
  details.compare summary::after{
    content: "＋";
    color: var(--orange);
    font-size: 14px;
  }
  details.compare[open] summary::after{ content: "－"; }

  details.compare table{
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 10px;
    font-size: 11.5px;
  }

  details.compare th{
    text-align: left;
    font-weight: 600;
    color: var(--text-gray);
    padding: 5px 4px;
    border-bottom: 1px solid var(--divider);
  }
  details.compare td{
    padding: 7px 4px;
    color: #4B5163;
    border-bottom: 1px solid var(--divider);
  }
  details.compare tr:last-child td{ border-bottom: none; }

  details.compare tr.current td{
    color: var(--text-dark);
    font-weight: 700;
    background: var(--orange-soft);
  }

  .cta{
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    border: none;
    background: var(--orange);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: background .2s ease;
    margin-bottom: 20px;
  }
  .cta:hover{ background: var(--orange-dark); }

  .divider{
    border: none;
    border-top: 1px solid var(--divider);
    margin: 0 0 18px;
  }

  .included-label{
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 14px;
  }

  .features{
    list-style:none;
    padding:0;
    margin: 0;
    display:flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }

  .features li{
    display:flex;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.4;
    color: #4B5163;
  }

  .features li svg{
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--check);
  }

  .footnote{
    text-align:center;
    font-size: 12.5px;
    color: var(--text-gray);
    margin-top: 36px;
  }
  .footnote a{
    color: var(--orange-dark);
    text-decoration: underline;
  }


  .pricing.pricing--embed{
    padding-top: 24px;
    padding-bottom: 48px;
    max-width: 1220px;
  }
  .pricing.pricing--locked-class .class-select-wrap{
    display: none !important;
  }
