@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500&display=swap');

:root {
  font-family: 'DM Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #141413;
  background: #faf9f5;
  --canvas: #faf9f5;
  --surface: #f5f0e8;
  --card: #efe9de;
  --cream-strong: #e8e0d2;
  --ink: #141413;
  --body: #3d3d3a;
  --muted: #6c6a64;
  --hairline: #e6dfd8;
  --coral: #cc785c;
  --coral-dark: #a9583e;
  --dark: #181715;
  --dark-elevated: #252320;
  --teal: #5db8a6;
  --danger: #c64545;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; background: var(--canvas); color: var(--body); line-height: 1.55; }
a { color: inherit; }

header {
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(250,249,245,.94);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
header a { color: var(--ink); text-decoration: none; margin-left: 22px; font-size: 14px; font-weight: 500; }
header > a:first-child { margin-left: 0; font-family: 'Source Serif 4', Georgia, serif; font-size: 25px; letter-spacing: -.5px; }
header > a:first-child::before { content: '✳'; color: var(--coral); font-family: Georgia, serif; font-size: 19px; margin-right: 8px; }
header nav a:hover { color: var(--coral-dark); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
main.wrap { padding-top: 64px; padding-bottom: 96px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; padding: 48px 0 88px; }
.eyebrow { margin: 0 0 18px; color: var(--coral-dark); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.hero h1 { max-width: 620px; margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(44px, 6vw, 72px); font-weight: 400; line-height: 1.03; letter-spacing: -2px; color: var(--ink); }
.hero-lead { max-width: 530px; margin: 24px 0 30px; font-size: 18px; color: var(--muted); }
.hero-art { min-height: 360px; padding: 36px; border-radius: 20px; background: var(--dark); color: var(--canvas); position: relative; overflow: hidden; }
.hero-art::after { content: ''; position: absolute; width: 240px; height: 240px; right: -60px; top: -50px; border: 1px solid rgba(204,120,92,.65); border-radius: 50%; box-shadow: 0 0 0 28px rgba(204,120,92,.1), 0 0 0 56px rgba(204,120,92,.07); }
.hero-art h2 { position: relative; z-index: 1; margin: 0 0 90px; max-width: 290px; font-family: 'Source Serif 4', Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.1; }
.hero-art p { position: relative; z-index: 1; max-width: 310px; color: #a09d96; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; letter-spacing: -.8px; }
h1 { font-size: 48px; line-height: 1.1; margin: 0 0 14px; }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card, .panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 28px; box-shadow: none; }
.card { display: flex; flex-direction: column; min-height: 100%; transition: transform .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); border-color: #d1b5a7; }
.card img { width: 100%; height: 210px; object-fit: cover; border-radius: 10px; background: var(--cream-strong); margin: -4px 0 22px; }
.card h2 { font-size: 25px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .btn { align-self: flex-start; margin-top: auto; }
.money { color: var(--coral-dark); font-size: 24px; font-weight: 600; letter-spacing: -.4px; }
small { color: var(--muted); font-size: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 11px 18px; border: 0; border-radius: 8px; background: var(--coral); color: #fff; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn.gray { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.btn.gray:hover { background: var(--cream-strong); }
.btn.danger { background: var(--danger); color: #fff; }

.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 7px; color: var(--body); font-size: 14px; font-weight: 500; }
.form input, .form textarea, .form select, input, textarea, select { width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--canvas); color: var(--ink); font: inherit; outline: none; }
.form textarea { min-height: 112px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus, input:focus, textarea:focus, select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(204,120,92,.14); }
.notice { margin: 18px 0; padding: 13px 16px; border: 1px solid #e8c0ad; border-radius: 8px; background: #fff1eb; color: #8f4733; }
.notice.ok { border-color: #b9ddce; background: #edf8f2; color: #24674e; }
.nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 34px; }
.nav form { display: inline; }

.table { width: 100%; border-collapse: collapse; overflow: hidden; background: var(--canvas); border: 1px solid var(--hairline); border-radius: 12px; }
.table th, .table td { padding: 15px 16px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: middle; }
.table th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; background: var(--surface); }
.table tr:last-child td { border-bottom: 0; }
.table a { color: var(--coral-dark); font-weight: 600; }
.panel + .panel { margin-top: 24px; }

@media (max-width: 760px) {
  header { padding: 0 18px; }
  header > a:first-child { font-size: 22px; }
  header a { margin-left: 12px; font-size: 13px; }
  .wrap { padding: 0 18px; }
  main.wrap { padding-top: 36px; padding-bottom: 56px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 26px 0 54px; }
  .hero h1 { font-size: 48px; letter-spacing: -1.2px; }
  .hero-art { min-height: 280px; }
  .hero-art h2 { margin-bottom: 60px; }
  h1 { font-size: 38px; }
  .card, .panel { padding: 22px; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
}
