@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #fbf9f6;
  --surface: #ffffff;
  --text: #2c2a27;
  --text2: #7a756d;
  --accent: #f2a93c;
  --accent-pressed: #d99326;
  --divider: #ece7e0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 8px 24px rgba(44, 42, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  padding: 20px 0;
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--text2);
  font-weight: 600;
  margin-left: 28px;
  font-size: 15px;
}

nav.site-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-pressed);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--divider);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.btn-block {
  width: 100%;
}

section {
  padding: 64px 0;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 19px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-glow {
  width: 220px;
  height: 220px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 169, 60, 0.22), rgba(242, 169, 60, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.card .emoji {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: var(--text2);
  font-size: 14.5px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 10px;
  font-weight: 800;
}

.section-title p {
  color: var(--text2);
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid transparent;
}

.price-card.featured {
  border-color: var(--accent);
}

.price-card .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.price-card .amount {
  font-size: 38px;
  font-weight: 800;
  margin: 6px 0 2px;
}

.price-card .amount span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text2);
}

.price-card .note {
  color: var(--text2);
  font-size: 14px;
  margin-bottom: 22px;
}

footer.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text2);
  font-size: 14px;
  border-top: 1px solid var(--divider);
}

/* --- Payment page --- */
.pay-card {
  max-width: 440px;
  margin: 40px auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}

.pay-card h1 {
  font-size: 22px;
  margin: 0 0 24px;
  text-align: center;
}

.plan-toggle {
  display: flex;
  background: var(--bg);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}

.plan-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--text2);
}

.plan-toggle button.active {
  background: var(--accent);
  color: #fff;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}

input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--divider);
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 20px;
  background: var(--bg);
  color: var(--text);
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.pay-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}

.pay-total .amount {
  font-size: 24px;
  font-weight: 800;
}

.pay-error {
  color: #c0503f;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  display: none;
}

.status-page {
  text-align: center;
  padding: 100px 24px;
}

.status-page .emoji {
  font-size: 56px;
  display: block;
  margin-bottom: 20px;
}

.status-page h1 {
  font-size: 26px;
  margin: 0 0 12px;
}

.status-page p {
  color: var(--text2);
  margin: 0 0 28px;
}

@media (max-width: 640px) {
  nav.site-nav {
    display: none;
  }
}
