/* app.connectgcf.com — the public site: landing page and legal pages. */
:root {
  --ink: #0b1e19;
  --ink2: #47524d;
  --ink3: #7a847f;
  --deep: #0e3b2e;
  --deep2: #0a2c22;
  --teal: #267d63;
  --teal-deep: #1d6a55;
  --mint: #aedcc8;
  --mint-bg: #e6f4ee;
  --line: #e3dfd5;
  --paper: #f6f4ef;
  --card: #ffffff;
  --danger: #b3261e;
  --glow: #5ee08f;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(11, 30, 25, 0.06), 0 8px 24px rgba(11, 30, 25, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3f0;
    --ink2: #b4c0ba;
    --ink3: #87938d;
    --line: #26362f;
    --paper: #0d1714;
    --card: #14211c;
    --mint-bg: #163028;
    --teal-deep: #7fd1b0;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Archivo, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); font-weight: 600; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* --- Top bar ------------------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--teal); }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a { color: var(--ink2); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary { background: var(--teal); color: #fff !important; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: 0.9rem; }
@media (max-width: 720px) { .top nav .hide-sm { display: none; } }

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% 20%, #14523f 0%, var(--deep) 45%, var(--deep2) 100%); color: #fff; }
.hero::after { content: ''; position: absolute; inset: 0; background: url('img/cityscape.webp') right bottom / cover no-repeat; opacity: 0.12; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(174, 220, 200, 0.14); color: var(--mint); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--glow); }
.hero p.lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); max-width: 34ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; }
.hero-art .ring { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(94, 224, 143, 0.35) 0%, rgba(94, 224, 143, 0) 65%); animation: pulse 4s ease-in-out infinite; }
.hero-art img { position: relative; width: 100%; height: 100%; object-fit: contain; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }
.bubble { position: absolute; top: 6%; left: -4%; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.05); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-art img, .hero-art .ring { animation: none; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 48px; padding-bottom: 56px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero-art { width: min(300px, 80%); grid-row: 1; }
  .bubble { left: 0; }
}

/* --- Stats strip -------------------------------------------------------- */
.stats { background: var(--card); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 24px; text-align: center; }
.stats strong { display: block; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--teal-deep); }
.stats span { color: var(--ink2); font-size: 0.92rem; }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* --- Sections ----------------------------------------------------------- */
section.block { padding: 80px 0; }
.block h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.block .sub { color: var(--ink2); font-size: 1.08rem; max-width: 60ch; margin: 0 0 40px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s ease; }
.feature:hover { transform: translateY(-3px); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-bg); color: var(--teal-deep); margin-bottom: 14px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--ink2); font-size: 0.97rem; }

/* Orbi spotlight rows */
.spot { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 48px; }
.spot.flip { grid-template-columns: 1.2fr 0.8fr; }
.spot.flip .spot-art { order: 2; }
.spot-art { background: radial-gradient(circle at 50% 55%, var(--mint-bg) 0%, transparent 70%); border-radius: 50%; padding: 12px; }
.spot-art img { width: 100%; max-width: 360px; margin: 0 auto; }
.spot ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.spot li { display: flex; gap: 12px; align-items: flex-start; }
.spot li::before { content: ''; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 820px) {
  .spot, .spot.flip { grid-template-columns: 1fr; gap: 24px; }
  .spot.flip .spot-art { order: 0; }
  .spot-art img { max-width: 240px; }
}
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Orbi gallery */
.orbis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 8px; }
.orbis figure { margin: 0; text-align: center; }
.orbis img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform 0.25s ease; }
.orbis figure:hover img { transform: translateY(-6px) rotate(-3deg); }
.orbis figcaption { color: var(--ink2); font-size: 0.85rem; font-weight: 600; }
@media (max-width: 760px) { .orbis { grid-template-columns: repeat(3, 1fr); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink2); font-size: 0.96rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Final banner */
.banner { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, var(--deep) 0%, #14523f 100%); color: #fff; display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 24px; padding: 48px; }
.banner h2 { color: #fff; }
.banner p { color: rgba(255, 255, 255, 0.82); margin: 0 0 24px; }
.banner img { max-width: 260px; justify-self: center; animation: float 6s ease-in-out infinite; }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; text-align: center; padding: 32px 20px; } .banner .cta { justify-content: center; } .banner img { max-width: 180px; grid-row: 1; } }

/* --- Footer ------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink2); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--ink2); font-weight: 500; text-decoration: none; }
footer nav a:hover { color: var(--ink); text-decoration: underline; }

/* --- Legal pages -------------------------------------------------------- */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 20px 72px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.02em; }
.legal .updated { color: var(--ink3); font-size: 0.9rem; margin: 0 0 28px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 8px; }
.legal ul, .legal ol { padding-left: 1.3rem; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink2); font-weight: 700; width: 34%; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.legal-nav a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); text-decoration: none; font-size: 0.88rem; font-weight: 600; background: var(--card); }
.legal-nav a[aria-current='page'] { background: var(--teal); border-color: var(--teal); color: #fff; }
.note { background: var(--mint-bg); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }

/* Deletion form */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-top: 28px; box-shadow: var(--shadow); }
.card label { display: block; font-weight: 700; font-size: 0.86rem; margin: 14px 0 6px; }
.card input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--paper); color: var(--ink); }
.card input:focus { outline: 2px solid rgba(38, 125, 99, 0.25); border-color: var(--teal); }
.card button { width: 100%; margin-top: 16px; padding: 12px 16px; border: 0; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; background: var(--teal); color: #fff; }
.card button.quiet { background: transparent; color: var(--ink2); margin-top: 8px; }
.card button.danger { background: var(--danger); }
.card button:disabled { opacity: 0.6; cursor: not-allowed; }
.tabs { display: flex; gap: 6px; background: var(--paper); padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
.card .tabs button { margin: 0; padding: 8px; background: transparent; color: var(--ink2); font-size: 0.86rem; }
.card .tabs button[aria-pressed='true'] { background: var(--card); color: var(--teal-deep); box-shadow: var(--shadow); }
.error { background: #fbe9e7; color: var(--danger); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 0.92rem; }
[hidden] { display: none !important; }
