/* SciCope website — plain CSS, no frameworks, no external requests. */

:root {
  --bg: #f6f7f9;
  --bg-2: #ffffff;
  --bg-3: #eceff3;
  --fg: #111827;
  --fg-2: #3d4756;
  --fg-3: #6a7484;
  --line: #e1e5eb;
  --accent: #0b7f70;
  --accent-strong: #096a5d;
  --accent-fg: #ffffff;
  --accent-soft: #e0f3ef;
  --link: #0b7368;
  --navy: #0a1b2e;
  --navy-2: #123a5c;
  --mint: #3ad0b6;
  --mint-fg: #052520;
  --shadow: 0 24px 70px rgba(6, 22, 40, .28);
  --shadow-soft: 0 8px 30px rgba(15, 30, 50, .08);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1140px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1016;
    --bg-2: #121922;
    --bg-3: #19222d;
    --fg: #e9eef4;
    --fg-2: #b7c1cd;
    --fg-3: #8794a4;
    --line: #232f3d;
    --accent: #3ad0b6;
    --accent-strong: #5fe0ca;
    --accent-fg: #052520;
    --accent-soft: #10302c;
    --link: #5fd6c1;
    --shadow: 0 24px 70px rgba(0, 0, 0, .55);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }

code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .92em;
  background: var(--bg-3);
  border-radius: 6px;
  padding: .1em .4em;
}
kbd { border: 1px solid var(--line); border-bottom-width: 2px; }

.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--bg-2); color: var(--fg); padding: .6rem 1rem; z-index: 99;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- top band: header + hero ---------- */

