:root {
  --ink: #1c2b2d;
  --sidebar-bg: #eef1ea;
  --page-bg: #fbfaf7;
  --line: #d8d3c4;
  --accent: #364b64;
  --accent-ink: #fbfaf7;
  --error: #a13d2f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  background: var(--page-bg);
  color: var(--ink);
}

.layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 100vh;
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
}

.sidebar {
  background: var(--sidebar-bg);
  padding: 40px 32px;
}

.logo {
  max-width: 160px;
  margin-bottom: 28px;
}

.sidebar h1 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 10px;
  font-weight: 500;
}

.sidebar .tagline {
  font-size: 15px;
  color: #4b5a52;
  line-height: 1.5;
  margin: 0 0 28px;
}

.sidebar h2.section-label {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #4b5a52;
  margin: 0 0 12px;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.benefits li {
  padding: 7px 0;
  font-size: 14.5px;
  display: flex;
  gap: 8px;
}

.benefits li::before {
  content: '✓';
  color: var(--accent);
}

.testimonials {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.testimonial {
  margin-bottom: 24px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.testimonial-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #3a453f;
  margin: 0;
}

.testimonial .name {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #6b7268;
}

.main {
  padding: 48px 40px;
  max-width: 620px;
}

.eyebrow {
  font-size: 13px;
  color: #6b6455;
  margin: 0 0 6px;
}

h2.form-heading {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  font-size: 13px;
  color: #6b6455;
  margin: 0 0 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 16px;
}

input:focus, #payment-element:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.price-summary {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 8px 0 24px;
}

.price-summary .row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 6px;
}

.price-summary .row.future {
  color: #6b6455;
  font-size: 13.5px;
}

#payment-element {
  margin-bottom: 20px;
}

button {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}

button:disabled { opacity: 0.55; cursor: default; }

#message {
  margin-top: 14px;
  font-size: 14px;
  color: var(--error);
}

.fine-print {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.5;
  color: #837c6c;
}

.success-page {
  max-width: 460px;
  margin: 60px auto;
  text-align: center;
  padding: 0 24px;
}

.success-icon { font-size: 34px; margin-bottom: 12px; }
