/* get1one.app: the 1onE product site. Apple-style, matches the app. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --label: #1d1d1f;
  --label-2: #6e6e73;
  --label-3: #86868b;
  --sep: rgba(0, 0, 0, 0.1);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #34c759;
  --red: #ff3b30;
  --code-bg: #1d1d1f;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-2: #101012;
    --card: #1c1c1e;
    --label: #f5f5f7;
    --label-2: #a1a1a6;
    --label-3: #86868b;
    --sep: rgba(255, 255, 255, 0.12);
    --blue: #2997ff;
    --blue-hover: #47a6ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--label); font-family: var(--font);
  font-size: 17px; line-height: 1.5; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(40px, 8vw, 80px); font-weight: 700; }
h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 700; }
h3 { font-size: 19px; letter-spacing: -0.015em; }
p { margin: 0 0 14px; }
code { font-family: var(--mono); font-size: 0.9em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px;
  padding: 10px max(16px, calc((100% - 1080px) / 2)); min-height: 52px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--sep);
}
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav nav a { color: var(--label-2); }
.nav nav a:hover { color: var(--label); text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; color: var(--label); letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
@media (max-width: 640px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px;
  border-radius: 980px; font-size: 17px; font-weight: 500; color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 50%, transparent);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn:hover { text-decoration: none; background: color-mix(in srgb, var(--blue) 8%, transparent); }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--blue); color: #fff; border-color: transparent; }
.btn.primary:hover { background: var(--blue-hover); }
.btn.small { min-height: 30px; padding: 0 14px; font-size: 13px; }

/* ---------- orb (shared with the app) ---------- */
.orb { position: relative; width: 112px; height: 112px; margin: 0 auto; flex: none; }
.orb::before, .orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #0a84ff, #5e5ce6, #bf5af2, #ff375f, #ff9f0a, #30d158, #40c8e0, #0a84ff);
}
.orb::before { filter: blur(26px); opacity: 0.8; animation: spin 9s linear infinite, breathe 4.5s ease-in-out infinite; }
.orb::after {
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: spin 6s linear infinite reverse;
}
.orb .core { position: absolute; inset: 14px; border-radius: 50%; background: var(--bg); display: grid; place-items: center;
             font-weight: 700; font-size: 22px; letter-spacing: -0.04em; z-index: 1; }
.orb.big { width: 168px; height: 168px; margin-bottom: 36px; }
.orb.big .core { inset: 18px; font-size: 32px; }
.orb.tiny { width: 22px; height: 22px; margin: 0; }
.orb.tiny::before { filter: blur(5px); }
.orb.tiny::after { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
                           mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.08) rotate(180deg); opacity: 1; } }

/* ---------- sections ---------- */
main > section { padding: 96px max(20px, calc((100% - 1080px) / 2)); }
.lede { font-size: clamp(19px, 2.4vw, 24px); color: var(--label-2); max-width: 720px; line-height: 1.4; letter-spacing: -0.02em; }

.hero { text-align: center; padding-top: 88px !important; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin: 0 auto 32px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 18px; color: var(--label-3); font-size: 14px; }

.skills { background: var(--bg-2); text-align: center; }
.skills .lede { margin: 14px auto 44px; }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; text-align: left; }
.skill-card {
  background: var(--card); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.skill-card::before { content: ""; display: block; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 16px;
                      background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); }
.skill-card h3 { margin-bottom: 8px; }
.skill-card p { color: var(--label-2); font-size: 15px; margin: 0; }
.skill-card:hover { transform: translateY(-4px); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .copy { order: 2; }
.feature h2 { margin-bottom: 20px; }
.feature p { color: var(--label-2); font-size: 19px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 36px; } .feature.flip .copy { order: 0; } }

