/* Pro landing page. Mobile-first. Shares tokens with styles-v2.css. */

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 40;
  text-decoration: none;
}
.skip:focus { transform: none; }

.pro-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 20px;
  background: #0E1418;
  border-bottom: 0;
  color: #FBFAF8;
}
.pro-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FBFAF8;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.pro-brand img {
  width: 36px;
  height: 36px;
}
.pro-bar-link {
  color: #FBFAF8;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pro-bar :focus-visible {
  outline-color: #5FC9DC;
}

.pro-steps,
.pro-plans {
  padding: 28px 20px 8px;
}
.pro-wrap { max-width: 760px; margin: 0 auto; }
.pro-plans .pro-wrap { max-width: 1040px; }

.pro-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: #0E1418;
  color: #FBFAF8;
  padding: 8px 0 0;
  overflow: hidden;
}
.pro-hero .pro-wrap {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 640px;
  margin: 0;
  padding: 12px 20px 8px;
}
.pro-hero-media {
  position: relative;
  margin-top: 12px;
}
.pro-hero-media picture { display: block; }
.pro-hero-media img {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 46%;
}

.pro-hero h1 {
  margin: 8px 0 0;
  color: #FBFAF8;
  font-size: clamp(34px, 8.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 11em;
}
.pro-hero h1 span { display: block; color: #FBFAF8; }
.pro-hero :focus-visible { outline-color: #5FC9DC; }
.pro-sub {
  margin: 16px 0 0;
  max-width: 38em;
  font-size: 17px;
  line-height: 1.5;
  color: #B9C3C8;
}
.pro-caveat {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #B9C3C8;
}
.pro-offer {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: rgba(251, 250, 248, 0.06);
  border: 1px solid rgba(251, 250, 248, 0.32);
  border-radius: 12px;
  color: #FBFAF8;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.pro-cta { margin-top: 18px; }
.pro-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pro-btn:hover { background: var(--cyan-ink); color: #fff; }
.pro-desktop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.pro-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.pro-badges a { display: inline-flex; line-height: 0; }
.pro-badges img { height: 44px; width: auto; }
.pro-web {
  color: var(--cyan-ink);
  font-size: 16px;
  font-weight: 600;
  text-underline-offset: 3px;
}
.pro-hero .pro-web {
  color: #5FC9DC;
  text-decoration-thickness: 1px;
}
.pro-hero .pro-btn {
  background: #FBFAF8;
  color: #14171B;
}
.pro-hero .pro-btn:hover { background: #5FC9DC; color: #0E1418; }

.pro-alt {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: #B9C3C8;
}
.pro-alt a { color: #5FC9DC; font-weight: 600; text-underline-offset: 3px; }

.pro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: #B9C3C8;
}
.pro-trust li { display: inline-flex; align-items: center; }
.pro-trust li + li::before {
  content: "·";
  margin: 0 8px;
  color: #5FC9DC;
}
@media (max-width: 560px) {
  .pro-trust { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pro-trust li::before,
  .pro-trust li + li::before {
    content: "";
    width: 5px;
    height: 5px;
    margin: 0 8px 0 0;
    border-radius: 50%;
    background: #5FC9DC;
  }
}

.pro-steps { padding-top: 12px; padding-bottom: 12px; }
.pro-steps h2,
.pro-plans h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: -0.03em;
}
.pro-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}
.pro-steps ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pro-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.pro-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.pro-steps h3 { margin: 2px 0 4px; font-size: 18px; letter-spacing: -0.02em; }
.pro-steps p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.45; }

.pro-plans { padding-top: 36px; padding-bottom: 28px; }
.pro-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.pro-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.pro-card h3 { margin: 0; font-size: 18px; }
.pro-price {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.pro-price span { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-muted); }
.pro-card p { margin: 0; font-size: 15px; line-height: 1.45; }
.pro-card a { color: var(--cyan-ink); font-weight: 600; text-underline-offset: 3px; }
.pro-card a.pro-btn, .pro-card a.pro-btn:hover { color: #fff; }
.pro-card-pro {
  border: 2px solid var(--cyan-ink);
  background: #f3fbfc;
}
.pro-card-pro .pro-flag {
  align-self: flex-start;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--cyan-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pro-more { margin: 16px 0 0; font-size: 14px; }
.pro-more a { color: var(--cyan-ink); font-weight: 600; text-underline-offset: 3px; }

.pro-page .foot { margin-top: 12px; }

[data-cta][hidden] { display: none !important; }
html[data-device="ios"] [data-cta="ios"][hidden],
html[data-device="android"] [data-cta="android"][hidden],
html[data-device="ios"] [data-cta="ios"],
html[data-device="android"] [data-cta="android"] {
  display: flex !important;
}

/* Tablet uses the wide frame, full width under the copy, so the door stays in view. */
@media (min-width: 768px) and (max-width: 1023px) {
  .pro-hero { padding-bottom: 0; }
  .pro-hero .pro-wrap { padding-left: 32px; padding-right: 32px; }
  .pro-hero h1 { font-size: clamp(40px, 5vw, 52px); }
  .pro-hero-media { margin-top: 20px; }
  .pro-hero-media img {
    height: auto;
    aspect-ratio: 1280 / 720;
    object-fit: cover;
    object-position: center center;
  }
}

@media (min-width: 1024px) {
  .pro-hero {
    flex-direction: row;
    align-items: center;
    min-height: 640px;
    padding: 36px 0 36px 40px;
  }
  .pro-hero .pro-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    width: min(500px, 42vw);
    max-width: 500px;
    padding: 12px 12px 12px 0;
    background: #0E1418;
  }
  .pro-hero .pro-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 160px;
    background: linear-gradient(90deg, #0E1418 0%, rgba(14, 20, 24, 0.72) 46%, rgba(14, 20, 24, 0) 100%);
    pointer-events: none;
  }
  .pro-hero h1 { font-size: clamp(42px, 3.6vw, 60px); }
  .pro-hero-media {
    flex: 1 1 auto;
    align-self: center;
    width: min(1280px, calc(100% - 520px));
    max-width: 1280px;
    height: min(720px, 78vh);
    min-height: 480px;
    margin: 0 0 0 auto;
  }
  .pro-hero-media picture { height: 100%; }
  .pro-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 1280px;
    margin-left: auto;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: right center;
  }
  .pro-hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, #0E1418 0%, rgba(14, 20, 24, 0.45) 10%, rgba(14, 20, 24, 0) 28%);
  }
}

@media (min-width: 800px) {
  .pro-bar { padding-left: 32px; padding-right: 32px; }
  .pro-steps, .pro-plans { padding-left: 32px; padding-right: 32px; }
  .pro-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .pro-steps ol { grid-template-columns: repeat(3, 1fr); }
  .pro-desktop { align-items: flex-start; }
  .pro-btn { width: auto; min-width: 280px; }
}

@media (max-width: 799px) {
  .pro-card-pro { order: -1; }
}
