* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #08111f, #102038 58%, #07130d);
  color: #f8fafc;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page {
  min-height: 100vh;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(320px, 680px) 390px;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 48px 32px 32px;
}

.eyebrow {
  margin: 0;
  color: #86efac;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin: 10px 0 18px;
  font-size: 58px;
  line-height: 1.04;
}

.lead {
  max-width: 590px;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.6;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-strip span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #263449;
  background: rgba(15, 23, 42, 0.74);
  border-radius: 999px;
  padding: 0 14px;
  color: #dbeafe;
  font-weight: 700;
}

.auth-card,
.price-card {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid #263449;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0b1220;
  border: 1px solid #24324a;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 18px;
}

.toggle button {
  height: 38px;
  border-radius: 6px;
  color: #94a3b8;
  background: transparent;
}

.toggle button.active {
  background: #2563eb;
  color: white;
}

label {
  display: block;
  margin: 14px 0 8px;
  color: #dbeafe;
  font-weight: 700;
  font-size: 14px;
}

input {
  width: 100%;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #08111f;
  color: white;
  padding: 12px 14px;
  outline: none;
}

input:focus {
  border-color: #60a5fa;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 82px;
}

#togglePassword {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  border-radius: 6px;
  padding: 0 10px;
  background: #1f2937;
  color: #dbeafe;
}

#submitBtn {
  display: block;
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  margin-top: 18px;
  background: #22c55e;
  color: #052e16;
  font-weight: 800;
}

#message {
  min-height: 22px;
  color: #cbd5e1;
}

.pricing-section {
  padding: 32px 32px 72px;
}

.section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 22px;
}

.section-heading h2 {
  margin: 8px 0 10px;
  font-size: 38px;
}

.section-heading p {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.5;
}

.pricing-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  box-shadow: none;
}

.price-card.featured {
  border-color: #22c55e;
}

.price-card.muted {
  opacity: 0.84;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: #22c55e;
  color: #052e16;
  font-size: 12px;
  font-weight: 900;
}

.price-header h3 {
  margin: 0;
  font-size: 25px;
}

.price-header p {
  color: #94a3b8;
  line-height: 1.5;
}

.price {
  margin: 18px 0;
  font-size: 36px;
  font-weight: 900;
}

.price span {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 700;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: #dbeafe;
  line-height: 1.9;
}

.plan-link {
  min-height: 42px;
  border-radius: 8px;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #1f2937;
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.plan-link.primary {
  background: #22c55e;
  color: #052e16;
}

.plan-link.disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

@media (max-width: 960px) {
  .hero,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 28px 24px;
    gap: 28px;
  }

  .auth-card {
    width: 100%;
    max-width: 460px;
  }

  h1 {
    font-size: 42px;
  }
}

@media (max-width: 540px) {
  .hero,
  .pricing-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 34px;
  }

  .lead,
  .section-heading p {
    font-size: 16px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .auth-card,
  .price-card {
    padding: 18px;
  }
}

