/* Yuvimo — the public website.
   Built on the app's stylesheets, copied unchanged: app.css (top bar, language
   switch, cards, grids, tables, badges, buttons) and mobile.css (the phone's
   own screens, for the phone shown on the hero). Only what a public page needs
   beyond them is here. */

/* ---------- from the app, outside app.css ---------- */
/* Flags: yuvimo.css's rule. */
.flag{height:11px;width:auto;margin-right:6px;vertical-align:-1px;border-radius:1px;box-shadow:0 0 0 1px rgba(15,23,42,.12)}
/* The language switch holds links rather than buttons: the same look. */
.langswitch a{color:#94a3b8;font-size:10.5px;font-weight:600;padding:3px 7px;
  letter-spacing:.04em;text-transform:uppercase;line-height:1.45}
.langswitch a:hover{background:rgba(255,255,255,.08);color:#e2e8f0;text-decoration:none}
.langswitch a.on{background:#334155;color:#fff}
@media(max-width:640px){.topbar .topnav{display:none}.topbar-right{margin-left:auto}}

/* ---------- hero: the sign-in page's dark side, full width ---------- */
.hero{background:var(--bg-dark);color:#cbd5e1;overflow:hidden;
  background-image:radial-gradient(900px 420px at 10% 0%,rgba(37,99,235,.30),transparent 60%),
                   radial-gradient(700px 380px at 95% 100%,rgba(31,184,156,.16),transparent 60%)}
.hero-in{max-width:1440px;margin:0 auto;padding:48px 40px 0;display:grid;
  grid-template-columns:minmax(0,1fr) 560px;gap:32px;align-items:end}
.hero-text{padding-bottom:52px;align-self:center}
.eyebrow{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#3FD1B5;margin-bottom:12px}
.hero-text h1{color:#fff;font-size:30px;line-height:1.2;letter-spacing:-.02em;margin-bottom:12px;max-width:22ch}
.hero .lead{font-size:14px;color:#94a3b8;max-width:60ch;line-height:1.6}
.hero ul{list-style:none;padding:0;margin:16px 0 24px;font-size:12.5px;color:#cbd5e1}
.hero li{padding:5px 0 5px 16px;position:relative}
.hero li::before{content:"";position:absolute;left:0;top:12px;width:5px;height:5px;border-radius:50%;background:#3b82f6}

/* The van, and the phone standing in front of it. */
.hero-art{position:relative;height:470px}
.hero-art .van{position:absolute;left:0;bottom:6px;width:430px;height:auto}
.phone{position:absolute;right:0;top:0;width:300px;height:600px;padding:10px;border-radius:38px;
  background:#020617;box-shadow:0 0 0 2px #334155,var(--shadow-lg);
  transform:scale(.8);transform-origin:top right}
.phone::before{content:"";position:absolute;top:16px;left:50%;width:70px;height:6px;margin-left:-35px;border-radius:3px;background:#1e293b;z-index:1}

/* The phone's screen: html.mob's settings from mobile.css, on this box only. */
.phone-screen{
  --m-ground:#E7EBF0; --m-paper:#F4F6F9; --m-surface:#FFFFFF; --m-ink:#0F1B2D; --m-muted:#5E6876;
  --m-line:#DDE3EA; --m-blue:#1668C9; --m-blue-2:#E4EEFB; --m-amber:#A34E06; --m-amber-2:#FDF0D5;
  --m-green:#157A3C; --m-green-2:#DDF3E5; --m-red:#B42318; --m-red-2:#FDE7E5; --m-grey-2:#E9EDF2;
  --m-top:0px; --m-bottom:0px;
  height:100%;overflow:hidden;border-radius:29px;
  background:var(--m-paper);color:var(--m-ink);font-size:16px;line-height:1.35}
.phone-screen .mpage{padding-top:30px}
.phone-screen .badge{height:24px;padding:0 8px;font-size:11.5px;border-radius:7px;flex:none}
.phone-screen .mcard-h b{font-size:16px}

@media(max-width:1100px){.hero-in{grid-template-columns:minmax(0,1fr) 300px}.hero-art .van{display:none}}
@media(max-width:780px){
  .hero-in{grid-template-columns:1fr;padding:32px 16px 0;gap:0}
  .hero-text{padding-bottom:28px}
  .hero-text h1{font-size:24px}
  .hero-art{height:380px;justify-self:center;width:240px}
}

/* ---------- sections ---------- */
main.shell > .page-head{margin-top:34px;scroll-margin-top:calc(var(--topbar-h) + 12px)}
main.shell > .page-head:first-child{margin-top:12px}
main.shell .card p{margin:0}
main.shell .card p + p{margin-top:8px}
.grid.sidebar > .grid{gap:14px}

/* A day on site: the picture over a card body. */
.step .step-pic{background:var(--bg-sub);border-bottom:1px solid var(--line);border-radius:var(--radius-lg) var(--radius-lg) 0 0;
  display:flex;justify-content:center;padding:14px 0 0}
.step .step-pic img{display:block;width:200px;height:auto;max-width:100%}
.step h3{display:flex;align-items:center;gap:8px;margin-bottom:6px}

/* What is said, and the lines it gives. */
.dict{margin-top:14px}
.said{margin:0 0 12px;padding:10px 14px;border-left:3px solid var(--accent);border-radius:3px;
  background:var(--accent-soft);color:var(--ink);font-size:15px;line-height:1.5;font-style:italic}
.said::before{content:"“"} .said::after{content:"”"}
html[lang="fr"] .said::before{content:"«\00a0"} html[lang="fr"] .said::after{content:"\00a0»"}
html[lang="es"] .said::before{content:"«"} html[lang="es"] .said::after{content:"»"}
.dict .c-tick{width:34px;color:var(--ok)}
.dict .c-tick svg{display:block}
.dict .card-body.tight > .hint{padding:10px 14px 12px;margin:0;border-top:1px solid var(--line)}
.card-head .badge svg{flex:none}

/* Trades. */
.trade .card-body{display:flex;align-items:center;gap:12px}
.ticon{width:44px;height:44px;border-radius:var(--radius-lg);display:grid;place-items:center;flex:none;
  background:var(--accent-soft);color:var(--accent);border:1px solid var(--accent-line)}
.tname{display:flex;flex-direction:column;gap:1px;min-width:0}
.tname b{color:var(--ink);font-size:13px;font-weight:600}

/* Without network: the app's network line, three times. */
.net-states{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:12px;
  --m-ink:#0F1B2D; --m-green:#157A3C; --m-green-2:#DDF3E5; --m-amber:#A34E06; --m-amber-2:#FDF0D5}

/* Office. */
.office .card-head{align-items:center}
.office .card-head h3{flex:1}
.oicon{color:var(--accent);display:inline-flex;flex:none}

/* ---------- closing band ---------- */
.cta{background:var(--bg-dark);color:#94a3b8;margin-top:40px;
  background-image:radial-gradient(700px 300px at 0% 100%,rgba(37,99,235,.28),transparent 60%)}
.cta-in{max-width:1440px;margin:0 auto;padding:26px 40px;display:flex;align-items:center;gap:28px}
.cta-in img{width:200px;height:auto;flex:none}
.cta-in .grow{flex:1;min-width:0}
.cta h2{color:#fff;font-size:18px;margin-bottom:4px}
.cta p{margin:0;font-size:13px}
@media(max-width:780px){.cta-in{flex-direction:column;align-items:flex-start;padding:24px 16px;gap:14px}.cta-in img{width:160px}}

/* ---------- footer ---------- */
.site-foot{border-top:1px solid #1e293b;background:var(--bg-dark);color:#64748b;font-size:11.5px}
.site-foot .shell{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.foot-brand{display:inline-flex;align-items:center;gap:8px}
.foot-brand .mark svg{display:block}
.site-foot .langs{display:flex;gap:6px}
.site-foot .btn.ghost{color:#94a3b8}
.site-foot .btn.ghost:hover{background:rgba(255,255,255,.08);color:#e2e8f0}
.site-foot .btn.on{color:#fff;font-weight:600}

/* ---------- 404 ---------- */
.nf{max-width:520px;padding-top:60px;padding-bottom:60px}
.nf .card-body{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:28px}
.nf img{width:200px;height:auto}
