/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a1a;
  background: #faf8f5;
  -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #2a2a2a;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.4rem; margin: 1.75rem 0 0.75rem; font-weight: 600; }
h4 { font-size: 1.05rem; margin: 0 0 0.5rem; font-weight: 600; }

p { margin: 0 0 1rem; }

/* === Header / Hero === */
.hero {
  background: linear-gradient(135deg, #3a4d3e 0%, #2c3e2f 100%);
  color: #f5f1e8;
  padding: 4rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 241, 232, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b8c4ba;
  margin: 0 0 1rem;
  font-weight: 500;
}

.hero h1 {
  color: #f5f1e8;
  max-width: 800px;
}

.lede {
  font-size: 1.2rem;
  max-width: 650px;
  color: #d4dbd6;
  margin: 1rem 0 2.5rem;
  font-weight: 300;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 241, 232, 0.15);
  max-width: 800px;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
}

.hero-meta .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8c4ba;
  margin-bottom: 0.3rem;
}

.hero-meta .val {
  font-size: 1rem;
  color: #f5f1e8;
  font-weight: 500;
}

/* === Tabs === */
.tabs {
  position: sticky;
  top: 0;
  background: #faf8f5;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 1rem;
  z-index: 100;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #6b6b6b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab:hover {
  color: #2a2a2a;
}

.tab.active {
  color: #2c3e2f;
  border-bottom-color: #2c3e2f;
}

/* === Panels === */
.panel {
  display: none;
  padding: 3rem 1.5rem 5rem;
  animation: fadeIn 0.3s ease;
}

.panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* === Intro & content === */
.intro-card {
  background: #fff;
  border-left: 3px solid #c89b5a;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.intro-card p {
  margin: 0;
  font-size: 1.08rem;
  color: #3a3a3a;
}

.intro-text {
  font-size: 1.08rem;
  color: #555;
  max-width: 750px;
  margin-bottom: 2rem;
}

/* === Card grid === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-top: 3px solid #2c3e2f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c89b5a;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  color: #2c3e2f;
}

.card h3 span {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
  margin-left: 0.2rem;
}

.card-text {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.market {
  font-size: 0.85rem;
  color: #888;
  margin: 0.5rem 0 0.25rem;
}

.market strong { color: #555; text-decoration: line-through; text-decoration-color: #aaa; }

.discount {
  font-size: 0.95rem;
  color: #c89b5a;
  font-weight: 600;
  margin: 0;
}

/* === Total card === */
.total-card {
  background: #2c3e2f;
  color: #f5f1e8;
  border-radius: 8px;
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(44, 62, 47, 0.2);
}

.total-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8c4ba;
  margin: 0 0 0.5rem;
}

.total-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  margin: 0;
  line-height: 1;
  color: #f5f1e8;
}

.total-amount span {
  font-size: 1rem;
  color: #b8c4ba;
  font-weight: 400;
}

.total-amount-alt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  margin: 0;
  color: #8b9d8e;
  text-decoration: line-through;
  line-height: 1;
}

.total-amount-alt span { font-size: 1rem; font-weight: 400; }

.total-amount-discount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  margin: 0;
  color: #d4a368;
  line-height: 1;
}

.total-amount-discount span { font-size: 1rem; color: #b8c4ba; font-weight: 400; }

.total-sub {
  font-size: 0.85rem;
  color: #b8c4ba;
  margin: 0.5rem 0 0;
}

/* === Feature list === */
.feature-list, .check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.feature-list li, .check-list li {
  padding: 0.65rem 0 0.65rem 1.75rem;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.98rem;
  color: #3a3a3a;
}

.feature-list li:last-child, .check-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #c89b5a;
  font-weight: bold;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2c3e2f;
  font-weight: bold;
}

.check-list.small li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  font-size: 0.92rem;
  border-bottom: none;
}

/* === Reason blocks === */
.reason-block {
  background: #fff;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  border-left: 3px solid #c89b5a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.reason-block h3 {
  margin-top: 0;
  color: #2c3e2f;
  font-size: 1.35rem;
}

.reason-block p:last-child { margin-bottom: 0; }

.reason-block ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}

.reason-block ul li {
  padding: 0.3rem 0;
  color: #3a3a3a;
}

.market-validation {
  background: #f5f1e8;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin: 1rem 0;
  font-size: 0.95rem;
  border-left: 2px solid #c89b5a;
}

/* === Contract panels === */
.contract-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contract-header .eyebrow {
  color: #c89b5a;
  margin: 0 0 0.5rem;
}

.contract-header h2 {
  margin: 0 0 0.5rem;
}

