:root {
  color-scheme: light;
  --teal: #0b4949;
  --teal-deep: #073b3d;
  --mint: #a9d978;
  --mint-soft: #eff7e6;
  --ink: #172b2b;
  --muted: #647474;
  --line: #dce7e3;
  --paper: #ffffff;
  --canvas: #f4f8f6;
  --danger: #a83f3f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
#app { min-height: 100svh; display: flex; flex-direction: column; }
.topbar { height: 70px; padding: 0 max(18px, calc((100vw - 1080px) / 2)); display:flex; align-items:center; justify-content:space-between; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { text-decoration:none; display:flex; align-items:center; gap:9px; font-size:25px; font-weight:850; letter-spacing:-1.2px; color:var(--teal); }
.brand > span:last-child > span { color: #679d43; }
.brand-mark { width:37px; height:37px; display:grid; place-items:center; color:var(--teal); }
.brand-mark svg { width:100%; height:100%; }
.topbar-help { color:var(--teal); font-size:14px; font-weight:700; text-decoration:none; padding:10px 13px; border-radius:999px; background:#f1f7f2; }
.main-shell { width:min(100% - 28px, 760px); margin:0 auto; padding:25px 0 42px; flex:1; }
.site-footer { min-height:56px; border-top:1px solid var(--line); background:#fff; color:#7a8987; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px max(18px, calc((100vw - 1080px) / 2)); font-size:12px; }
.loading-card,.state-card,.hero-card,.form-card,.profile-card,.info-card { background:var(--paper); border:1px solid var(--line); border-radius:22px; box-shadow:0 8px 26px rgba(19,60,53,.055); }
.loading-card { min-height:230px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:var(--muted); }
.spinner { width:28px; height:28px; border:3px solid #dce8e0; border-top-color:var(--teal); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.hero-card { overflow:hidden; padding:clamp(24px,5vw,48px); position:relative; }
.hero-card:after { content:""; position:absolute; width:240px; height:240px; right:-80px; top:-80px; border-radius:50%; background:radial-gradient(circle,rgba(169,217,120,.35),rgba(169,217,120,0)); pointer-events:none; }
.eyebrow { display:inline-flex; align-items:center; gap:7px; color:var(--teal); background:var(--mint-soft); padding:7px 12px; border-radius:999px; font-weight:750; font-size:12px; letter-spacing:.04em; text-transform:uppercase; }
h1 { margin:18px 0 12px; color:var(--teal-deep); font-size:clamp(32px,6vw,52px); line-height:1.05; letter-spacing:-1.8px; }
h2 { margin:0 0 10px; color:var(--teal-deep); font-size:24px; letter-spacing:-.5px; }
h3 { margin:0 0 7px; color:var(--teal); font-size:18px; }
.lead { max-width:560px; color:#536766; font-size:17px; line-height:1.6; margin:0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.btn { border:0; border-radius:13px; padding:14px 19px; min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:750; text-decoration:none; cursor:pointer; transition:transform .15s, background .15s; }
.btn:active { transform:scale(.985); }
.btn-primary { color:white; background:var(--teal); box-shadow:0 5px 14px rgba(11,73,73,.16); }
.btn-primary:hover { background:var(--teal-deep); }
.btn-secondary { color:var(--teal); background:var(--mint-soft); }
.btn:disabled { opacity:.6; cursor:not-allowed; }
.section { margin-top:22px; }
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.step-card { background:#fff; border:1px solid var(--line); padding:17px; border-radius:17px; }
.step-number { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:var(--mint); color:#163e2b; font-weight:850; margin-bottom:10px; }
.step-card p,.info-card p { margin:0; color:var(--muted); font-size:14px; line-height:1.55; }
.form-card { padding:clamp(20px,4vw,32px); }
.form-intro { color:var(--muted); line-height:1.55; margin:0 0 20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.field { display:flex; flex-direction:column; gap:7px; min-width:0; }
.field.full { grid-column:1/-1; }
.field label { color:#3d5553; font-size:13px; font-weight:750; }
.field input,.field select,.field textarea { width:100%; min-width:0; border:1.5px solid #d4e1dc; border-radius:12px; padding:13px 14px; color:var(--ink); background:#fbfdfc; outline:none; transition:border .15s, box-shadow .15s; }
.field textarea { min-height:105px; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus { border-color:#6b9c73; box-shadow:0 0 0 3px rgba(169,217,120,.2); }
.field small { color:#82918d; font-size:11px; line-height:1.4; }
.file-picker { padding:12px!important; background:#f7faf8!important; }
.photo-preview { width:92px; height:92px; border-radius:15px; object-fit:cover; border:1px solid var(--line); display:none; margin-top:7px; }
.consent { display:flex; align-items:flex-start; gap:10px; margin:18px 0; padding:13px; background:#f5f9f4; border-radius:12px; color:#536764; font-size:12px; line-height:1.5; }
.consent input { width:18px; height:18px; flex:0 0 auto; accent-color:var(--teal); margin-top:1px; }
.form-note { border-left:3px solid var(--mint); padding:10px 12px; color:#687b75; background:#fbfdf9; font-size:12px; line-height:1.5; margin:0 0 17px; }
.form-error { display:none; border:1px solid #f0caca; background:#fff7f7; color:#963b3b; padding:12px 14px; border-radius:12px; margin:0 0 15px; font-size:13px; }
.form-success { border:1px solid #cde3bd; background:#f4faef; color:#325b2b; padding:13px 14px; border-radius:12px; margin:0 0 15px; font-size:13px; }
.submit-row { display:flex; flex-direction:column; gap:10px; }
.submit-row .btn { width:100%; }
.muted { color:var(--muted); }
.profile-card { overflow:hidden; }
.profile-top { padding:28px 22px 22px; text-align:center; background:linear-gradient(145deg,#f5faef,#fff 65%); }
.pet-photo { width:144px; height:144px; border-radius:50%; object-fit:cover; border:5px solid #fff; box-shadow:0 6px 25px rgba(14,68,56,.12); background:#eaf3e5; }
.pet-placeholder { width:144px; height:144px; border-radius:50%; border:5px solid #fff; background:#eaf3e5; box-shadow:0 6px 25px rgba(14,68,56,.12); display:inline-grid; place-items:center; font-size:65px; }
.profile-label { display:inline-block; margin-top:16px; padding:6px 11px; border-radius:999px; background:#eaf4e3; color:#426b3a; font-weight:750; font-size:11px; }
.profile-top h1 { font-size:clamp(32px,6vw,42px); margin:10px 0 4px; }
.profile-subtitle { margin:0; color:var(--muted); }
.profile-body { padding:22px; }
.detail-list { display:grid; gap:12px; }
.detail { display:flex; gap:11px; align-items:flex-start; padding-bottom:12px; border-bottom:1px solid #edf1ef; }
.detail:last-child { border-bottom:0; padding-bottom:0; }
.detail-icon { width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border-radius:10px; color:var(--teal); background:var(--mint-soft); font-size:17px; }
.detail-copy { min-width:0; }
.detail-copy span { display:block; color:#82908d; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; margin-bottom:3px; }
.detail-copy strong { display:block; color:#263d3b; font-size:15px; font-weight:650; line-height:1.45; overflow-wrap:anywhere; white-space:pre-wrap; }
.contact-panel { margin-top:21px; padding:17px; border-radius:16px; background:var(--teal); color:#fff; }
.contact-panel h3 { color:#fff; margin-bottom:5px; }
.contact-panel p { color:#d8e9e2; font-size:13px; line-height:1.45; margin:0 0 12px; }
.contact-actions { display:flex; flex-wrap:wrap; gap:9px; }
.contact-actions .btn { background:var(--mint); color:#173b2c; flex:1; }
.support-line { margin-top:17px; text-align:center; color:#84928f; font-size:12px; }
.support-line a { color:var(--teal); font-weight:700; }
.state-card { padding:30px 22px; text-align:center; }
.state-icon { width:58px; height:58px; border-radius:18px; display:inline-grid; place-items:center; background:var(--mint-soft); font-size:28px; margin-bottom:13px; }
.state-card p { color:var(--muted); line-height:1.6; max-width:470px; margin:0 auto 18px; }
.state-card h1 { font-size:28px; letter-spacing:-.7px; }
.notice-card { padding:17px 19px; border-radius:16px; background:var(--mint-soft); color:#35553e; line-height:1.55; font-size:13px; }
@media (max-width:620px) {
  .topbar { height:62px; padding:0 16px; }
  .main-shell { width:min(100% - 20px, 760px); padding:15px 0 28px; }
  .steps-grid { grid-template-columns:1fr; }
  .step-card { display:grid; grid-template-columns:31px 1fr; column-gap:11px; align-items:start; padding:13px; }
  .step-number { grid-row:span 2; margin:0; }
  .step-card h3 { margin:1px 0 3px; }
  .form-grid { grid-template-columns:1fr; gap:13px; }
  .field.full { grid-column:auto; }
  .profile-body { padding:18px; }
  .profile-top { padding:23px 16px 18px; }
  .pet-photo,.pet-placeholder { width:126px; height:126px; }
  .site-footer { padding:12px 15px; font-size:10px; }
  .hero-card { padding:25px 20px; }
  h1 { font-size:35px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
