/* Fund My Rescue — shared styles (placeholder site, Oct 2026). Light, warm, cartoon-friendly. */
:root {
  --cream: #FFF9F0;
  --sun: #FFD25E;
  --sun-soft: #FFF1C7;
  --orange: #FF8B3D;
  --orange-deep: #E86A1C;
  --sky: #6CC4F5;
  --sky-soft: #E3F4FE;
  --mint: #7FD8B3;
  --mint-soft: #E2F7EE;
  --pink: #FF9EB5;
  --ink: #4A3A2F;        /* warm brown text, not black */
  --ink-soft: #7A6658;
  --white: #FFFFFF;
  --line: #F1E3D1;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(170, 120, 60, .14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23F6E6D0' transform='rotate(-18 30 30)'%3E%3Cellipse cx='30' cy='36' rx='9' ry='7.5'/%3E%3Ccircle cx='20' cy='25' r='3.6'/%3E%3Ccircle cx='27' cy='20' r='3.6'/%3E%3Ccircle cx='35' cy='20' r='3.6'/%3E%3Ccircle cx='41' cy='26' r='3.6'/%3E%3C/g%3E%3Cg fill='%23F6E6D0' transform='rotate(22 90 90)'%3E%3Cellipse cx='90' cy='96' rx='9' ry='7.5'/%3E%3Ccircle cx='80' cy='85' r='3.6'/%3E%3Ccircle cx='87' cy='80' r='3.6'/%3E%3Ccircle cx='95' cy='80' r='3.6'/%3E%3Ccircle cx='101' cy='86' r='3.6'/%3E%3C/g%3E%3C/svg%3E");
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, .brand { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; line-height: 1.15; }
a { color: var(--orange-deep); }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 1.45rem; color: var(--ink); text-decoration: none; }
.brand .paw-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: var(--shadow); }
.brand .paw-badge svg { width: 24px; height: 24px; fill: var(--orange-deep); }
.brand b { color: var(--orange-deep); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.nav-links a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--orange-deep); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 800;
  text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 0 var(--orange-deep); }
.btn-primary:hover { box-shadow: 0 10px 0 var(--orange-deep); }
.btn-soft { background: var(--white); color: var(--ink); box-shadow: 0 6px 0 var(--line); }
.btn-small { padding: 9px 18px; font-size: .92rem; box-shadow: 0 5px 0 var(--orange-deep); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-block: 40px 70px; }
.hero > *, .split > *, .app > *, .grid2 > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--mint-soft); color: #2F7C5C; font-weight: 800;
  padding: 7px 14px; border-radius: 999px; font-size: .88rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 18px; }