.contract-type {
  font-style: italic;
  color: #888;
  font-size: 1.05rem;
  margin: 0;
}

.big-number-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.big-number {
  text-align: left;
}

.big-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 0.5rem;
}

.big-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin: 0;
  color: #2c3e2f;
  line-height: 1.1;
}

.big-val span {
  font-size: 0.9rem;
  color: #888;
  font-weight: 400;
}

.big-val.muted {
  color: #888;
  text-decoration: line-through;
  text-decoration-color: #ccc;
}

/* === Info tables === */
.info-table, .market-table, .payment-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.info-table td, .market-table td, .payment-table td, .payment-table th {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
}

.payment-table th {
  background: #f5f1e8;
  font-weight: 600;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #2c3e2f;
}

.info-table td:first-child {
  font-weight: 500;
  color: #555;
  width: 35%;
}

.market-table td:last-child, .payment-table td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.market-table .total-row td, .payment-table .total-row td {
  background: #f5f1e8;
  font-weight: 600;
  color: #2c3e2f;
}

.market-table .our-price td {
  background: #2c3e2f;
  color: #f5f1e8;
  font-weight: 600;
}

.payment-table.compact td, .payment-table.compact th {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.market-note {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  margin-top: -0.5rem;
}

/* === Inventory grid === */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.inv-card {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-top: 2px solid #c89b5a;
}

.inv-card h4 {
  color: #2c3e2f;
  margin: 0 0 0.75rem;
}

.inv-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #555;
}

.inv-card ul li {
  padding: 0.15rem 0;
}

.inv-value {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: #c89b5a;
  font-weight: 600;
  text-align: right;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.inventory-total {
  text-align: center;
  font-size: 1.1rem;
  color: #3a3a3a;
  background: #f5f1e8;
  padding: 1rem;
  border-radius: 6px;
  margin: 1.5rem 0 2.5rem;
}

/* === Payment summary === */
.payment-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
}

.pay-card {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-top: 3px solid #2c3e2f;
}

.pay-card.highlight {
  border-top-color: #c89b5a;
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}

.pay-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.pay-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  margin: 0 0 0.75rem;
  color: #2c3e2f;
  line-height: 1;
}

.pay-amount span {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
}

.pay-sub {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* === Attachments === */
.attachment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.attachment-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-left: 3px solid #2c3e2f;
  transition: transform 0.2s, box-shadow 0.2s;
}

.attachment-card:hover:not(.placeholder) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.attachment-card.placeholder {
  opacity: 0.6;
  border-left-color: #ccc;
  cursor: default;
}

.att-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c89b5a;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.attachment-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.attachment-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* === Next steps === */
.next-steps {
  background: #fff;
  padding: 1.5rem 2.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin: 1.5rem 0 2.5rem;
}

.next-steps li {
  padding: 0.65rem 0;
  color: #3a3a3a;
}

/* === Contact card === */
.contact-card {
  background: linear-gradient(135deg, #3a4d3e 0%, #2c3e2f 100%);
  color: #f5f1e8;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
}

.contact-card h3 {
  color: #f5f1e8;
  margin: 0 0 1rem;
}

.contact-card p {
  color: #d4dbd6;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.contact-from {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #c89b5a !important;
  margin-top: 1rem !important;
}

/* === Misc === */
.alt-option {
  background: #f5f1e8;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin: 1rem 0;
  font-size: 0.95rem;
}

/* === Paths grid (new structure) === */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0 2.5rem;
}

.path-card {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-top: 3px solid #2c3e2f;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.path-card.highlight {
  border-top-color: #c89b5a;
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}

.path-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #c89b5a;
  margin: 0 0 0.5rem;
  line-height: 1;
}

.path-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: #2c3e2f;
}

.path-text {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.path-key {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  margin-bottom: 1rem;
}

.path-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: #2c3e2f;
  font-weight: 600;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* === Footer === */
footer {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #2c3e2f;
  color: #b8c4ba;
  font-size: 0.85rem;
}

footer p { margin: 0; }

/* === Responsive === */
@media (max-width: 768px) {
  .hero { padding: 3rem 1.25rem 4rem; }
  .panel { padding: 2rem 1.25rem 4rem; }
  .reason-block { padding: 1.5rem; }
  .pay-card, .card { padding: 1.5rem; }
  .total-card { padding: 1.5rem; gap: 1.5rem; }
  .big-number-row { padding: 1.5rem; gap: 1.25rem; }
  .tab { padding: 0.9rem 1rem; font-size: 0.85rem; }
}

/* === Web fonts via Google === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');
