:root {
  --bg: #F5F3EE;
  --bg2: #ECEAE4;
  --white: #FFFFFF;
  --ink: #171717;
  --ink-soft: #6F6F6F;
  --blue: #315BFF;
  --blue-hover: #2448D8;
  --soft-blue: #E8EDFF;
  --accent: #FFB35C;
  --green: #55B88A;
  --dark: #15171C;
  --line: #E7E4DC;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wall: linear-gradient(165deg, #eef2ff 0%, #e9edfb 55%, #eef0f6 100%);
  --shadow-sm: 0 1px 3px rgba(23,23,23,.06);
  --shadow: 0 12px 32px rgba(23,23,23,.08);
  --shadow-lg: 0 40px 90px rgba(23,23,23,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.022em; font-weight: 700; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
section { padding: 100px 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Buttons ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--b); border-radius: 12px; padding: 11px 18px; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; background: var(--white); color: var(--ink); transition: transform .14s ease, box-shadow .2s ease, background .2s ease; }
.btn .ic { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(49,91,255,.28); }
.btn.primary:hover { background: var(--blue-hover); box-shadow: 0 12px 26px rgba(49,91,255,.36); }
.btn.ghost { background: transparent; --b: var(--line); }
.btn.ghost:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.btn.white { background: #fff; color: var(--blue); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn.google { background: #fff; --b: var(--line); }
.btn.lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.btn.xl { padding: 17px 30px; font-size: 17px; border-radius: 15px; }
.btn.block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; padding: 14px 20px; }
.nav-inner { max-width: 1120px; width: 100%; margin: 0 auto; padding: 8px 14px 8px 18px; display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(14px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; }
.nav-center { margin: 0 auto; display: flex; gap: 6px; }
.nav-center a { padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav-center a:hover { color: var(--ink); background: rgba(23,23,23,.04); }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* ---------- Selettore lingua ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 7px 9px; cursor: pointer; font-family: inherit; line-height: 1; }
.lang-btn:hover { box-shadow: var(--shadow-sm); }
.lang-btn .lf { font-size: 17px; }
.lang-btn .lc { font-size: 11px; color: var(--ink-soft); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 70; }
.lang-menu.open { display: block; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: none; background: none; font-family: inherit; font-size: 14.5px; color: var(--ink); padding: 9px 11px; border-radius: 9px; cursor: pointer; }
.lang-menu button:hover { background: var(--bg); }
.lang-menu button.active { color: var(--blue); font-weight: 600; background: var(--soft-blue); }
.lang-menu .lf { font-size: 18px; }
@media (max-width: 640px) { .lang-menu { right: auto; left: 0; } }

/* ---------- Shared bits ---------- */
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.eyebrow.light { color: #8aa0ff; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 16px; }
.section-head p { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: nowrap; gap: 12px 20px; }
.ticks.col { flex-direction: column; flex-wrap: wrap; gap: 12px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.ticks .ic { width: 18px; height: 18px; color: var(--green); background: rgba(85,184,138,.14); border-radius: 50%; padding: 3px; box-sizing: content-box; }

/* ---------- Hero ---------- */
.hero { padding-top: 60px; padding-bottom: 70px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 74px); font-weight: 700; }
.accent-line { color: var(--blue); }
.hero .lead { font-size: 19px; color: var(--ink-soft); margin: 24px 0 30px; max-width: 480px; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link-arrow .ic { width: 16px; height: 16px; color: var(--blue); transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- YouDesktop app mockup ---------- */
.yd-app { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.yd-app.tilt { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transition: transform .5s ease; }
.yd-app.tilt:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.yd-bar { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.yd-bar-l { display: flex; align-items: center; gap: 10px; }
.yd-logo { width: 12px; height: 12px; border-radius: 4px; background: var(--blue); box-shadow: 0 0 0 3px var(--soft-blue); }
.yd-name { font-weight: 700; font-size: 14.5px; }
.yd-bar-r { display: flex; align-items: center; gap: 10px; }
.yd-share { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--soft-blue); border: none; border-radius: 9px; padding: 6px 11px; cursor: default; }
.yd-share .ic { width: 14px; height: 14px; }
.yd-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.yd-surface { position: relative; aspect-ratio: 16 / 10.5; background: var(--wall); }
.yd-surface.tall { aspect-ratio: 16 / 8.6; }
.yd-surface.short { aspect-ratio: 16 / 7; }
.yd-item { position: absolute; width: 82px; text-align: center; }
.yd-item em { font-style: normal; display: block; font-size: 12px; font-weight: 500; color: #2b2f3a; margin-top: 7px; white-space: nowrap; }
.tile { width: 52px; height: 52px; margin: 0 auto; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 6px 16px rgba(23,23,23,.12); transition: transform .2s ease, box-shadow .2s ease; }
.tile .ic { width: 26px; height: 26px; }
.tile.folder { background: var(--soft-blue); color: var(--blue); }
.tile.doc { color: var(--blue); } .tile.img { color: var(--accent); } .tile.sheet { color: var(--green); } .tile.music { color: #7C6BFF; }
.yd-item:hover .tile { transform: translateY(-3px); box-shadow: 0 12px 22px rgba(23,23,23,.16); }
.yd-item.drop-target .tile { outline: 2px dashed transparent; }
.yd-dock { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 8px; background: rgba(255,255,255,.7); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.yd-dock span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-soft); }
.yd-dock .ic { width: 17px; height: 17px; }
.yd-note { position: absolute; right: 5%; top: 12%; width: 96px; padding: 12px; font-size: 12px; font-weight: 600; line-height: 1.35; color: #5a3b12; background: var(--accent); border-radius: 4px 4px 10px 5px; box-shadow: 0 10px 20px rgba(0,0,0,.15); transform: rotate(-3deg); }

/* drag animation */
.yd-drag { position: absolute; left: 64%; top: 50%; width: 82px; text-align: center; z-index: 4; will-change: transform; animation: dragMove 3.6s ease-in-out infinite; }
.yd-drag em { font-style: normal; display: block; font-size: 12px; font-weight: 500; color: #2b2f3a; margin-top: 7px; }
.yd-drag .tile { box-shadow: 0 14px 26px rgba(23,23,23,.22); }
.yd-drag.mini { left: 30%; top: 30%; animation: dragMoveMini 3.6s ease-in-out infinite; }
.yd-cursor { position: absolute; left: 70%; top: 58%; width: 16px; height: 16px; z-index: 5; pointer-events: none; animation: curMove 3.6s ease-in-out infinite; }
.yd-cursor::before { content: ""; position: absolute; width: 0; height: 0; border-left: 9px solid #171717; border-bottom: 6px solid transparent; transform: rotate(-32deg); filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
@keyframes dragMove {
  0% { transform: translate(0,0) scale(.5); opacity: 0; }
  7% { transform: translate(0,0) scale(1); opacity: 1; }
  20% { transform: translate(0,-7px) scale(1.05); }
  56% { transform: translate(-118px,2px) scale(1.05); }
  70% { transform: translate(-118px,2px) scale(1); }
  80% { transform: translate(-118px,2px) scale(.5); opacity: 0; }
  100% { transform: translate(-118px,2px) scale(.5); opacity: 0; }
}
@keyframes dragMoveMini {
  0% { transform: translate(0,0) scale(.5); opacity: 0; }
  8% { transform: translate(0,0) scale(1); opacity: 1; }
  22% { transform: translate(0,-6px) scale(1.05); }
  58% { transform: translate(150px,10px) scale(1.05); }
  72% { transform: translate(150px,10px) scale(1); }
  82% { transform: translate(150px,10px) scale(.5); opacity: 0; }
  100% { transform: translate(150px,10px) scale(.5); opacity: 0; }
}
@keyframes curMove {
  0%,6% { transform: translate(0,0); opacity: 0; }
  10% { opacity: 1; }
  20% { transform: translate(4px,-3px); }
  56% { transform: translate(-114px,6px); }
  74% { opacity: 1; }
  84% { transform: translate(-114px,6px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Stats ---------- */
.stats { padding: 10px 0 40px; }
.stats-row { display: flex; justify-content: center; gap: clamp(30px, 8vw, 96px); text-align: center; flex-wrap: wrap; }
.stats-row b { display: block; font-size: clamp(34px, 4.4vw, 50px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-row span { font-size: 14px; font-weight: 500; color: var(--ink-soft); }

/* ---------- Memory ---------- */
.memory { background: var(--white); }
.memory-stage { position: relative; max-width: 940px; margin: 0 auto; }
.yd-app.wide { border-radius: 22px; }
.memory-tag { position: absolute; right: -8px; bottom: -18px; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; padding: 11px 16px; border-radius: 12px; box-shadow: var(--shadow); }
.memory-tag .ic { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Features ---------- */
.feat-main { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 44px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.feat-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); margin-bottom: 18px; }
.feat-ic .ic { width: 24px; height: 24px; }
.feat-ic.sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
.feat-ic.sm .ic { width: 21px; height: 21px; }
.feat-main-copy h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.feat-main-copy p { color: var(--ink-soft); font-size: 17px; margin: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat h4 { font-size: 18px; margin-bottom: 7px; }
.feat p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---------- Anywhere ---------- */
.anywhere { background: var(--bg2); }
.anywhere-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.anywhere-copy h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.anywhere-copy > p { font-size: 18px; color: var(--ink-soft); margin: 0 0 24px; }
.devices { position: relative; height: 300px; display: flex; align-items: flex-end; justify-content: center; }
.d-screen { background: var(--wall); border-radius: 6px; position: relative; overflow: hidden; }
.mini-item { position: absolute; width: 26px; height: 26px; border-radius: 7px; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.1); top: 22px; left: 22px; }
.mini-item.b { left: 60px; background: var(--soft-blue); }
.mini-item:nth-child(3) { left: 98px; top: 60px; background: #fff; }
.d-laptop { position: relative; }
.d-laptop .d-screen { width: 330px; height: 200px; border: 9px solid #23252f; border-bottom: none; border-radius: 14px 14px 0 0; }
.d-laptop .d-base { width: 372px; height: 15px; background: #2b2d38; border-radius: 3px 3px 13px 13px; margin-left: -21px; box-shadow: 0 20px 34px rgba(23,23,23,.26); }
.d-phone { position: absolute; right: 2%; bottom: 6px; z-index: 3; }
.d-phone .d-screen { width: 92px; height: 190px; border: 8px solid #23252f; border-radius: 22px; }
.d-phone .mini-item { width: 20px; height: 20px; top: 16px; left: 14px; }
.d-phone .mini-item.b { left: 42px; }

/* ---------- Sharing (dark) ---------- */
.sharing { background: var(--dark); color: #fff; }
.sharing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sharing-copy h2 { font-size: clamp(34px, 4.6vw, 54px); }
.sharing-copy > p { font-size: 19px; color: #b7bac6; margin: 20px 0 26px; }
.share-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.share-points li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: #d6d8e0; }
.share-points .ic { width: 18px; height: 18px; color: #8aa0ff; }
.share-panel { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.sp-top { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 17px; margin-bottom: 20px; }
.sp-top span { display: inline-flex; align-items: center; gap: 9px; }
.sp-top .ic { color: var(--blue); }
.sp-x { color: var(--ink-soft); }
.share-panel label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.sp-opts { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; background: var(--bg); border-radius: 12px; padding: 6px; margin: 9px 0 16px; }
.sp-opt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.sp-opt .ic { width: 15px; height: 15px; }
.sp-opt.on { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(49,91,255,.3); }
.sp-field { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
.sp-field span { display: inline-flex; align-items: center; gap: 8px; }
.sp-field .ic { width: 16px; height: 16px; }
.sp-field b { color: var(--ink); }
.sp-link { display: flex; align-items: center; gap: 10px; margin-top: 16px; background: var(--soft-blue); border-radius: 12px; padding: 8px 8px 8px 15px; }
.sp-link span { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--blue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-link button { display: inline-flex; align-items: center; gap: 6px; border: none; background: var(--blue); color: #fff; border-radius: 9px; padding: 9px 14px; font-family: inherit; font-weight: 600; font-size: 13px; cursor: default; }
.sp-link button .ic { width: 14px; height: 14px; }

/* ---------- Drive ---------- */
.drive { background: var(--bg); }
.drive-flow { display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap; }
.flow-node { flex: 1; min-width: 220px; max-width: 300px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px 24px; box-shadow: var(--shadow-sm); }
.fn-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); margin: 0 auto 15px; }
.fn-ic.drive { background: #E8F0FE; color: #1a73e8; }
.fn-ic .ic { width: 26px; height: 26px; }
.flow-node h4 { font-size: 18px; margin-bottom: 6px; }
.flow-node p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.flow-arr { width: 30px; height: 30px; color: var(--blue); align-self: center; }
.drive-trust { display: inline-flex; align-items: center; gap: 10px; margin: 34px auto 0; padding: 14px 22px; background: rgba(85,184,138,.12); border-radius: 999px; font-size: 15.5px; font-weight: 500; color: #2f6b50; }
.drive-trust .ic { width: 19px; height: 19px; color: var(--green); }
.drive .drive-trust { display: flex; width: fit-content; }

/* ---------- How ---------- */
.how { background: var(--white); }
.how-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-steps::before { content: ""; position: absolute; top: 78px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--soft-blue), var(--blue), var(--soft-blue)); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step-n { display: block; font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .1em; margin-bottom: 14px; }
.step-ic { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--white); border: 1px solid var(--line); color: var(--blue); box-shadow: var(--shadow-sm); }
.step-ic .ic { width: 26px; height: 26px; }
.step h3 { font-size: 20px; margin-bottom: 7px; }
.step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Final CTA ---------- */
.final { background: var(--bg); }
.final-box { text-align: center; background: var(--blue); color: #fff; border-radius: 28px; padding: 72px 32px; box-shadow: 0 40px 80px rgba(49,91,255,.3); }
.final-box h2 { font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 14px; }
.final-box p { font-size: 19px; opacity: .95; margin: 0 0 28px; }
.final-box .fine { display: block; margin-top: 16px; font-size: 14px; opacity: .85; }

/* ---------- Footer ---------- */
.foot { background: var(--dark); color: #c9ccd6; padding: 54px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot .brand { color: #fff; }
.foot-brand p { margin: 12px 0 0; color: #8b8f9c; font-size: 14.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: #c9ccd6; font-size: 14.5px; }
.foot-links a:hover { color: #fff; }
.foot-copy { color: #7c8090; font-size: 14px; }

/* ---------- Auth modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(23,23,23,.5); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; backdrop-filter: blur(4px); }
.modal-backdrop.open { display: flex; }
.modal { position: relative; background: var(--white); border-radius: 22px; width: 100%; max-width: 420px; box-shadow: 0 40px 90px rgba(0,0,0,.3); overflow: hidden; }
.mhead { padding: 28px 28px 0; }
.mhead h3 { font-size: 24px; margin-bottom: 4px; }
.mhead p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.mbody { padding: 22px 28px 28px; display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; font-size: 15px; font-family: inherit; background: #fff; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,91,255,.15); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 13px; margin: 4px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.switch { text-align: center; font-size: 14px; color: var(--ink-soft); }
.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 11px; padding: 10px 12px; font-size: 14px; display: none; }
.error.show { display: block; }
.modal .close { position: absolute; top: 14px; right: 18px; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-soft); background: none; border: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .yd-drag, .yd-cursor { animation: none; }
  .yd-drag { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 76px 0; }
  .hero-grid, .anywhere-grid, .sharing-grid, .feat-main { grid-template-columns: 1fr; gap: 40px; }
  .feat-main { padding: 32px; }
  .hero-mock { order: 2; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .drive-flow { flex-direction: column; align-items: center; }
  .flow-arr { transform: rotate(90deg); }
  .flow-node { max-width: 440px; width: 100%; }
  .how-steps { grid-template-columns: 1fr; gap: 36px; }
  .how-steps::before { display: none; }
  .yd-app.tilt { transform: none; }
  .nav-center { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 12px; }
  .hero h1 { font-size: 42px; }
  .ticks { flex-wrap: wrap; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .link-arrow { justify-content: center; }
  .feat-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 26px; }
  .final-box { padding: 48px 22px; border-radius: 22px; }
  .final-box .btn { width: 100%; }
  .memory-tag { right: 50%; transform: translateX(50%); bottom: -16px; }
}
