/* Lin website (2026-12-01). Brand: graphite #1E1E1E, white, blue #218CFA, soft pastel orbs. */
:root {
  --bg: #F7F7FA;
  --surface: #FFFFFF;
  --surface2: #F0F0F4;
  --text: #1E1E1E;
  --muted: #6B6B75;
  --line: rgba(30, 30, 30, 0.10);
  --accent: #218CFA;
  --green: #22B35E;
  --red: #E5483B;
  --shadow: 0 18px 50px rgba(30, 30, 40, 0.12);
  --radius: 28px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121214; --surface: #1E1E21; --surface2: #2A2A2E; --text: #F4F4F6;
    --muted: #A0A0AA; --line: rgba(255, 255, 255, 0.10); --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121214; --surface: #1E1E21; --surface2: #2A2A2E; --text: #F4F4F6;
  --muted: #A0A0AA; --line: rgba(255, 255, 255, 0.10); --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* Orbs */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orbs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.orbs i:nth-child(1) { width: 520px; height: 520px; background: #9E8CFF; left: -160px; top: -140px; }
.orbs i:nth-child(2) { width: 460px; height: 460px; background: #66B3FF; right: -140px; top: 120px; animation-duration: 26s; }
.orbs i:nth-child(3) { width: 420px; height: 420px; background: #FF9ED9; left: 10%; top: 900px; animation-duration: 30s; }
.orbs i:nth-child(4) { width: 380px; height: 380px; background: #8CE6F2; right: 5%; top: 1600px; animation-duration: 24s; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .orbs i { opacity: .22; } }
:root[data-theme="dark"] .orbs i { opacity: .22; }
@keyframes drift { to { transform: translate(60px, 80px) scale(1.08); } }

/* Nav */
nav.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); background: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.brand .dark-mark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .light-mark { display: none; } :root:not([data-theme="light"]) .brand .dark-mark { display: block; } }
:root[data-theme="dark"] .brand .light-mark { display: none; }
:root[data-theme="dark"] .brand .dark-mark { display: block; }
nav.top .links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
nav.top .links a { text-decoration: none; color: var(--muted); }
nav.top .links a:hover { color: var(--text); }
@media (max-width: 560px) { nav.top .links .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 700; text-decoration: none; font-size: 16px; border: 0; }
.btn.ghost { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.soon { font-size: 12px; font-weight: 600; opacity: .7; display: block; line-height: 1; }
.btn .two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .hero { grid-template-columns: 1.1fr .9fr; padding-top: 96px; padding-bottom: 72px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); padding: 6px 14px; border-radius: 999px; background: var(--surface); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.eyebrow b { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(90deg, #6E5BFF, var(--accent) 55%, #1FB6D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Phone */
.phone { width: min(330px, 100%); margin: 0 auto; aspect-ratio: 330/680; border-radius: 52px; background: var(--surface); box-shadow: var(--shadow), 0 0 0 10px #1E1E1E, 0 0 0 11px #3a3a3e; position: relative; overflow: hidden; padding: 56px 16px 16px; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 110px; height: 32px; border-radius: 20px; background: #000; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head .t { font-weight: 700; font-size: 16px; line-height: 1.1; }
.chat-head .s { font-size: 12px; color: var(--muted); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.av.sm { width: 24px; height: 24px; font-size: 11px; }
.c-emma { background: #ED7389; } .c-noah { background: #599EF2; } .c-lucas { background: #FAA640; } .c-me { background: #8C73F2; } .c-grp { background: linear-gradient(135deg, #6E5BFF, #1FB6D6); }
.msgs { display: flex; flex-direction: column; gap: 9px; padding-top: 14px; }
.m { max-width: 80%; padding: 9px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.35; background: var(--surface2); opacity: 0; transform: translateY(10px) scale(.96); animation: pop .5s ease forwards; }
.m .who { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 2px; }
.m.me { align-self: flex-end; background: var(--accent); color: #fff; }
.m.react { position: relative; }
.m.react::after { content: "🎉 3"; position: absolute; right: -6px; bottom: -14px; font-size: 11px; background: var(--surface); color: var(--text); border-radius: 999px; padding: 1px 7px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
@keyframes pop { to { opacity: 1; transform: none; } }
.meeting-card { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; overflow: hidden; opacity: 0; animation: pop .5s ease forwards; }
.meeting-card .page { padding: 10px 12px; font-size: 9.5px; color: #333; background: #fff; border-bottom: 1px solid var(--line); line-height: 1.5; }
.meeting-card .page b { font-size: 10.5px; display: block; margin-bottom: 3px; }
.meeting-card .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; }
.pdf { width: 28px; height: 34px; border-radius: 6px; background: #DB4038; color: #fff; font-size: 9px; font-weight: 900; display: grid; place-items: center; flex: none; }
.row .sub { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }

/* Sections */
section { padding: 56px 0; }
.section-title { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 14px; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 0 40px; }

.feature { display: grid; gap: 32px; align-items: center; padding: 40px 0; }
@media (min-width: 880px) { .feature { grid-template-columns: 1fr 1fr; gap: 64px; } .feature.flip .mock { order: 2; } }
.feature h3 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 14px; }
.feature p { color: var(--muted); margin: 0 0 16px; font-size: 18px; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.feature li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--accent) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

.mock { background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); padding: 20px; min-height: 340px; position: relative; overflow: hidden; }

/* Meeting mock */
.rec { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(229, 72, 59, .09); font-weight: 800; font-size: 14px; color: var(--red); }
.rec .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
.rec .time { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 600; }
.rec .people { margin-left: auto; display: flex; }
.rec .people .av { margin-left: -7px; border: 2px solid var(--surface); }
@keyframes blink { 50% { opacity: .25; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; margin: 14px 0; }
.wave i { width: 5px; border-radius: 3px; background: rgba(229, 72, 59, .8); animation: wv 1.1s ease-in-out infinite; }
@keyframes wv { 0%, 100% { height: 8px; } 50% { height: 46px; } }
.line { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 10px 0; opacity: 0; animation: pop .5s ease forwards; }
.line b { margin-right: 6px; }

/* Board mock */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 300px; }
.col { background: color-mix(in srgb, var(--surface2) 60%, transparent); border-radius: 18px; padding: 10px; position: relative; }
.col h5 { margin: 0 0 10px; font-size: 12px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.col h5 i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.card { background: var(--surface); border-radius: 12px; padding: 9px; font-size: 12px; font-weight: 600; box-shadow: 0 4px 12px rgba(0,0,0,.08); margin-bottom: 8px; }
.prio { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.prio.high { background: rgba(237, 92, 51, .12); color: #ED5C33; }
.prio.med { background: rgba(255, 149, 0, .12); color: #E08600; }
.prio.urg { background: rgba(229, 72, 59, .12); color: var(--red); }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 11px; }
.mover { position: absolute; width: calc((100% - 60px) / 3 - 20px); left: 30px; top: 58px; animation: move 7s ease-in-out infinite; z-index: 2; }
@keyframes move {
  0%, 18% { transform: translateX(0); }
  30%, 55% { transform: translateX(var(--step1, calc(100% + 30px))); }
  67%, 92% { transform: translateX(var(--step2, calc(200% + 60px))); }
  100% { transform: translateX(0); }
}
@media (max-width: 560px) { .mover { --step1: calc(100% + 18px); --step2: calc(200% + 36px); } }
.mover .assn { opacity: 0; animation: assn 7s infinite; }
@keyframes assn { 0%, 14% { opacity: 0; } 18%, 95% { opacity: 1; } 100% { opacity: 0; } }

/* Agent mock */
.agent-head { display: flex; align-items: center; gap: 10px; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.spark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #8C73F2, #599EF2); color: #fff; font-size: 16px; }
.events { background: var(--surface2); border-radius: 16px; padding: 12px; margin-top: 12px; opacity: 0; animation: pop .5s ease forwards; }
.ev { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; }
.ev i { width: 4px; height: 28px; border-radius: 2px; flex: none; }
.ev b { font-variant-numeric: tabular-nums; }
.done-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(34, 179, 94, .12); color: var(--green); font-weight: 700; font-size: 13px; opacity: 0; animation: pop .5s ease forwards; }

/* News mock */
.chips { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--surface2); font-size: 13px; font-weight: 600; }
.chip.on { background: var(--accent); color: #fff; }
.feed { height: 250px; overflow: hidden; position: relative; }
.feed-inner { animation: feed 12s linear infinite; }
@keyframes feed { to { transform: translateY(-50%); } }
.story { display: flex; gap: 12px; padding: 10px; border-radius: 16px; background: color-mix(in srgb, var(--surface2) 60%, transparent); margin-bottom: 10px; align-items: center; }
.story .th { width: 64px; height: 64px; border-radius: 12px; flex: none; }
.story .tx { font-size: 14px; font-weight: 700; line-height: 1.3; }
.story .src { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* Trust */
.trust { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.trust div { background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: 0 6px 24px rgba(0,0,0,.06); border: 1px solid var(--line); }
.trust h4 { margin: 0 0 6px; font-size: 18px; }
.trust p { margin: 0; color: var(--muted); font-size: 15px; }

.final { text-align: center; padding: 80px 0 100px; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; box-shadow: var(--shadow); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer .sp { margin-left: auto; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 16px 80px; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 24px; letter-spacing: -.015em; margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; margin: 18px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.doc a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Phone width: grid children may shrink; wide mocks never push the page sideways. */
.hero > *, .feature > * { min-width: 0; }
.wave { overflow: hidden; }
.mock { max-width: 100%; }
.m { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .wave i { width: 4px; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .board { gap: 6px; }
  .col { padding: 8px 6px; }
  .mover { left: 26px; width: calc((100% - 52px) / 3 - 12px); }
}

/* Voice message bubble (chat mock) */
.m.voice { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; }
.voice .play { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.voice .play svg { width: 14px; height: 14px; fill: #fff; margin-left: 2px; }
.vbars { display: flex; align-items: center; gap: 2.5px; height: 26px; }
.vbars i { width: 3px; border-radius: 2px; background: color-mix(in srgb, var(--text) 30%, transparent); }
.vbars i.on { background: var(--accent); }
.voice .dur { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Round video note with a Lingbo character "talking" */
.vnote { width: 130px; height: 130px; border-radius: 50%; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #FFE3EC, #FFC6D4 60%, #F7A9BC); box-shadow: 0 8px 24px rgba(237,115,137,.25); }
.vnote img { position: absolute; left: 50%; bottom: -14px; width: 104px; transform-origin: 50% 100%;
  animation: talk 1.8s ease-in-out infinite; translate: -50% 0; }
@keyframes talk {
  0%, 100% { transform: translateY(4px) rotate(-3deg) scale(1); }
  25% { transform: translateY(0) rotate(0deg) scale(1.02); }
  50% { transform: translateY(-3px) rotate(3deg) scale(1); }
  75% { transform: translateY(0) rotate(0deg) scale(1.02); }
}
.vnote .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.vnote .ring circle { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 358; stroke-dashoffset: 358; animation: ring 8s linear infinite; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.vnote .vtime { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.35); padding: 1px 8px; border-radius: 999px; }