@media (max-width: 540px) {
  .hero {
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .feature-strip {
    margin-top: 18px;
    gap: 8px;
  }

  .feature-strip span {
    min-height: 32px;
    font-size: 13px;
    padding: 0 10px;
  }

  .auth-card {
    margin-top: 4px;
  }

  .pricing-section {
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .pricing-grid {
    gap: 12px;
  }

  .price {
    margin: 12px 0;
  }

  ul {
    line-height: 1.65;
  }

  .plan-link {
    margin-top: 16px;
  }
}

@media (max-width: 540px) {
  .hero {
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .feature-strip {
    margin-top: 18px;
    gap: 8px;
  }

  .feature-strip span {
    min-height: 32px;
    font-size: 13px;
    padding: 0 10px;
  }

  .auth-card {
    margin-top: 4px;
  }

  .pricing-section {
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .pricing-grid {
    gap: 12px;
  }

  .price {
    margin: 12px 0;
  }

  ul {
    line-height: 1.65;
  }

  .plan-link {
    margin-top: 16px;
  }
}

@media (max-width: 540px) {
  .hero {
    min-height: 0 !important;
    display: block;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .hero-copy {
    margin-bottom: 16px;
  }

  .pricing-section {
    padding-top: 10px;
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 16px !important;
    padding: 18px !important;
  }

  .hero-copy {
    margin: 0 !important;
  }

  .auth-card {
    max-width: none !important;
    width: 100% !important;
  }

  .pricing-section {
    padding-top: 12px !important;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .price-card {
    padding: 16px !important;
  }

  .price-header h3 {
    font-size: 22px;
  }

  .price {
    font-size: 30px;
  }
}

@media screen and (max-width: 900px) {
  .pricing-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  .price-card {
    width: 100% !important;
  }
}


/* Product center selector */
.center-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
}

.center-option {
  min-height: 72px;
  border-radius: 8px;
  border: 1px solid #263449;
  background: #0b1220;
  color: #cbd5e1;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 12px;
  text-align: left;
}

.center-option strong,
.center-option span {
  display: block;
}

.center-option strong {
  color: #f8fafc;
}

.center-option span {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.3;
}

.center-option.active {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

@media (max-width: 520px) {
  .center-picker {
    grid-template-columns: 1fr;
  }
}


/* Brand navigation and About page */
.site-nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  width: 240px;
  max-width: 52vw;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 38px;
  border: 1px solid #263449;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  text-decoration: none;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: #22c55e;
  color: #f8fafc;
  background: rgba(34, 197, 94, 0.14);
}

.about-page {
  padding-bottom: 72px;
}

.about-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 420px;
  gap: 48px;
  align-items: center;
  padding: 52px 0 32px;
}

.about-copy h1 {
  margin: 10px 0 18px;
  font-size: 54px;
  line-height: 1.05;
  max-width: 760px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-actions .plan-link {
  margin-top: 0;
}

.founder-card {
  border: 1px solid #263449;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-card div {
  padding: 20px;
}

.founder-card h2,
.founder-card p {
  margin: 0;
}

.founder-card h2 {
  font-size: 26px;
}

.founder-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

.mission-band,
.story-grid,
.platform-grid,
.trust-section {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
}

.mission-band {
  border: 1px solid #263449;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.86);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 28px;
  align-items: start;
}

.mission-band h2,
.trust-section h2,
.story-grid h2,
.platform-grid h3 {
  margin: 8px 0 12px;
}

.mission-band p,
.story-grid p,
.platform-grid p,
.trust-section p {
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 16px;
}

.story-grid,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-grid article,
.trust-section {
  border: 1px solid #263449;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.74);
  padding: 26px;
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-grid .price-card {
  min-height: 220px;
}

.trust-section {
  max-width: none;
}

@media (max-width: 980px) {
  .about-hero,
  .mission-band,
  .story-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: 0;
    padding-top: 34px;
  }

  .founder-card {
    max-width: 520px;
  }

  .about-copy h1 {
    font-size: 42px;
  }
}

@media (max-width: 620px) {
  .site-nav {
    width: min(100% - 28px, 1180px);
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-brand img {
    width: 210px;
    max-width: 100%;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a {
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }

  .about-hero,
  .mission-band,
  .story-grid,
  .platform-grid,
  .trust-section {
    width: min(100% - 28px, 1180px);
  }

  .about-copy h1 {
    font-size: 34px;
  }

  .about-actions .plan-link {
    width: 100%;
  }

  .mission-band,
  .story-grid article,
  .trust-section {
    padding: 20px;
  }
}


/* Selectable pricing cards */
.price-card.featured {
  border-color: #263449;
}

.selectable-price {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.selectable-price:hover,
.selectable-price:focus-visible {
  border-color: #60a5fa;
  transform: translateY(-2px);
  outline: none;
}

.selectable-price.selected {
  border-color: #22c55e;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2), 0 24px 80px rgba(0, 0, 0, 0.24);
}

.selectable-price.selected .price-header h3::after {
  content: "Selected";
  min-height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 0 9px;
  background: #22c55e;
  color: #052e16;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}

.nav-links a.active {
  border-color: #22c55e;
  color: #f8fafc;
  background: rgba(34, 197, 94, 0.14);
}


/* Public legal and trust footer */
.public-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  border-top: 1px solid #263449;
  padding: 22px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #94a3b8;
}

.public-footer span {
  color: #f8fafc;
  font-weight: 900;
}

.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.public-footer a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 800;
}

.public-footer a:hover {
  color: #86efac;
}

.legal-page {
  padding-bottom: 48px;
}

.legal-document {
  width: min(900px, calc(100% - 40px));
  margin: 44px auto 0;
  border: 1px solid #263449;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.legal-document h1 {
  font-size: 44px;
}

.legal-updated {
  color: #86efac;
  font-weight: 800;
}

.legal-section {
  border-top: 1px solid #263449;
  margin-top: 24px;
  padding-top: 22px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 25px;
}

.legal-section p {
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 16px;
}

@media (max-width: 640px) {
  .public-footer {
    width: min(100% - 28px, 1180px);
    align-items: flex-start;
    flex-direction: column;
  }

  .public-footer nav {
    justify-content: flex-start;
  }

  .legal-document {
    width: min(100% - 28px, 900px);
    padding: 22px;
  }

  .legal-document h1 {
    font-size: 34px;
  }
}


/* Support page */
.support-page {
  padding-bottom: 48px;
}

.support-hero,
.support-grid,
.support-contact,
.support-note {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
}

.support-hero h1 {
  max-width: 760px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-grid article,
.support-contact,
.support-note {
  border: 1px solid #263449;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.88);
  padding: 24px;
}

.support-grid h2,
.support-contact h2,
.support-note h2 {
  margin: 0 0 10px;
}

.support-grid p,
.support-contact p,
.support-note p {
  color: #cbd5e1;
  line-height: 1.7;
}

.support-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.support-email {
  min-height: 44px;
  border-radius: 8px;
  background: #22c55e;
  color: #052e16;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .support-grid,
  .support-contact {
    grid-template-columns: 1fr;
  }

  .support-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-hero,
  .support-grid,
  .support-contact,
  .support-note {
    width: min(100% - 28px, 1180px);
  }
}


/* Password reset pages */
.auth-help-link {
  display: inline-flex;
  margin-top: 12px;
  color: #93c5fd;
  font-weight: 800;
  text-decoration: none;
}

.auth-help-link:hover {
  color: #86efac;
}

.single-auth {
  width: min(980px, calc(100% - 40px));
  margin: 34px auto 0;
}

#resetRequestBtn,
#resetConfirmBtn {
  display: block;
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  margin-top: 18px;
  background: #22c55e;
  color: #052e16;
  font-weight: 800;
}

#resetMessage {
  min-height: 22px;
  color: #cbd5e1;
}

#resetMessage a {
  color: #86efac;
  font-weight: 900;
}


/* Compact password reset layout */
.auth-page .single-auth {
  width: min(720px, calc(100% - 40px));
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-content: start;
  gap: 18px;
  margin-top: 34px;
}

.auth-page .auth-copy h2 {
  max-width: 680px;
  font-size: 31px;
  line-height: 1.15;
}

.auth-page .auth-copy p {
  max-width: 680px;
}

.auth-page .auth-card {
  width: min(100%, 520px);
  padding: 22px;
}

#resetRequestBtn,
#resetConfirmBtn {
  width: auto;
  min-width: 210px;
  padding: 0 20px;
}

@media (max-width: 620px) {
  .auth-page .single-auth {
    width: min(100% - 28px, 720px);
  }

  .auth-page .auth-card {
    width: 100%;
  }

  #resetRequestBtn,
  #resetConfirmBtn {
    width: 100%;
  }
}
