/* The guide: one idea per section, with room around it — the conversation, the ways in (one at a time), things to
   say, what the AI can do, questions. The first screen speaks like the home page: a pill, one line, the seam. */
.g-hero .wrap { padding-block: clamp(64px, 11vh, 120px) 0; text-align: center; display: grid; justify-items: center; gap: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--body); color: var(--mute); letter-spacing: .04em; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.g-hero h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.18; margin-top: 10px; }
html[lang="en"] .g-hero h1 { letter-spacing: -.03em; line-height: 1.08; }
.g-hero h1 .q { color: var(--faint); font-weight: 500; } .g-hero h1 .l { color: var(--text); }
.g-hero h1 span { display: inline-block; }
.seam { width: min(280px, 70vw); height: 22px; overflow: visible; }
.seam .thread { stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 4 5; fill: none; }
.seam .wave { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 560; stroke-dashoffset: 560; animation: sew 1.8s .4s var(--ease) forwards; }
@keyframes sew { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .seam .wave { stroke-dashoffset: 0; } }
.g-hero .lead { color: var(--mute); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; max-width: 30em; }
html[lang="zh-CN"] :is(.g-hero .lead, .gsec .sub, .gsec h2) { word-break: keep-all; overflow-wrap: anywhere; }
.gsec { display: grid; gap: 32px; padding-block: clamp(88px, 13vh, 144px) 0; justify-items: center; }
.gsec h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; text-align: center; }
.gsec .sub { color: var(--mute); font-size: 17px; text-align: center; max-width: 34em; margin-top: -18px; }
.gsec .note { color: var(--faint); font-size: 13px; text-align: center; max-width: 40em; }

/* the conversation, in one quiet window */
.window { width: min(100%, 720px); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 60px 120px -70px rgba(156, 203, 183, .25); }
.window .bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.window .bar span { margin-left: auto; margin-right: auto; font-size: 12.5px; color: var(--faint); transform: translateX(-20px); }
.chat { display: grid; gap: 12px; padding: clamp(18px, 3.4vw, 36px); }
.msg { display: grid; gap: 6px; max-width: 82%; }
.msg p { padding: 12px 16px; border-radius: 20px; font-size: 15.5px; line-height: 1.6; }
.msg.you { justify-self: end; justify-items: end; }
.msg.you p { background: var(--accent); color: #000; border-bottom-right-radius: 6px; }
.msg.ai p { background: var(--surface-3); border-bottom-left-radius: 6px; }
.msg .tool { font: 500 11px/1 var(--mono); color: var(--faint); padding-left: 6px; }
.chat.pre .msg { opacity: 0; transform: translateY(10px); }
.chat .msg { transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* the ways in: a segmented control, one way at a time, three big steps */
.seg-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg-tabs button { border: 0; background: none; color: var(--mute); font: 500 14.5px/1 var(--body); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.seg-tabs button[aria-selected="true"] { background: var(--text); color: #000; }
.ways { width: min(100%, 900px); }
.way { display: grid; gap: 24px; justify-items: center; text-align: center; }
.js .way:not(.on) { display: none; }
.way .fit { color: var(--faint); font-size: 14px; }
.way ol { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .way ol { grid-template-columns: minmax(0, 1fr); } }
.way li { background: var(--surface); border-radius: 22px; padding: 26px 22px; display: grid; gap: 12px; justify-items: start; text-align: left; }
.way li span { font: 600 40px/1 var(--body); color: var(--accent); letter-spacing: -.03em; }
.way li p { color: var(--text); font-size: 16px; line-height: 1.55; }
.code { position: relative; width: 100%; background: var(--surface); border-radius: 18px; text-align: left; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 400 13px/1.65 var(--mono); color: var(--text); white-space: pre; }
.copy { border: 0; cursor: pointer; font: 500 12px/1 var(--body); padding: 8px 12px; border-radius: 999px; background: var(--surface-3); color: var(--text); }
.code .copy { position: absolute; top: 10px; right: 10px; }
.way .ref { color: var(--accent); font-size: 15px; text-decoration: none; }

/* things to say: a shelf */
.cards { width: 100%; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 auto; width: clamp(240px, 26vw, 300px); scroll-snap-align: start; text-align: left; display: grid; gap: 12px; align-content: start; background: var(--surface); border-radius: 22px; padding: 24px; border: 0; color: var(--text); font: inherit; cursor: pointer; transition: background .25s; }
.pcard:hover { background: var(--surface-2); }
.pcard b { font: 600 18px/1.3 var(--body); }
.pcard span { color: var(--mute); font-size: 15px; line-height: 1.65; }
.pcard i { justify-self: start; font: 500 12.5px/1 var(--body); font-style: normal; color: var(--accent); }

/* what the AI can do: plain words first */
.tools { width: 100%; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tools div { background: var(--surface); border-radius: 22px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.tools dt { font: 600 19px/1.3 var(--body); }
.tools dd { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.55; display: grid; gap: 10px; }
.tools dd code { font: 500 11.5px/1 var(--mono); color: var(--faint); }

/* questions */
.faq { width: min(100%, 760px); display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--mute); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--mute); margin-top: 10px; font-size: 15px; }

/* the privacy notice: one question per row, the answer beside it */
.g-hero .stamp { color: var(--faint); font-size: 13px; }
.glance { width: min(100%, 860px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .glance { grid-template-columns: minmax(0, 1fr); } }
.glance div { background: var(--surface); border-radius: var(--radius); padding: 30px 24px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.glance b { font: 700 clamp(26px, 3vw, 34px)/1.1 var(--body); color: var(--accent); letter-spacing: -.01em; }
.glance span { color: var(--mute); font-size: 14.5px; }
.pv { width: min(100%, 860px); display: grid; gap: 1px; background: var(--line); border-radius: 22px; overflow: hidden; }
.pv article { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 28px; padding: 28px 32px; background: var(--surface); }
@media (max-width: 640px) { .pv article { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px; } }
.pv h2 { font-size: 17px; line-height: 1.5; text-align: left; }
.pv p { color: var(--mute); font-size: 16px; line-height: 1.75; }
.pvfoot { color: var(--faint); font-size: 13px; text-align: center; }