.hero h1 .hl { color: var(--orange-deep); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .32em; background: var(--sun); z-index: -1; border-radius: 8px; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 28px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-art .blob { position: absolute; inset: 6%; background: var(--sun-soft); border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; }
.hero-art .dog { position: absolute; filter: drop-shadow(0 12px 18px rgba(170, 120, 60, .18)); }
.hero-art .d1 { width: 58%; left: 4%; top: 22%; }
.hero-art .d2 { width: 44%; right: 2%; top: 8%; }
.hero-art .d3 { width: 40%; right: 10%; bottom: 4%; }
.hero-art .heart { position: absolute; width: 13%; fill: var(--pink); }
.hero-art .h1 { left: 46%; top: 6%; transform: rotate(-12deg); }
.hero-art .h2 { left: 6%; bottom: 10%; width: 9%; transform: rotate(14deg); }
.bounce { animation: bounce 3.2s ease-in-out infinite; }
.bounce.slow { animation-duration: 4.1s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .bounce { animation: none; } }

/* sections */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); border: 2px solid var(--line); }
.card .icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.6rem; }
.card .icon svg { width: 34px; height: 34px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); }
.step-num { font-family: 'Fredoka', sans-serif; font-size: .95rem; font-weight: 600; color: var(--orange-deep); margin-bottom: 4px; }
.bg-sun { background: var(--sun-soft); } .bg-sky { background: var(--sky-soft); } .bg-mint { background: var(--mint-soft); } .bg-pink { background: #FFE8EE; }
.band { background: var(--white); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }

/* products */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.product { background: var(--cream); border-radius: 18px; padding: 20px 10px; text-align: center; font-weight: 800; border: 2px dashed var(--line); }
.product .emoji { font-size: 2rem; display: block; margin-bottom: 6px; }
.product small { display: block; font-weight: 600; color: var(--ink-soft); }
.made-by { text-align: center; margin-top: 22px; color: var(--ink-soft); font-size: .95rem; }

/* open pricing receipt */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.receipt { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 2px solid var(--line); font-size: .98rem; }
.receipt h3 { font-size: 1.15rem; margin-bottom: 14px; }
.receipt .row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.receipt .row.cost span:last-child { color: var(--ink-soft); }
.receipt .row.total { border-bottom: 0; font-weight: 800; padding-top: 12px; }
.receipt .row.rescue { background: var(--mint-soft); border-radius: 12px; padding: 10px 12px; margin-top: 8px; border: 0; font-weight: 800; color: #2F7C5C; }
.receipt .fine { margin-top: 12px; font-size: .82rem; color: var(--ink-soft); }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ''; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; margin-top: 2px; }

/* call to action */
.cta-box { background: var(--orange); color: var(--white); border-radius: 32px; padding: 54px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.cta-box p { font-size: 1.1rem; margin-bottom: 26px; opacity: .95; }
.cta-box .btn { background: var(--white); color: var(--orange-deep); box-shadow: 0 8px 0 rgba(0, 0, 0, .12); }
.cta-box .paws { position: absolute; inset: 0; opacity: .14; pointer-events: none; }

/* footer */
footer { padding-block: 40px 50px; color: var(--ink-soft); font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot a { color: var(--ink-soft); margin-left: 18px; }

/* portal */
.portal-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.auth-card { width: 100%; max-width: 440px; background: var(--white); border-radius: 28px; padding: 36px 32px; box-shadow: var(--shadow); border: 2px solid var(--line); text-align: center; }
.auth-card .dog { width: 120px; margin: -96px auto 8px; }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-card p { color: var(--ink-soft); }
.field { text-align: left; margin-top: 16px; }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; }
.field input { width: 100%; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--line); font: inherit; background: var(--cream); color: var(--ink); }
.field input:disabled { opacity: .7; }
.soon { background: var(--sun-soft); border-radius: 14px; padding: 12px 14px; font-weight: 700; margin-top: 18px; font-size: .95rem; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.auth-card .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.auth-links { margin-top: 18px; font-size: .95rem; }

.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--white); border-right: 2px solid var(--line); padding: 22px 16px; }
.side .brand { font-size: 1.2rem; margin-bottom: 26px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 700; margin-bottom: 4px; }
.side nav a.on { background: var(--sun-soft); color: var(--orange-deep); }
.side nav a:hover { background: var(--cream); }
.side nav .ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
.main { padding: 26px 32px 50px; }
.preview-flag { background: var(--sky-soft); border: 2px dashed var(--sky); color: #2B6F96; border-radius: 16px; padding: 10px 16px; font-weight: 700; margin-bottom: 22px; font-size: .95rem; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.topbar h1 { font-size: 1.9rem; }
.rescue-chip { display: flex; align-items: center; gap: 10px; background: var(--white); padding: 6px 14px 6px 6px; border-radius: 999px; border: 2px solid var(--line); font-weight: 800; }
.rescue-chip .av { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.rescue-chip .av svg { width: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat { background: var(--white); border-radius: 20px; padding: 18px 20px; border: 2px solid var(--line); }
.stat .k { font-size: .85rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.stat .v { font-family: 'Fredoka', sans-serif; font-size: 1.9rem; font-weight: 600; margin-top: 4px; }
.stat.sun { background: var(--sun-soft); } .stat.mint { background: var(--mint-soft); } .stat.sky { background: var(--sky-soft); }
.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.panel { background: var(--white); border-radius: 20px; padding: 20px 22px; border: 2px solid var(--line); }
.panel h2 { font-size: 1.25rem; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); padding: 8px 6px; border-bottom: 2px solid var(--line); }
td { padding: 10px 6px; border-bottom: 1px dashed var(--line); }
td.money { font-weight: 800; color: #2F7C5C; text-align: right; }
th.money { text-align: right; }
.todo { list-style: none; display: grid; gap: 10px; }
.todo li { display: flex; gap: 10px; align-items: center; background: var(--cream); padding: 10px 12px; border-radius: 12px; font-weight: 700; }
.todo li .dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--orange); flex: 0 0 22px; }
.todo li.done .dot { background: var(--mint); border-color: var(--mint); }
.link-box { margin-top: 14px; background: var(--sun-soft); padding: 12px 14px; border-radius: 12px; font-weight: 800; word-break: break-all; }

/* responsive */
@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .nav-links .hide-sm { display: none; }
  .app { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 2px solid var(--line); }
  .side nav { display: flex; overflow-x: auto; gap: 6px; }
  .side nav a { white-space: nowrap; margin: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .main { padding: 20px 16px 40px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 40px 22px; }
  .nav-links { gap: 12px; font-size: .92rem; }
  .brand { font-size: 1.2rem; }
  .brand .paw-badge { width: 36px; height: 36px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .foot a { margin: 0 14px 0 0; }
}
