/* Log Anything — site styles. No build step; edit directly. */

:root {
  --bg: #fff;
  --bg2: #f5f5f7;
  --card: #fff;
  --label: #1d1d1f;
  --sec: #6e6e73;
  --sep: rgba(60, 60, 67, .18);
  --glass: rgba(255, 255, 255, .86);
  --blue: #0066cc;
  --tint: #007aff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bg2: #111113;
    --card: #1c1c1e;
    --label: #f5f5f7;
    --sec: #a1a1a6;
    --sep: rgba(84, 84, 88, .55);
    --glass: rgba(22, 22, 24, .86);
    --blue: #2997ff;
    --tint: #0a84ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--label);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: .5px solid var(--sep);
}
.site-header .wrap {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--label);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.4px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.site-nav a { color: var(--label); opacity: .8; }
.site-nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.pill {
  height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  background: var(--tint);
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
.pill:hover { text-decoration: none; filter: brightness(1.08); }

@media (max-width: 520px) {
  .site-nav .hide-sm { display: none; }
}

/* Hero */

.hero {
  padding: 88px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 60, 160, .22);
}
.hero h1 {
  margin: 8px 0 0;
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.03em;
}
.lede {
  margin: 0;
  max-width: 560px;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.4;
  color: var(--sec);
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.store-button {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  background: var(--label);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.store-button:hover { text-decoration: none; }
.store-button svg { width: 24px; height: 24px; flex: none; }
.store-button span { display: flex; flex-direction: column; line-height: 1.1; }
.store-button small { font-size: 12px; }
.store-button strong { font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.store-button[aria-disabled="true"] { cursor: default; }
.note { font-size: 13px; color: var(--sec); margin: 0; }

.device {
  margin-top: 56px;
  width: min(320px, 82vw);
  border-radius: 48px;
  overflow: hidden;
  background: var(--bg2);
  box-shadow: 0 0 0 10px #1b1b1d, 0 0 0 11.5px #48484a, 0 40px 80px rgba(0, 0, 0, .18);
}
.device img { width: 100%; }

/* Sections */

.section { margin-top: 120px; padding: 0 22px; }
.section h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.025em;
}

.features {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--bg2);
  border-radius: 24px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature svg { width: 32px; height: 32px; color: var(--tint); }
.feature h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.feature p { margin: 0; color: var(--sec); line-height: 1.45; text-wrap: pretty; }

.panel {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 32px;
  background: var(--bg2);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.panel-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.panel-text p { margin: 0; max-width: 420px; font-size: 19px; line-height: 1.45; color: var(--sec); text-wrap: pretty; }
.panel-media {
  flex: none;
  width: min(380px, 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
}

.split {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.split .device { margin-top: 0; flex: none; }
.split.reverse { flex-direction: row-reverse; }
.panel-text.centered { max-width: 640px; margin: 0 auto; text-align: center; align-items: center; }
.panel-text.centered p { margin: 0 auto; }
.duo {
  max-width: 980px;
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.duo .device { margin-top: 0; width: min(280px, 82vw); }
.pricing { justify-content: center; text-align: center; }
.pricing .panel-text { align-items: center; }
.pricing .panel-text p { max-width: 560px; }
.split .panel-text { flex: 1 1 320px; }

.checklist { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--sec); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--tint); }

.cta {
  margin-top: 120px;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* Long-form pages (privacy, support) */

.page { padding: 64px 22px 0; }
.page article { max-width: 720px; margin: 0 auto; }
.page h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.07; letter-spacing: -.03em; margin: 0 0 10px; }
.page h2 { font-size: 26px; letter-spacing: -.02em; margin: 44px 0 8px; }
.page h3 { font-size: 19px; margin: 28px 0 4px; }
.page p, .page li { color: var(--label); }
.page .meta { color: var(--sec); margin: 0 0 28px; }
.page ul { padding-left: 1.2em; }
.page li + li { margin-top: 6px; }
.summary {
  background: var(--bg2);
  border-radius: 20px;
  padding: 22px 26px;
  margin: 24px 0;
}
.summary p { margin: 0; }
.summary ul { margin: 10px 0 0; }

.faq details {
  border-bottom: .5px solid var(--sep);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sec); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ol, .faq details ul { margin: 10px 0 0; color: var(--sec); }

.contact-card {
  margin-top: 36px;
  background: var(--bg2);
  border-radius: 24px;
  padding: 28px 30px;
}
.contact-card h2 { margin-top: 0; }

/* Footer */

.site-footer { margin-top: 120px; border-top: .5px solid var(--sep); }
.site-footer .wrap {
  padding-top: 22px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12px;
  color: var(--sec);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer p { margin: 0; }
.legal { flex-basis: 100%; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
