:root {
  --navy: #0a1f3c;
  --navy-2: #10294d;
  --navy-3: #16365f;
  --gold: #d9a441;
  --gold-dark: #b9822e;
  --ink: #17233b;
  --muted: #5a6b84;
  --bg: #f6f7f9;
  --card: #ffffff;
  --line: #dfe4ec;
  --green: #1d7a4d;
  --red: #b3261e;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 30px; }
p { margin: 0 0 14px; }
a { color: var(--navy); }

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.logo span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  color: #dbe4f0;
  text-decoration: none;
  font-size: 15px;
}
.main-nav a:hover { color: #fff; }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}

.hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 20% 0%, var(--navy-3) 0%, var(--navy) 60%);
  color: #fff;
  padding: 72px 0 64px;
}
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 16px;
}
.hero h1 { font-size: 46px; margin-bottom: 18px; }
.hero-sub { font-size: 19px; color: #c9d6e8; max-width: 640px; }
.hero-ctas { display: flex; gap: 14px; margin: 28px 0 36px; flex-wrap: wrap; }
.hero-facts {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
}
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 22px; }
.hero-facts span { color: #9fb0c6; font-size: 14px; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e4b45c; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.section { padding: 64px 0; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-soft { background: #eceff3; }
.section-intro { color: var(--muted); font-size: 18px; max-width: 640px; }
.section-navy .section-intro { color: #b9c7da; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin-bottom: 0; }
.section-navy .card { background: var(--navy-2); border-color: #23456e; }
.section-navy .card p { color: #b9c7da; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.step { border-top: 3px solid var(--gold); padding-top: 18px; }
.step-num {
  display: inline-block;
  width: 34px; height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { color: #fff; font-size: 18px; }
.step p { color: #b9c7da; margin-bottom: 0; }

.plan-price { font-size: 34px; font-weight: 800; color: var(--navy); }
.plan-price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan-highlight { border: 2px solid var(--gold); }

.qr-box {
  margin-top: 22px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.qr-box h3 { color: #fff; }
.qr-box p { color: #b9c7da; margin-bottom: 0; }
.qr-price { text-align: right; white-space: nowrap; }
.qr-price strong { font-size: 30px; color: var(--gold); }
.qr-price span { font-size: 14px; color: #b9c7da; }

.form label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
}
.form .optional { font-weight: 400; color: var(--muted); }
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="date"],
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error {
  color: var(--red);
  font-weight: 600;
  background: #fdecea;
  border: 1px solid #f5c6c2;
  border-radius: 10px;
  padding: 12px 14px;
}

.order-items {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px 20px 14px;
  margin: 0 0 18px;
}
.order-items legend { font-weight: 700; padding: 0 8px; }
.order-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-weight: 400;
  margin-bottom: 0;
}
.order-line:last-child { border-bottom: none; }
.order-line input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.order-line > span { flex: 1; }
.order-line .price { white-space: nowrap; }
.order-line .price span { font-weight: 400; font-size: 13px; color: var(--muted); }

.totals {
  display: flex;
  gap: 32px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 20px;
}
.totals div { display: flex; flex-direction: column; }
.totals span { color: #b9c7da; font-size: 14px; }
.totals strong { font-size: 24px; }

.no-payment {
  background: #fdf6e7;
  border: 1px solid #ecd9a8;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 18px;
}
.no-payment p { margin: 4px 0 0; color: #6b5a2e; }

.confirmation {
  background: #e9f7ee;
  border: 1px solid #bfe3cb;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}
.confirmation h3 { color: var(--green); }
.confirmation p { margin-bottom: 8px; }

.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 18px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); margin-bottom: 0; }

.site-footer { background: var(--navy); color: #b9c7da; padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.site-footer p { margin-bottom: 6px; }

#penny-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(10, 31, 60, 0.35);
}
#penny-chat {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 100;
  width: 340px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(10, 31, 60, 0.3);
  overflow: hidden;
}
.penny-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.penny-header span { color: #b9c7da; font-size: 13px; flex: 1; }
.penny-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.penny-messages {
  height: 280px;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.penny-msg {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  max-width: 88%;
}
.penny-msg.penny { background: #eef2f7; align-self: flex-start; }
.penny-msg.user { background: var(--navy); color: #fff; align-self: flex-end; }
.penny-form { display: flex; border-top: 1px solid var(--line); }
.penny-form input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}
.penny-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .hero h1 { font-size: 32px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .main-nav a:not(.nav-cta) { display: none; }
  .qr-box { flex-direction: column; align-items: flex-start; }
  .qr-price { text-align: left; }
  h2 { font-size: 25px; }
}
