/* LensLink landing page – dusk colours from the app's screenshots. */
:root {
  --night: #12142E; --dusk: #241F4A; --plum: #58346E; --sunset: #F08C64; --gold: #FFD49A; --sky: #4CC3F0;
  --bg: #0E1026; --surface: #1A1C3C; --surface-2: #232552; --text: #F2F0FA; --muted: #B4B0CC; --line: rgba(242, 240, 250, .1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.06; margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-bottom: 80px;
  background: radial-gradient(900px 520px at 70% 105%, rgba(240, 140, 100, .55), transparent 65%),
              radial-gradient(700px 400px at 15% 0%, rgba(76, 195, 240, .12), transparent 60%),
              linear-gradient(180deg, var(--night) 0%, var(--dusk) 55%, var(--plum) 100%); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; position: relative; z-index: 2; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem var(--display); }
.logo img { border-radius: 9px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.logo.small { font-size: 1.05rem; }
.logo.small img { border-radius: 7px; box-shadow: none; }
.nav-links { display: flex; gap: 22px; font-weight: 600; font-size: .95rem; }
.nav-links a { text-decoration: none; opacity: .8; }
.nav-links a:hover { opacity: 1; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 28px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--night); background: var(--gold); padding: 6px 12px; border-radius: 99px; margin: 0 0 22px; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.8rem); font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, var(--gold), var(--sunset)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; max-width: 31em; margin: 22px 0 32px; color: rgba(242, 240, 250, .82); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; padding: 10px 20px 10px 16px; text-decoration: none;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); }
a.store:hover { background: #111; }
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; font: 600 1.15rem/1.1 var(--display); }
.store small { font: 500 .7rem var(--font); opacity: .75; }
.price-tag { font-weight: 600; color: rgba(242, 240, 250, .8); }
.phones { position: relative; height: 600px; }
.phone { position: absolute; margin: 0; width: 262px; border-radius: 46px; padding: 9px; background: #07070F;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.phone img { border-radius: 38px; width: 100%; height: auto; }
.phone.back { left: 4%; top: 46px; transform: rotate(-7deg); }
.phone.front { right: 4%; top: 0; transform: rotate(5deg); }

/* How it works */
.steps { padding-top: 96px; }
.section-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 36em; margin: 14px 0 0; }
.step-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step-list li { background: var(--surface); border-radius: 28px; padding: 28px; border: 1px solid var(--line); counter-increment: step; }
.step-list li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sunset)); color: var(--night); font: 800 1.1rem var(--display); margin-bottom: 18px; }
.step-list h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step-list p { margin: 0; color: var(--muted); }

/* iPad showcase */
.showcase { padding-top: 96px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.tablet { margin: 0; max-width: 470px; width: 100%; justify-self: center; border-radius: 34px; padding: 12px; background: #07070F; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.tablet img { border-radius: 24px; }

/* Features */
.features { padding-top: 96px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; transition: transform .25s ease, background .25s ease; }
.card:hover { transform: translateY(-4px); background: var(--surface-2); }
.card.warm { background: linear-gradient(150deg, var(--sunset), var(--plum)); border: 0; }
.card.warm p { color: rgba(255, 255, 255, .88); }
.icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 255, 255, .07); margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

/* Privacy band */
.privacy { margin: 96px 0 0; background: #090A1C; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-inner { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.privacy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.privacy li { padding-left: 36px; position: relative; color: rgba(242, 240, 250, .8); }
.privacy li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--sky);
  box-shadow: 0 0 0 5px rgba(76, 195, 240, .18); }
.privacy strong { color: #fff; }

/* Final call */
.closing { text-align: center; padding: 96px 20px; }
.closing img { margin: 0 auto 24px; border-radius: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.closing p { color: var(--muted); font-size: 1.15rem; margin: 14px 0 28px; }
.closing .cta { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer .logo { color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer p { margin: 0; }

/* Text pages (privacy, support, imprint) */
.page { max-width: 760px; padding-top: 24px; padding-bottom: 80px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 12px; }
.page h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.page p, .page li { color: rgba(242, 240, 250, .85); }
.page .updated { color: var(--muted); }
.page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.page th, .page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page th { color: var(--muted); font-weight: 600; }
.page a { color: var(--sky); }
.page details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 12px 0; }
.page summary { font-weight: 600; cursor: pointer; }
.page details p { margin: 10px 0 0; }
.contact-card { background: linear-gradient(150deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 24px; padding: 24px 28px; margin: 28px 0; }
.contact-card a { font-weight: 700; font-size: 1.15rem; }
.page-header { background: linear-gradient(180deg, var(--night), var(--bg)); }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .phone.front { animation: float-front 1s cubic-bezier(.2, .8, .2, 1) .2s both; }
  .phone.back { animation: float-back 1s cubic-bezier(.2, .8, .2, 1) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes float-front { from { opacity: 0; transform: translateY(40px) rotate(5deg); } }
@keyframes float-back { from { opacity: 0; transform: translateY(60px) rotate(-7deg); } }

/* Smaller screens */
@media (max-width: 900px) {
  .hero-inner, .privacy-inner, .showcase { grid-template-columns: 1fr; }
  .phones { height: 470px; max-width: 420px; margin: 8px auto 0; width: 100%; }
  .phone { width: 205px; border-radius: 36px; padding: 7px; }
  .phone img { border-radius: 30px; }
  .grid, .step-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .grid, .step-list { grid-template-columns: 1fr; }
  .phones { height: 400px; }
  .phone { width: 175px; }
  .phone.back { left: 0; }
  .phone.front { right: 0; }
  .steps, .features, .showcase { padding-top: 64px; }
  .tablet { padding: 7px; border-radius: 22px; }
  .tablet img { border-radius: 16px; }
}

/* Contact form */
.contact-form { display: grid; gap: 18px; margin: 32px 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; }
.contact-form .optional { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid rgba(242, 240, 250, .18);
  border-radius: 14px; padding: 12px 14px; width: 100%; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: transparent; }
.contact-form button { justify-self: start; font: 700 1rem var(--display); color: var(--night); background: linear-gradient(135deg, var(--gold), var(--sunset));
  border: 0; border-radius: 14px; padding: 14px 26px; cursor: pointer; }
.contact-form button:hover { filter: brightness(1.05); }
.form-note { color: var(--muted); font-size: .92rem; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.notice.ok { background: rgba(76, 195, 240, .14); color: #BDEBFF; }
.notice.error { background: rgba(240, 100, 100, .16); color: #FFC9C9; }
