/* Landing layout on top of the Clip design system (css/clip-tokens.css + css/clip.css). Mirrors the Claude Design page "Clip Landing.html". */
*{box-sizing:border-box}
html,body{margin:0;background:var(--surface-100)}
a{color:var(--accent-text);text-decoration:none}a:hover{color:var(--ink)}
.page{min-height:100vh;display:flex;flex-direction:column}
.wrap{width:100%;max-width:1080px;margin:0 auto;padding-inline:var(--space-6)}
header.top{display:flex;align-items:center;justify-content:space-between;padding-block:var(--space-6)}
.mark{display:flex;align-items:center;gap:var(--space-2);font-family:var(--font-rounded);font-weight:700;font-size:20px;color:var(--ink)}
.mark img{width:28px;height:28px;border-radius:7px;display:block}
/* Hero: full-viewport photo with a shade, header inside */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow:hidden;background:#000}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 55%;background:#000 url(/hero-poster.jpg) center/cover no-repeat}
.hero-shade{position:absolute;inset:0;background:radial-gradient(ellipse 55% 45% at 50% 50%,rgba(0,0,0,.82),rgba(0,0,0,.55) 60%,rgba(0,0,0,0) 100%),linear-gradient(180deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,.25) 50%,rgba(0,0,0,.25) 80%,var(--surface-100) 100%)}
.hero .top,.hero-copy{position:relative}
.hero-copy{text-align:center;display:flex;flex-direction:column;align-items:center;flex:1;justify-content:center;padding-bottom:88px}
.hero h1{font-family:var(--font-rounded);font-weight:700;font-size:clamp(44px,7vw,76px);line-height:1.02;letter-spacing:-0.025em;margin:0 0 var(--space-4);text-wrap:balance}
.hero p{margin:0 0 var(--space-6);color:var(--ink);max-width:34ch;text-wrap:pretty}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4)}
/* App Store badge */
.appstore{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 16px 0 12px;border-radius:10px;background:#000;color:#fff;border:1px solid #a6a6a6;font-family:-apple-system,"SF Pro Display",system-ui,sans-serif;font-size:22px;font-weight:600;line-height:1;letter-spacing:-0.01em}
.appstore:hover{color:#fff;background:#111}
.appstore svg{width:24px;height:28px}
.appstore span{display:flex;flex-direction:column;gap:1px}
.appstore small{font-size:10.5px;font-weight:500;letter-spacing:0}
.appstore--sm{height:36px;padding:0 12px 0 9px;border-radius:8px;font-size:16px;gap:6px}
.appstore--sm svg{width:17px;height:20px}
.appstore--sm small{font-size:8px}
/* Feature cards */
.feature{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);padding-block:var(--space-12)}
.feature>div{background:var(--surface-200);border-radius:var(--radius-lg);padding:var(--space-6)}
.feature h3{margin:var(--space-6) 0 var(--space-2)}
.feature p{margin:0;color:var(--ink-muted);text-wrap:pretty}
.demo{height:120px;justify-content:center;background:var(--surface-100);border-radius:var(--radius-md);padding-inline:var(--space-4);display:flex;align-items:center}
.demo .clip-trim,.demo .clip-seg{width:100%}
.demo .clip-seg{grid-template-columns:repeat(4,minmax(0,1fr))}
.demo .clip-seg>button{min-width:0;width:100%;padding-inline:0}
.demo .clip-trim-meta{color:var(--ink-muted)}
.demo .clip-rec{pointer-events:none}
/* Closing + footer */
.closing{text-align:center;padding-block:96px;display:flex;flex-direction:column;align-items:center;gap:var(--space-6)}
.closing h2{font-family:var(--font-rounded);font-weight:700;font-size:clamp(32px,4.5vw,48px);line-height:1.1;letter-spacing:-0.02em;margin:0}
footer{margin-top:auto;border-top:1px solid var(--line);padding-block:var(--space-6);display:flex;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap;color:var(--ink-muted)}
footer nav{display:flex;gap:var(--space-6)}footer a{color:var(--ink-muted)}footer a:hover{color:var(--ink)}
/* Text pages: support, privacy, terms, 404 */
.doc{max-width:720px;padding-block:var(--space-8) 96px}
.doc h1{font-family:var(--font-rounded);font-weight:700;font-size:clamp(34px,5vw,48px);line-height:1.05;letter-spacing:-0.02em;margin:0 0 var(--space-2)}
.doc .updated{margin:0 0 var(--space-8);color:var(--ink-muted)}
.doc h2{margin:var(--space-8) 0 var(--space-2)}
.doc p,.doc li{margin:0 0 var(--space-3);color:var(--ink-muted);text-wrap:pretty}
.doc ul{padding-left:var(--space-6);margin:0 0 var(--space-3)}
.doc a{color:var(--accent-text)}.doc a:hover{color:var(--ink)}
@media (max-width:820px){.hero-bg{object-position:60% 55%}.hero-shade{background:linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 80%,var(--surface-100))}.feature{grid-template-columns:1fr}}