.band {
  color: #fff;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(58, 208, 182, .28), transparent 60%),
    radial-gradient(700px 500px at 95% 20%, rgba(38, 120, 190, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 70%);
  overflow: hidden;
}

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .btn { padding: .5rem .95rem; font-size: .92rem; }

.hero { padding: 3.5rem 0 0; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .01em;
  color: #d9f7f1; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: .35rem .9rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(58, 208, 182, .25); }
.hero h1 {
  margin: 1.4rem auto 0; max-width: 17ch;
  font-size: clamp(2.25rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em;
}
.hero h1 span { color: var(--mint); }
.lead {
  margin: 1.4rem auto 0; max-width: 42rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .84);
}
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.cta-note { margin-top: .9rem; font-size: .9rem; color: rgba(255, 255, 255, .66); }
.cta-note a { color: rgba(255, 255, 255, .85); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 10px; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn small { font-weight: 500; opacity: .75; font-size: .85em; }
.btn-mint { background: var(--mint); color: var(--mint-fg); }
.btn-mint:hover { background: #5fe0ca; color: var(--mint-fg); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { background: var(--accent-strong); color: var(--accent-fg); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-outline:hover { border-color: var(--fg-3); color: var(--fg); }

.hero-shot { margin: 3rem auto -1px; max-width: 1040px; position: relative; }
.shot {
  border-radius: 12px; overflow: hidden; background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.hero-shot .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero-fade { height: 0; }

/* ---------- generic sections ---------- */

section { padding: 5rem 0; scroll-margin-top: 1rem; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 46rem; }
.sec-head .kicker { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.sec-head h2 { margin-top: .5rem; }
.sec-head p { margin-top: .9rem; color: var(--fg-2); font-size: 1.08rem; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.step { position: relative; padding-top: .5rem; }
.step .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 1.15rem;
}
.step h3 { margin-top: 1rem; }
.step p { margin-top: .6rem; color: var(--fg-2); }

/* feature rows */
.rows { display: grid; gap: 5rem; margin-top: 4rem; }
.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
.row.flip .media { order: 2; }
.row .text h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.row .text > p { margin-top: .8rem; color: var(--fg-2); }
.checks { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--fg-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='11' fill='black' stroke='none'/><path d='m7 12.5 3 3 7-7' stroke='white'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='11' fill='black' stroke='none'/><path d='m7 12.5 3 3 7-7' stroke='white'/></svg>") center/contain no-repeat;
  background: var(--accent);
}
.checks strong { color: var(--fg); font-weight: 600; }

.media .shot { border-color: var(--line); box-shadow: var(--shadow-soft); background: var(--bg-3); }
.media figcaption { margin-top: .7rem; font-size: .88rem; color: var(--fg-3); text-align: center; }
.media figure { margin: 0; }

.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(300px, 78vw); border-radius: 36px; padding: 10px; background: #0f1216;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone img { border-radius: 27px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-soft);
}
section.alt .card { background: var(--bg); }
.card .icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-top: 1rem; font-size: 1.1rem; }
.card p { margin-top: .5rem; color: var(--fg-2); font-size: .98rem; }

/* platform strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.strip figure { margin: 0; }
.strip .shot img { aspect-ratio: 1.9 / 1; object-fit: cover; object-position: left top; }
.strip figcaption { margin-top: .6rem; font-size: .88rem; color: var(--fg-3); text-align: center; }

/* privacy */
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; align-items: start; }
.paths { display: grid; gap: .9rem; }
.path {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 1.1rem 1.25rem;
}
.path .lane { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; }
.path .node { padding: .25rem .65rem; border-radius: 999px; background: var(--bg-3); }
.path .node.you { background: var(--accent-soft); color: var(--accent); }
.path .arrow { color: var(--fg-3); font-weight: 400; }
.path p { margin-top: .6rem; color: var(--fg-2); font-size: .95rem; }
.path.never { border-style: dashed; }
.plain { display: grid; gap: 1rem; }
.plain li { color: var(--fg-2); }
.plain li strong { color: var(--fg); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding-left: 1.9rem; position: relative; }
.plain li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; color: var(--accent);
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/><path d='m9 12 2 2 4-4'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/><path d='m9 12 2 2 4-4'/></svg>") center/contain no-repeat;
}

/* downloads */
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.dl {
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
section.alt .dl { background: var(--bg); }
.dl .os { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.dl h3 { font-size: 1.25rem; }
.dl .req { color: var(--fg-2); font-size: .95rem; }
.dl .file { color: var(--fg-3); font-size: .85rem; word-break: break-all; margin-top: auto; padding-top: .75rem; }
.dl .btn { margin-top: .75rem; justify-content: center; }
.dl.soon { border-style: dashed; box-shadow: none; }
.dl.soon .note {
  margin-top: .75rem; padding: .7rem .9rem; border-radius: 10px; background: var(--bg-3); color: var(--fg-2); font-size: .92rem;
}
.dl-foot { margin-top: 1.5rem; color: var(--fg-3); font-size: .92rem; }

/* first launch */
.launch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.launch .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.launch h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.launch h3 .tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: .15rem .45rem; }
.launch ol { margin: 1rem 0 0; padding-left: 1.3rem; display: grid; gap: .65rem; color: var(--fg-2); font-size: .97rem; }
.launch li::marker { color: var(--accent); font-weight: 700; }
.launch .box p.iphone { margin-top: 1rem; color: var(--fg-2); font-size: .97rem; }
.launch b { color: var(--fg); font-weight: 600; }

/* FAQ */
.faq { max-width: 52rem; margin: 2.5rem auto 0; display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.faq summary {
  cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: .8rem; font-size: 1.4rem; line-height: 1; color: var(--fg-3);
}
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 1.25rem 1.1rem; color: var(--fg-2); }
.faq .a p + p { margin-top: .6rem; }

/* footer */
footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); color: var(--fg-3); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
footer a { color: var(--fg-2); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.notfound p { margin-top: 1rem; color: var(--fg-2); }
.notfound .btn { margin-top: 1.6rem; }
.notfound .brand { color: var(--fg); margin-bottom: 2rem; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .cards, .strip, .launch { grid-template-columns: 1fr 1fr; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 2rem; }
  .row.flip .media { order: 0; }
  .privacy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 3.5rem 0; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 2.5rem; }
  .steps, .cards, .strip, .launch, .dl-grid { grid-template-columns: 1fr; }
  .rows { gap: 3.5rem; }
  .cta .btn { width: 100%; justify-content: center; }
  .hero-shot { margin-top: 2.2rem; }
  .hero-shot .shot { border-radius: 8px 8px 0 0; }
}
