/* zycx.ai — light theme: white, brand blue, gold accents; product shots stay dark (they are the app). */
:root {
  /* DESIGN.md: Warriors royal blue #1D428A, California gold #FFC72C */
  --ink: #0B1430; --body: #4A5675; --muted: #7A859E; --line: #E3E8F1; --soft: #F4F6FA; --white: #FFFFFF;
  --blue: #1D428A; --blue-600: #163574; --blue-50: #EBF0F9; --blue-100: #D6E0F2;
  --gold: #FFC72C; --gold-50: #FFF7DC; --gold-ink: #8A6100;
  --navy: #0A1428; --red: #D64545;
  --max: 1160px; --radius: 20px;
  --shadow: 0 1px 2px rgba(11, 20, 48, .04), 0 12px 32px rgba(11, 20, 48, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(33px, 6vw, 68px); text-wrap: balance; line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.15; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--body); max-width: 680px; line-height: 1.65; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.blue { color: var(--blue); }

/* brand cursor: the gold square from the icon, used as a small motif */
.nw { white-space: nowrap; }
.cursor { display: inline-block; width: .42em; height: .42em; background: var(--gold); border-radius: 2px; margin-left: .08em; vertical-align: baseline; }

/* ---------- header ---------- */
header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.8) blur(14px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
nav { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 15px; }
nav a { color: var(--body); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
nav a:hover { color: var(--ink); background: var(--soft); text-decoration: none; }
nav a.on { color: var(--ink); font-weight: 600; }
nav .lang { border: 1px solid var(--line); margin-left: 6px; font-size: 13px; font-weight: 600; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29, 66, 138, .28); }
.btn.primary:hover { background: var(--blue-600); }
.btn.gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(255, 199, 44, .35); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: #CDD4E3; }
.btn.disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.center .actions, .hero .actions { justify-content: center; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }

/* ---------- sections ---------- */
section { padding: 104px 0; }
section.tight { padding: 64px 0; }
section.soft { background: var(--soft); }
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { text-align: center; }
.head .lead { margin-top: 18px; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 0; text-align: center; overflow: hidden;
  background: radial-gradient(900px 500px at 50% -10%, var(--blue-50), transparent 70%); }
.hero h1 { max-width: 920px; margin: 0 auto; }
.hero .lead { margin: 24px auto 0; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.stage { position: relative; margin: 72px auto 0; max-width: 1080px; height: 560px; border-radius: 32px 32px 0 0;
  background: linear-gradient(160deg, #1D428A 0%, #163574 55%, #0D1F47 100%); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 80% 0%, rgba(255, 199, 44, .22), transparent 70%),
  radial-gradient(500px 400px at 10% 100%, rgba(110, 150, 240, .35), transparent 70%); }
.stage .grid-lines { position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); }
.stage .ph { position: absolute; top: 64px; width: 280px; }
.stage .ph.c { left: 50%; margin-left: -150px; width: 300px; top: 40px; z-index: 3; }
.stage .ph.l { left: 50%; margin-left: -470px; transform: rotate(-7deg); z-index: 2; top: 96px; }
.stage .ph.r { left: 50%; margin-left: 190px; transform: rotate(7deg); z-index: 2; top: 96px; }

/* phone shot: the image already contains the device frame; clip its corners and add depth */
.ph img { width: 100%; border-radius: 14.5% / 7.1%; box-shadow: 0 30px 70px rgba(5, 10, 30, .45); }

/* chips: tools we work with */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; color: var(--muted); font-weight: 600; font-size: 15px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; }
.chips span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); }
.chips-label { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip .copy { order: 2; }
.feature .copy h2 { margin-bottom: 18px; }
.feature .copy .lead { font-size: 18px; }
.feature ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; color: var(--body); }
.feature li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 4px; border-radius: 6px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D428A' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.visual { position: relative; display: flex; justify-content: center; padding: 56px 0; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--blue-50), #F9FAFE 75%); }
.visual::before { content: ""; position: absolute; width: 180px; height: 180px; right: 10%; top: 8%; border-radius: 36px; background: var(--gold-50); }
.visual::after { content: ""; position: absolute; width: 120px; height: 120px; left: 8%; bottom: 10%; border-radius: 28px; background: var(--blue-100); opacity: .7; }
.visual .ph { position: relative; z-index: 1; width: 290px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card.lift { box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--body); font-size: 15px; margin-top: 8px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; color: var(--blue); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.icon.gold { background: var(--gold-50); color: var(--gold-ink); }

/* ---------- product card (home) ---------- */
.product { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.product .copy { padding: 56px; }
.product .appname { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.product .appname img { width: 56px; height: 56px; border-radius: 14px; }
.product .appname b { font-size: 26px; color: var(--ink); display: block; line-height: 1.2; }
.product .appname span { font-size: 14px; color: var(--muted); }
.product .art { position: relative; min-height: 440px; overflow: hidden;
  background: radial-gradient(300px 200px at 90% 0%, rgba(255, 199, 44, .3), transparent 70%), linear-gradient(160deg, #1D428A, #102552); }
.product .art .ph { position: absolute; width: 250px; left: 50%; margin-left: -125px; top: 52px; }

/* ---------- pricing ---------- */
.price { display: flex; flex-direction: column; gap: 6px; }
.price .tag { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--body); margin-bottom: 8px; }
.price.pro { border: 2px solid var(--blue); }
.price.pro .tag { background: var(--gold-50); color: var(--gold-ink); }
.price ul { margin: 14px 0 0; padding-left: 20px; color: var(--body); font-size: 15px; }
.price li + li { margin-top: 6px; }

/* ---------- CTA band ---------- */
.band { border-radius: 32px; padding: 72px 48px; text-align: center; color: #DCE4FA;
  background: radial-gradient(500px 240px at 85% 0%, rgba(255, 199, 44, .28), transparent 70%), linear-gradient(160deg, #1D428A, #102552); }
.band h2 { color: #fff; }
.band p { margin: 16px auto 0; max-width: 620px; font-size: 18px; }

/* ---------- facts ---------- */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 14px 32px; margin: 0; font-size: 15px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #8C97B3; font-size: 14px; padding: 64px 0 36px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer .about { max-width: 320px; line-height: 1.7; }
footer h4 { color: #fff; font-size: 14px; margin: 4px 0 14px; }
footer .cols a { color: #8C97B3; display: block; padding: 3px 0; }
footer a:hover { color: #fff; text-decoration: none; }
footer .bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #1C2A4A; }
footer .bottom a { color: #8C97B3; }
/* legal / beta pages keep a one-line footer */
footer.simple { padding: 32px 0; }
footer.simple .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
footer.simple .links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer.simple a { color: #8C97B3; }

/* ---------- document pages (privacy, NDA) ---------- */
.doc { max-width: 780px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; letter-spacing: 0; }
.doc p, .doc li { color: var(--body); }
.doc p + p { margin-top: 12px; }

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .feature, .product, .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .feature { gap: 36px; }
  .feature + .feature { margin-top: 80px; }
  .feature.flip .copy { order: 0; }
  .product .copy { padding: 32px; }
  .stage { height: 460px; border-radius: 24px 24px 0 0; }
  .stage .ph { width: 200px; top: 70px; }
  .stage .ph.c { width: 230px; margin-left: -115px; top: 40px; }
  .stage .ph.l { margin-left: -300px; }
  .stage .ph.r { margin-left: 100px; }
  .band { padding: 48px 24px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  nav .hide-sm { display: none; }
}
@media (max-width: 520px) {
  header .wrap { gap: 12px; }
  nav { gap: 0; font-size: 14px; }
  nav a { padding: 6px 8px; }
  .stage .ph.l, .stage .ph.r { display: none; }
  .visual .ph { width: 230px; }
}

/* raw app screenshots (no device frame in the image): draw the frame in CSS */
.ph.raw img { border: 9px solid #0E1830; border-radius: 42px; background: #0E1830; }
.product.alt .art { background: radial-gradient(300px 200px at 10% 0%, rgba(255, 199, 44, .35), transparent 70%), linear-gradient(160deg, #FFF7DC, #F7E7B4); }
.products { display: grid; gap: 28px; }
