/* ============================================================
   YANGOT Technologies — monochrome, Apple-style
   Shared by the landing (index) and the legal pages.
   No color, no gradients — black, white, and grays only.
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --hairline: #d2d2d7;
  --hairline-soft: #e8e8ed;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --measure: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }
strong { font-weight: 600; }

/* ---- Sticky translucent nav ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline-soft);
}
header.site a.brand {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
header.site nav { display: flex; gap: 26px; }
header.site nav a {
  color: var(--ink-2);
  font-size: 15px;
  transition: color .2s var(--ease);
}
header.site nav a:hover { color: var(--ink); }

/* ---- Base content column (legal pages) ---- */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; font-weight: 650; }
h3 { font-size: 18px; margin: 28px 0 8px; font-weight: 600; }
p, li { color: var(--ink); }
li { margin: 6px 0; }
p.updated { color: var(--ink-3); font-size: 15px; margin: 0 0 32px; }
main a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hairline); }
main a:hover { text-decoration-color: var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0; }
td, th { border: 1px solid var(--hairline); padding: 10px 12px; text-align: left; vertical-align: top; }
th { color: var(--ink-2); font-weight: 600; background: var(--panel); }

/* ---- Footer ---- */
footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 40px 24px 56px;
  color: var(--ink-3);
  font-size: 14px;
  border-top: 1px solid var(--hairline-soft);
}
footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 14px; }
footer nav a { color: var(--ink-2); }
footer nav a:hover { color: var(--ink); }
footer p { color: var(--ink-3); margin: 0; }

/* ============================================================
   Landing (index.html)
   ============================================================ */

main.landing { max-width: var(--measure); padding: 0 24px 40px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink-3);
}

.section { padding: 72px 0; border-top: 1px solid var(--hairline-soft); scroll-margin-top: 80px; }
.section h2 { margin-top: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; }
.section > p { color: var(--ink-2); max-width: 60ch; font-size: 19px; }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 0 64px;
  scroll-margin-top: 80px;
}
.hero h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 16ch;
}
.hero .lede {
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 auto 36px;
  max-width: 52ch;
}

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s var(--ease), background-color .2s var(--ease);
}
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.24); }
.btn.text { color: var(--ink); padding: 13px 6px; }
.btn.text .arrow { transition: transform .25s var(--ease); }
.btn.text:hover .arrow { transform: translateX(4px); }

/* Craft cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.card {
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .badge {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--ink);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card .badge svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* Product (Frame) */
.product { display: flex; gap: 44px; align-items: center; margin-top: 20px; }
.product-icon {
  flex: 0 0 auto;
  width: 132px; height: 132px;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.product-body h2 { margin: 0 0 6px; }
.product-tag { color: var(--ink); font-weight: 600; font-size: 20px; margin: 0 0 14px; }
.product-body p { color: var(--ink-2); font-size: 18px; max-width: 52ch; }
.soon {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 980px;
  padding: 6px 14px;
  margin: 8px 0 16px;
}
.product-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hairline); }
.product-links a:hover { text-decoration-color: var(--ink); }
.product-links span { color: var(--hairline); margin: 0 12px; }

/* Company details */
.facts {
  margin-top: 36px;
  background: var(--panel);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-lg);
  padding: 30px 32px 24px;
}
.facts h3 { margin: 0 0 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.facts dt { color: var(--ink-2); font-size: 15px; }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); }
.facts-link { margin: 20px 0 0; }
.facts-link a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hairline); }
.facts-link a:hover { text-decoration-color: var(--ink); }

/* Contact */
.contact { text-align: center; }
.contact h2 { margin-bottom: 10px; }
.contact-email { font-size: clamp(24px, 4vw, 34px); margin: 10px 0 0; }
.contact-email a {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--hairline);
}
.contact-email a:hover { text-decoration-color: var(--ink); }

/* ---- Scroll-reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  header.site { padding: 12px 18px; }
  header.site nav { gap: 18px; }
  .product { flex-direction: column; align-items: flex-start; gap: 24px; }
  .facts dl > div { grid-template-columns: 1fr; gap: 3px; }
  .facts dt { font-size: 13px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-icon { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
