@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #0c0a09;
  --surface: rgba(24, 20, 18, 0.94);
  --surface-strong: #1b1715;
  --surface-soft: rgba(40, 31, 27, 0.76);
  --line: rgba(255, 151, 85, 0.14);
  --line-strong: rgba(255, 106, 22, 0.34);
  --text: #fffaf6;
  --muted: #a69b94;
  --accent: #ff6817;
  --ice: #ff6817;
  --ice-bright: #ff9a57;
  --lime: #ff6817;
  --lime-dark: #d94c00;
  --danger: #ff8d78;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(255, 93, 16, 0.18), transparent 32%),
    radial-gradient(circle at 100% 58%, rgba(255, 110, 30, 0.08), transparent 28%),
    linear-gradient(160deg, #110e0c 0%, #080706 72%);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.18;
}
.ambient-one { width: 340px; height: 340px; background: #ff5d10; top: 10%; left: -180px; }
.ambient-two { width: 280px; height: 280px; background: #9d3210; right: -180px; bottom: 8%; }

.app-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  border-inline: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(12, 10, 9, 0.7);
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 22px 10px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(12, 10, 9, 0.98) 60%, rgba(12, 10, 9, 0));
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  letter-spacing: -0.7px;
}
.brand strong { font-weight: 800; letter-spacing: .06em; }
.brand i { color: var(--ice); font-style: normal; font-weight: 800; margin-left: 4px; letter-spacing: .08em; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #15110f;
  border: 1px solid rgba(255, 106, 22, 0.36);
  border-radius: 10px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; }

.topbar-tagline {
  margin: 0 auto;
  padding: 0 12px;
  color: var(--accent);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; }
