:root {
  --ink: #14213d;
  --ink-2: #4a5568;
  --muted: #828282;
  --line: #e6e8ec;
  --paper: #ffffff;
  --page: #f6f7f9;
  --accent: #2f80ed;
  --accent-ink: #1d5fb8;
  --good: #0f787d;
  --radius: 14px;
  --max: 980px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: var(--paper); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 64px; padding-top: 10px; padding-bottom: 10px; gap: 6px 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.hero { padding: 56px 0 24px; }
.hero h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em; }
.hero p.lead { font-size: 20px; color: var(--ink-2); margin: 0; max-width: 42rem; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 24px 0 8px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.apps { padding: 32px 0 16px; }
.apps h2, .section h2 { font-size: 26px; margin: 0 0 16px; }
.app {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.app .icon { width: 72px; height: 72px; border-radius: 16px; background: #2f80ed; display: grid; place-items: center; }
.app .icon svg { width: 40px; height: 40px; }
.app h3 { margin: 0 0 4px; font-size: 20px; }
.app p { margin: 0 0 10px; color: var(--ink-2); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.section { padding: 32px 0; }
.section p, .section li { color: var(--ink-2); }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 10px 0 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.note { background: var(--paper); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; color: var(--ink-2); }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
@media (max-width: 480px) {
  .app { grid-template-columns: 56px 1fr; gap: 14px; }
  .app .icon { width: 56px; height: 56px; }
  header.top .wrap { justify-content: flex-start; }
  nav { width: 100%; gap: 14px; }
}

/* Illustrations and screenshots */
.card .ill { width: 64px; height: 64px; display: block; margin-bottom: 10px; }
.hero.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; padding-bottom: 8px; }
.phone {
  width: min(100%, 250px); margin: 0 auto; background: #0b0f17; border-radius: 40px; padding: 12px;
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.18), inset 0 0 0 2px #1d2533;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 8px; }
.gallery figure { margin: 0; text-align: center; }
.gallery figcaption { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.gallery .phone { width: min(100%, 220px); }
.app-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.app-hero .ill-wide { width: 240px; max-width: 100%; height: auto; }
@media (max-width: 720px) {
  .hero.split, .app-hero { grid-template-columns: 1fr; }
  .hero.split .phone { margin-top: 8px; }
  .app-hero .ill-wide { display: none; }
}

/* Home: philosophy screen inside the phone */
.phone .screen {
  aspect-ratio: 1206 / 2622; border-radius: 30px; background: #000; color: var(--accent);
  display: flex; flex-direction: column; justify-content: center; padding: 10% 11%;
}
.phone .screen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.phone .screen li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: 0.005em; }
.phone .screen li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* Home: app carousel */
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 16px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.carousel > * { flex: 0 0 min(100%, 560px); scroll-snap-align: start; }
.carousel .app { height: 100%; }
.carousel .shot { width: 72px; border-radius: 12px; background: #0b0f17; padding: 4px; }
.carousel .shot img { display: block; width: 100%; height: auto; border-radius: 9px; }
.carousel-hint { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
