:root{
  --brand: #FF6A00;
  --corner-w: 192.14px;
  --corner-h: 78.72px;
}
.s1-head-img--tilted{
  transform-origin: bottom center;        /* ось вращения */
  transform: translate(50px, 2px) rotate(-15deg);
  
}
.s1-head-img--remote{
transform: translate(50px, -200px) scale(0.25);
}
/* ===== Card ===== */
.s1-card{
  min-width:300px;
  position:relative;
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  padding:12px 12px 10px;
  display:flex; flex-direction:column;
  overflow:visible; /* allow ribbon to overflow */
  box-shadow:
    0  2px  4px  rgba(0,0,0,.05),
    0  8px  8px  rgba(0,0,0,.04),
    0 16px 24px rgba(0,0,0,.04),
    0 32px 48px rgba(0,0,0,.03);
}

/* Fix desktop size; fluid on smaller screens */
.s1-card--fixed{ width:var(--s1-w); max-width:var(--s1-w); min-height:var(--s1-h); }
@media (max-width: 1199.98px){
  .s1-card--fixed{ width:100%; max-width:100%; min-height:auto; }
  .s1-head-img{ width: 26%; top: 18px; right: 10px; }
}

/* Small white “bridge” so the ribbon cleanly overlays the top edge */
.s1-card--rib-left::before{
  content:""; position:absolute; left:0; right:0; top:0;
  height:12px; background:#fff;
  border-top-left-radius:var(--s1-r); border-top-right-radius:var(--s1-r);
  z-index:5;
}

/* Ribbon (top-left, over the frame) */
.s1-ribbon{
  position:absolute;
  top:-54px; left:24px; transform:none;
  width:181.5px; height:121px; object-fit:contain;
  pointer-events:none; z-index:10;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.22));
}
.s1-ribbon-text{
  font-family: "Nuckle", system-ui, sans-serif;
  position: absolute;
  color:#fff;
  top:0%;                   /* move up/down as needed */
  left: 15%;
  right: 8%;
 
  z-index:10;
}
@media (max-width:575.98px){
  .s1-ribbon{ top:-20px; left:16px; width:160px; height:auto; }
  .s1-price-chip{ bottom: 10px; }
  .s1-price-chip__text{ font-size: 20px; }
  .s1-head-img{ width: 46%; top: 18px; right: 10px; }
}
.s1-corner{
    position:absolute; top:0px; right:0;
    width:192.097px; height:78.721px;
    border-top-right-radius:13px; overflow:hidden; pointer-events:none; z-index:5;
    
}

.s1-corner-svg{
  display: block;
  width: 100%;
  height: 100%;
}

/* Header area */
.s1-head{
  position: relative;
  display: grid;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;                     /* spacing between title and price */
  padding: 35px 0px 0 0;        /* right padding keeps text clear of corner */
  margin-bottom: 14px;           /* space before the features block */
  z-index: 2;
  background: none;
}
.s1-title{
  margin: 0;                     /* remove old top margin */
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  color: #222;
  font-family:"Nuckle", system-ui, sans-serif;
    text-transform: none !important;
}

.s1-title-strong{  font-weight:800 !important; }   /* STB BOX */
.s1-title-medium{  font-weight:491; }   /* 12 Months Service */

/* Price chip: static (no absolute) so it flows under the title */
.s1-price-chip{
  width: 94px;
  height: 38px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #101010 0%, #616161 100%);
  color: #fff;
  box-shadow:
    0 12px 18px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.35);
  z-index: 3;                    /* above the corner background */
}

.s1-price-chip__text{
  font-family: "Poppins", sans-serif;
  font-weight: 800;     
  font-style: normal;   
  font-size: 28px;
  line-height: 16px;    
  letter-spacing: 0;    
  text-align: center;
}

/* Anchor to the card’s top-right; keep the outer radius crisp */
.s1-corner{
    position:absolute; top:0px; right:0;
    width:192.097px; height:78.721px;
    border-top-right-radius:13px; overflow:hidden; pointer-events:none; z-index:5;
    
}

.s1-corner-svg{
  display: block;
  width: 100%;
  height: 100%;
}

.s1-head-img{
  position: absolute;
  top: 20px;                 /* move down from the top edge */
  right: 6px;               /* tuck into the right side */
  width: 220px;              /* tune per asset */
  height: auto;
  z-index: 10;                /* below the corner, above header bg */
  filter: drop-shadow(0 16px 18px rgba(0,0,0,.25));
  pointer-events: none;      /* purely decorative */
  
}
/* Orange features area */
.s1-features{
  margin-top:50px;
  /* orange gradient like the comp */
  background: linear-gradient(105.42deg, #F6AC25 3.48%, #EF462D 101.52%);
  border-radius: 26px;
  padding: 12px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.12),
    0 10px 20px rgba(0,0,0,.06);         /* soft lift */
  color:#fff;
}

/* title + highlighted “FREE BOX” tag */
.s1-feat-title{
  margin: 10px 0px 14px 15px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.15;
  color:#fff;
  font-family: "Poppins", sans-serif;
  text-transform:none;
}
.s1-feat-title .s1-feat-mark{
  display:inline-block;
  padding: 2px 2px;
  margin-left: 2px;
  border-radius: 6px;
}
/* one row (icon + pill) */
.s1-feature{
  height:30px;
  display:flex;
  align-items:center;
  gap: 12px;
  margin: 22px 1px;
  padding:5px 5px;
}

/* left icon */
.s1-feat-ico{
  width: 44px;           /* tune to match your export */
  height: auto;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.25));
  flex: 0 0 auto;
}

/* white rounded “pill” outline like Figma */
.s1-feature-pill{
    width:210px;
  flex: 1 1 auto;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 999px;
  padding: 6px 9px;
  font-weight: 700;
  font-size: clamp(14px, .98rem, 18px);
  line-height: 1.2;
  color:#fff;
}

/* Footer */
.s1-foot{padding:30px 0px 0px 0px; margin-top:auto; margin-bottom: 15px; display:flex; justify-content:space-between; align-items:center; background:none;}
.s1-learn{ color:var(--brand); font-weight:700; text-decoration:none; }
.s1-learn:hover{ text-decoration:underline; }
.s1-buy{
  display:inline-block; 
  background: linear-gradient(171.55deg, #616161 6.07%, #616161 59.99%, #343434 129.82%);
  color:#fff; font-weight:800;
  padding:10px 22px; border-radius:12px; text-decoration:none;
  box-shadow:0 10px 18px rgba(0,0,0,.22);
  transition:filter .15s ease, transform .06s ease;
font-weight: 717;
font-style: Bold;
font-size: 15px;
leading-trim: NONE;
line-height: 16px;
letter-spacing: 0%;
text-align: center;

}
.s1-buy:hover{ 
    color:var(--brand);
    filter:brightness(.96); }
.s1-buy:active{ transform:translateY(1px); }
