/* installngo.com: shared look for the home page, the policy pages and 404.
   (The Danglio page has its own warm styles; it only borrows the footer.) */

:root {
  --ink: #0b1733;
  --muted: #4d5872;
  --line: #e3e8f0;
  --bg: #f7f9fc;
  --card: #ffffff;
  --link: #0960ff;
  --blue: #0960ff;
  --cyan: #00b8e6;
  --saffron: #f39c12;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: "Nunito Sans", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100%, 1120px); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(1.4) blur(8px); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; width: auto; height: 33px; }
.site-nav { display: flex; gap: 1.25rem; font-weight: 700; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--link); }

main { flex: 1; }

/* Footer */
.site-foot { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--card); font-size: 0.92rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.75rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--ink); }

/* Home */
.hero { padding-block: clamp(3rem, 9vh, 6rem) clamp(2rem, 6vh, 4rem); }
.hero h1 { margin: 0; max-width: 16ch; font-family: "Baloo 2", "Segoe UI", sans-serif; font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.03; letter-spacing: -0.02em; }
.hero h1 span { background: linear-gradient(90deg, #0960ff, #00b8e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 52ch; margin: 1.1rem 0 0; font-size: 1.15rem; color: var(--muted); }
.section-title { margin: 0 0 1.25rem; font-family: "Baloo 2", "Segoe UI", sans-serif; font-size: 1.6rem; font-weight: 800; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.product { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: box-shadow 160ms ease, transform 160ms ease; }
.product:hover { box-shadow: 0 10px 30px rgba(11, 23, 51, 0.08); transform: translateY(-2px); }
.product__art { display: grid; place-items: center; height: 220px; background: radial-gradient(22rem 14rem at 70% 20%, #ffe0bd 0%, transparent 70%), #fff8ee; }
.product__art img { height: 190px; width: auto; }
.product__body { padding: 1.1rem 1.25rem 1.3rem; }
.product__name { margin: 0; font-family: "Baloo 2", "Segoe UI", sans-serif; font-size: 1.5rem; font-weight: 800; }
.product__name a { color: var(--ink); text-decoration: none; }
.product__name a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.product__body p { margin: 0.35rem 0 0; color: var(--muted); }
.badge { display: inline-block; margin-top: 0.8rem; padding: 0.15rem 0.7rem; border-radius: 999px; background: #e6f6f2; color: #0b7a66; font-size: 0.82rem; font-weight: 700; }
.product--soon .product__art { background: repeating-linear-gradient(135deg, #f1f5fb 0 12px, #eaf0f8 12px 24px); }
.product--soon .product__art span { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 3rem; color: #b8c4d8; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.values div { padding: 1.25rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.values h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.values p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Policy pages */
.doc { max-width: 72ch; padding-block: clamp(2rem, 6vh, 3.5rem) 0; }
.doc h1 { margin: 0; font-family: "Baloo 2", "Segoe UI", sans-serif; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.01em; }
.doc .updated { margin: 0.4rem 0 2rem; color: var(--muted); font-size: 0.92rem; }
.doc h2 { margin: 2.2rem 0 0.5rem; font-size: 1.25rem; line-height: 1.3; }
.doc h3 { margin: 1.4rem 0 0.3rem; font-size: 1.05rem; }
.doc p, .doc li { color: #26314d; }
.doc ul { padding-left: 1.3rem; }
.doc li + li { margin-top: 0.3rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 0.75rem 0; font-size: 0.95rem; }
.doc th, .doc td { padding: 0.55rem 0.7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: #eef3f9; }
.doc .table-scroll { overflow-x: auto; }
.summary { margin: 0 0 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: #eaf6fd; }
.summary p { margin: 0; }
.summary p + p { margin-top: 0.4rem; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.contact-cards div { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contact-cards h2 { margin: 0 0 0.3rem; font-size: 1rem; }
.contact-cards p { margin: 0; }

.notfound { text-align: center; padding-block: 6rem 2rem; }
.notfound h1 { font-family: "Baloo 2", sans-serif; font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0; }
.notfound p { color: var(--muted); }

@media (max-width: 560px) {
  .site-nav { gap: 0.9rem; font-size: 0.95rem; }
  .logo img { height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .product { transition: none; }
  .product:hover { transform: none; }
}
.muted { color: var(--muted); }

/* Buttons (home page) */
.hero__links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.btn { display: inline-block; padding: 0.7rem 1.4rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn--ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