/* ---------- mockups ---------- */
.mock { background: var(--bg-2); border-radius: 28px; padding: 32px; min-height: 280px; box-shadow: var(--shadow);
        display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mock.alarm { align-items: center; text-align: center; background: linear-gradient(160deg, #1c1c1e, #2c2c2e); color: #fff; }
.mock.alarm .bell { width: 64px; height: 64px; border-radius: 50%; background: #ff9500; display: grid; place-items: center; animation: ring 2.4s ease-in-out infinite; }
.mock.alarm svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock.alarm .when { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.mock.alarm .what { font-size: 19px; opacity: 0.85; }
.mock.alarm .acts { display: flex; gap: 10px; margin-top: 8px; }
.mock.alarm .acts span { padding: 10px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.14); font-size: 15px; }
.mock.alarm .acts .done { background: #34c759; }
@keyframes ring { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25%, 35% { transform: rotate(14deg); } 10%, 20%, 30%, 40% { transform: rotate(-14deg); } }

.mock.code { background: var(--code-bg); color: #f5f5f7; font-family: var(--mono); font-size: 14px; gap: 14px; }
.mock.code .file { font-family: var(--font); font-size: 13px; color: #a1a1a6; }
.mock.code pre { margin: 0; white-space: pre; overflow-x: auto; line-height: 1.6; }
.mock.code .ln { color: #636366; margin-right: 14px; }
.squiggle { text-decoration: underline wavy #ff453a; text-underline-offset: 4px; }
.mock.code .hover { font-family: var(--font); font-size: 14px; background: #2c2c2e; border-radius: 12px; padding: 12px 14px; color: #e5e5ea; }
.mock.code .hover b { color: #0a84ff; margin-right: 6px; }
.mock.code .diff { background: #000; border-radius: 10px; padding: 10px 12px; }
.del { color: #ff6961; } .add { color: #30d158; }

.mock.memory { gap: 10px; }
.chat { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.35; }
.chat.me { align-self: flex-end; background: #007aff; color: #fff; border-bottom-right-radius: 6px; }
.chat.them { align-self: flex-start; background: var(--card); border-bottom-left-radius: 6px; }
.mock .pill { align-self: center; font-size: 12px; font-weight: 600; color: #248a3d; background: rgba(52, 199, 89, 0.15); padding: 4px 12px; border-radius: 99px; }

.mock.learn { align-items: center; text-align: center; }
.mock.learn .stat b { display: block; font-size: 64px; letter-spacing: -0.04em; line-height: 1; }
.mock.learn .stat span { color: var(--label-2); }
.mock.learn .bar { width: 80%; height: 10px; border-radius: 99px; background: var(--sep); overflow: hidden; }
.mock.learn .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #0a84ff, #bf5af2); transition: width 1.6s var(--ease); }
.mock.learn.in .bar i { width: 86%; }
.mock.learn .small { font-size: 14px; color: var(--label-2); }

/* ---------- privacy ---------- */
.privacy { background: var(--bg-2); text-align: center; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 44px; text-align: left; }
.points > div { background: var(--card); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.points h3 { margin-bottom: 8px; }
.points p { color: var(--label-2); font-size: 15px; margin: 0; }

/* ---------- download ---------- */
.download { text-align: center; }
.download .lede { margin: 14px auto 40px; }
.install-note { max-width: 720px; margin: 28px auto 0; color: var(--label-2); font-size: 14px; line-height: 1.6; }
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; text-align: left; }
.platform { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: var(--bg-2); color: var(--label);
            border: 1px solid transparent; transition: transform 0.3s var(--ease), border-color 0.3s; }
.platform:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--sep); }
.platform .pname { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.platform .pdesc { color: var(--label-2); font-size: 14px; flex: 1; }
.platform .pact { color: var(--blue); font-weight: 500; font-size: 15px; margin-top: 6px; }
.platform[aria-disabled="true"] { cursor: default; }
.platform[aria-disabled="true"] .pact { color: var(--label-3); }
.platform.ready .pact::after, .platform:not([aria-disabled="true"]) .pact::after { content: " ›"; }

/* ---------- footer ---------- */
.footer { border-top: 0.5px solid var(--sep); background: var(--bg-2); color: var(--label-2); font-size: 13px;
          padding: 28px max(20px, calc((100% - 1080px) / 2)) 40px; display: grid; gap: 14px; }
.footer .made { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--label); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { color: var(--label-2); }
.footer .copy { margin: 0; color: var(--label-3); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 8px; }
.legal .updated { color: var(--label-3); margin-bottom: 36px; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--label-2); }
.legal li { margin-bottom: 8px; }
.legal .callout { background: var(--bg-2); border-radius: 16px; padding: 16px 18px; font-size: 15px; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero > * { animation: rise 1s var(--ease) both; }
.hero > :nth-child(2) { animation-delay: 0.08s; } .hero > :nth-child(3) { animation-delay: 0.16s; }
.hero > :nth-child(4) { animation-delay: 0.24s; } .hero > :nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
