:root {
  color-scheme: light;
  --bg: #eef8ff;
  --sidebar: #f9fdff;
  --surface: #ffffff;
  --surface-strong: #f5fbff;
  --text: #132236;
  --muted: #65758a;
  --subtle: #d8e8f3;
  --subtle-strong: #bad3e4;
  --accent: #0d72ff;
  --accent-strong: #0758cf;
  --accent-cyan: #11bff0;
  --accent-green: #43df8a;
  --accent-soft: #e5f5ff;
  --accent-green-soft: #e9fbf1;
  --danger: #c73535;
  --brand-gradient: linear-gradient(135deg, #11bff0 0%, #0d72ff 48%, #43df8a 100%);
  --page-gradient: linear-gradient(135deg, #eefaff 0%, #f8fffb 52%, #eef4ff 100%);
  --shadow: 0 18px 46px rgba(23, 103, 164, 0.14);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100%;
  margin: 0;
  background: var(--page-gradient);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 114, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 114, 255, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

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: 18px;
  min-height: 72px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 232, 243, 0.78);
  background: rgba(249, 253, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 16px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(13, 114, 255, 0.18);
}

.brand-mark.compact {
  width: 32px;
  height: 32px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  transition: color 140ms ease;
}

.site-nav a:hover {
  color: var(--accent-strong);
}

.site-nav .nav-button {
  min-height: 40px;
  margin-left: clamp(4px, 1.5vw, 12px);
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 114, 255, 0.22);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent-strong);
  box-shadow: 0 8px 18px rgba(13, 114, 255, 0.1);
}

.site-nav .nav-button:hover {
  background: var(--accent-soft);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: calc(100svh - 72px);
  padding: clamp(36px, 7vw, 82px) clamp(18px, 5vw, 72px) clamp(48px, 6vw, 74px);
}

.hero-copy {
  min-width: 0;
  max-width: 580px;
  animation: rise-in 520ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 10vw, 128px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 480px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.primary-button {
  background: var(--brand-gradient);
  color: #f8fcff;
  box-shadow: 0 12px 24px rgba(13, 114, 255, 0.22);
}

.ghost-button {
  border: 1px solid var(--subtle);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.ghost-button:hover {
  border-color: var(--subtle-strong);
  background: var(--surface);
}

.product-visual {
  min-width: 0;
  animation: float-in 680ms 90ms ease both;
}

.app-shell-preview {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: min(64svh, 620px);
  overflow: hidden;
  border: 1px solid var(--subtle);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 16px;
  border-right: 1px solid var(--subtle);
  background: rgba(249, 253, 255, 0.96);
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 850;
}

.preview-button {
  height: 40px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  background: var(--brand-gradient);
  box-shadow: 0 12px 24px rgba(13, 114, 255, 0.18);
}

.preview-folder,
.preview-note,
.preview-trash {
  min-height: 34px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.preview-folder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  color: var(--text);
}

.preview-folder span {
  width: 14px;
  height: 11px;
  border: 1px solid var(--subtle-strong);
  border-radius: 3px;
  background: var(--accent-soft);
}

.preview-note {
  display: flex;
  align-items: center;
  margin-left: 28px;
  padding: 0 10px;
}

.preview-note.selected {
  border: 1px solid rgba(13, 114, 255, 0.26);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-green-soft));
  color: var(--accent-strong);
}

.preview-trash {
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 10px 6px 0;
  border-top: 1px solid var(--subtle);
  font-size: 12px;
}

.preview-workspace {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  padding: 22px;
  background: linear-gradient(135deg, #eefaff 0%, #f8fffb 54%, #eef4ff 100%);
}

.preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.preview-eyebrow {
  display: block;
  width: 86px;
  height: 10px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.preview-topbar h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.preview-account {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.preview-editor {
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--subtle);
  border-radius: 10px;
  background: var(--surface);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--subtle);
  background: linear-gradient(135deg, var(--surface-strong), rgba(229, 245, 255, 0.72));
}

.preview-toolbar span {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(101, 117, 138, 0.13);
}

.preview-note-body {
  padding: clamp(24px, 5vw, 58px);
}

.preview-note-body h3 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
}

.preview-note-body p {
  height: 14px;
  max-width: 88%;
  border-radius: 999px;
  background: #d8e8f3;
}

.preview-note-body p + p {
  width: 72%;
}

.preview-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid var(--subtle-strong);
}

.preview-table span {
  min-height: 48px;
  border-right: 1px solid var(--subtle-strong);
  border-bottom: 1px solid var(--subtle-strong);
  background: rgba(245, 251, 255, 0.86);
}

.preview-table span:nth-child(3n) {
  border-right: 0;
}

.preview-table span:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.trust-band,
.workflow-section,
.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-copy {
  min-width: 0;
  max-width: 680px;
}

.section-copy h2,
.contact-section h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p,
.security-list p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--subtle);
  border-radius: 10px;
  background: var(--subtle);
  box-shadow: var(--shadow);
}

.security-list article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.security-list article:hover {
  transform: translateY(-2px);
  background: var(--surface);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-strong);
  box-shadow: 0 8px 18px rgba(13, 114, 255, 0.16);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.feature-icon.google svg {
  width: 24px;
  height: 24px;
}

.feature-icon.sync {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-green-soft));
}

.feature-icon.sync svg,
.feature-icon.danger svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.feature-icon.danger {
  color: var(--danger);
}

.feature-icon.danger svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.7;
}

.security-list h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.security-list p {
  margin-bottom: 0;
  font-size: 14px;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  background: rgba(255, 255, 255, 0.38);
}

.workflow-visual {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 22px;
}

.flow-line {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 40px;
  width: 2px;
  background: var(--brand-gradient);
}

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 58px;
  width: min(100%, 420px);
  padding: 0 18px 0 48px;
  border: 1px solid var(--subtle);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(23, 103, 164, 0.1);
}

.flow-step::before {
  position: absolute;
  left: 15px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--subtle-strong);
}

.flow-step.active {
  color: var(--accent-strong);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-green-soft));
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-section > div {
  max-width: 720px;
}

.contact-details {
  display: grid;
  gap: 10px;
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.contact-details a {
  color: var(--accent-strong);
}

.contact-details a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 72px) 30px;
  border-top: 1px solid rgba(216, 232, 243, 0.86);
  color: rgba(101, 117, 138, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.site-footer p {
  margin: 0 auto;
  max-width: 760px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .hero-section,
  .workflow-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .app-shell-preview {
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 520px;
  }

  .security-list {
    grid-template-columns: 1fr;
  }

  .security-list article {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 24px;
    font-size: 12px;
  }

  .site-nav .nav-button {
    margin-left: 0;
  }

  .hero-section {
    display: block;
    padding-top: 34px;
    padding-right: 24px;
    padding-left: 24px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 66px);
  }

  .hero-copy,
  .hero-lede,
  .product-visual,
  .app-shell-preview {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .product-visual {
    margin-top: 28px;
  }

  .hero-lede {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .app-shell-preview {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .preview-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--subtle);
  }

  .preview-note:nth-of-type(n + 5),
  .preview-trash {
    display: none;
  }

  .preview-workspace {
    padding: 16px;
  }

  .preview-topbar {
    flex-direction: column;
  }

  .preview-account {
    width: 100%;
  }

  .preview-toolbar {
    overflow: hidden;
  }

  .preview-toolbar span {
    width: 30px;
    height: 30px;
  }

  .preview-note-body {
    padding: 24px 18px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .hero-lede,
  .product-visual,
  .app-shell-preview {
    width: 100%;
    max-width: 342px;
  }
}
