:root {
  --container-width: 860px;
  --screen-gutter: 22px;
  --ink: #181a22;
  --ink-soft: #545967;
  --paper: #f4efe6;
  --panel: #fffaf2;
  --panel-strong: #22252d;
  --line: rgba(24, 26, 34, 0.08);
  --green: #21bfb8;
  --green-deep: #14867f;
  --coral: #ff7a59;
  --coral-deep: #ee6642;
  --teal-glow: rgba(33, 191, 184, 0.2);
  --coral-glow: rgba(255, 122, 89, 0.16);
  --sand: #efe4d2;
  --shadow-soft: 0 24px 70px rgba(41, 37, 31, 0.08);
  --shadow-strong: 0 26px 60px rgba(20, 23, 29, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #ffffff;
  min-height: 100vh;
}

.topbar {
  padding: 18px var(--screen-gutter) 0;
  background: transparent;
}

.topbar-inner,
.wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.topbar-inner {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  border: 0;
  border-radius: 30px;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  flex: 0 0 auto;
}

.brand-text {
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1d2028;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: #fff;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.topbar-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 0 0 auto;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #273340;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #46b57c 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 125, 87, 0.28);
}

.subscription-chip {
  padding: 11px 16px;
  border-radius: 999px;
  color: #273340;
  background: rgba(47, 125, 87, 0.08);
  border: 1px solid rgba(47, 125, 87, 0.16);
  box-shadow: none;
}

.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.wrap {
  padding: 26px var(--screen-gutter) 68px;
}

.wrap-no-topbar {
  padding-top: 18px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-copy,
.checkout,
.policy-section {
  width: 100%;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at top right, var(--coral-glow), transparent 30%),
    radial-gradient(circle at bottom left, rgba(33, 191, 184, 0.12), transparent 28%),
    linear-gradient(180deg, #23262e 0%, #1a1d26 100%);
  color: #f8f4ec;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--teal-glow);
  filter: blur(18px);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 160px auto auto 50%;
  width: 780px;
  height: 780px;
  transform: translateX(-50%);
  background: url("/assets/images/logo_pr_n2.png") center/contain no-repeat;
  opacity: 0.1;
  filter: blur(28px) saturate(1.06);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 245, 232, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: 800;
}

.accent {
  color: #ffb19a;
  display: inline-block;
}

.lead {
  margin: 22px 0 0;
  max-width: 660px;
  color: rgba(241, 236, 226, 0.8);
  font-size: 16px;
  line-height: 1.68;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.bottom-links a {
  text-decoration: none;
  color: #fff8f0;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.checkout {
  padding: 30px;
  background: var(--panel);
  border: 1px solid rgba(24, 26, 34, 0.06);
}

.checkout .eyebrow {
  color: var(--green-deep);
  background: rgba(47, 125, 87, 0.08);
  border: 1px solid rgba(47, 125, 87, 0.14);
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.checkout h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.price {
  color: var(--green-deep);
  text-align: right;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.price small {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.checkout-tabs {
  margin-top: 20px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-radius: 24px;
  background: #f0e7da;
  border: 1px solid rgba(24, 26, 34, 0.05);
}

.checkout-tab {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  border-radius: 18px;
  color: #6a675f;
  font-size: 15px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.66);
}

.checkout-tab.active {
  color: #fff;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 16px 28px rgba(47, 125, 87, 0.22);
}

.site-flash {
  margin-top: 16px;
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(255, 122, 89, 0.1);
  border: 1px solid rgba(255, 122, 89, 0.24);
  color: #8d3e26;
}

.site-flash-ok {
  background: rgba(47, 125, 87, 0.1);
  border-color: rgba(47, 125, 87, 0.22);
  color: var(--green-deep);
}

form {
  margin-top: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

input {
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(24, 26, 34, 0.08);
  background: rgba(255, 255, 255, 0.88);
  padding: 0 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

input:focus {
  border-color: rgba(47, 125, 87, 0.5);
  box-shadow: 0 0 0 4px rgba(47, 125, 87, 0.08);
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

button {
  min-height: 58px;
  border: 0;
  border-radius: 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

button:hover {
  transform: translateY(-1px);
}

.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%);
  box-shadow: 0 18px 34px rgba(255, 122, 89, 0.22);
}

.secondary {
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f2e9dd 100%);
  border: 1px solid rgba(24, 26, 34, 0.08);
}

.actions button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.consent-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 26, 34, 0.08);
  color: var(--ink-soft);
  font-size: 14px;
}

.consent-box label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.consent-box input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--green);
}

.consent-box a {
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px dashed rgba(31, 93, 64, 0.28);
}

.note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #f2e9dd;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.policy-section {
  margin-top: 28px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(24, 26, 34, 0.06);
}

.policy-section h2,
.policy-section h3 {
  margin-top: 0;
  color: var(--ink);
}

.policy-section h2 {
  font-size: 32px;
  letter-spacing: -0.04em;
}

.policy-section h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 19px;
}

.policy-section p,
.policy-section li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.policy-section ul {
  padding-left: 20px;
  margin: 8px 0 0;
}

@media (max-width: 960px) {
  :root {
    --screen-gutter: 16px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
  }

  .brand-logo {
    height: 56px;
  }

  .brand-text {
    font-size: 28px;
  }

  .topbar-panel {
    display: flex;
    margin-left: auto;
  }

  .wrap {
    padding: 22px var(--screen-gutter) 56px;
  }

  .hero-copy,
  .checkout,
  .policy-section {
    padding: 22px;
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .lead {
    font-size: 16px;
  }

  .checkout-tabs,
  .actions {
    grid-template-columns: 1fr;
  }

  .checkout-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .price {
    text-align: left;
  }
}

@media (min-width: 961px) {
  .topbar-panel {
    display: flex !important;
  }
}
