:root {
  --pys-bg: #f4f5f1;
  --pys-surface: #ffffff;
  --pys-ink: #111514;
  --pys-muted: #6d726e;
  --pys-line: #d9ddd7;
  --pys-soft: #e9ece6;
  --pys-accent: #b8ef2e;
  --pys-accent-strong: #91c900;
  --pys-radius: 20px;
  --pys-shadow: 0 24px 64px rgba(17, 21, 20, 0.11);
  --pys-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--pys-bg); }
body {
  min-width: 320px;
  margin: 0;
  background: var(--pys-bg);
  color: var(--pys-ink);
  font-family: var(--pys-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.pys-container { width: min(100% - 48px, 1320px); margin: 0 auto; }
.pys-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(217, 221, 215, .9);
  background: rgba(244, 245, 241, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.pys-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.pys-brand { font-size: 25px; font-weight: 820; letter-spacing: -.055em; text-decoration: none; }
.pys-nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 630; }
.pys-nav-links a { text-decoration: none; }
.pys-nav-links a:not(.pys-button):hover { color: var(--pys-accent-strong); }
.pys-button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--pys-line);
  border-radius: 13px;
  background: transparent;
  color: var(--pys-ink);
  font-weight: 760;
  letter-spacing: -.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.pys-button:hover { transform: translateY(-1px); border-color: #aeb5ad; }
.pys-button:focus-visible, .pys-tab:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(145, 201, 0, .28);
  outline-offset: 2px;
}
.pys-button-primary { border-color: var(--pys-accent); background: var(--pys-accent); }
.pys-button-primary:hover { border-color: var(--pys-accent-strong); background: var(--pys-accent-strong); }
.pys-button-secondary { background: var(--pys-surface); }
.pys-button-small { min-height: 44px; padding-inline: 20px; }

.pys-hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr); align-items: center; gap: clamp(58px, 8vw, 132px); padding-block: 42px 22px; }
.pys-hero-copy { max-width: 660px; }
.pys-hero h1 { max-width: 620px; margin: 0; font-size: clamp(64px, 6.2vw, 92px); line-height: .92; letter-spacing: -.072em; }
.pys-hero-copy > p { max-width: 590px; margin: 26px 0 0; color: var(--pys-muted); font-size: clamp(19px, 1.55vw, 24px); line-height: 1.48; letter-spacing: -.025em; }
.pys-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.pys-install-link { width: fit-content; margin-top: 18px; display: grid; grid-template-columns: 38px auto 18px; align-items: center; gap: 11px; color: var(--pys-muted); text-decoration: none; }
.pys-install-link > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--pys-line); border-radius: 12px; background: rgba(255, 255, 255, .68); color: var(--pys-ink); }
.pys-install-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pys-install-link strong, .pys-install-link small { display: block; }
.pys-install-link strong { color: var(--pys-ink); font-size: 14px; letter-spacing: -.015em; }
.pys-install-link small { margin-top: 2px; font-size: 12px; }
.pys-install-link > i { font-size: 24px; font-style: normal; transition: transform 160ms ease; }
.pys-install-link:hover > i { transform: translateX(3px); }

