/* Kennels360 site, design 2. Plain CSS. Dark, high-contrast hero over light (or dark) content sections.
   Brand: the app's Material indigo, a violet lift for gradients, one amber for the main action. */
:root {
  --night: #0a0e2b;
  --night-2: #10164a;
  --indigo: #4a5bd4;
  --violet: #7a63ff;
  --amber: #f5a524;
  --amber-hi: #ffbc4a;
  --amber-ink: #231600;
  --teal: #2fd3b8;

  --paper: #f5f6ff;
  --paper-2: #ebedfb;
  --surface: #ffffff;
  --ink: #12183f;
  --muted: #565d85;
  --line: #d9ddf3;
  --accent: #3f51b5;
  --shadow: 0 30px 70px -30px rgba(25, 34, 110, .45), 0 3px 8px rgba(25, 34, 110, .07);
  --shadow-sm: 0 12px 30px -16px rgba(25, 34, 110, .3);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0b1033; --paper-2: #10174a; --surface: #161d54; --ink: #eef0ff; --muted: #a9afd8; --line: #2a3375; --accent: #8c9cf5;
    --shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 3px 8px rgba(0,0,0,.35); --shadow-sm: 0 12px 30px -16px rgba(0,0,0,.7); color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--amber); color: var(--amber-ink); font: 700 1rem/1 var(--font); text-decoration: none; padding: 17px 28px; border-radius: 14px; border: 0; cursor: pointer; box-shadow: 0 14px 34px -14px rgba(245, 165, 36, .95); transition: transform .15s, background .15s; }
.btn:hover { background: var(--amber-hi); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn.glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: none; backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255,255,255,.16); }
.btn.sm { padding: 12px 20px; font-size: .94rem; border-radius: 11px; }

/* header (dark glass over the hero) */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); background: rgba(10, 14, 43, .55); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); transition: background .25s; }
.top.scrolled { background: rgba(10, 14, 43, .9); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 1.35rem/1 var(--font); letter-spacing: -.03em; }
.logo svg { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 70px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; background: rgba(10,14,43,.97); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.08rem; }
  .nav .btn { margin-top: 16px; }
}

/* hero */
.hero { position: relative; isolation: isolate; background: var(--night); color: #fff; overflow: hidden; padding: 150px 0 0; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 55% at 12% 8%, rgba(74, 91, 212, .75), transparent 62%),
  radial-gradient(48% 50% at 92% 14%, rgba(245, 165, 36, .38), transparent 60%),
  radial-gradient(60% 60% at 50% 105%, rgba(122, 99, 255, .55), transparent 62%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); }
.badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); padding: 8px 18px 8px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #e6e9ff; backdrop-filter: blur(8px); }
.badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(47, 211, 184, .25); }
.hero h1 { margin: 26px auto 0; max-width: 15em; }
.grad { background: linear-gradient(95deg, #a9b7ff 0%, #ffd78f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin: 26px auto 0; max-width: 40em; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #cfd5fb; }
.hero .cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero .small { margin-top: 20px; font-size: .92rem; color: #aeb6ea; }

/* the big product shot with floating real screens */
.stage { position: relative; margin: 64px auto 0; width: min(1040px, 100%); padding-bottom: 0; perspective: 1800px; }
.stage .main { transform: rotateX(7deg); transform-origin: 50% 100%; border-radius: 18px 18px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 80px rgba(122, 99, 255, .55), 0 40px 100px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.22); border-bottom: 0; }
.stage .bar { display: flex; gap: 8px; align-items: center; padding: 12px 16px; background: #eef0fb; border-bottom: 1px solid #d9ddf3; }
.stage .bar i { width: 11px; height: 11px; border-radius: 50%; background: #c6cbe6; }
.stage .bar span { margin-left: 10px; font-size: .78rem; color: #6a7195; }
.stage .main img { width: 100%; }
.float { position: absolute; z-index: 2; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.3); box-shadow: 0 30px 60px -20px rgba(0,0,0,.65); }
.float img { width: 100%; }
.float.a { width: 36%; left: -5%; bottom: 8%; animation: bob 7s ease-in-out infinite; }
.float.b { width: 31%; right: -4%; top: 18%; animation: bob 8s ease-in-out -3s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 900px) { .float { display: none; } .stage .main { transform: none; } .hero { padding-top: 120px; } }

/* marquee */
.marquee { background: var(--night-2); color: #cdd3fb; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
.marquee .track { display: flex; gap: 0; width: max-content; animation: slide 38s linear infinite; }
.marquee span { padding: 18px 28px; font-weight: 700; font-size: 1rem; letter-spacing: .02em; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { padding-block: 100px; }
.head { max-width: 46em; margin: 0 auto 56px; text-align: center; }
.head h2 { margin-top: 14px; }
.head p { color: var(--muted); margin-top: 18px; font-size: 1.15rem; }

/* bento grid */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile p { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.tile .shot { margin: 26px -30px -30px; border-top: 1px solid var(--line); overflow: hidden; flex: 1; min-height: 190px; background: var(--paper-2); }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.t3 .shot img { object-fit: contain; background: #fff; }
.t1 { grid-column: span 4; }
.t2 { grid-column: span 2; }
.t3 { grid-column: span 2; }
.t4 { grid-column: span 4; }
.t5 { grid-column: span 3; }
.t6 { grid-column: span 3; }
.tile.dark { background: linear-gradient(150deg, var(--night-2), var(--night)); color: #fff; border-color: transparent; }
.tile.dark p { color: #c4caf5; }
.ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; box-shadow: 0 10px 22px -10px rgba(74,91,212,.9); }
.ico svg { width: 26px; height: 26px; }
.tile .tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.tile.dark .tag { color: #ffd68e; background: rgba(255,214,142,.14); }
@media (max-width: 980px) { .t1, .t4 { grid-column: span 6; } .t2, .t3, .t5, .t6 { grid-column: span 3; } }
@media (max-width: 620px) { .t1, .t2, .t3, .t4, .t5, .t6 { grid-column: span 6; } .tile { padding: 24px; } .tile .shot { margin: 22px -24px -24px; } }

/* a day */
.dark-band { background: var(--night); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 0%, rgba(122,99,255,.4), transparent 65%), radial-gradient(40% 50% at 5% 100%, rgba(245,165,36,.2), transparent 65%); }
.dark-band .eyebrow { color: #ffd68e; }
.dark-band .head p { color: #c4caf5; }
.line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; position: relative; }
.line::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: linear-gradient(90deg, var(--amber), rgba(255,255,255,.2)); }
.step { position: relative; padding-top: 52px; }
.step::before { content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--night); border: 4px solid var(--amber); box-shadow: 0 0 0 6px rgba(245,165,36,.18); }
.step time { font-weight: 800; font-size: 2rem; letter-spacing: -.03em; color: #fff; display: block; }
.step h3 { margin-top: 8px; font-size: 1.15rem; }
.step p { color: #c4caf5; margin-top: 8px; font-size: .98rem; }
@media (max-width: 860px) { .line { grid-template-columns: 1fr 1fr; row-gap: 40px; } .line::before { display: none; } .step { padding-top: 46px; } }
@media (max-width: 520px) { .line { grid-template-columns: 1fr; } }

/* pilot */
.pilot { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; color: #fff; background: linear-gradient(135deg, #2c387e 0%, #4a3fb0 55%, #7a63ff 100%); box-shadow: var(--shadow); }
.pilot::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: var(--amber); opacity: .28; filter: blur(30px); }
.pilot .eyebrow { color: #ffd68e; }
.pilot h2 { margin-top: 14px; }
.pilot .lead { color: #dfe3ff; margin-top: 18px; font-size: 1.12rem; }
.pilot ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.pilot li { position: relative; padding-left: 32px; color: #eef0ff; }
.pilot li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231600' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.form { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 30px; display: grid; gap: 14px; box-shadow: 0 30px 70px -26px rgba(0,0,0,.55); }
.form h3 { font-size: 1.45rem; }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.form input, .form textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 3px solid color-mix(in srgb, var(--indigo) 35%, transparent); border-color: var(--indigo); }
.form textarea { min-height: 96px; resize: vertical; }
.form .note { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .pilot { grid-template-columns: 1fr; border-radius: 24px; } }

/* faq */
.faq { max-width: 50em; margin-inline: auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 24px; }
summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 500; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; }

/* footer */
.foot { background: var(--night); color: #aeb6ea; padding-block: 50px 64px; font-size: .94rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot .logo { font-size: 1.15rem; }
.foot .logo svg { width: 28px; height: 28px; }

/* reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .marquee .track, .float { animation: none; }
  .stage .main { transform: none; }
  .btn:hover, .tile:hover { transform: none; }
}
