/* Kennels360 getting-started guide (redesign 2026-11-07, owner mockup): navy header, chapter rail,
   photo hero, setup journey, chapter cards, and chapters with an "In this chapter" box. */
:root {
  --navy: #0b2348; --navy-2: #12356b; --ink: #13213d; --mut: #5a6a82; --line: #e1e8f2;
  --bg: #f4f7fb; --paper: #ffffff; --green: #4fa82d; --green-2: #3b8c1d; --green-soft: #eef8e8; --green-line: #cfe9bf;
  --blue-soft: #eaf2fd; --blue: #2f6fd6; --purple-soft: #f2ecfd; --purple: #7b4fd1; --orange-soft: #fff1e4; --orange: #e0791d;
  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; --shadow: 0 6px 20px rgba(11, 35, 72, .07); --top: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.ms { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: "FILL" 0, "wght" 500; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 3px solid #8fd45f; outline-offset: 2px; border-radius: 6px; }

/* ---------- Header ---------- */
.gtop { position: sticky; top: 0; z-index: 20; background: linear-gradient(90deg, #08193a, var(--navy) 55%, var(--navy-2)); color: #fff; }
.gtop-in { max-width: 1440px; margin: 0 auto; height: var(--top); display: flex; align-items: center; gap: 24px; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 23px; }
.logo img { background: #fff; border-radius: 50%; }
.logo b { color: #8fd45f; }
.gnav { display: flex; gap: 6px; margin: 0 auto; }
.gnav a { display: flex; align-items: center; gap: 7px; color: #dfe8f6; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-bottom: 3px solid transparent; }
.gnav a .ms { font-size: 20px; }
.gnav a:hover { color: #fff; }
.gnav a.on { color: #fff; border-bottom-color: #8fd45f; }
.gact { display: flex; gap: 10px; }
.b-ghost, .b-green, .b-line { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 9px; padding: 9px 18px; white-space: nowrap; }
.b-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.b-ghost:hover { background: rgba(255, 255, 255, .1); }
.b-green { color: #fff; background: linear-gradient(180deg, #62b83a, var(--green-2)); box-shadow: 0 6px 16px -6px rgba(59, 140, 29, .7); }
.b-green:hover { filter: brightness(1.06); }
.b-line { color: var(--navy); background: #fff; border: 1.5px solid #c5d3e6; }
.b-line:hover { border-color: var(--navy); }
.b-line.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.big { padding: 12px 22px; font-size: 16px; }

/* ---------- Layout ---------- */
.layout { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.side { position: sticky; top: var(--top); align-self: start; height: calc(100vh - var(--top)); overflow-y: auto; background: var(--paper); border-right: 1px solid var(--line); padding: 22px 14px 30px; }
.side-head { display: flex; gap: 10px; align-items: flex-start; padding: 0 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.side-book { font-size: 30px; color: var(--navy); background: var(--blue-soft); border-radius: 10px; padding: 6px; }
.side-head strong { display: block; font-size: 17px; line-height: 1.25; }
.side-head small { color: var(--mut); font-size: 12.5px; line-height: 1.35; display: block; margin-top: 2px; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-list a { display: grid; grid-template-columns: 26px 26px minmax(0, 1fr) 18px; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; border-left: 3px solid transparent; }
.side-list a:hover { background: var(--bg); }
.side-list .side-ic { font-size: 20px; color: var(--navy); }
.side-list .num { width: 24px; height: 24px; border-radius: 50%; background: #e9eef5; color: var(--mut); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.side-list .chev { font-size: 18px; color: #9aa8bb; }
.side-list a.on { background: var(--green-soft); border-left-color: var(--green); }
.side-list a.on .num { background: var(--green); color: #fff; }
.side-list a.on .side-ic { color: var(--green-2); }
main { min-width: 0; padding: 26px max(20px, env(safe-area-inset-right, 0px)) 40px 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 20px; background: linear-gradient(120deg, #fff 0%, #f3f8ff 60%, #eef7e9 100%); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); min-height: 330px; }
.hero-tx { padding: 34px 0 34px 38px; position: relative; z-index: 1; }
.pill { display: inline-block; background: var(--green-soft); color: var(--green-2); border: 1px solid var(--green-line); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.hero h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; font-weight: 800; margin: 14px 0 12px; color: var(--navy); text-wrap: balance; }
.hero h1 em { color: var(--green); font-style: italic; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: -4px; height: 4px; border-radius: 4px; background: #9bd77a; }
.hero-tx > p { font-size: 18px; color: var(--mut); margin: 0 0 22px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pic { align-self: stretch; min-height: 300px; background: url("images/hero-golden.jpg") center 30% / cover no-repeat; clip-path: ellipse(92% 120% at 100% 50%); position: relative; }
.hero-pic::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -26px; height: 70px; border-top: 6px solid #7cc24f; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, rgba(124, 194, 79, .5), transparent); }

/* ---------- Blocks ---------- */
.block { margin-top: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; box-shadow: var(--shadow); }
.block-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.block-head h2 { margin: 0; font-size: 23px; color: var(--navy); }
.block-head p { margin: 2px 0 0; color: var(--mut); font-size: 14.5px; }
.bh-ic { font-size: 28px; color: var(--green); }
.search { margin-left: auto; display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 12px; min-width: min(280px, 100%); background: var(--bg); }
.search .ms { color: var(--mut); font-size: 20px; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; width: 100%; color: var(--ink); }
.journey { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); align-items: center; gap: 8px; }
.j-step { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: #fff; min-width: 0; }
.j-step:hover { border-color: var(--green-line); background: var(--green-soft); }
.j-step strong { display: block; font-size: 15.5px; }
.j-step small { color: var(--mut); font-size: 13px; line-height: 1.35; display: block; }
.j-arrow { color: #9aa8bb; text-align: center; }
.j-ic, .card-ic, .ch-icon { display: grid; place-items: center; border-radius: 12px; flex: none; }
.j-ic { width: 44px; height: 44px; }
.tone-green { background: var(--green-soft); color: var(--green-2); }
.tone-blue { background: var(--blue-soft); color: var(--blue); }
.tone-purple { background: var(--purple-soft); color: var(--purple); }
.tone-orange { background: var(--orange-soft); color: var(--orange); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card { display: grid; grid-template-columns: 52px minmax(0, 1fr) 30px; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--green-line); box-shadow: 0 8px 20px -10px rgba(59, 140, 29, .45); }
.card-ic { width: 52px; height: 52px; } .card-ic .ms { font-size: 28px; }
.card-n { display: inline-block; font-size: 12px; font-weight: 800; color: var(--green-2); background: var(--green-soft); border-radius: 6px; padding: 0 7px; margin-right: 6px; }
.card strong { font-size: 16px; }
.card small { display: block; color: var(--mut); font-size: 13.5px; line-height: 1.4; margin-top: 3px; }
.card-go { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 18px; color: var(--navy); }
.no-hit { color: var(--mut); margin: 12px 0 0; }

/* ---------- Chapters ---------- */
.chapter { margin-top: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px 26px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--top) + 16px); position: relative; overflow: hidden; }
.chapter::before { content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: radial-gradient(circle at 30% 70%, #8fd45f, #4fa82d); border-radius: 0 0 0 100%; opacity: .85; transform: rotate(8deg); }
.crumbs { font-size: 13px; color: var(--mut); display: flex; align-items: center; gap: 2px; }
.crumbs a { color: var(--mut); text-decoration: none; } .crumbs a:hover { color: var(--navy); }
.crumbs .ms { font-size: 16px; }
.ch-head { display: flex; gap: 16px; align-items: flex-start; margin: 10px 0 18px; padding-right: 70px; }
.ch-icon { width: 58px; height: 58px; } .ch-icon .ms { font-size: 32px; }
.ch-head h2 { margin: 2px 0 4px; font-size: 27px; line-height: 1.2; color: var(--navy); text-wrap: balance; }
.ch-head .why { margin: 0; color: var(--mut); max-width: 70ch; }
.ch-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); gap: 18px; align-items: start; }
.ch-top.no-fig { grid-template-columns: minmax(0, 1fr); }
.shot figure, .ch-body figure { margin: 0; background: linear-gradient(160deg, #eaf3ff, #eef8e8); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.ch-body figure { margin: 18px 0; }
.shot img, .ch-body figure img { border-radius: 8px; border: 1px solid #d8e1ee; box-shadow: 0 6px 18px rgba(11, 35, 72, .12); background: #fff; }
figcaption { font-size: 13.5px; color: var(--mut); margin-top: 9px; }
.in-this { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: #fbfcfe; }
.in-this h3 { margin: 0 0 10px; font-size: 16px; color: var(--navy); }
.in-this ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.in-this li { display: flex; gap: 9px; align-items: center; font-size: 14.5px; }
.in-this li .ms { color: #b3bfcf; font-size: 20px; }
.in-this li.first { font-weight: 700; } .in-this li.first .ms { color: var(--green); font-variation-settings: "FILL" 1, "wght" 500; }
.steps-title { margin: 24px 0 4px; font-size: 19px; color: var(--navy); }
.ch-body { counter-reset: step; }
.ch-body h3 { font-size: 18px; color: var(--navy); margin: 26px 0 8px; }
.ch-body > p, .ch-body li { max-width: 78ch; }
.ch-body ol.do { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; counter-reset: step; }
.ch-body ol.do > li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ch-body ol.do > li::before { content: counter(step); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.ch-body ul.do { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 12px 0; }
.ch-body ul.do > li { padding: 12px 16px 12px 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; position: relative; }
.ch-body ul.do > li::before { content: ""; position: absolute; left: 17px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.checklist { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.checklist li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green-2); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.note { margin: 16px 0; background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 12px; padding: 14px 16px; }
.note strong { display: block; color: var(--green-2); margin-bottom: 3px; }
.btn { display: inline-block; font-weight: 700; font-size: .9em; color: var(--navy); background: var(--blue-soft); border: 1px solid #cfe0f7; border-radius: 6px; padding: 0 7px; white-space: nowrap; }
.path { font-weight: 600; color: var(--navy); background: #f1f4f9; border-radius: 6px; padding: 0 6px; }
td.path { background: none; }
.table-scroll { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f6f8fc; color: var(--mut); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }

/* ---------- CTA + footer ---------- */
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; border-radius: 18px; color: #fff; background: linear-gradient(110deg, var(--navy), var(--navy-2)); }
.cta h2 { margin: 0 0 4px; font-size: 23px; } .cta p { margin: 0; color: #cfdcf0; }
.gfoot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; color: var(--mut); font-size: 14px; }
.gfoot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; } .gfoot a { color: var(--mut); text-decoration: none; } .gfoot a:hover { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } .j-arrow { display: none; }
  .ch-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .gnav { display: none; }
  .gact { margin-left: auto; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-left, 0px)); }
  .side-head { display: none; }
  .side-list { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .side-list a { grid-template-columns: 24px auto; white-space: nowrap; border-left: 0; border: 1px solid var(--line); }
  .side-list .side-ic, .side-list .chev { display: none; }
  main { padding: 18px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-tx { padding: 26px 22px 6px; }
  .hero-pic { min-height: 220px; clip-path: none; }
}
@media (max-width: 560px) {
  .gtop-in { gap: 10px; } .logo { font-size: 19px; } .b-ghost { display: none; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .block, .chapter { padding: 18px 16px; }
  .ch-head { padding-right: 40px; } .ch-head h2 { font-size: 22px; }
  .ch-icon { width: 46px; height: 46px; } .ch-icon .ms { font-size: 26px; }
  .chapter::before { width: 80px; height: 80px; top: -30px; right: -30px; }
  .ch-body ol.do > li { padding-left: 54px; }
  .search { margin-left: 0; width: 100%; }
}

/* ---------- v5 site look (2026-11-07): white header like the rest of the site, dog-and-cat hero picture ---------- */
:root { --top: 76px; }
.gtop { background: #fff; color: var(--navy); border-bottom: 1px solid var(--line); }
.logo.v5 img { background: none; border-radius: 0; height: 50px; width: auto; }
.gnav a { color: var(--ink); }
.gnav a:hover { color: var(--green-2); }
.gnav a.on { color: var(--green-2); border-bottom-color: var(--green); }
.b-ghost { color: var(--navy); border: 1.5px solid var(--navy); }
.b-ghost:hover { background: #f1f5fb; }
.hero-pic { background-image: url("images/login-pet.jpg"); background-position: center 40%; }

/* Laptop screens: same compact size as the rest of the site (styles.css). Under zoom, vh is scaled too, so the
   sticky chapter list is sized back up to the full window height. */
@media (min-width: 921px) and (max-width: 1600px) {
  body { zoom: .8; }
  .side { height: calc(100vh / .8 - var(--top)); }
}
