/* Tailwag website: the app's "Sunny" look. No external resources. */
@font-face { font-family: Fredoka; src: url(fonts/Fredoka.ttf) format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(fonts/Nunito.ttf) format("truetype"); font-weight: 200 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FFF7EC; --surface: #FFFFFF; --soft: #FFF0E0; --primary: #FF7A2B;
  --primary-soft: #FFE3C7; --primary-text: #A84A12; --text: #3B2A1E;
  --muted: #80614D; --edge: #F1DFC9; --teal: #24746C; --teal-soft: #DDF3F0;
  --draft-bg: #FDE2E2; --draft-text: #8A1F1F; --badge-bg: #3B2A1E; --badge-text: #FFF7EC;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1F1712; --surface: #2B211A; --soft: #3A2C22; --primary: #FF8A3D;
    --primary-soft: #4A3022; --primary-text: #FF8A3D; --text: #F6EADF;
    --muted: #BFA894; --edge: #3A2C22; --teal: #5FC9BE; --teal-soft: #213B38;
    --draft-bg: #4A1F1F; --draft-text: #FFC9C9; --badge-bg: #F6EADF; --badge-text: #1F1712;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 Nunito, system-ui, sans-serif; }
h1, h2, h3, .brand { font-family: Fredoka, Nunito, sans-serif; font-weight: 600; line-height: 1.15; }
main p, main li, main td, main th, h1, h2, h3 { overflow-wrap: anywhere; }
a { color: var(--primary-text); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
svg.i { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 10px; font-weight: 800; z-index: 10; }
.skip:focus { top: 12px; }

/* Header and footer */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.top nav { display: flex; gap: 18px; align-items: center; font-weight: 700; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--text); }
.lang { border: 2px solid var(--edge); border-radius: 999px; padding: 3px 12px; background: var(--surface); font-weight: 800; }
.top nav .lang { color: var(--text); }
footer { border-top: 2px solid var(--edge); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Shared pieces */
.card { background: var(--surface); border-radius: 22px; box-shadow: 0 2px 0 var(--edge); padding: 24px; }
.chip { display: inline-block; background: var(--primary-soft); color: var(--primary-text); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--badge-bg); color: var(--badge-text); border-radius: 14px; padding: 10px 18px; font-weight: 800; text-decoration: none; font-size: 15px; line-height: 1.2; }
.badge small { display: block; font-weight: 600; font-size: 11px; }
.badge.soon { opacity: .7; }
.draft { display: inline-block; background: var(--draft-bg); color: var(--draft-text); border-radius: 999px; padding: 3px 12px; font-weight: 800; font-size: 13px; margin-bottom: 14px; }

/* Landing */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 24px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: 56px; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--primary-text); }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 30em; margin: 0 0 26px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.phone { text-align: left; width: min(340px, 100%); margin: 0 auto; background: var(--bg); border: 10px solid var(--text); border-radius: 44px; padding: 22px 16px 18px; box-shadow: 0 24px 60px rgba(59,42,30,.18); position: relative; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: var(--text); border-radius: 12px; }
.phone .today { margin: 18px 4px 4px; font-size: 26px; font-family: Fredoka, sans-serif; font-weight: 600; }
.phone .date { margin: 0 4px 14px; color: var(--muted); font-size: 13px; font-weight: 700; }
.rt { background: var(--surface); border-radius: 18px; box-shadow: 0 2px 0 var(--edge); padding: 12px 14px; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.rt .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: Fredoka, sans-serif; font-weight: 600; color: #3B2A1E; flex: none; }
.rt > div { min-width: 0; }
.rt b { display: block; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 15px; }
.rt b, .rt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt span { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.rt .st { margin-left: auto; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 9px; font-style: normal; }
.st.done { background: var(--teal-soft); color: var(--teal); }
.st.due { background: var(--primary-soft); color: var(--primary-text); }
.tabs { display: flex; justify-content: space-around; background: var(--surface); border-radius: 22px; padding: 10px 6px; margin-top: 14px; font-size: 11px; font-weight: 800; color: var(--muted); }
.tabs .on { color: var(--primary-text); background: var(--primary-soft); border-radius: 999px; padding: 2px 10px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.features .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-text); display: grid; place-items: center; margin-bottom: 12px; }
.features .ic svg { width: 26px; height: 26px; }
.features h2 { font-size: 22px; margin: 0 0 6px; }
.features p { margin: 0; color: var(--muted); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.plans > h2 { font-size: 34px; margin: 0; grid-column: 1 / -1; text-align: center; }
.plans > p { grid-column: 1 / -1; text-align: center; color: var(--muted); margin: -8px 0 0; }
.plan h3 { font-size: 24px; margin: 0; }
.plan .price { color: var(--muted); font-weight: 700; margin: 2px 0 14px; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li svg { position: absolute; left: 0; top: 9px; color: var(--teal); }
.plan.plus { background: var(--soft); outline: 3px solid var(--primary); }
.trust { margin-top: 56px; text-align: center; }
.trust h2 { font-size: 30px; margin: 0 0 10px; }
.trust p { color: var(--muted); max-width: 40em; margin: 0 auto; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* Legal and help pages */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-top: 24px; }
.doc.single { grid-template-columns: 1fr; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 15px; }
.toc b { display: block; font-family: Fredoka, sans-serif; font-weight: 600; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; color: var(--muted); }
.toc li { padding: 3px 0; }
.toc a { color: var(--muted); text-decoration: none; }
article { max-width: 42em; }
article h1 { font-size: 44px; margin: 0 0 6px; }
.meta { color: var(--muted); font-weight: 700; margin: 0 0 24px; }
.summary { background: var(--soft); border-radius: 22px; padding: 20px 24px; margin-bottom: 32px; }
.summary h2 { font-size: 20px; margin: 0 0 8px; }
.summary ul { margin: 0; padding-left: 20px; }
article h2 { font-size: 26px; margin: 36px 0 8px; scroll-margin-top: 20px; }
article h3 { font-size: 20px; margin: 24px 0 6px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--edge); vertical-align: top; }
th { background: var(--primary-soft); color: var(--primary-text); font-weight: 800; }
.contact { display: flex; gap: 16px; align-items: center; margin: 8px 0 32px; }
.contact .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-text); display: grid; place-items: center; flex: none; }
.contact .ic svg { width: 26px; height: 26px; }
.contact p { margin: 0; }
details { background: var(--surface); border-radius: 18px; box-shadow: 0 2px 0 var(--edge); padding: 14px 20px; margin-bottom: 12px; }
summary { font-weight: 800; cursor: pointer; }
details[open] summary { margin-bottom: 6px; }
details p { margin: 0 0 6px; }

/* 404 */
.lost { text-align: center; padding: 64px 0 24px; }
.lost h1 { font-size: 44px; margin: 0 0 10px; }
.lost p { color: var(--muted); margin: 0 0 6px; }
.lost .links { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
  .hero h1 { font-size: 40px; }
  .features, .plans { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; gap: 16px; }
  .toc { position: static; background: var(--surface); border-radius: 18px; padding: 16px 20px; }
  article h1 { font-size: 34px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top nav a.hide-sm { display: none; }
}
