/* ───────── Design tokens ───────── */
:root{--g:#08783E;--g2:#2E9B57;--y:#F5C400;--ly:#FFF7CC;--w:#fff;--ink:#1d2a22;--mut:#56655b;--line:#e4ece7;--card:#f6f8f7}

/* Bebas Neue (SIL OFL) for the headline banners: Google Fonts CDN first, self-hosted file as fallback if that request fails */
@font-face{font-family:'Bebas Neue';font-style:normal;font-weight:400;font-display:swap;src:url('https://fonts.gstatic.com/s/bebasneue/v16/JTUSjIg69CK48gW7PXoo9Wlhyw.woff2') format('woff2'),url('../fonts/BebasNeue-Regular-latin.woff2') format('woff2')}

/* Reset and Base Styles */
*{box-sizing:border-box;margin:0;padding:0}

html,body{height:100%;overflow:hidden;overscroll-behavior:none}

body {
  position:fixed;
  inset:0;
  width: 100%;
  font-family: "Poppins",ui-sans-serif,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-style: normal;
  background: var(--w);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

*,
::after,
::before {
  box-sizing: border-box;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Input focus styles */
input:focus {
  outline: none !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 2px solid #00c451 !important;
}

[type="reset"],
[type="submit"],
button,
html [type="button"] {
  -webkit-appearance: none;
  appearance: none;
}

button {
  text-transform: none;
  overflow: visible;
}

/* Bootstrap-like Utility Classes */
/* Display */
.d-flex {
  display: flex !important;
}

.d-block {
  display: block !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-none {
  display: none;
}

/* Flex Direction */
.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

/* Justify Content */
.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

/* Align Items */
.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

/* Text Alignment */
.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-justify {
  text-align: justify !important;
}

/* Width */
.w-100 {
  width: 100% !important;
}

.w-50 {
  width: 50% !important;
}

.w-25 {
  width: 25% !important;
}

/* Max Width */
.mw-sm {
  max-width: 400px !important;
}

.mw-md {
  max-width: 600px !important;
}

.mw-lg {
  max-width: 800px !important;
}

/* Height */
.h-100 {
  height: 100px !important;
}

.h-50 {
  height: 50px !important;
}

.h-auto {
  height: auto !important;
}

/* Margins */
.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 10px !important;
}

.mt-2 {
  margin-top: 20px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 10px !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Padding */
.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 10px !important;
}

.p-2 {
  padding: 20px !important;
}

.p-3 {
  padding: 40px !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 10px !important;
}

.pt-2 {
  padding-top: 20px !important;
}

/* Borders */
.border-0 {
  border: 0 !important;
}

.border-bottom {
  border-bottom: 1px solid #878787 !important;
}

.rounded {
  border-radius: 0.25rem !important;
}

.rounded-lg {
  border-radius: 24px !important;
}

/* Colors */
.text-primary {
  color: var(--g) !important;
}

.text-secondary {
  color: var(--mut) !important;
}

.text-white {
  color: #ffffff !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.bg-primary {
  background-color: var(--g) !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

/* Font Sizes */
.fs-xs {
  font-size: 11px !important;
}

.fs-sm {
  font-size: 12px !important;
}

.fs-md {
  font-size: 14px !important;
}

.fs-lg {
  font-size: 16px !important;
}

.fs-xl {
  font-size: 17px !important;
}

.fs-xxl {
  font-size: 18px !important;
}

.fs-3xl {
  font-size: 20px !important;
}

.fs-4xl {
  font-size: 24px !important;
}

.fs-5xl {
  font-size: 28px !important;
}

/* Font Weights */
.fw-normal {
  font-weight: 400 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

/* Line Heights */
.lh-sm {
  line-height: 1.16 !important;
}

.lh-md {
  line-height: 1.5 !important;
}

/* Shadows */
.shadow {
  box-shadow: 0px 4px 28px rgba(0, 0, 0, 0.1) !important;
}

/* Gap */
.gap-1 {
  gap: 10px !important;
}

/* Position */
.position-fixed {
  position: fixed !important;
}

/* ───────── App shell ───────── */
.app{position:relative;isolation:isolate;height:100vh;height:100dvh;overflow:hidden;max-width:480px;margin:0 auto;display:flex;flex-direction:column;justify-content:space-evenly;gap:12px;padding:max(10px,env(safe-area-inset-top)) 16px max(10px,env(safe-area-inset-bottom))}

/* diagonal brand stripe */
.stripe{position:absolute;inset:0;z-index:-1;pointer-events:none}
.stripe:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--g),var(--g2));clip-path:polygon(86% 0,100% 0,100% 100%,97% 100%)}
.stripe:after{content:"";position:absolute;inset:0;background:var(--y);clip-path:polygon(83.5% 0,85% 0,96% 100%,94.5% 100%)}
.stripe i{position:absolute;left:-60px;bottom:-60px;width:180px;height:180px;border-radius:50%;background:var(--ly);opacity:.8}

.rise{opacity:0;transform:translateY(10px);animation:rise .5s cubic-bezier(.2,.8,.2,1) forwards}
.a1{animation-delay:.05s}.a2{animation-delay:.12s}.a3{animation-delay:.2s}.a4{animation-delay:.28s}
@keyframes rise{to{opacity:1;transform:none}}

/* logo */
.logo{display:flex;justify-content:center}
.logo img{display:block;height:clamp(46px,7vh,60px);width:auto}

/* stacked headline banners */
.head{display:flex;flex-direction:column;align-items:center}
.b1,.b2{font-family:"Bebas Neue","Avenir Next Condensed","Roboto Condensed",sans-serif-condensed,"Arial Narrow",Impact,sans-serif;font-stretch:condensed;max-width:100%;font-weight:800;font-synthesis:none;letter-spacing:0!important;text-transform:uppercase;line-height:1;white-space:nowrap}
.b1{position:relative;z-index:2;background:var(--g);color:var(--w);font-size:clamp(25px,3.9vh,32px);padding:.32em .6em .22em;border-radius:12px;transform:rotate(-2deg);box-shadow:0 10px 22px -12px rgba(8,120,62,.9)}
.b1 em{font-style:normal;color:var(--y)}
.b2{position:relative;z-index:1;margin-top:4px;background:linear-gradient(135deg,#FFFEF8 0%,#FFF8D9 100%);color:var(--ink);font-size:clamp(30px,4.8vh,40px);padding:.28em .5em .18em;border-radius:14px;box-shadow:0 14px 30px -14px rgba(0,0,0,.28),0 0 0 1px var(--line)}
.b2 span{color:var(--g)}

/* 2x2 features */
.feats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ft{display:flex;align-items:center;gap:10px;padding:clamp(9px,1.5vh,13px) 12px;border-radius:16px;background:linear-gradient(145deg,#FFFFFF 0%,#EEF7F1 100%);border:1px solid #D9EADF;box-shadow:0 6px 16px -12px rgba(8,120,62,.35)}
.ft i{flex:none;width:36px;height:36px;border-radius:11px;background:#fff;box-shadow:0 2px 6px -2px rgba(8,120,62,.25);display:grid;place-items:center}
.ft span{font-weight:500}
.ft span .gn{display:block;font-size:13.5px;font-weight:700;color:var(--ink);margin:0;line-height:1.25}
.ft span small{display:block;font-size:11.5px;font-weight:500;color:var(--mut);line-height:1.3;margin-top:2px}

/* subscribe card (also used as the generic page card by error/jazzcash-sub views) */
.subscribe-container{position:relative;width:100%;background:linear-gradient(160deg,#F9FCFA 0%,#EAF5EE 100%);border:1.5px solid rgba(8,120,62,.55);border-radius:24px;padding:clamp(16px,2.6vh,24px) 18px clamp(12px,2vh,18px);box-shadow:0 0 0 5px rgba(46,155,87,.08),0 18px 36px -18px rgba(8,120,62,.55)}
.subscribe-container pre{max-height:40vh;overflow:auto}

.card-title{font-size:clamp(17px,2.5vh,20px);font-weight:600;color:var(--ink);letter-spacing:-.01em;line-height:1.25;margin:0}
.card-title span{color:var(--g)}
.card-sub{font-size:12.5px;color:var(--mut);margin:3px 0 clamp(10px,1.6vh,14px)}

#subscription-form-container{width:100%}

.input-wrapper{display:flex;align-items:center;height:clamp(50px,7vh,58px);border-radius:16px;background:var(--w);border:1.5px solid var(--line);transition:border-color .15s,box-shadow .15s}
.input-wrapper:focus-within{border-color:var(--g);box-shadow:0 0 0 4px rgba(8,120,62,.12)}
.input-wrapper.bad{border-color:#d93025;box-shadow:0 0 0 4px rgba(217,48,37,.1)}
.input-prefix{flex:none;display:grid;place-items:center;width:52px;height:60%;border-right:1px solid var(--line)}
.input-prefix svg{display:block}
.input-wrapper #mobile-number-input{flex:1;min-width:0;height:100%;border:0!important;outline:0;background:none;padding:0 6px;font-family:inherit;font-size:17px;font-weight:500;letter-spacing:.03em;color:var(--ink);width:100%;border-radius:0}
.input-wrapper #mobile-number-input::placeholder{color:#a6b2ab;font-weight:500}
.input-wrapper #mobile-number-input:focus{border:0!important}
.jc{flex:none;display:block;height:34px;width:auto;margin-right:12px}
.err{margin:0;min-height:17px;padding:2px 4px 0;font-size:11.5px;font-weight:500;color:#d93025}
.err:empty{min-height:0;padding:0}

.subscribe-pill{position:relative;overflow:hidden;width:100%;height:clamp(50px,7vh,58px);margin-top:16px;border:0;border-radius:16px;background:var(--y);color:#1d2a22;font-family:inherit;font-size:19px;font-weight:700;letter-spacing:.01em;text-decoration:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;animation:pulse 2.4s ease-out infinite;transition:background .15s,transform .1s}
.subscribe-pill.d-none{display:none}
.subscribe-pill:hover:not(:disabled){background:#FFD21F}
.subscribe-pill:active:not(:disabled){transform:scale(.985)}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(245,196,0,.55)}70%,100%{box-shadow:0 0 0 12px rgba(245,196,0,0)}}
.subscribe-pill:before{content:"";position:absolute;top:0;left:-50%;width:30%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:shine 3s ease-in-out infinite}
@keyframes shine{0%,60%{left:-50%}100%{left:130%}}
.subscribe-pill:disabled{background:#FFD84D;animation:none;cursor:wait}

.card-price{text-align:center;margin-top:clamp(8px,1.3vh,12px);font-size:15px;color:var(--mut)}
.card-price b{font-weight:600;color:var(--ink)}

/* status panels: success / already-subscribed / jazzcash payment / loading */
.status-panel{text-align:center;padding:8px 0}
.status-icon{width:52px;height:52px;margin:0 auto 10px;border-radius:50%;background:var(--g);display:grid;place-items:center;box-shadow:0 0 0 7px var(--ly)}
.status-highlight{font-size:clamp(14px,2vh,16px);font-weight:700;color:var(--g);margin-top:4px}

.status-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.status-action{display:flex;align-items:center;justify-content:center;gap:clamp(4px,1.8vw,7px);height:50px;padding:0 4px;border:0;border-radius:14px;font-family:inherit;font-size:clamp(11.5px,3.6vw,15px);font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform .1s,background .15s}
.status-action:active{transform:scale(.98)}
.status-action.primary{background:var(--y);color:var(--ink)}
.status-action.primary:hover{background:#FFD21F}
.status-action.secondary{background:var(--g);color:#fff}
.status-action.secondary:hover{background:var(--g2)}

/* legal links (shared footer across all pages) */
.legal-links{margin-top:clamp(6px,1vh,10px);font-size:11.5px;line-height:1.5;color:var(--mut);text-align:center;display:flex;justify-content:center;align-items:center;gap:10px}
.legal-links a{color:var(--mut);font-weight:500;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.legal-links .dot{width:3px;height:3px;border-radius:50%;background:#b7c2bb}

.app.subbed .card-price{display:none}

.btn {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  color: #ffffff;
  background-color: var(--g);
  border-color: var(--g);
  height: clamp(48px, 6.5vh, 54px);
  border-radius: 16px;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-outline-primary {
  color: var(--g);
  background-color: transparent;
  border: 2px solid var(--g);
  height: clamp(48px, 6.5vh, 54px);
  border-radius: 16px;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.loader {
  margin: auto;
  border: 16px solid #f3f3f3;
  border-top: 16px solid var(--g);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #f8d7da;
  color: #721c24;
  text-align: center;
  border-radius: 5px;
  border-color: #f5c6cb;
  padding: 16px;
  position: fixed;
  z-index: 10;
  left: auto;
  right: 30px;
  top: 30px;
}

.snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }

  to {
    top: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    top: 30px;
    opacity: 1;
  }

  to {
    top: 0;
    opacity: 0;
  }
}

/* Legacy component styles for backward compatibility */
.MainContainer {
  @extend .main-container;
}

.LandingPageContainer {
  @extend .landing-container;
}

.subscribeUserContainer {
  @extend .subscribe-container;
}

.heading-one-text {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  color: #00522c;
  margin: 10px 0px;
}

.subscribe-one-text {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 116%;
  color: #00522c;
}

.subscribe-input-text {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 116%;
  color: #878787;
}

.subscribe-input {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0.01em;
  color: #878787;
  border-bottom: 1px solid #878787;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  width: 60%;
}

.subscribe-otp-text {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 116%;
  margin-bottom: 0;
  margin-top: 20px;
  color: #878787;
}

.subscribe-otp-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  width: 55%;
  margin-top: 15px;
}

.subscribe-otp-input {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  border-bottom: 1px solid #878787;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  color: #1e1e1e;
  width: 20%;
  background-color: transparent;
}

.final-text {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 116%;
  letter-spacing: 0.01em;
  width: 40%;
  text-align: center;
  color: #878787;
  margin-top: 20px;
}

.transaction-amt-text {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  text-align: justify;
  color: #00522c;
}

.logo-img {
  height: 100px;
  width: auto;
  margin: auto;
  display: block;
}

.jazzcash-logo {
  height: 100px;
  width: auto;
  margin: auto;
  margin-top: 20px;
  display: block;
}

.app-logo-container {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: space-between;
}

.app-download-img {
  width: 50%;
  height: auto;
}

.btn-responsive {
  height: 50px;
  width: 106.39351654052734px;
  border-radius: 6px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 15px;
  text-align: center;
  background: #00522c;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.otp-div {
  width: 241.4120178222656px;
  margin-left: 0px;
  margin-top: 30px;
}

.info {
  color: #51d303;
  font-weight: bold;
  cursor: pointer;
}

.disabled-resend-otp {
  pointer-events: none;
  color: gray !important;
}

.jazzcash-landing-logo {
  width: 100px;
  /* Adjust as needed */
  margin-bottom: 10px;
  /* Space between logo and button */
}

/* Terms & Conditions Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 10000;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: var(--g);
  font-size: 18px;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #878787;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--g);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
}

.modal-body h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--g);
  font-size: 15px;
  font-weight: 600;
}

.modal-body h5 {
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--g);
  font-size: 14px;
  font-weight: 600;
}

.modal-body p {
  margin-top: 0;
  margin-bottom: 10px;
}

.modal-body ol {
  margin-top: 0;
  margin-bottom: 12px;
  padding-left: 20px;
}

.modal-body ol li {
  margin-bottom: 6px;
}

.modal-body ul {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-left: 20px;
  list-style-type: disc;
}

.modal-body ul li {
  margin-bottom: 4px;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #eeeeee;
  display: flex;
  justify-content: flex-end;
}

.modal-footer button {
  margin-top: 0;
}

/* ═════════════════════════════════════════════════════════
   Media Queries (all breakpoints, kept separate from the
   default rules above - do not interleave new ones back in)
   ═════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}.rise{opacity:1;transform:none}}

@media (max-width:420px){.ft{padding-left:9px;padding-right:8px;gap:8px}.ft span .gn{font-size:12.5px}.ft span small{font-size:11px}}
@media (max-width:380px){.ft{gap:7px;padding-left:8px;padding-right:6px}.ft i{width:28px;height:28px;border-radius:9px}.ft i svg{width:16px;height:16px}.ft span .gn{font-size:12px;letter-spacing:-.015em}.ft span small{font-size:10.5px}}

@media (max-width:350px){.jc{display:none}.b1{font-size:22px}.b2{font-size:27px}.ft span{font-size:11.5px}}

@media (max-width:340px){.status-action svg{width:15px;height:15px}}

/* shorter phones: tighten so it's always one screen */
@media (max-width:899px) and (max-height:620px){.status-icon{width:40px;height:40px;margin-bottom:6px}.status-actions{margin-top:10px}.status-action{height:44px}.feats{display:none}}
@media (max-width:899px) and (max-height:700px){.ft i{width:30px;height:30px}.ft span{font-size:12px}.feats{gap:8px}.card-sub{margin-bottom:8px}}

/* after subscribing / already-subscribed: tiles go away on mobile only, card moves up into their place */
@media (max-width:899px){.app.subbed .feats{display:none!important}.app.subbed{justify-content:flex-start;gap:clamp(14px,3vh,28px)}.app.subbed .logo{margin-top:clamp(8px,3vh,36px)}}
@media (max-width:899px) and (max-height:540px){.head{display:none}}

/* ───────── Desktop / web layout (≥ 900px wide): two columns, still one screen ───────── */
@media (min-width:900px){
 .app{max-width:1620px;display:grid;grid-template-columns:minmax(320px,640px) minmax(300px,clamp(400px,32vw,520px));grid-template-areas:"head card" "feats card";justify-content:space-between;align-content:center;column-gap:clamp(40px,6vw,140px);row-gap:clamp(22px,4.4vh,48px);padding:clamp(96px,14vh,140px) clamp(72px,7.5vw,150px) 48px clamp(56px,8vw,150px)}
 /* logo pinned top-left like the reference layout */
 .logo{position:absolute;top:clamp(28px,6vh,64px);left:clamp(28px,6.5vw,130px);justify-content:flex-start}
 .logo img{height:clamp(50px,7vh,68px)}
 .head{grid-area:head;align-items:flex-start;max-width:640px}
 .b1{font-size:clamp(32px,5.6vh,56px);transform-origin:left center}
 .b2{font-size:clamp(40px,7vh,68px);margin-top:4px}
 .feats{grid-area:feats;gap:20px;max-width:640px;min-width:320px}
 .ft{padding:clamp(16px,2.6vh,26px) 22px;gap:14px;border-radius:18px}
 .ft i{width:48px;height:48px;border-radius:14px}
 .ft i svg{width:24px;height:24px}
 .ft span .gn{font-size:clamp(15px,2vh,17px)}
 .ft span small{font-size:clamp(12.5px,1.6vh,14px)}
 .subscribe-container{grid-area:card;align-self:end;min-width:300px;padding:clamp(28px,4.4vh,44px) clamp(28px,2.6vw,40px) clamp(22px,3.4vh,34px);border-radius:28px}
 .card-title{font-size:clamp(22px,3vh,28px);line-height:1.25}
 .card-sub{font-size:14px;margin:6px 0 18px}
 .input-wrapper,.subscribe-pill{height:clamp(56px,7.4vh,66px)}
 .subscribe-pill{font-size:20px}
 .card-price{font-size:16px;margin-top:14px}
 .status-icon{width:64px;height:64px}
 .status-action{height:58px;font-size:16.5px}
 .status-actions{gap:14px;margin-top:22px}
 .err{font-size:12.5px}
 .err:not(:empty){min-height:22px}
 .legal-links{margin-top:12px;font-size:12.5px}
 /* full-height brand stripe on the right edge of the window */
 .stripe{position:fixed}
 .stripe:before{clip-path:polygon(94% 0,100% 0,100% 100%,97.6% 100%)}
 .stripe:after{clip-path:polygon(92.8% 0,93.5% 0,97.1% 100%,96.4% 100%)}
 .stripe i{width:320px;height:320px;left:-120px;bottom:-140px}
}
@media (min-width:900px) and (max-height:720px){.app{row-gap:16px;padding-top:96px;padding-bottom:24px}.subscribe-container{padding:26px 28px 20px}.card-title{font-size:23px}.input-wrapper,.subscribe-pill{height:56px}}

/* Small devices (sm) - 576px and up */
@media (min-width: 576px) {
  .w-sm-100 {
    width: 100% !important;
  }

  .w-sm-50 {
    width: 50% !important;
  }

  .w-sm-25 {
    width: 25% !important;
  }

  .fs-sm-xs {
    font-size: 11px !important;
  }

  .fs-sm-sm {
    font-size: 12px !important;
  }

  .fs-sm-md {
    font-size: 14px !important;
  }

  .fs-sm-lg {
    font-size: 16px !important;
  }

  .fs-sm-xl {
    font-size: 17px !important;
  }

  .fs-sm-xxl {
    font-size: 18px !important;
  }

  .fs-sm-3xl {
    font-size: 20px !important;
  }

  .fs-sm-4xl {
    font-size: 24px !important;
  }

  .fs-sm-5xl {
    font-size: 28px !important;
  }

  .p-sm-1 {
    padding: 10px !important;
  }

  .p-sm-2 {
    padding: 20px !important;
  }

  .p-sm-3 {
    padding: 40px !important;
  }

  .d-sm-flex {
    display: flex !important;
  }

  .d-sm-block {
    display: block !important;
  }

  .d-sm-none {
    display: none !important;
  }
}

/* Medium devices (md) - 768px and up */
@media (min-width: 768px) {
  .w-md-100 {
    width: 100% !important;
  }

  .w-md-50 {
    width: 50% !important;
  }

  .w-md-25 {
    width: 25% !important;
  }

  .fs-md-xs {
    font-size: 11px !important;
  }

  .fs-md-sm {
    font-size: 12px !important;
  }

  .fs-md-md {
    font-size: 14px !important;
  }

  .fs-md-lg {
    font-size: 16px !important;
  }

  .fs-md-xl {
    font-size: 17px !important;
  }

  .fs-md-xxl {
    font-size: 18px !important;
  }

  .fs-md-3xl {
    font-size: 20px !important;
  }

  .fs-md-4xl {
    font-size: 24px !important;
  }

  .fs-md-5xl {
    font-size: 28px !important;
  }

  .p-md-1 {
    padding: 10px !important;
  }

  .p-md-2 {
    padding: 20px !important;
  }

  .p-md-3 {
    padding: 40px !important;
  }

  .d-md-flex {
    display: flex !important;
  }

  .d-md-block {
    display: block !important;
  }

  .d-md-none {
    display: none !important;
  }
}