.pys-phone-wrap { display: grid; place-items: center; }
.pys-phone {
  width: min(100%, 352px);
  padding: 12px;
  border: 5px solid var(--pys-ink);
  border-radius: 48px;
  background: var(--pys-ink);
  box-shadow: 0 34px 74px rgba(17, 21, 20, .18);
}
.pys-phone-screen { min-height: 610px; padding: 24px 20px 20px; border-radius: 35px; background: var(--pys-surface); }
.pys-phone-status { display: flex; justify-content: space-between; margin-bottom: 26px; font-size: 12px; font-weight: 760; }
.pys-phone-status i { width: 68px; height: 18px; border-radius: 99px; background: var(--pys-ink); }
.pys-phone h2 { margin: 0; font-size: 27px; letter-spacing: -.045em; }
.pys-phone-focus { margin: 20px 0 0; text-align: center; }
.pys-phone-focus span { color: var(--pys-muted); font-size: 14px; }
.pys-phone-focus strong { display: block; margin-top: 3px; font-size: 18px; letter-spacing: -.025em; }
.pys-ring { position: relative; width: 134px; height: 134px; margin: 18px auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--pys-accent) 0 73%, var(--pys-soft) 73% 100%); }
.pys-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--pys-surface); }
.pys-ring svg { position: relative; width: 64px; height: 64px; fill: none; stroke: var(--pys-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pys-action-list { display: grid; gap: 9px; }
.pys-action-row { min-height: 56px; padding: 0 15px; display: grid; grid-template-columns: 33px 1fr 16px; align-items: center; gap: 10px; border: 1px solid var(--pys-line); border-radius: 12px; }
.pys-action-row > svg { width: 25px; height: 25px; fill: none; stroke: var(--pys-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pys-action-row strong { font-size: 14px; }
.pys-action-row span { color: var(--pys-muted); font-size: 13px; }
.pys-chevron { width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.pys-phone .pys-button { width: 100%; margin-top: 16px; }

.pys-flow-section { padding: 32px 0 62px; border-top: 1px solid var(--pys-line); }
.pys-section-title { max-width: 820px; margin: 0; font-size: clamp(42px, 4.2vw, 64px); line-height: .98; letter-spacing: -.06em; }
.pys-flow-section .pys-section-title { font-size: clamp(36px, 3.2vw, 48px); }
.pys-flow { margin-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 26px; }
.pys-flow-step { display: grid; grid-template-columns: 58px 1fr; gap: 18px; }
.pys-step-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--pys-line); border-radius: 50%; background: var(--pys-surface); }
.pys-step-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--pys-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pys-flow-step h3 { margin: 3px 0 8px; font-size: 22px; letter-spacing: -.035em; }
.pys-flow-step p { margin: 0; color: var(--pys-muted); font-size: 15px; line-height: 1.55; }
.pys-flow-arrow { margin-top: 23px; color: var(--pys-accent-strong); font-size: 30px; }

.pys-band { padding: 100px 0; background: var(--pys-ink); color: var(--pys-bg); }
.pys-band-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.pys-band p { max-width: 620px; margin: 24px 0 0; color: #b9bdb8; font-size: 18px; line-height: 1.55; }
.pys-goal-lines { border-top: 1px solid #343a36; }
.pys-goal-line { min-height: 174px; display: grid; grid-template-columns: 126px 1fr; align-items: center; gap: 24px; border-bottom: 1px solid #343a36; }
.pys-goal-line .pys-body-map { width: 112px; height: 150px; overflow: visible; color: #f4f5f1; }
.pys-body-map .py-body-zone { fill: var(--pys-accent); stroke: none; opacity: .68; }
.pys-body-map .py-body-outline { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pys-body-map .py-body-detail { opacity: .6; }
.pys-goal-line:nth-child(2) .py-body-zone { opacity: .96; }
.pys-goal-line h3 { margin: 0 0 5px; font-size: 24px; letter-spacing: -.035em; }
.pys-goal-line p { margin: 0; color: #b9bdb8; font-size: 14px; }
.pys-goal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pys-goal-cards article { min-width: 0; overflow: hidden; border: 1px solid #343a36; border-radius: 18px; background: #171b19; }
.pys-goal-cards img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f6f7f3; }
.pys-goal-cards article > div { padding: 14px; }
.pys-goal-cards h3 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.pys-goal-cards article p { margin: 4px 0 0; color: #b9bdb8; font-size: 12px; line-height: 1.4; }
.pys-goal-cards > p { grid-column: span 2; margin: 4px 0 0; color: #9ea49f; font-size: 11px; line-height: 1.45; }
.pys-neutral-goal { min-height: 160px; display: grid; grid-template-columns: 70px 1fr; align-items: center; background: linear-gradient(135deg, rgba(147,201,0,.14), #171b19) !important; }
.pys-neutral-goal > span { display: grid; width: 52px; height: 52px; margin-left: 14px; place-items: center; border: 1px solid #91c900; border-radius: 50%; color: #b8ef2e; font-size: 24px; }

.pys-safety { padding: 105px 0; }
.pys-safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.pys-safety-copy > p { max-width: 600px; margin: 24px 0 0; color: var(--pys-muted); font-size: 18px; line-height: 1.58; }
.pys-principles { border-top: 1px solid var(--pys-line); }
.pys-principle { padding: 22px 0; display: grid; grid-template-columns: 36px 1fr; gap: 14px; border-bottom: 1px solid var(--pys-line); }
.pys-principle svg { width: 25px; height: 25px; fill: none; stroke: var(--pys-accent-strong); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pys-principle strong { display: block; margin-bottom: 4px; font-size: 18px; }
.pys-principle span { color: var(--pys-muted); line-height: 1.45; }

.pys-cta-section { padding: 90px 0 100px; border-top: 1px solid var(--pys-line); }
.pys-cta-grid { display: grid; grid-template-columns: 1fr minmax(430px, .8fr); gap: 90px; align-items: center; }
.pys-cta-copy p { max-width: 620px; margin: 24px 0 0; color: var(--pys-muted); font-size: 18px; line-height: 1.55; }
.pys-waitlist { padding: 28px; display: grid; gap: 16px; border: 1px solid var(--pys-line); border-radius: var(--pys-radius); background: var(--pys-surface); box-shadow: var(--pys-shadow); }
.pys-pricing-card { padding: 30px; display: grid; gap: 16px; border: 1px solid var(--pys-line); border-radius: var(--pys-radius); background: var(--pys-surface); box-shadow: var(--pys-shadow); }
.pys-pricing-card > span { color: #6c726d; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.pys-pricing-card h3 { margin: 0; font-size: clamp(38px, 6vw, 58px); letter-spacing: -.055em; }
.pys-pricing-card h3 small { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.pys-pricing-card p, .pys-pricing-card > small { margin: 0; color: #686e69; font-size: 13px; line-height: 1.5; }
.pys-pricing-card ul { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.pys-pricing-card li { position: relative; padding-left: 24px; font-size: 14px; }
.pys-pricing-card li::before { content: "✓"; position: absolute; left: 0; color: #709d00; font-weight: 800; }
.pys-field { display: grid; gap: 8px; color: #363b38; font-size: 14px; font-weight: 680; }
.pys-field input, .pys-field select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--pys-line); border-radius: 11px; background: #fbfcfa; color: var(--pys-ink); }
.pys-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--pys-muted); font-size: 13px; line-height: 1.4; }
.pys-check input { width: 18px; height: 18px; accent-color: var(--pys-accent-strong); }
.pys-message { min-height: 20px; margin: 0; color: var(--pys-muted); font-size: 14px; }
.pys-message.ok { color: #4b7700; }
.pys-message.error { color: #b63827; }

.pys-footer { padding: 26px 0; border-top: 1px solid var(--pys-line); color: var(--pys-muted); font-size: 13px; }
.pys-footer-row { display: flex; justify-content: space-between; gap: 24px; }
.pys-footer a { text-decoration: none; }

/* Account */
.pys-account-page { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.pys-back-link { color: var(--pys-muted); font-size: 15px; font-weight: 650; text-underline-offset: 5px; }
.pys-account-main { width: min(100% - 72px, 1416px); margin: 0 auto; padding: 68px 0 78px; display: grid; grid-template-columns: minmax(0, 630px) 1fr; align-items: center; gap: clamp(72px, 7vw, 108px); }
.pys-account-card { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--pys-line); border-radius: var(--pys-radius); background: var(--pys-surface); box-shadow: var(--pys-shadow); }
.pys-account-card h1 { margin: 0; font-size: clamp(38px, 3.4vw, 52px); line-height: 1; letter-spacing: -.055em; }
.pys-account-card > p { margin: 14px 0 0; color: var(--pys-muted); font-size: 17px; line-height: 1.45; }
.pys-tabs { margin: 30px 0 26px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--pys-line); border-radius: 13px; background: var(--pys-bg); }
.pys-tab { min-height: 50px; border: 1px solid transparent; border-radius: 9px; background: transparent; font-weight: 730; cursor: pointer; }
.pys-tab.is-active { border-color: var(--pys-accent-strong); background: var(--pys-surface); }
.pys-account-form { display: grid; gap: 18px; }
.pys-account-form h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.pys-account-form > p:not(.pys-message, .pys-account-switch) { margin: -8px 0 2px; color: var(--pys-muted); font-size: 14px; line-height: 1.5; }
.pys-account-form .pys-button { width: 100%; margin-top: 2px; }
.pys-account-form .pys-check { font-weight: 450; }
.pys-profile-sex { min-width: 0; margin: 0; padding: 0; border: 0; }
.pys-profile-sex legend { margin-bottom: 9px; color: #363b38; font-size: 14px; font-weight: 680; }
.pys-profile-sex > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pys-profile-sex label { position: relative; cursor: pointer; }
.pys-profile-sex input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pys-profile-sex span { min-height: 52px; display: grid; place-items: center; border: 1.5px solid var(--pys-line); border-radius: 11px; background: #fbfcfa; font-size: 15px; font-weight: 720; transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.pys-profile-sex input:checked + span { border-color: var(--pys-accent-strong); background: rgba(184, 239, 46, .11); box-shadow: 0 0 0 3px rgba(147, 207, 0, .1); }
.pys-profile-sex input:focus-visible + span { box-shadow: 0 0 0 4px rgba(147, 207, 0, .2); }
.pys-forgot { width: fit-content; color: var(--pys-muted); font-size: 14px; text-underline-offset: 4px; }
.pys-account-switch { margin: 24px -48px -48px !important; padding: 22px 48px 24px; border-top: 1px solid var(--pys-line); text-align: center; font-size: 14px !important; }
.pys-account-switch button { padding: 0; border: 0; border-bottom: 1px solid var(--pys-accent-strong); background: transparent; cursor: pointer; }
.pys-account-aside h2 { max-width: 520px; margin: 0 0 34px; font-size: clamp(40px, 4.4vw, 66px); line-height: .98; letter-spacing: -.06em; }
.pys-assurance-body { display: grid; grid-template-columns: minmax(300px, 1fr) 150px; align-items: center; gap: 34px; }
.pys-assurance-list { border-top: 1px solid var(--pys-line); }
.pys-assurance { min-height: 84px; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--pys-line); font-size: 18px; }
.pys-assurance svg { width: 33px; height: 33px; padding: 7px; border: 1px solid var(--pys-accent-strong); border-radius: 50%; fill: none; stroke: var(--pys-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pys-account-phone { width: 140px; height: 270px; fill: none; stroke: var(--pys-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .pys-nav-links a:not(.pys-button) { display: none; }
  .pys-hero { grid-template-columns: 1fr; min-height: auto; padding: 72px 0 60px; text-align: center; }
  .pys-hero-copy { margin: 0 auto; }
  .pys-hero h1 { margin-inline: auto; font-size: clamp(54px, 12vw, 78px); }
  .pys-hero-copy > p { margin-inline: auto; }
  .pys-actions { justify-content: center; }
  .pys-install-link { margin-inline: auto; text-align: left; }
  .pys-flow { grid-template-columns: 1fr; gap: 28px; }
  .pys-flow-arrow { display: none; }
  .pys-band-grid, .pys-safety-grid, .pys-cta-grid { grid-template-columns: 1fr; gap: 54px; }
  .pys-account-main { grid-template-columns: 1fr; max-width: 650px; gap: 70px; }
  .pys-assurance-body { grid-template-columns: 1fr; }
  .pys-account-phone { display: none; }
}

@media (max-width: 600px) {
  .pys-container { width: min(100% - 32px, 1320px); }
  .pys-nav { min-height: 62px; }
  .pys-brand { font-size: 22px; }
  .pys-nav-links { gap: 12px; }
  .pys-button-small { min-height: 42px; padding-inline: 14px; font-size: 14px; }
  .pys-hero { padding-top: 50px; gap: 52px; }
  .pys-hero h1 { font-size: clamp(48px, 15vw, 65px); }
  .pys-hero-copy > p { font-size: 18px; }
  .pys-actions .pys-button { flex: 1 1 100%; }
  .pys-phone { width: min(100%, 334px); }
  .pys-band, .pys-safety, .pys-cta-section { padding-block: 72px; }
  .pys-flow-section { padding-block: 54px; }
  .pys-section-title { font-size: 42px; }
  .pys-flow-step { grid-template-columns: 50px 1fr; gap: 15px; }
  .pys-step-icon { width: 50px; height: 50px; }
  .pys-goal-line { min-height: 142px; grid-template-columns: 92px 1fr; gap: 14px; }
  .pys-goal-line .pys-body-map { width: 84px; height: 124px; }
  .pys-cta-grid { gap: 40px; }
  .pys-waitlist { padding: 20px; }
  .pys-footer-row { display: grid; }
  .pys-account-main { width: 100%; padding: 0; display: block; }
  .pys-account-card { min-height: calc(100svh - 63px); padding: 40px 24px 32px; border: 0; border-radius: 0; box-shadow: none; }
  .pys-account-card h1 { font-size: 42px; }
  .pys-account-switch { margin: 24px -24px -32px !important; padding-inline: 24px; }
  .pys-account-aside { display: none; }
  .pys-account-page .pys-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
