/* LocalCloud marketing site — brand: Shield-Cloud, midnight → electric blue. */
:root {
  --midnight: #0f2f66;
  --electric: #2b7ff0;
  --accent: #1a73e8;
  --accent-soft: #e8f0fe;
  --ink: #1c2229;
  --dim: #5b6470;
  --line: #e3e6ea;
  --ground: #ffffff;
  --panel: #f6f8fb;
  --mint: #1e8e3e;
  --amber: #e37400;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--ground);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
nav .brand img { width: 34px; height: 34px; border-radius: 8px; }
nav .links { margin-left: auto; display: flex; gap: 20px; font-size: 14.5px; font-weight: 500; }
nav .links a { color: var(--dim); }
nav .links a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--midnight), var(--electric));
  color: #fff;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
}
.hero nav .brand, .hero nav .links a { color: #fff; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px;
  align-items: center; padding: 48px 0 72px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero p.lead { font-size: 18px; opacity: 0.92; margin: 0 0 30px; max-width: 46ch; }
.hero .fineprint { font-size: 13px; opacity: 0.75; margin-top: 18px; }

/* Store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; border-radius: 12px; padding: 10px 16px;
  font-size: 14px; font-weight: 600; line-height: 1.25;
  transition: background 0.15s;
}
.badge:hover { background: rgba(255, 255, 255, 0.22); }
.badge svg { flex-shrink: 0; }
.badge small { display: block; font-size: 10.5px; font-weight: 500; opacity: 0.8; }
.badge.soon { opacity: 0.55; cursor: default; }
.badge.soon:hover { background: rgba(255,255,255,0.12); }

/* Hero visual */
.hero-art { position: relative; height: 320px; }
.hero-art .device {
  position: absolute; background: #fff; border-radius: 18px;
  box-shadow: 0 18px 44px rgba(6, 20, 48, 0.45);
}
.hero-art .laptop { width: 300px; height: 195px; left: 0; top: 40px; padding: 14px; }
.hero-art .phone { width: 120px; height: 240px; right: 8px; top: 12px; padding: 10px; }
.hero-art .grid-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.hero-art .phone .grid-mini { grid-template-columns: repeat(2, 1fr); }
.hero-art .ph { aspect-ratio: 1; border-radius: 6px; background: var(--accent-soft); }
.hero-art .ph:nth-child(3n) { background: #d7e8ff; }
.hero-art .ph:nth-child(4n) { background: #c4dcfd; }
.hero-art .link-dots {
  position: absolute; left: 285px; top: 150px; width: 66px; height: 4px;
  background-image: radial-gradient(circle, #fff 2.5px, transparent 3px);
  background-size: 13px 4px;
  animation: flow 1.2s linear infinite;
}
@keyframes flow { to { background-position-x: 13px; } }

/* ---------- Sections ---------- */
section { padding: 72px 0 12px; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 8px;
}
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; letter-spacing: -0.015em; text-wrap: balance; }
.sub { color: var(--dim); font-size: 16px; max-width: 68ch; margin: 0 0 36px; }

/* Why cards */
.whys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 26px 22px;
}
.why h3 { margin: 0 0 8px; font-size: 17.5px; }
.why p { margin: 0; color: #3a434e; font-size: 14.5px; line-height: 1.65; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.step .n {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: grid; place-items: center; margin-bottom: 14px; font-size: 15px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--dim); font-size: 14.5px; }

/* Under the hood */
.under-hood {
  margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; background: linear-gradient(180deg, #fbfdff, #f2f7ff);
}
.under-hood h3 { margin: 0 0 14px; font-size: 15px; color: var(--accent); }
.hood-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; font-size: 13.5px; color: #3a434e; }
.hood-grid strong { color: var(--ink); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 16.5px; }
.feature p { margin: 0; color: var(--dim); font-size: 14px; }

/* ---------- Guide shorts v2 ---------- */
.shorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.short {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, #10265a, #1b56b8);
  color: #fff; aspect-ratio: 9 / 14; position: relative;
  display: flex; flex-direction: column;
}
.short .stage { flex: 1; position: relative; }
.short .caption {
  padding: 14px 16px 16px; font-size: 14px; font-weight: 600;
  background: rgba(4, 12, 30, 0.35);
}
.short .caption span { display: block; font-size: 12px; font-weight: 400; opacity: 0.8; margin-top: 2px; }

/* shared mini-device chrome */
.g-device {
  position: absolute; background: #fff; color: var(--ink);
  border-radius: 12px; padding: 8px 10px 10px;
  box-shadow: 0 10px 26px rgba(4, 12, 30, 0.4);
}
.g-label {
  display: block; font-size: 10.5px; font-weight: 700; color: var(--dim);
  margin-bottom: 6px; letter-spacing: 0.02em;
}
.g-hint { display: block; font-size: 9.5px; color: var(--accent); margin-top: 6px; font-weight: 600; }

/* QR pattern (pure CSS) */
.g-qr {
  width: 74px; height: 74px; border-radius: 6px; background:
    linear-gradient(#1c2229, #1c2229) 4px 4px / 22px 22px no-repeat,
    linear-gradient(#fff, #fff) 9px 9px / 12px 12px no-repeat,
    linear-gradient(#1c2229, #1c2229) 48px 4px / 22px 22px no-repeat,
    linear-gradient(#fff, #fff) 53px 9px / 12px 12px no-repeat,
    linear-gradient(#1c2229, #1c2229) 4px 48px / 22px 22px no-repeat,
    linear-gradient(#fff, #fff) 9px 53px / 12px 12px no-repeat,
    linear-gradient(#1c2229, #1c2229) 50px 50px / 9px 9px no-repeat,
    linear-gradient(#1c2229, #1c2229) 62px 44px / 8px 8px no-repeat,
    linear-gradient(#1c2229, #1c2229) 44px 62px / 8px 8px no-repeat,
    linear-gradient(#1c2229, #1c2229) 33px 33px / 8px 8px no-repeat,
    #fff;
  border: 1px solid var(--line);
}
.g-qr.small { transform: scale(0.72); transform-origin: center; }

/* short 1 layout */
.g-laptop { left: 10%; top: 7%; width: 55%; }
.g-laptop .g-qr { margin: 0 auto; }
.g-phone { right: 8%; top: 40%; width: 46%; }
.g-viewfinder {
  position: relative; border-radius: 8px; background: #101826;
  display: grid; place-items: center; padding: 12px 0;
}
.g-viewfinder .c {
  position: absolute; width: 14px; height: 14px; border: 2.5px solid #35e08f;
}
.g-viewfinder .tl { top: 5px; left: 5px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.g-viewfinder .tr { top: 5px; right: 5px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.g-viewfinder .bl { bottom: 5px; left: 5px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.g-viewfinder .br { bottom: 5px; right: 5px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }
.g-scanline {
  position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 2px;
  background: #35e08f; box-shadow: 0 0 12px #35e08f;
  top: 18%; animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: 16%; } 50% { top: 80%; } }
.g-result {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  background: var(--mint); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  animation: appear 5.2s ease-in-out infinite;
}
@keyframes appear { 0%, 55% { opacity: 0; transform: translateX(-50%) scale(0.8); } 70%, 92% { opacity: 1; transform: translateX(-50%) scale(1); } 100% { opacity: 0; } }

/* short 2 layout */
.g-phone.left { left: 6%; top: 12%; right: auto; width: 38%; }
.g-laptop.right { right: 6%; top: 30%; left: auto; width: 44%; }
.g-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.g-photos i {
  aspect-ratio: 1; border-radius: 5px;
  background: linear-gradient(135deg, #9ec7ff, #5d9cf5);
}
.g-photos i:nth-child(2n) { background: linear-gradient(135deg, #cfe3ff, #8fbcf9); }
.g-photos i:nth-child(3n) { background: linear-gradient(135deg, #7fb2f7, #3f83e8); }
.g-photos i.in { opacity: 0; animation: arrive 4.2s ease-in-out infinite; }
.g-photos i.in.d2 { animation-delay: 0.9s; }
.g-photos i.in.d3 { animation-delay: 1.8s; }
.g-photos i.in.d4 { animation-delay: 2.7s; }
@keyframes arrive { 0% { opacity: 0; transform: scale(0.6); } 18%, 100% { opacity: 1; transform: scale(1); } }
.g-stream { position: absolute; left: 40%; top: 34%; width: 20%; }
.g-stream b {
  position: absolute; width: 18px; height: 18px; border-radius: 4px;
  background: #9ec7ff; animation: hop 2.1s ease-in-out infinite;
}
.g-stream b:nth-child(2) { animation-delay: 0.7s; top: 14px; background: #6aa9f8; }
.g-stream b:nth-child(3) { animation-delay: 1.4s; top: 28px; background: #cfe3ff; }
@keyframes hop {
  0% { transform: translateX(-8px) scale(0.7); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(72px) scale(1); opacity: 0; }
}
.g-chip {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; color: #fff;
}
.g-chip.amber { bottom: 15%; background: var(--amber); animation: chipA 5s ease-in-out infinite; }
.g-chip.green { bottom: 15%; background: var(--mint); animation: chipB 5s ease-in-out infinite; }
@keyframes chipA { 0%, 55% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes chipB { 0%, 58% { opacity: 0; } 66%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* short 3 layout */
.g-folder {
  position: absolute; background: #fff; color: var(--ink);
  border-radius: 12px; padding: 10px 12px;
  box-shadow: 0 10px 26px rgba(4, 12, 30, 0.4);
}
.g-folder.shared { left: 8%; top: 8%; width: 56%; }
.g-folder.private { left: 8%; bottom: 8%; width: 60%; }
.g-flabel { display: block; font-size: 11px; font-weight: 700; margin-bottom: 7px; }
.g-photos.row3 { grid-template-columns: repeat(3, 1fr); }
.g-locktag {
  display: inline-block; font-size: 10px; font-weight: 700; color: var(--dim);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 9px;
}
.g-share-arrow {
  position: absolute; left: 40%; top: 42%; width: 26%; height: 4px;
  background-image: radial-gradient(circle, #fff 2.5px, transparent 3px);
  background-size: 12px 4px; animation: flow 1s linear infinite;
  transform: rotate(18deg);
}
.g-person {
  position: absolute; right: 6%; top: 46%;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px; padding: 9px 12px; font-size: 12px; font-weight: 700;
}
.g-person b { display: block; font-size: 10px; font-weight: 500; opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  .g-scanline, .g-result, .g-stream b, .g-photos i.in, .g-chip, .g-share-arrow, .link-dots { animation: none; }
  .g-photos i.in { opacity: 1; }
  .g-chip.amber { opacity: 0; }
}

/* ---------- Compare table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--panel); font-size: 13px; }
.cmp thead th:nth-child(2) { color: var(--accent); }
.cmp tbody td:first-child { color: var(--dim); font-size: 13.5px; }
.cmp td.good { color: var(--mint); font-weight: 600; }
.cmp tbody tr:last-child td { border-bottom: none; }

/* ---------- Download ---------- */
.download {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 34px; margin-top: 8px;
}
.download .rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.dl {
  display: flex; align-items: center; gap: 12px;
  background: var(--ground); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; color: var(--ink); font-weight: 600; font-size: 14.5px;
}
.dl small { display: block; font-weight: 400; color: var(--dim); font-size: 12px; }
.dl:hover { border-color: var(--accent); }
.dl.soon { opacity: 0.55; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
details summary { font-weight: 600; cursor: pointer; font-size: 15.5px; }
details p { color: var(--dim); font-size: 14.5px; margin: 10px 0 0; max-width: 75ch; }

/* ---------- Contact ---------- */
.contact-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px;
  background: linear-gradient(180deg, #fbfdff, #f2f7ff);
}
.contact-card > div { flex: 1; min-width: 260px; }
.contact-btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; border-radius: 12px; padding: 13px 22px;
  white-space: nowrap;
}
.contact-btn:hover { background: #1663c7; }

/* ---------- Footer ---------- */
footer {
  margin-top: 80px; border-top: 1px solid var(--line);
  padding: 30px 0 44px; font-size: 13.5px; color: var(--dim);
}
footer .cols { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
footer .spacer { flex: 1; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 24px 24px 80px; }
.legal h1 { font-size: 30px; margin: 26px 0 4px; }
.legal .date { color: var(--dim); font-size: 13.5px; margin-bottom: 28px; }
.legal h2 { font-size: 19px; margin: 30px 0 8px; }
.legal p, .legal li { font-size: 15px; color: #333c46; }
.legal .topnav { padding-top: 18px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-art { display: none; }
  .steps, .features, .shorts, .whys, .hood-grid { grid-template-columns: 1fr; }
  .download .rows { grid-template-columns: 1fr; }
  nav .links { display: none; }
  .short { aspect-ratio: 9 / 13; max-width: 420px; margin: 0 auto; width: 100%; }
}
