:root {
    --ink: #17212b;
    --muted: #63707c;
    --line: #e2e7eb;
    --surface: #f6f8fa;
    --blue: #1687d9;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #fff; }
a { color: inherit; }
.container-lg { max-width: 1160px; }
.btn { border-radius: .65rem; font-weight: 600; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-primary { background: var(--blue); border-color: var(--blue); }

.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.site-header nav { min-height: 76px; }
.site-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-size: 1rem; font-weight: 700; text-decoration: none; }
.site-brand:hover { color: var(--ink); }
.brand-icon { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--ink); }
.brand-icon-small { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.15); }

.home-hero { padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem); }
.hero-copy { max-width: 760px; }
.hero-copy h1 { margin: 0 0 .65rem; font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.hero-copy p { margin: 0; color: var(--muted); font-size: clamp(1.15rem, 2.2vw, 1.45rem); }

.products { padding-bottom: 6rem; border-top: 1px solid var(--line); }
.product { overflow: hidden; padding: clamp(3rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.product-info { padding: 1rem clamp(2rem, 5vw, 4.5rem) 1rem 0; }
.app-icon-link { display: inline-block; margin-bottom: 1.5rem; }
.app-icon { width: 88px; border-radius: 22%; }
.product h2, .small-product h2 { margin-bottom: .75rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.045em; }
.product-summary { max-width: 390px; margin-bottom: 1.5rem; color: var(--muted); font-size: 1.06rem; line-height: 1.6; }
.product-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.app-store-link { display: inline-block; margin-top: 1.15rem; padding: 3px; border-radius: 9px; background: var(--ink); }
.app-store-link img { display: block; }
.product-media { display: flex; min-height: 470px; overflow: hidden; align-self: stretch; align-items: flex-end; padding: 3rem 3rem 0; border-radius: 1.25rem; background: #e7eef2; }
.product-media a { display: block; text-align: center; }
.product-media img { display: block; max-width: 100%; max-height: 500px; margin: auto; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(23,33,43,.18)); transition: transform .25s ease; }
.product-media a:hover img { transform: translateY(-6px); }
.product-media-tides { background: linear-gradient(145deg, #e4f2f9, #dce8ee); }
.product-media-buoy { justify-content: center; background: linear-gradient(145deg, #e6eff2, #dbe6ea); }
.product-media-dog { justify-content: center; background: #f1ede4; }
.product-media-dog img { border-radius: .8rem .8rem 0 0; }

.site-footer { color: #dbe1e5; background: var(--ink); }
.site-footer small { color: #9ca8b1; }
.site-footer h5 { margin-bottom: 1rem; color: white; font-size: .9rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #9ca8b1; text-decoration: none; }
.site-footer a:hover { color: white; }

form .form-control { border-radius: .65rem; }

@media (max-width: 991.98px) {
    .product-info { padding-right: 1rem; padding-bottom: 3rem; }
    .product-media { min-height: 390px; padding: 2rem 2rem 0; }
    .product-media img { max-height: 390px; }
}
@media (max-width: 575.98px) {
    .home-hero { padding-top: 3rem; }
    .products { padding-bottom: 3rem; }
    .product { padding: 3.5rem 0; }
    .product-media { min-height: 280px; padding: 1.5rem 1rem 0; }
    .product-media img { max-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .product-media img { transition: none; }
}
