/* YourStaySite checkout site — Apple-style system, system font stack, no webfonts. */

:root {
  --bg-white: #FFFFFF;
  --bg-dark: #1D1D1F;
  --bg-light-gray: #F5F5F7;
  --bg-elevated: #FBFBFD;

  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;
  --text-on-dark: #F5F5F7;
  --text-white: #FFFFFF;

  --link-blue: #0066CC;
  --link-blue-hover: #0077ED;

  --font-stack: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;

  --section-gap: 100px;
  --section-gap-sm: 64px;
  --gap-sm: 16px;
  --gap-md: 32px;
  --gap-lg: 48px;

  --content-max: 980px;
  --narrow-max: 720px;

  --radius-card: 18px;
  --radius-card-sm: 12px;
  --radius-button: 980px;

  --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);

  --tracking-title: -0.015em;
  --leading-title: 1.1;
  --leading-body: 1.53;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 17px;
  line-height: var(--leading-body);
  color: var(--text-primary);
  background: var(--bg-white);
}

.content {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.content--narrow { max-width: var(--narrow-max); }

a { color: var(--link-blue); text-decoration: none; }
a:hover { color: var(--link-blue-hover); text-decoration: underline; }

/* Header */
.site-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: var(--tracking-title);
  color: var(--text-primary);
}
.wordmark:hover { color: var(--text-primary); text-decoration: none; }
.header-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  background: var(--text-primary);
  border-radius: var(--radius-button);
  padding: 7px 16px;
}
.header-cta:hover { color: var(--text-white); text-decoration: none; opacity: 0.85; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-light-gray) 100%);
  text-align: center;
  padding: var(--section-gap) 0;
}
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: 0 auto;
  max-width: 820px;
}
.hero .sub {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 24px auto 0;
}
@media (min-width: 734px) {
  .hero h1 { font-size: 56px; }
  .hero .sub { font-size: 21px; }
}

/* Sections */
.section { padding: var(--section-gap-sm) 0; }
.section--gray { background: var(--bg-light-gray); }
.section h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  text-align: center;
  margin: 0 0 var(--gap-lg);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-sm);
}
@media (min-width: 734px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); } }
.step {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.step .step-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin: 0 0 8px;
}
.step h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: var(--tracking-title);
  margin: 0 0 10px;
}
.step p { margin: 0; color: var(--text-secondary); }

/* Included list */
.included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-light-gray);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.included-list li {
  padding: 18px 28px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.included-list li:first-child { border-top: none; }

/* What it isn't */
.plain-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.plain-card p { margin: 0; }

/* Pricing */
.pricing {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
  padding: var(--section-gap) 0;
}
.pricing .price {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--tracking-title);
  margin: 0;
}
.pricing .price-terms {
  font-size: 21px;
  font-weight: 600;
  margin: 16px 0 0;
}
.buy-button {
  display: inline-block;
  margin-top: 32px;
  font-size: 17px;
  font-weight: 500;
  color: var(--bg-dark);
  background: var(--text-white);
  border-radius: var(--radius-button);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  font-family: var(--font-stack);
}
.buy-button:hover { color: var(--bg-dark); text-decoration: none; opacity: 0.9; }

/* FAQ */
.faq-item { border-top: 1px solid rgba(0,0,0,0.1); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
.faq-item h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: var(--tracking-title);
  margin: 0 0 8px;
}
.faq-item p { margin: 0; color: var(--text-secondary); }

/* Legal pages */
.legal { padding: var(--section-gap-sm) 0; }
.legal h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: 0 0 8px;
}
.legal .updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin: 0 0 40px;
}
.legal h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: var(--tracking-title);
  margin: 36px 0 10px;
}
.legal p, .legal li { color: var(--text-secondary); }
.legal ul { padding-left: 22px; }

/* Checkout page */
.checkout-wrap {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background: var(--bg-light-gray);
}
.checkout-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.checkout-card h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: var(--tracking-title);
  margin: 0 0 8px;
}
.checkout-card .price-line {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 24px;
}
.checkout-card .buy-button {
  margin-top: 0;
  color: var(--text-white);
  background: var(--bg-dark);
  width: 100%;
}
.checkout-card .buy-button:hover { color: var(--text-white); }
.checkout-card .buy-button[disabled] { opacity: 0.5; cursor: default; }
.checkout-notice {
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.checkout-fineprint {
  margin: 24px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* Centered simple page (thank-you, 404) */
.simple-page {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}
.simple-page h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: var(--tracking-title);
  margin: 0 0 16px;
}
.simple-page p { color: var(--text-secondary); font-size: 19px; margin: 8px 0 0; }

/* Footer */
.site-footer {
  background: var(--bg-light-gray);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 32px 0 40px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 16px;
}
.footer-links a { color: var(--text-secondary); }
.footer-legal { margin: 0; max-width: 640px; }
