:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-strong: #f5f5f7;
  --text: #1d1d1f;
  --muted: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #007aff;
  --accent-2: #34c759;
  --accent-3: #ff9500;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover {
  color: var(--text);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  font-weight: 600;
  font-size: 13px;
  transition: background 150ms ease;
  margin-left: 8px;
}
.lang-switch:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text);
}
.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
  min-height: calc(100vh - 78px);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.08em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.lead {
  max-width: 680px;
  color: var(--text);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}
.lead-sub {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  border-color: transparent;
  background: #1d1d1f;
  color: white;
}
.button.secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}
.button.disabled {
  cursor: default;
  opacity: 0.75;
}
.availability,
.section-heading p,
.feature-card p,
.split p,
.faq p,
.legal-card p {
  color: var(--muted);
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.device-frame {
  width: min(460px, 100%);
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 42px;
  background: #fdfdfd;
  box-shadow: var(--shadow);
}
.canvas-mock {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
}
.toolbar-dot {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 90px;
  height: 9px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.1);
}
.rough-card,
.rough-oval {
  position: absolute;
  display: grid;
  place-items: center;
  border: 3px solid #1d1d1f;
  color: #1d1d1f;
  color: white;
  font-weight: 900;
  transform: rotate(-3deg);
}
.rough-card::before,
.rough-oval::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: inherit;
  transform: rotate(2deg);
}
.card-one {
  top: 82px;
  left: 42px;
  width: 132px;
  height: 90px;
  border-radius: 18px 22px 16px 24px;
  background: #e5f0ff;
}
.card-two {
  right: 38px;
  bottom: 98px;
  width: 150px;
  height: 104px;
  border-radius: 28px 18px 30px 16px;
  background: #e8f5e9;
  transform: rotate(4deg);
}
.rough-oval {
  top: 172px;
  right: 58px;
  width: 138px;
  height: 82px;
  border-radius: 50%;
  background: #fff3e0;
  transform: rotate(8deg);
}
.scribble {
  position: absolute;
  inset: 52px 20px 30px;
  width: calc(100% - 40px);
  height: calc(100% - 82px);
  fill: none;
  stroke: #1d1d1f;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cursor {
  position: absolute;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #08111f;
}
.cursor-a {
  left: 72px;
  bottom: 78px;
  background: #22d3ee;
}
.cursor-b {
  right: 82px;
  top: 272px;
  background: #facc15;
}
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 0;
}
.strip div,
.feature-card,
.sync-panel,
.price-card,
.legal-card,
details,
.export-grid span {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}
.strip div {
  padding: 20px;
  border-radius: 24px;
}
.strip strong,
.strip span {
  display: block;
}
.strip span {
  color: var(--muted);
  font-size: 14px;
}
.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  padding: 24px;
  border-radius: 28px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 46px;
  align-items: center;
}
.split.reverse {
  grid-template-columns: 0.86fr 1fr;
}
.split.reverse > div:first-child {
  order: 2;
}
.sync-panel {
  padding: 18px;
  border-radius: 28px;
}
.sync-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.sync-row:last-child {
  border-bottom: 0;
}
.sync-row span {
  color: var(--muted);
}
.export-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.export-grid span {
  display: grid;
  min-height: 112px;
  place-items: center;
  border-radius: 26px;
  font-weight: 900;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.price-card {
  padding: 30px;
  border-radius: 32px;
}
.price-card.highlight {
  background: var(--bg-secondary); border: 2px solid var(--accent);
}
.price {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.price-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}
.faq details {
  margin-bottom: 12px;
  padding: 20px 22px;
  border-radius: 22px;
}
summary {
  cursor: pointer;
  font-weight: 800;
}
details p {
  margin: 12px 0 0;
}
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer div {
  display: flex;
  gap: 18px;
}
.legal-page {
  min-height: calc(100vh - 160px);
}
.legal-card {
  max-width: 920px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 34px;
}
.legal-card h1 {
  font-size: clamp(40px, 6vw, 68px);
}
.legal-card h2 {
  margin-top: 34px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.updated,
.legal-note {
  font-size: 14px;
}
.legal-card a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.screenshot-gallery {
  display: flex;
  gap: 36px;
  overflow-x: auto;
  padding: 12px 24px 48px;
  margin: 0 -24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: flex-start;
}
.screenshot-wrapper {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.screenshot-caption {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  text-align: center;
}
.screenshot-gallery::-webkit-scrollbar {
  display: none;
}
.screenshot-item {
  width: 260px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border: 8px solid #f0f0f2;
  background: #f0f0f2;
}
.screenshot-item.ipad {
  width: 480px;
  border-radius: 28px;
}
.screenshot-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.screenshot-item.ipad img {
  border-radius: 20px;
}
@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .download {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav {
    flex-wrap: wrap;
  }
  .hero,
  .split,
  .split.reverse,
  .feature-grid,
  .pricing-grid,
  .strip {
    grid-template-columns: 1fr;
  }
  .split.reverse > div:first-child {
    order: 0;
  }
  .hero {
    min-height: auto;
    padding-top: 58px;
  }
}
@media (max-width: 520px) {
  .section {
    width: min(100% - 24px, 1120px);
    padding: 62px 0;
  }
  .hero-actions,
  .site-footer div {
    width: 100%;
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .export-grid {
    grid-template-columns: 1fr;
  }
}
