/* ThingFinder landing — Opiteq foundation (Source Sans 3, navy, green) + catalog oak */
:root {
  --oak: #C46A1B; --oak-600: #A5560F; --oak-300: #E9A866; --oak-50: #FBF1E6; --brass: #D9BC82;
  --ink: #1B2836; --ink-2: #44505E; --muted: #6F7884; --paper: #FAF7F2; --line: #ECE4D8;
  --green: #004E07;
  --shadow: 0 1px 2px rgba(27,40,54,.06), 0 8px 30px rgba(27,40,54,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.55 'Source Sans 3', 'Segoe UI', system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: var(--oak-600); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
.ic { flex: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
em { font-style: normal; color: var(--oak); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(27,40,54,.92); backdrop-filter: blur(12px); }
.page .nav { background: var(--ink); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta { background: var(--oak); color: #fff; padding: 9px 18px; border-radius: 12px; }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-bg { position: absolute; inset: 0; background: center 40% / cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,40,54,.97) 0%, rgba(27,40,54,.86) 42%, rgba(27,40,54,.35) 100%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 0; min-height: 640px; }
.hero-copy { padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(233,168,102,.16); color: var(--oak-300); font-weight: 700; font-size: 14.5px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 68px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.lead { font-size: 20.5px; color: rgba(255,255,255,.84); max-width: 540px; margin-bottom: 30px; }
.hero-phones { position: relative; height: 600px; align-self: end; }
.hero-phones .phone { position: absolute; bottom: -90px; width: 300px; }
.hero-phones .p-main { right: 120px; z-index: 2; }
.hero-phones .p-back { right: -10px; bottom: -40px; transform: rotate(6deg); width: 270px; opacity: .96; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(27,40,54,.95) 0%, rgba(27,40,54,.86) 60%, rgba(27,40,54,.7) 100%); }
  .hero-phones { height: 430px; }
  .hero-phones .phone { width: 230px; }
  .hero-phones .p-main { right: auto; left: calc(50% - 175px); }
  .hero-phones .p-back { right: auto; left: calc(50% - 15px); width: 210px; }
}

/* phones */
.phone { margin: 0; padding: 10px; border-radius: 44px; background: #0E151D; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 2px #2A3644; }
.phone-screen { border-radius: 34px; overflow: hidden; aspect-ratio: 390 / 844; background: var(--paper); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 11px 20px 11px 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.25); transition: transform .12s; }
.store:hover { transform: translateY(-2px); }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 19px; line-height: 1.1; }
.store small { font-weight: 500; font-size: 12px; opacity: .8; letter-spacing: .02em; }
.store.soon { background: transparent; border-style: dashed; opacity: .78; cursor: default; }
.download .store.soon { color: var(--ink); border-color: #B9B2A6; }
.apk-line { display: block; margin-top: 16px; font-size: 16px; color: rgba(255,255,255,.8); }
.apk-line a { color: var(--oak-300); font-weight: 700; }
.download .apk-line { color: var(--ink-2); }
.download .apk-line a { color: var(--oak-600); }

/* sections */
.sect { padding: 110px 0; }
.sect-head { max-width: 760px; margin-bottom: 52px; }
.sect-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--oak-600); margin-bottom: 14px; }
.sub { font-size: 20px; color: var(--ink-2); margin-top: 18px; }

/* the idea */
.drawer-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto 72px; padding: 22px; border-radius: 22px; background: #5C3410; box-shadow: inset 0 0 0 6px #6E3F15, var(--shadow); }
.drawer { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px 16px; border-radius: 10px; background: linear-gradient(180deg, #DE8538, #B65E18); box-shadow: 0 4px 0 #7E4110, inset 0 1px 0 rgba(255,255,255,.25); }
.drawer-ic { position: absolute; top: 7px; left: 9px; color: rgba(255,255,255,.8); }
.drawer-label { background: #FFFDF8; color: var(--ink); border: 4px solid var(--brass); border-radius: 6px; padding: 5px 12px; font-weight: 700; font-size: 15.5px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.drawer-pull { width: 40px; height: 10px; border-radius: 5px; background: var(--brass); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
@media (max-width: 720px) { .drawer-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 10px; } }
.idea-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.idea-photo { aspect-ratio: 4/5; border-radius: 28px; background: center / cover; box-shadow: var(--shadow); }
.idea-points { display: flex; flex-direction: column; gap: 30px; }
.point { display: flex; gap: 18px; }
.point-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--oak-50); color: var(--oak-600); display: grid; place-items: center; flex: none; }
.point p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 860px) { .idea-grid { grid-template-columns: 1fr; } .idea-photo { aspect-ratio: 16/10; } }

/* how */
.how { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { position: relative; text-align: center; }
.step .phone { width: 270px; margin: 0 auto 28px; box-shadow: 0 20px 50px rgba(27,40,54,.22), inset 0 0 0 2px #2A3644; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--oak); color: #fff; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--ink-2); margin-top: 8px; max-width: 320px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 64px; } }

/* band */
.band { position: relative; background: center 18% / cover; min-height: 440px; display: flex; align-items: center; color: #fff; }
.band-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,40,54,.92), rgba(27,40,54,.5) 60%, rgba(27,40,54,.1)); }
.band-in { position: relative; }
.band h2 { margin-bottom: 14px; }
.band p { font-size: 21px; color: rgba(255,255,255,.85); }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.feat .ic { color: var(--oak); margin-bottom: 14px; }
.feat p { color: var(--ink-2); margin-top: 8px; font-size: 17px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 80px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(4, 240px); overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; } .gallery .phone { scroll-snap-align: center; } }

/* download */
.download { background: var(--oak-50); }
.download-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dl-icon { width: 96px; height: 96px; margin-bottom: 22px; filter: drop-shadow(0 12px 24px rgba(27,40,54,.25)); }
.download .sub { margin-bottom: 30px; }
.download .store:not(.soon) { background: var(--ink); }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 44px 0 26px; font-size: 16px; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand p { margin-top: 10px; }
.footer a { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.fine { margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.45); }

/* simple pages */
.prose { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.prose h1 { font-size: 46px; margin-bottom: 8px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 10px 0; }

.apk-line .ic { display: inline-block; vertical-align: -3px; margin-right: 4px; }
@media (max-width: 480px) { .drawer-label { font-size: 13.5px; padding: 4px 8px; border-width: 3px; } .store { min-width: 0; flex: 1 1 200px; } }

/* Opiteq attribution */
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.by-opiteq { display: inline-flex; align-items: center; gap: 5px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.72); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
.by-opiteq span { font-weight: 500; opacity: .8; }
.by-opiteq:hover { color: #fff; }
@media (max-width: 520px) { .by-opiteq { display: none; } }  /* phones: the footer carries the Opiteq credit */
.opiteq-card { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(255,255,255,.06); border-left: 3px solid #3FA34D; text-decoration: none; }
.opiteq-card:hover { background: rgba(255,255,255,.1); }
.opiteq-card span { display: flex; flex-direction: column; line-height: 1.25; }
.opiteq-card small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.opiteq-card b { color: #fff; font-size: 17px; }
.opiteq-card em { font-style: normal; font-size: 14px; color: #8FD39A; }
.footer-brand p { margin-top: 12px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }

.apk-sha { margin-top: 6px; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.hero .apk-sha { color: rgba(255,255,255,.55); }
.apk-sha code { font-size: 12px; }
