/* gryno.cloud landing. Same tokens as the app (styles.css, theme.css, v6.css),
   copied here so the page loads without the app's stylesheets. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('app/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('app/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url('app/fonts/nunito-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2212; }

:root {
    color-scheme: light;
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-3d: #4338ca;
    --violet: #8b5cf6;
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #7c5cf6 55%, #8b5cf6 100%);
    --success: #22c55e;
    --success-3d: #15803d;
    --gold: #f59e0b;
    --gold-3d: #b45309;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --card-bg: #ffffff;
    --card-edge: #e4e4f7;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-light: #ececf6;
    --tint-primary: rgba(99, 102, 241, 0.08);
    --tint-primary-strong: rgba(99, 102, 241, 0.14);
    --phone-bezel: #1e1b4b;
    --hero-bg:
        radial-gradient(120% 80% at 0% 0%, #3b2a8f 0%, transparent 55%),
        linear-gradient(160deg, #1e1b4b 0%, #2a1660 55%, #160f3a 100%);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --primary-dark: #a5b4fc;
        --success-3d: #86efac;
        --bg-secondary: #120f24;
        --bg-tertiary: #221d3d;
        --card-bg: #1b1733;
        --card-edge: #2e2850;
        --text-primary: #f1f0ff;
        --text-secondary: #c3c0e6;
        --text-muted: #8f8ab8;
        --border-light: #2a2448;
        --tint-primary: rgba(129, 140, 248, 0.16);
        --tint-primary-strong: rgba(129, 140, 248, 0.26);
        --phone-bezel: #050314;
    }
}

/* Mobile first. Product previews use real app captures; demos are labelled. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg-secondary); color:var(--text-primary); font:500 16px/1.55 Inter,system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
h1,h2,h3,p,figure { margin:0; }
h1,h2,h3 { font-weight:800; letter-spacing:-.035em; line-height:1.08; }
h2 span,h1 span { color:var(--primary-dark); }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { font-family:inherit; }
:focus-visible { outline:3px solid var(--primary); outline-offset:5px; }
.wrap { width:min(100% - 40px,1120px); margin-inline:auto; }
.skip { position:absolute; left:-9999px; }
.skip:focus { left:16px; top:12px; z-index:100; padding:10px; background:var(--card-bg); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:54px; padding:14px 24px; border:0; border-radius:16px; font:800 16px/1.3 Inter,system-ui,sans-serif; text-decoration:none; cursor:pointer; transition:transform .15s,box-shadow .15s; }
.btn-primary { background:var(--grad-primary); color:#fff; box-shadow:0 5px 0 var(--primary-3d); }
.btn-primary:active { transform:translateY(4px); box-shadow:0 1px 0 var(--primary-3d); }
.btn-sm { min-height:44px; padding:10px 16px; border-radius:12px; font-size:14px; box-shadow:0 3px 0 var(--primary-3d); }
.btn svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.top { position:sticky; top:0; z-index:20; background:var(--bg-secondary); border-bottom:1px solid transparent; }
.top.is-scrolled { border-bottom-color:var(--border-light); }
.top-inner { display:flex; align-items:center; gap:16px; min-height:68px; padding-top:env(safe-area-inset-top); padding-bottom:4px; }
.brand { display:inline-flex; gap:9px; align-items:center; font-size:22px; font-weight:800; text-decoration:none; letter-spacing:-.03em; }
.brand img { border-radius:10px; }
.top-nav { display:none; gap:26px; margin-left:auto; font-size:14px; font-weight:700; }
.top-nav a { text-decoration:none; color:var(--text-secondary); }
.top-actions { display:flex; gap:10px; align-items:center; margin-left:auto; }
.lang { border:0; padding:10px 5px; min-width:36px; min-height:44px; background:transparent; color:var(--text-secondary); font-weight:800; cursor:pointer; }
.hero { overflow:clip; padding:25px 0 36px; }
.hero-inner { display:grid; gap:30px; }
.hero h1 { font-size:clamp(38px,10.5vw,66px); line-height:1.04; letter-spacing:-.045em; }
.hero .lead { color:var(--text-secondary); font-size:17px; line-height:1.5; margin-top:20px; max-width:30em; text-wrap:pretty; }
.download-block { margin-top:24px; }
.download { width:100%; min-height:56px; }
.download-note { color:var(--text-secondary); font-size:11px; line-height:1.5; margin-top:12px; text-align:center; }
.hero-free { margin-top:15px; font-size:13px; color:var(--text-secondary); max-width:30em; }
.hero-visual { position:relative; width:100%; max-width:460px; min-height:466px; margin:10px auto 0; }
.phone { width:226px; background:var(--phone-bezel); border:7px solid var(--phone-bezel); border-radius:36px; overflow:hidden; box-shadow:0 6px 0 var(--card-edge); }
.phone img { width:100%; height:auto; }
.phone-front { margin:auto; transform:rotate(-3deg); }
.hero-coach { display:flex; gap:9px; align-items:center; position:absolute; left:-2px; bottom:78px; width:calc(100% - 12px); max-width:325px; padding:12px; border:2px solid var(--card-edge); border-radius:18px; background:var(--card-bg); box-shadow:0 4px 0 var(--card-edge); }
.hero-coach img { width:48px; height:48px; }
.hero-coach strong { display:block; font-size:14px; font-weight:800; }
.hero-coach span { display:block; font-size:11px; color:var(--text-secondary); margin-top:2px; }
.hero-friend { position:absolute; top:40px; right:0; display:flex; align-items:center; gap:8px; padding:11px 12px; border-radius:12px; background:var(--card-bg); font-size:11px; font-weight:700; border:1px solid var(--card-edge); }
.live-dot { width:8px; height:8px; flex:none; border-radius:50%; background:var(--success); }
.hero-rhino { position:absolute; width:125px; right:-7px; bottom:-2px; }
.section { padding:56px 0; }
.section h2 { font-size:clamp(31px,8.5vw,48px); text-wrap:balance; }
.section-copy>p { margin-top:19px; color:var(--text-secondary); font-size:17px; max-width:34em; }
.social { border-top:1px solid var(--border-light); background:var(--card-bg); }
.social-layout,.coach-layout,.game-layout { display:grid; align-items:center; gap:28px; }
.duo-art { width:230px; margin:20px auto 0; }
.social-explorer { min-width:0; }
.demo-tabs { display:flex; gap:3px; padding-bottom:12px; }
.demo-tabs button { flex:1; padding:11px 8px; min-height:46px; border:0; border-bottom:3px solid transparent; background:transparent; font-size:13px; font-weight:800; color:var(--text-secondary); cursor:pointer; }
.demo-tabs button[aria-selected="true"] { color:var(--primary-dark); border-bottom-color:var(--primary); }
.social-panel,.demo-card { border:2px solid var(--card-edge); border-radius:24px; padding:23px 18px; background:var(--bg-secondary); box-shadow:0 4px 0 var(--card-edge); }
.social-panel { min-height:340px; }
.demo-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.demo-heading h3 { font-size:19px; letter-spacing:-.025em; }
.live { flex:none; color:var(--success-3d); font-size:11px; font-weight:700; }
.exercise-name { margin-top:25px; margin-bottom:6px; color:var(--text-secondary); font-size:13px; }
.duo-person { display:flex; align-items:center; gap:9px; padding:16px 0; border-bottom:1px solid var(--border-light); }
.avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; flex:none; background:var(--tint-primary-strong); color:var(--primary-dark); font-size:13px; font-weight:800; }
.avatar.friend { background:var(--bg-tertiary); color:var(--text-secondary); }
.duo-person>div { display:grid; gap:1px; }
.duo-person strong { font-size:14px; }
.duo-person div span { font-size:11px; color:var(--text-secondary); }
.duo-person>b { margin-left:auto; white-space:nowrap; font-size:17px; letter-spacing:-.04em; }
.duo-person small { font-size:12px; font-weight:600; color:var(--text-secondary); }
.panel-benefit { color:var(--text-secondary); font-size:14px; margin-top:22px; }
.demo-caption { margin-top:13px; font-size:11px; color:var(--text-secondary); }
.text-link { display:inline-block; padding:15px 0; font-weight:800; color:var(--primary-dark); text-decoration:none; }
.ranking { list-style:none; margin:12px 0 0; padding:0; }
.ranking li { display:grid; grid-template-columns:20px 1fr auto; align-items:center; gap:7px 10px; padding:10px 0; font-size:14px; }
.ranking li>span { color:var(--text-secondary); }
.ranking .is-me strong { color:var(--primary-dark); }
.ranking small { font-weight:500; }
.ranking i { grid-column:2/-1; height:7px; background:var(--bg-tertiary); border-radius:8px; overflow:hidden; }
.ranking i:after { display:block; content:''; width:var(--progress); height:100%; background:var(--text-muted); border-radius:8px; }
.ranking .is-me i:after { background:var(--primary); }
.goal-number { display:grid; margin:32px 0 20px; }
.goal-number>b { font:900 55px/1.2 Nunito,system-ui,sans-serif; }
.goal-number small { color:var(--text-secondary); font-size:34px; }
.goal-number>span { font-size:14px; color:var(--text-secondary); }
.progress-track { height:14px; border-radius:10px; background:var(--bg-tertiary); overflow:hidden; }
.progress-track>span { display:block; height:100%; width:var(--progress); border-radius:10px; background:var(--primary); }
.goal-members { display:flex; justify-content:space-between; gap:8px; font-size:12px; margin-top:16px; color:var(--text-secondary); }
.benefits { list-style:none; margin:22px 0 0; padding:0; }
.benefits li { padding:16px 0; border-top:1px solid var(--border-light); }
.benefits strong,.benefits span { display:block; }
.benefits strong { font-weight:800; font-size:16px; }
.benefits span { margin-top:4px; font-size:14px; color:var(--text-secondary); }
.coach-demo { background:var(--card-bg); }
.coach-demo .demo-heading img { width:56px; height:56px; }
.coach-comparison { display:flex; gap:8px; align-items:center; justify-content:space-between; padding-top:26px; }
.coach-comparison>div>span { display:block; color:var(--text-secondary); font-size:11px; }
.coach-comparison b { font-size:29px; font-weight:800; letter-spacing:-.06em; white-space:nowrap; }
.coach-comparison b small { font-size:12px; letter-spacing:-.02em; }
.coach-comparison .next b { color:var(--primary-dark); }
.comparison-arrow { color:var(--text-muted); }
.coach-example { margin-top:15px; color:var(--text-secondary); font-size:11px; }
.demo-set { display:flex; align-items:center; gap:16px; margin-top:30px; padding:18px 0; border-top:1px solid var(--border-light); font-size:13px; }
.demo-set strong { margin-left:auto; }
.set-check { color:var(--text-muted); }
.coach-demo.is-logged .set-check { color:var(--success-3d); }
.coach-demo.is-logged .demo-set strong { color:var(--success-3d); }
.coach-demo .btn { width:100%; margin-top:8px; }
.demo-feedback { min-height:44px; padding-top:16px; font-size:13px; color:var(--text-secondary); }
.coach-demo.is-logged .demo-feedback { color:var(--success-3d); font-weight:700; }
.game-section { background:var(--tint-primary); }
.game-visual { position:relative; max-width:390px; padding-bottom:66px; margin:0 auto; }
.game-visual>picture>img { width:100%; border-radius:22px; }
.streak-shot { position:absolute; bottom:0; right:0; width:85%; border-radius:18px; box-shadow:0 4px 0 var(--card-edge); overflow:hidden; }
.progress-intro { max-width:760px; }
.tools-grid { display:grid; margin-top:35px; gap:40px; }
.tool { min-width:0; overflow:hidden; }
.tool>svg { width:40px; height:40px; fill:none; stroke:var(--primary); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; margin-bottom:14px; }
.tool h3 { font-size:23px; letter-spacing:-.025em; }
.tool p { margin-top:13px; color:var(--text-secondary); font-size:16px; }
.tool-shot { display:block; overflow:hidden; height:230px; border-radius:20px; margin-top:24px; background:var(--card-bg); }
.tool-shot img { width:100%; max-width:340px; margin:auto; }
.scan-art,.food-art { position:relative; display:grid; place-items:center; height:210px; margin-top:24px; overflow:hidden; background:var(--tint-primary); border-radius:20px; }
.scan-art>svg { height:185px; width:100%; fill:var(--tint-primary-strong); stroke:var(--primary); stroke-width:1.5; }
.scan-line { position:absolute; top:48%; left:12%; right:12%; height:2px; background:var(--primary); }
.food-art>svg { width:190px; height:110px; stroke:var(--text-primary); stroke-width:3px; }
.food-art>span { font-size:13px; font-weight:700; margin-top:-25px; color:var(--primary-dark); }
.closing { padding:48px 0 60px; background:var(--tint-primary); }
.closing-inner { text-align:center; display:grid; justify-items:center; }
.closing img { width:105px; }
.closing h2 { margin-top:12px; }
.closing-inner>p { margin-top:20px; color:var(--text-secondary); }
.closing .download-block { width:100%; max-width:400px; }
.closing .closing-free { font-size:13px; margin-top:20px; }
.faq-inner { display:grid; gap:28px; }
.faq-list details { border-bottom:1px solid var(--border-light); }
.faq summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 0; font-size:16px; font-weight:800; cursor:pointer; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary:after { content:'+'; color:var(--primary-dark); font-size:24px; font-weight:500; }
.faq details[open] summary:after { content:'−'; }
.faq details p { padding:0 0 22px; font-size:15px; color:var(--text-secondary); }
.faq details a { color:var(--primary-dark); }
.foot { padding:30px 0 calc(110px + env(safe-area-inset-bottom)); border-top:1px solid var(--border-light); color:var(--text-secondary); font-size:13px; }
.foot-inner { display:grid; gap:24px; }
.foot-brand p { margin-top:8px; }
.foot-links { display:flex; flex-wrap:wrap; gap:12px 20px; }
.foot-links a { text-decoration:none; }
.foot-fine { font-size:12px; }
.mobile-install { display:flex; gap:10px; align-items:center; position:fixed; bottom:0; left:0; right:0; z-index:30; padding:12px 20px calc(15px + env(safe-area-inset-bottom)); background:var(--card-bg); border-top:1px solid var(--card-edge); }
.mobile-install img { border-radius:10px; }
.mobile-install>div { display:grid; line-height:1.4; }
.mobile-install strong { font-size:15px; font-weight:800; }
.mobile-install span { color:var(--text-secondary); font-size:11px; }
.mobile-install .btn { margin-left:auto; }
.stores { display:flex; gap:10px; margin-top:16px; justify-content:center; }
.store { display:flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; background:var(--text-primary); color:var(--card-bg); text-decoration:none; flex:1; max-width:190px; }
.store span { display:grid; }
.store small { font-size:9px; }
.store b { font-size:15px; }
.store svg { flex:none; }
@media (max-width:359px) { .wrap { width:calc(100% - 32px); } .top-inner { gap:6px; } .top-actions { gap:3px; } .hero h1 { font-size:36px; } .coach-comparison b { font-size:25px; } .duo-person { gap:7px; } .mobile-install { padding-inline:16px; } }
@media (min-width:600px) { .hero h1 { font-size:64px; } .hero-copy { max-width:620px; } .hero .download-block { max-width:420px; } .download-note { font-size:12px; } .section { padding:76px 0; } .social-panel { padding:30px; } .coach-demo { padding:30px; } .coach-comparison b { font-size:38px; } .coach-comparison b small { font-size:16px; } .tools-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; } .tool h3 { font-size:21px; } .tool p { font-size:14px; } .tool-shot { height:210px; } .food-art>svg { width:90%; } .food-art>span { font-size:10px; } }
@media (min-width:960px) { .top-inner { min-height:82px; } .top-nav { display:flex; } .top-actions { margin-left:28px; } .hero { padding:54px 0 76px; } .hero-inner { grid-template-columns:1.1fr 1fr; gap:62px; align-items:center; } .hero h1 { font-size:64px; } .hero .lead { font-size:20px; } .hero-visual { min-height:570px; margin-top:0; } .phone { width:260px; border-radius:40px; } .hero-coach { bottom:88px; max-width:350px; padding:16px; } .hero-coach strong { font-size:16px; } .hero-coach span { font-size:12px; } .hero-friend { top:48px; font-size:12px; } .hero-rhino { width:170px; right:-14px; bottom:-6px; } .social-layout,.coach-layout,.game-layout { grid-template-columns:1fr 1fr; gap:80px; } .duo-art { width:290px; margin:24px 0 0; } .social-panel { min-height:345px; } .coach-demo { padding:30px 26px; } .game-visual { max-width:350px; } .game-layout .section-copy { order:2; } .tool h3 { font-size:25px; } .tool p { font-size:16px; } .tool-shot { height:240px; } .faq-inner { grid-template-columns:1fr 1.6fr; gap:80px; } .foot { padding-bottom:40px; } .foot-inner { grid-template-columns:1fr 1fr; } .foot-fine { grid-column:1/-1; } .mobile-install { display:none; } }
/* Motion is short, finite and never gates content or the conversion action. */
@media (prefers-reduced-motion:no-preference) {
    .hero-coach { animation:arrive .65s .15s both; }
    .hero-friend { animation:arrive .65s .3s both; }
    .hero-rhino { animation:rhino-arrive .7s .2s both; }
    .social-panel:not([hidden]) { animation:arrive .25s both; }
    .coach-demo.is-logged .set-check { animation:pop .4s both; }
    .coach-demo.is-logged .demo-feedback { animation:arrive .3s both; }
    .scan-line { animation:scan 2.4s 2 alternate ease-in-out; }
    .reveal-ready { opacity:.25; transform:translateY(16px); transition:opacity .6s,transform .6s; }
    .reveal-ready.is-visible { opacity:1; transform:none; }
    @keyframes arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
    @keyframes rhino-arrive { from { opacity:0; transform:translateY(14px) rotate(-6deg); } to { opacity:1; transform:translateY(0) rotate(0); } }
    @keyframes pop { 50% { transform:scale(1.4); } }
    @keyframes scan { from { transform:translateY(-55px); } to { transform:translateY(55px); } }
}