.secure-pill {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.secure-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.icon-button, .back-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-button svg { fill: currentColor; stroke: none; }

main { padding: 0 16px 118px; }
.screen { display: none; animation: screen-in 420ms cubic-bezier(.2,.8,.2,1) both; }
.screen.active { display: block; }
@keyframes screen-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero {
  min-height: 278px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 84% 30%, rgba(255,104,23,.08), transparent 30%), #100d0b;
  box-shadow: var(--shadow);
  transition: min-height .4s cubic-bezier(.2,.8,.2,1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255,104,23,.06), transparent 48%, rgba(11,8,7,.12));
}
.hero.collapsed { min-height: 172px; }
.hero-offer { position: relative; z-index: 4; width: 64%; padding: 20px; }
.offer-badge { display: inline-flex; padding: 5px 8px; border: 1px solid rgba(255,104,23,.3); border-radius: 999px; color: var(--ice-bright); background: rgba(255,104,23,.08); font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-offer h1 { margin: 6px 0 0; display: grid; line-height: 1.03; letter-spacing: -1.05px; }.hero-offer h1 span { display: block; font-size: clamp(18px, 4.8vw, 23px); font-weight: 600; }.hero-offer h1 span:nth-child(2) { margin-left: 9px; }.hero-offer h1 strong { display: block; margin-left: 18px; font-size: clamp(21px, 5.4vw, 27px); font-weight: 800; }.hero-offer h1 em { color: var(--accent); font-style: normal; font-weight: 800; }
.offer-benefits { max-height: 170px; margin-top: 15px; overflow: hidden; opacity: 1; transform: translateY(0); transition: max-height .4s ease, opacity .25s ease, transform .35s ease; }
.offer-benefits p { max-width: 265px; margin: 0 0 9px; display: grid; gap: 2px; color: #b8aea8; font-size: 8px; line-height: 1.35; }.offer-benefits b { color: #fff8f3; font-size: 9px; }.offer-benefits b::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 6px 2px 0; border-radius: 50%; background: var(--accent); }
.hero.collapsed .offer-benefits, .hero.paid .offer-benefits { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(-8px); pointer-events: none; }
.hero-action { min-height: 31px; padding: 0 13px; border: 0; border-radius: 9px; color: #fff; background: var(--accent); font-size: 9px; font-weight: 800; cursor: pointer; }
.benefits-toggle { width: 27px; height: 27px; position: absolute; z-index: 9; top: 11px; right: 11px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,104,23,.2); border-radius: 8px; color: var(--ice-bright); background: rgba(16,13,11,.72); cursor: pointer; transition: transform .3s ease; }.benefits-toggle svg { width: 14px; height: 14px; transform: translateY(1px); }.hero.collapsed .benefits-toggle { transform: rotate(180deg); }.hero.paid .benefits-toggle { display: none; }
.hero-connection { width: 47%; height: 230px; position: absolute; z-index: 3; top: 28px; right: -2px; pointer-events: none; transition: height .4s ease, top .4s ease; }.hero.collapsed .hero-connection { height: 172px; top: 6px; }
.hero-mountain { width: 100%; height: 100%; position: relative; z-index: 3; overflow: visible; filter: drop-shadow(0 16px 22px rgba(0,0,0,.42)); }
.hero-mountain path { stroke: none; }
.hero-sun { width: 96px; height: 96px; position: absolute; z-index: 1; left: 54%; top: 12px; margin-left: -48px; border-radius: 50%; background: linear-gradient(145deg, #ff8a2d, #e94600); box-shadow: 0 0 30px rgba(255,104,23,.25); opacity: 0; transform: scale(.58); transition: opacity .65s ease, transform .85s cubic-bezier(.2,.9,.2,1); }
.hero-climber { width: 52px; height: 72px; object-fit: contain; position: absolute; z-index: 5; left: 1px; top: 132px; transform-origin: 50% 100%; opacity: .94; transition: opacity .2s ease; filter: drop-shadow(1px 0 0 rgba(255,104,23,.88)) drop-shadow(-1px 0 0 rgba(255,104,23,.88)) drop-shadow(0 1px 0 rgba(255,104,23,.72)) drop-shadow(0 0 8px rgba(255,104,23,.36)); }
.hero.connecting .hero-climber { opacity: 1; animation: hero-climber-route 3.8s cubic-bezier(.45,.05,.35,1) forwards; }
@keyframes hero-climber-route { 0% { transform: translate(0,0) rotate(-6deg); } 18% { transform: translate(25px,-16px) rotate(5deg); } 38% { transform: translate(49px,-39px) rotate(-4deg); } 58% { transform: translate(72px,-69px) rotate(5deg); } 78% { transform: translate(94px,-99px) rotate(-3deg); } 100% { transform: translate(111px,-126px) rotate(0); } }
.hero.connected .hero-sun { opacity: 1; transform: scale(1); }.hero.connected .hero-climber { opacity: 1; transform: translate(111px,-126px); }
.hero.collapsed .hero-climber { top: 97px; transform: scale(.82); }
.hero.collapsed.connecting .hero-climber { animation-name: hero-climber-route-compact; }
.hero.collapsed.connected .hero-climber { transform: translate(82px,-78px) scale(.82); }
@keyframes hero-climber-route-compact { 0% { transform: translate(0,0) rotate(-6deg) scale(.82); } 25% { transform: translate(22px,-13px) rotate(5deg) scale(.82); } 50% { transform: translate(43px,-32px) rotate(-4deg) scale(.82); } 75% { transform: translate(65px,-56px) rotate(4deg) scale(.82); } 100% { transform: translate(82px,-78px) rotate(0) scale(.82); } }
.hero-connection-status { min-width: 148px; min-height: 34px; position: absolute; z-index: 7; right: 8px; bottom: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 12px; pointer-events: auto; border: 1px solid rgba(255,104,23,.3); border-radius: 999px; color: #d1c7c0; background: rgba(13,10,8,.9); font-size: 10px; white-space: nowrap; cursor: pointer; }.hero-connection-status i { width: 8px; height: 8px; border-radius: 50%; background: #756b65; }.hero.connecting .hero-connection-status i { background: var(--accent); animation: connection-pulse 1s ease-in-out infinite; }.hero.connected .hero-connection-status { color: #fff6ef; border-color: rgba(255,104,23,.58); background: rgba(138,46,8,.72); }.hero.connected .hero-connection-status i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.eyebrow { display: block; color: var(--ice); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 9px; }
.section-heading h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1;
  letter-spacing: -1.7px;
  font-weight: 800;
}

.trial-banner {
  margin: -15px 12px 12px;
  padding: 14px 14px 14px 12px;
  min-height: 74px;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 106, 22, .34);
  background: rgba(28, 22, 19, .94);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}
.trial-banner.hidden { display: none; }
.trial-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: var(--accent); background: rgba(255,104,23,.12); }
.trial-icon svg { width: 21px; }
.trial-banner div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.trial-banner strong { font-size: 14px; }
.trial-banner span { color: var(--muted); font-size: 11px; margin-top: 3px; }
.small-action { margin-left: auto; border: 0; border-radius: 10px; padding: 10px 12px; background: var(--ice); color: #fff; font-weight: 800; font-size: 12px; cursor: pointer; }

.subscription-card, .steps-card, .support-hero, .profile-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: #171311;
  box-shadow: var(--shadow);
}
.subscription-card { position: relative; z-index: 3; padding: 21px; }
.plan-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.plan-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.8px; }.plan-expiry { margin-top: 1px; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; text-align: right; }.plan-expiry small { grid-column: 1 / -1; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.plan-expiry strong { font-size: 13px; white-space: nowrap; }.plan-expiry svg { width: 16px; color: var(--ice-bright); }
.plan-metrics { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 20px 0 15px; }.plan-metric { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,151,85,.42); border-radius: 999px; color: #f0b47e; background: rgba(255,104,23,.1); }.plan-metric strong { font-size: 12px; white-space: nowrap; }.plan-metric svg { width: 17px; height: 17px; }
.change-plan-action.hidden { display: none; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-heading h2 { margin: 0; font-size: 24px; letter-spacing: -1px; }
.trial-countdown { min-height: 17px; margin: 7px 0 0; color: var(--ice-bright); font-size: 11px; font-weight: 700; }
.status-badge { color: var(--ice-bright); background: rgba(255,104,23,.08); border: 1px solid rgba(255,104,23,.26); border-radius: 999px; padding: 8px 11px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-badge.active { color: var(--ice-bright); border-color: rgba(255,104,23,.34); background: rgba(255,104,23,.12); }
.progress-wrap { margin: 28px 0 20px; }
.progress-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-bottom: 9px; }
.progress-labels strong { color: var(--text); font-size: 12px; }
.progress-track { height: 8px; border-radius: 20px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress-value { height: 100%; width: 2%; border-radius: inherit; background: linear-gradient(90deg, #e94f00, #ff8a3d); box-shadow: 0 0 18px rgba(255,104,23,.28); transition: width .8s ease; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.stat { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.04); }
.stat-icon { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ice); border-radius: 10px; background: rgba(255,104,23,.08); }
.stat-icon svg { width: 18px; }
.stat div { min-width: 0; display: flex; flex-direction: column; }
.stat span { color: var(--muted); font-size: 10px; }
.stat strong { white-space: nowrap; font-size: 13px; margin-top: 2px; }

.primary-action, .outline-action {
  width: 100%;
  min-height: 56px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.primary-action { border: 0; color: #fff; background: linear-gradient(135deg, #ff6817, #e95100); box-shadow: 0 12px 25px rgba(217,76,0,.2); }
.primary-action svg { width: 20px; }
.outline-action { margin-top: 10px; border: 1px solid rgba(255,104,23,.3); color: var(--ice-bright); background: rgba(255,104,23,.025); }
.outline-action svg { width: 19px; }

.feature-strip { margin: 12px 0 0; padding: 15px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; border-radius: 16px; background: rgba(24,20,18,.78); border: 1px solid var(--line); }
.feature-index { color: var(--ice); font-size: 10px; font-weight: 800; }
.feature-strip strong { font-size: 12px; }
.feature-strip p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.feature-signal { height: 22px; display: flex; align-items: flex-end; gap: 3px; }
.feature-signal i { display: block; width: 3px; border-radius: 3px; background: var(--ice); }
.feature-signal i:nth-child(1) { height: 7px; opacity: .45; }.feature-signal i:nth-child(2) { height: 13px; opacity: .7; }.feature-signal i:nth-child(3) { height: 20px; }

.section-heading { display: flex; align-items: center; gap: 12px; margin: 10px 2px 24px; }
.section-heading.standalone { padding-top: 8px; }
.section-heading h1 { font-size: 38px; }
.section-heading p { max-width: 340px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.back-button { border: 1px solid var(--line); background: var(--surface); }
.platform-tabs { display: flex; gap: 6px; padding: 5px; overflow-x: auto; border-radius: 16px; background: rgba(255,255,255,.035); margin-bottom: 16px; scrollbar-width: none; }
.platform-tabs button { border: 0; background: transparent; color: var(--muted); border-radius: 12px; padding: 10px 14px; font-size: 11px; font-weight: 700; cursor: pointer; }
.platform-tabs button.active { color: #fffaf5; background: var(--accent); }
.app-list { display: grid; gap: 10px; }
.client-card { width: 100%; min-height: 78px; display: flex; align-items: center; gap: 12px; text-align: left; padding: 13px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(27,21,18,.86); cursor: pointer; }
.client-card.selected { border-color: rgba(255,104,23,.62); background: linear-gradient(90deg, rgba(255,104,23,.13), rgba(27,21,18,.9)); }
.client-logo { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; font-size: 19px; font-weight: 800; }
.happ-logo { color: #fffaf5; background: var(--accent); }.fl-logo { color: #ffb27e; background: #3a2116; }.koala-logo { color: #f6eee8; background: #352c27; }
.client-copy { display: flex; flex-direction: column; min-width: 0; }
.client-copy strong { font-size: 15px; }.client-copy small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.recommend { margin-left: auto; color: var(--lime); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.radio { width: 18px; height: 18px; margin-left: auto; flex: 0 0 auto; border-radius: 50%; border: 2px solid #526462; }
.selected .radio { border: 5px solid var(--ice); }
.steps-card { margin-top: 18px; padding: 22px; }
.steps-card ol { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 18px; }
.steps-card li { display: flex; gap: 12px; }
.steps-card li > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--accent); border: 1px solid rgba(255,104,23,.35); border-radius: 10px; font-size: 11px; font-weight: 800; }
.steps-card li div { display: flex; flex-direction: column; }.steps-card li strong { font-size: 13px; }.steps-card li p { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 4px 0 0; }

.support-hero { padding: 30px 24px 24px; text-align: center; }
.support-orbit { width: 100px; height: 100px; display: grid; place-items: center; position: relative; margin: 0 auto 18px; color: #ff9a57; border: 1px solid rgba(255,104,23,.24); border-radius: 50%; }
.support-orbit::before, .support-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,104,23,.11); border-radius: 50%; inset: -10px; }.support-orbit::after { inset: -20px; }
.support-orbit span { position: absolute; width: 8px; height: 8px; top: 2px; right: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 15px var(--lime); }
.support-orbit svg { width: 37px; height: 37px; }
.support-hero h2 { margin: 0; font-size: 25px; }.support-hero p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 10px auto 22px; max-width: 330px; }
.faq-list { display: grid; gap: 9px; margin-top: 6px; }.faq-list button { min-height: 66px; display: flex; justify-content: space-between; align-items: center; padding: 0 19px; border: 1px solid rgba(255,104,23,.2); border-radius: 16px; color: var(--text); background: linear-gradient(100deg, rgba(37,25,20,.94), rgba(24,19,17,.9)); font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }.faq-list button:first-child { border-color: rgba(255,104,23,.46); background: linear-gradient(100deg, rgba(255,104,23,.12), rgba(24,19,17,.92)); }.faq-list b { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; margin-left: 12px; color: var(--accent); border-radius: 9px; background: rgba(255,104,23,.09); font-size: 19px; font-weight: 400; }
.support-compact { margin-top: 18px; padding: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; background: rgba(255,255,255,.025); }
.support-compact-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); border-radius: 12px; background: rgba(255,255,255,.045); }.support-compact-icon svg { width: 19px; }
.support-compact div { min-width: 0; }.support-compact strong { font-size: 11px; }.support-compact p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.support-compact button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,104,23,.22); border-radius: 10px; color: var(--ice-bright); background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }

.profile-card { padding: 18px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #fffaf5; background: linear-gradient(145deg, #ff7a24, #d94a00); font-size: 22px; font-weight: 800; }
.profile-card h2 { font-size: 18px; margin: 0; }.profile-card p { color: var(--muted); font-size: 11px; margin: 5px 0 0; }.verified { width: 30px; height: 30px; margin-left: auto; display: grid; place-items: center; color: var(--accent); border-radius: 50%; background: rgba(255,104,23,.12); }.verified svg { width: 17px; }
.profile-list { margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }.profile-list button { width: 100%; min-height: 72px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; text-align: left; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: rgba(27,21,18,.82); cursor: pointer; }.profile-list button:last-child { border-bottom: 0; }.profile-list span { display: flex; flex-direction: column; }.profile-list small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }.profile-list strong { font-size: 13px; margin-top: 4px; }.profile-list b { color: var(--accent); font-size: 11px; }
.privacy-note { margin-top: 14px; padding: 18px; border-radius: 17px; color: var(--muted); background: rgba(255,104,23,.045); border: 1px solid rgba(255,104,23,.14); }.privacy-note strong { color: #ffb27e; font-size: 12px; }.privacy-note p { font-size: 10px; line-height: 1.5; margin: 5px 0 0; }

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 480px);
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
  border: 1px solid rgba(172,224,217,.2);
  border-radius: 24px;
  background: rgba(22, 17, 15, .94);
  box-shadow: 0 18px 45px rgba(0,0,0,.48);
  backdrop-filter: blur(24px);
}
.bottom-nav button { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 17px; color: #70817e; background: transparent; font-size: 8px; font-weight: 700; cursor: pointer; }
.bottom-nav svg { width: 21px; height: 21px; }.bottom-nav button.active { color: #fffaf5; background: var(--accent); }.bottom-nav button.active span { color: #fffaf5; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: end center; padding: 16px; background: rgba(0,0,0,.68); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: .25s ease; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { width: min(100%, 488px); position: relative; padding: 32px 24px 24px; text-align: center; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(160deg, #211713, #100d0b); box-shadow: var(--shadow); transform: translateY(28px); transition: .3s cubic-bezier(.2,.8,.2,1); }.open .modal { transform: none; }
.modal-close { position: absolute; top: 15px; right: 17px; width: 34px; height: 34px; border: 0; color: var(--muted); background: transparent; font-size: 27px; cursor: pointer; }
.modal-mark { width: 66px; height: 66px; margin: 0 auto 18px; display: block; overflow: hidden; border: 1px solid rgba(255,104,23,.34); border-radius: 18px; background: #100d0b; }.modal-mark img { width: 100%; height: 100%; object-fit: cover; }
.modal h2 { margin: 0; font-size: 29px; line-height: 1.08; letter-spacing: -1.2px; }.modal p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 14px auto 22px; max-width: 310px; }.modal small { display: block; color: var(--muted); font-size: 9px; margin-top: 12px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 105px; transform: translate(-50%, 20px); padding: 12px 16px; color: #fffaf5; background: var(--accent); border-radius: 14px; font-size: 11px; font-weight: 800; opacity: 0; visibility: hidden; transition: .25s ease; box-shadow: var(--shadow); }.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@keyframes connection-pulse { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

@media (min-width: 700px) {
  body { padding: 28px 0; }
  .app-shell { min-height: calc(100vh - 56px); border-radius: 34px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
  .bottom-nav { bottom: 40px; }
  .modal-backdrop { place-items: center; }
}

@media (max-width: 460px) {
  .secure-pill { display: none; }
  .topbar { padding-inline: 15px; }
  .topbar-tagline { padding-inline: 8px; font-size: 10px; }
}

@media (max-width: 370px) {
  main { padding-inline: 11px; }
  .topbar { padding-inline: 15px; }
  .secure-pill { display: none; }
  .hero { min-height: 286px; }
  .hero.collapsed { min-height: 170px; }
  .hero-offer { width: 67%; padding: 16px; }
  .hero-offer h1 { font-size: 21px; }
  .offer-benefits p { font-size: 7px; }
  .hero-connection { width: 49%; right: -8px; }
  .topbar-tagline { display: none; }
  .subscription-card { padding: 20px; }
  .recommend { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Trial home: one sales card followed by one connection card. */
.preview-switcher {
  margin: 2px 0 12px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px dashed rgba(255,151,85,.25);
  border-radius: 14px;
  background: rgba(255,104,23,.035);
}
.preview-switcher > span { flex: 0 0 auto; color: #978b84; font-size: 7px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.preview-switcher > div { min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.preview-switcher button { min-width: 0; min-height: 30px; padding: 0 9px; border: 0; border-radius: 9px; color: #9e928b; background: rgba(255,255,255,.035); font-size: 8px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.preview-switcher button.active { color: #fff; background: var(--accent); box-shadow: 0 5px 14px rgba(233,81,0,.22); }

.offer-card {
  min-height: 0;
  padding: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,104,23,.15), transparent 34%),
    linear-gradient(145deg, #18110e 0%, #100d0b 72%);
}
.offer-card::after { background: linear-gradient(110deg, rgba(255,104,23,.07), transparent 45%); }
.offer-collapse { width: 29px; height: 29px; position: absolute; z-index: 5; top: 12px; right: 12px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,104,23,.25); border-radius: 9px; color: #ffad78; background: rgba(16,13,11,.78); cursor: pointer; }
.offer-collapse svg { width: 15px; height: 15px; transition: transform .3s ease; }
.offer-card.collapsed .offer-collapse svg { transform: rotate(180deg); }
.offer-topline { max-height: 28px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 31px; overflow: hidden; color: #8f837c; font-size: 8px; font-weight: 700; opacity: 1; transition: max-height .32s ease, opacity .2s ease; }
.offer-badge { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(255,104,23,.42); border-radius: 999px; color: #ffc092; background: rgba(255,104,23,.12); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.offer-title { position: relative; z-index: 2; margin: 16px 0 17px; padding-right: 28px; display: grid; gap: 2px; line-height: 1.04; letter-spacing: -1.25px; transition: margin .32s ease; }
.offer-title span { display: block; margin: 0 !important; font-size: clamp(24px, 7vw, 31px) !important; font-weight: 800 !important; }
.offer-title em { color: var(--accent); font-style: normal; }
.paid-benefits { max-height: 100px; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; overflow: hidden; opacity: 1; transform: translateY(0); transition: max-height .38s ease, opacity .22s ease, transform .32s ease; }
.paid-benefit { min-width: 0; min-height: 76px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 12px; border: 1px solid rgba(255,151,85,.15); border-radius: 15px; background: rgba(255,255,255,.025); }
.paid-benefit div { position: relative; z-index: 2; min-width: 0; display: grid; gap: 4px; }
.paid-benefit strong { font-size: 11px; line-height: 1.2; }
.paid-benefit span { max-width: 132px; color: #9f938c; font-size: 8px; line-height: 1.35; }
.equipment-icon { width: 72px; height: 72px; position: absolute; z-index: 1; right: -15px; bottom: -16px; color: rgba(255,104,23,.13); stroke-width: 2.3; transform: rotate(13deg); }
.equipment-icon.harness { width: 78px; height: 78px; right: -18px; bottom: -18px; transform: rotate(-8deg); }
.offer-footer { max-height: 58px; position: relative; z-index: 2; margin-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; overflow: hidden; opacity: 1; transition: max-height .35s ease, margin .35s ease, opacity .2s ease; }
.offer-footer > span { max-width: 145px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.hero-action { min-height: 42px; padding: 0 17px; border-radius: 12px; font-size: 11px; }
.offer-rope { width: 100%; height: 100%; position: absolute; z-index: 1; inset: 0; color: rgba(255,104,23,.12); pointer-events: none; }
.offer-rope path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 7 8; }
.offer-card.collapsed { padding-block: 22px; }
.offer-card.collapsed .offer-topline { max-height: 0; opacity: 0; }
.offer-card.collapsed .offer-title { margin: 0; }
.offer-card.collapsed .paid-benefits { max-height: 0; opacity: 0; transform: translateY(-7px); pointer-events: none; }
.offer-card.collapsed .offer-footer { max-height: 0; margin-top: 0; opacity: 0; pointer-events: none; }
.offer-card.collapsed .offer-rope { opacity: .35; }

.subscription-card { margin-top: 12px; padding: 18px; }
.connection-layout { min-height: 240px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; margin-bottom: 15px; }
.connection-copy { min-width: 0; padding: 5px 0 0; }
.connection-copy h2 { margin: 0; font-size: 24px; line-height: 1.05; letter-spacing: -.8px; }
.connection-copy .trial-countdown { max-width: 135px; margin-top: 9px; line-height: 1.45; }
.connection-info-stack { margin-top: 16px; display: grid; gap: 7px; }
.connection-info-stack div { min-width: 0; padding: 8px 9px; display: grid; gap: 2px; border: 1px solid rgba(255,255,255,.055); border-radius: 10px; background: rgba(255,255,255,.028); }
.connection-info-stack small { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .09em; }
.connection-info-stack strong { overflow: hidden; color: #f7e7dc; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
body[data-preview-state="guest"] .connection-info-stack { display: none; }
body[data-preview-state="guest"] .connection-copy { display: flex; flex-direction: column; justify-content: center; padding-bottom: 36px; }
.connection-side { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.connection-visual { height: 183px; position: relative; overflow: hidden; }
.hero-mountain { width: 100%; height: 180px; position: absolute; z-index: 3; top: 0; right: -5px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.48)); }
.hero-sun { width: 76px; height: 76px; left: 61%; top: 3px; margin-left: -38px; }
.hero-climber { width: 38px; height: 53px; left: 1px; top: 115px; }
.subscription-card.connecting .hero-climber { opacity: 1; animation: card-climber-route 3.8s cubic-bezier(.45,.05,.35,1) forwards; }
.subscription-card.connected .hero-climber { opacity: 1; transform: translate(82px,-91px); }
.subscription-card.connected .hero-sun { opacity: 1; transform: scale(1); }
@keyframes card-climber-route {
  0% { transform: translate(0,0) rotate(-7deg); }
  18% { transform: translate(29px,-35px) rotate(4deg); }
  36% { transform: translate(47px,-44px) rotate(-4deg); }
  58% { transform: translate(67px,-80px) rotate(4deg); }
  76% { transform: translate(70px,-78px) rotate(-3deg); }
  100% { transform: translate(82px,-91px); }
}
.hero-connection-status { width: 100%; min-width: 0; min-height: 56px; position: static; padding: 8px 10px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 5px; border-radius: 12px; font-size: 9px; text-align: left; }
.connection-state { min-width: 0; display: flex; align-items: center; gap: 7px; }
.connection-state b { white-space: nowrap; }
.connection-state i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #756b65; }
.connection-protocol { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.08); }
.connection-protocol small { color: #837871; font-size: 6px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.connection-protocol strong { color: #d8c9c0; font-size: 7px; white-space: nowrap; }
.subscription-card.connecting .connection-state i { background: var(--accent); animation: connection-pulse 1s ease-in-out infinite; }
.subscription-card.connected .hero-connection-status { color: #fff6ef; border-color: rgba(255,104,23,.58); background: rgba(138,46,8,.72); }
.subscription-card.connected .connection-state i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.subscription-card.connected .connection-protocol { border-color: rgba(255,255,255,.14); }
.subscription-card.connected .connection-protocol small, .subscription-card.connected .connection-protocol strong { color: #ffe6d5; }
.subscription-card .primary-action, .subscription-card .outline-action { min-height: 50px; border-radius: 15px; font-size: 12px; }

.feature-list { display: grid; gap: 9px; margin-top: 12px; }
.feature-list .feature-strip { margin: 0; }
.feature-symbol { width: 23px; height: 23px; color: var(--ice); opacity: .82; }

.plans-modal { text-align: left; }
.plans-modal h2 { margin-bottom: 20px; }
.plan-options { display: grid; gap: 9px; }
.plan-options button { width: 100%; min-height: 68px; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border: 1px solid rgba(255,151,85,.18); border-radius: 15px; color: var(--text); background: rgba(255,255,255,.025); text-align: left; cursor: pointer; }
.plan-options button.best { border-color: rgba(255,104,23,.55); background: linear-gradient(100deg, rgba(255,104,23,.16), rgba(255,255,255,.025)); }
.plan-options span { display: grid; gap: 4px; }
.plan-options strong { font-size: 13px; }
.plan-options small { color: var(--muted); font-size: 9px; }
.plan-options b { color: #ffb27e; font-size: 14px; }
.plan-options i { position: absolute; top: -7px; right: 10px; padding: 3px 7px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 8px; font-style: normal; font-weight: 800; }

.plans-question { margin: 2px 2px 11px; font-size: 14px; }
.tariff-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tariff-choice { min-width: 0; min-height: 142px; position: relative; padding: 15px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid rgba(255,151,85,.16); border-radius: 17px; color: var(--text); background: linear-gradient(145deg, rgba(255,255,255,.035), #171311); text-align: left; cursor: pointer; }
.tariff-choice.selected { border-color: rgba(255,104,23,.7); background: linear-gradient(145deg, rgba(255,104,23,.17), #171311 70%); box-shadow: inset 0 0 0 1px rgba(255,104,23,.12); }
.tariff-choice-check { width: 21px; height: 21px; position: absolute; top: 10px; right: 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: transparent; font-size: 11px; }
.tariff-choice.selected .tariff-choice-check { color: #fff; border-color: var(--accent); background: var(--accent); }
.tariff-choice small { color: var(--accent); font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tariff-choice > strong { margin-top: 7px; font-size: 21px; letter-spacing: -.7px; }
.tariff-choice p { min-height: 38px; margin: 7px 0 10px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.tariff-choice > b { margin-top: auto; color: #ffc092; font-size: 9px; }
.period-section { margin-top: 16px; }
.period-heading { margin: 0 2px 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.period-heading strong { font-size: 11px; }
.period-heading span { color: var(--muted); font-size: 7px; }
.billing-periods.compact-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.compact-periods button { min-width: 0; min-height: 88px; position: relative; padding: 11px 8px 9px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid rgba(255,151,85,.15); border-radius: 14px; color: var(--text); background: rgba(255,255,255,.025); text-align: left; cursor: pointer; }
.compact-periods button.selected { border-color: rgba(255,104,23,.68); background: rgba(255,104,23,.12); box-shadow: inset 0 0 0 1px rgba(255,104,23,.08); }
.compact-periods button > span:first-of-type { display: flex; align-items: baseline; gap: 4px; }
.compact-periods button > span:first-of-type strong { font-size: 21px; line-height: 1; }
.compact-periods button > span:first-of-type small { color: var(--muted); font-size: 7px; }
.period-prices { width: 100%; display: grid; gap: 2px; }
.period-prices del { min-height: 11px; color: #a18f84; font-size: 8px; font-weight: 600; text-decoration-color: #f06a2f; text-decoration-thickness: 1px; }
.period-prices b { color: #ffb27e; font-size: 11px; white-space: nowrap; }
.compact-periods i { position: absolute; top: -7px; right: 6px; padding: 3px 6px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 7px; font-style: normal; font-weight: 800; }
.checkout-action { margin-top: 13px; }
.checkout-note { margin: 9px 8px 0; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: center; }

.payment-section { margin-top: 16px; }
.region-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border: 1px solid rgba(255,151,85,.14); border-radius: 13px; background: rgba(255,255,255,.025); }
.region-switch button { min-height: 34px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.region-switch button.selected { color: #fff; background: rgba(255,104,23,.18); box-shadow: inset 0 0 0 1px rgba(255,104,23,.3); }
.payment-methods { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.payment-method { min-width: 0; min-height: 62px; display: grid; grid-template-columns: 32px 1fr 9px; align-items: center; gap: 8px; padding: 10px; border: 1px solid rgba(255,151,85,.14); border-radius: 14px; color: var(--text); background: rgba(255,255,255,.025); text-align: left; cursor: pointer; }
.payment-method.selected { border-color: rgba(255,104,23,.62); background: rgba(255,104,23,.1); }
.payment-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #ffb27e; background: rgba(255,104,23,.12); font-size: 14px; font-weight: 800; }
.payment-method > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.payment-method strong { font-size: 10px; }
.payment-method small { overflow: hidden; color: var(--muted); font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }
.payment-method i { width: 8px; height: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.payment-method.selected i { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 8px rgba(255,104,23,.6); }
.payment-method.unavailable { opacity: .48; }
.checkout-action:disabled { cursor: not-allowed; opacity: .55; }

.client-card.filtered-out { display: none; }
.legal-card { margin-top: 18px; overflow: hidden; border: 1px solid rgba(255,104,23,.18); border-radius: 17px; background: rgba(24,19,17,.86); }
.legal-heading { display: flex; align-items: center; gap: 11px; padding: 15px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.legal-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--accent); background: rgba(255,104,23,.1); }
.legal-icon svg { width: 19px; }
.legal-heading div { display: grid; gap: 3px; }
.legal-heading strong { font-size: 12px; }
.legal-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.legal-card > button { width: 100%; min-height: 49px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid rgba(255,255,255,.045); color: #d9cec7; background: transparent; font-size: 10px; text-align: left; cursor: pointer; }
.legal-card > button:last-child { border-bottom: 0; }
.legal-card > button b { color: var(--accent); font-size: 18px; font-weight: 400; }

/* Telegram-sized polish pass */
.offer-card .offer-title {
  gap: 0;
  line-height: 1.02;
  letter-spacing: -1.08px;
}

.offer-card .offer-title span {
  margin: 0 !important;
  font-size: clamp(23px, 6.1vw, 31px) !important;
  font-weight: 800 !important;
  line-height: 1.02;
}

.offer-card .offer-title span:nth-child(2),
.offer-card .offer-title span:nth-child(3) {
  margin-left: 0 !important;
}

.offer-card .offer-title em {
  color: var(--accent);
  font-style: normal;
}

.offer-collapse {
  width: 25px;
  height: 25px;
  top: 10px;
  right: 10px;
}

.offer-collapse svg {
  width: 13px;
  height: 13px;
  transform: translateY(1px);
}

.support-compact {
  margin-top: 14px;
  padding: 12px 13px;
  gap: 10px;
}

.support-compact strong {
  font-size: 10px;
}

.support-compact p {
  font-size: 8px;
}

.support-compact button {
  min-height: 30px;
  padding-inline: 10px;
  font-size: 8px;
}

.feature-list {
  margin-top: 10px;
}

.feature-strip {
  padding: 14px 13px;
}

.feature-strip strong {
  font-size: 11px;
}

.feature-strip p {
  font-size: 9px;
}

.plans-question {
  margin-top: 0;
  font-size: 13px;
}

.tariff-choice {
  min-height: 136px;
}

.tariff-choice > strong {
  font-size: 18px;
}

.compact-periods button {
  min-height: 84px;
}

.compact-periods button > span:first-of-type strong {
  font-size: 19px;
}

.period-prices b {
  font-size: 10px;
}

@media (max-width: 370px) {
  .preview-switcher { align-items: stretch; flex-direction: column; }
  .preview-switcher > div { width: 100%; }
  .offer-card { padding: 17px; }
  .offer-title span { font-size: 22px !important; }
  .paid-benefit { min-height: 72px; padding: 10px; }
  .paid-benefit strong { font-size: 10px; }
  .connection-layout { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); }
  .connection-copy h2 { font-size: 21px; }
}
