.shop-section { padding-block: clamp(48px, 6vw, 78px); border-top: 1px solid var(--edge); }
.shop-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.shop-intro h2 { margin: 0; font: 650 clamp(32px, 4vw, 48px)/1.1 Manrope, sans-serif; letter-spacing: -.05em; }
.shop-intro p { margin: 0; max-width: 31ch; font-size: 14px; line-height: 1.55; color: var(--muted); }
.term-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.term-card { display: flex; flex-direction: column; padding: clamp(16px, 2.1vw, 26px); background: linear-gradient(155deg,#13231fdd,#0a111bea 63%); border: 1px solid #345046; border-radius: 16px; }
.term-card h3 { color: #9dedbe; font-size: 15px; margin: 0; }
.term-price { color: var(--muted); font-size: 12px; margin: 14px 0 24px; }
.term-price strong { font: 650 clamp(25px, 3vw, 36px)/1.1 Manrope, sans-serif; letter-spacing: -.055em; color: var(--text); }
.plan-benefits { list-style: none; padding: 16px 0 20px; border-top: 1px solid #34443f; margin: auto 0 0; display: grid; gap: 10px; }
.plan-benefits li { display: flex; align-items: baseline; gap: 9px; font-size: 13px; line-height: 1.55; color: #c9d6d9; }
.plan-benefits li::before { content: ""; flex: none; width: 7px; height: 4px; align-self: flex-start; margin-top: 6px; border: solid var(--green); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.shop-action,.shop-secondary,.account-link,.dialog-close { color: var(--text); border: 1px solid #40504d; border-radius: 8px; background: #101c20; font: inherit; }
.shop-action { min-height: 44px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; font-size: 14px; font-weight: 650; border-color: #45705a; background: #15372a; color: #c4fada; }
.shop-action:hover:enabled { background: #1d4634; border-color: #69b78a; }
.shop-secondary,.account-link { padding: 8px 12px; font-size: 13px; }
.shop-secondary:hover:enabled,.account-link:hover { border-color: var(--green); }
.site-links > a:not(.header-platform) { font-size: 13px; color: #c8d7de; }
.site-links > a:hover { color: var(--green); }
.site-links > #portal-signup-open { padding: 9px 14px; border-radius: 8px; background: var(--green); color: #042818; font-weight: 650; white-space: nowrap; }
.site-links > #portal-signup-open:hover { background: #55e99e; }
.shop-action:disabled,.shop-secondary:disabled { cursor: wait; opacity: .55; }
#portal-dialog { width: min(440px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); padding: clamp(20px,4vw,28px); color: var(--text); background: #0e1820; border: 1px solid #395047; border-radius: 16px; box-shadow: 0 20px 90px #0009; overflow-y: auto; }
#portal-dialog::backdrop { background: #02050bd9; }
.portal-header,.portal-card-number,.card-heading,.portal-account-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.portal-header h2 { margin: 0; font: 650 25px/1.25 Manrope, sans-serif; letter-spacing: -.045em; }
.dialog-close { width: 36px; height: 36px; font-size: 23px; line-height: 1; }
.portal-status { color: #adf0c9; line-height: 1.5; font-size: 14px; margin: 16px 0; }
.portal-status:empty { display: none; }
.portal-status[data-error] { color: #ffbcb3; }
.portal-form { display: grid; gap: 18px; margin-top: 16px; }
.portal-form p,.portal-muted { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.portal-form p strong { color: var(--text); }
.portal-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.portal-form input { width: 100%; min-width: 0; font: inherit; padding: 10px 12px; border-radius: 7px; border: 1px solid #46575d; background: #0a111b; color: var(--text); }
.portal-form input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.portal-form :is(.shop-action[type=submit]) { background: var(--green); color: #042818; justify-content: center; border: 0; }
.portal-form .shop-action[type=submit]:hover:enabled { background: #55e99e; }
.portal-account-name { color: #98eaba; font-size: 15px; overflow-wrap: anywhere; }
.portal-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.portal-metrics div { padding: 12px; border-left: 2px solid #4ba979; background: #122521; }
.portal-metrics dt,.card-heading { color: #aac6bd; font-size: 12px; }
.portal-metrics dd { margin: 6px 0 0; font-size: 23px; font-weight: 600; font-variant-numeric: tabular-nums; }
#portal-trial-term { grid-column: 1 / -1; }
#portal-trial-term dd { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; font-size: 16px; }
#portal-trial-expiry { color: var(--muted); font-size: 13px; font-weight: 400; }
#portal-account h3 { font-size: 16px; margin: 26px 0 10px; }
.portal-account-actions { margin-top: 20px; }
.portal-orders { padding: 0; margin: 0; list-style: none; }
.portal-orders li { border-top: 1px solid var(--edge); padding: 10px 0; font-size: 13px; }
.portal-orders strong,.portal-orders small { display: block; }
.portal-orders small { margin-top: 3px; color: var(--muted); overflow-wrap: anywhere; }
.portal-card { display: grid; gap: 12px; border-radius: 12px; padding: 18px; border: 1px solid #446753; background: linear-gradient(120deg,#16392c,#0c211b); }
.portal-card-number { flex-wrap: wrap; }
.portal-card-number strong { font-variant-numeric: tabular-nums; letter-spacing: .055em; font-size: clamp(17px,4.4vw,22px); }
#portal-holder { font-size: 14px; overflow-wrap: anywhere; }
.portal-form small { color: var(--muted); }
#signup-username-hint { margin-top: -12px; }
#portal-codes summary { color: #b3d9c5; font-size: 13px; cursor: pointer; }
#portal-codes label { margin-top: 12px; }
#portal-auth-switch { justify-self: center; border: 0; background: transparent; color: #a5efc3; }
#portal-auth-switch:hover { text-decoration: underline; }
@media(max-width:720px) {
  .shop-intro { display: grid; gap: 12px; }
  .shop-intro p { max-width: 46ch; }
  .term-grid { grid-template-columns: 1fr; }
  .term-card { padding: 20px; }
  .term-price { margin-bottom: 16px; }
  .site-header .header-platform { display: none; }
}
@media(max-width:360px) {
  .site-links { gap: 8px; }
  .account-link { padding: 8px; }
  .site-header .turtle-brand { width: 76px; height: 46px; }
}
@media(max-width:510px) {
  .site-header { height: auto; padding: 12px 0 4px; gap: 8px; flex-wrap: wrap; }
  .site-links { width: 100%; justify-content: space-between; gap: 8px; }
}
:lang(fa):is(.shop-intro h2,.term-price strong,.portal-header h2) {
  font-family: inherit;
  letter-spacing: normal;
  line-height: 1.5;
}
#portal-dialog:lang(fa) { text-align: start; }
#portal-dialog:lang(fa) .portal-form { line-height: 1.7; }
#portal-dialog:lang(fa) .portal-metrics div { border-left: 0; border-inline-start: 2px solid #4ba979; }
#portal-dialog:lang(fa) .portal-card-number { row-gap: 8px; }
#portal-dialog:lang(fa) .portal-account-actions { flex-wrap: wrap; }
.hero-copy .download-block { max-width: none; }
.hero-copy .download-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; }
.download-actions .hero-signup,.download-actions .download-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 650; }
.hero-signup { background: var(--green); color: #042818; }
.hero-signup:hover { background: #55e99e; }
.download-actions .download-button { border: 1px solid #44625b; background: #11201f; color: #daece4; box-shadow: none; }
.download-actions .download-button:hover { background: #1b332b; }
.hero-trial { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: #b8cfc5; }
.hero-features-link,.channel-link { display: inline-flex; align-items: center; min-height: 38px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.hero-features-link { margin-inline-start: 16px; font-size: 13px; }
.channel-link { margin-block-start: 6px; font-size: 14px; flex-wrap: wrap; gap: 6px; }
.channel-link bdi { font-size: 13px; user-select: all; }
