:root {
  --ink: #101525;
  --ink-muted: #536070;
  --paper: #fbfcff;
  --surface: #ffffff;
  --line: #dde5ef;
  --blue: #246bfe;
  --cyan: #18cfe6;
  --mint: #8eea92;
  --coral: #ff6b6b;
  --amber: #ffc247;
  --violet: #7667ff;
  --shadow: 0 24px 60px rgba(24, 44, 91, 0.14);
  --tight-shadow: 0 14px 36px rgba(23, 38, 71, 0.16);
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(221, 229, 239, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(16, 21, 37, 0.08);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(196, 207, 222, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 42px rgba(16, 21, 37, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 760;
}

.app-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(87, 72, 224, 0.24);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 640;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 760;
  box-shadow: 0 12px 26px rgba(16, 21, 37, 0.2);
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  padding: 140px max(24px, calc((100vw - 1120px) / 2)) 56px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.78) 44%, rgba(247, 252, 246, 0.9) 100%),
    #eef7ff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(36, 107, 254, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 107, 254, 0.08) 1px, transparent 1px);
  background-position: center;
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(560px, 100%);
  max-width: 100%;
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: 9.8rem;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin: 28px 0 0;
  color: #394558;
  font-size: 1.22rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 18px 10px 14px;
  border-radius: 8px;
  background: #101525;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(16, 21, 37, 0.24);
}

.app-store-btn small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 720;
}

.app-store-btn.dark {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(5, 12, 22, 0.18);
}

.app-store-btn.dark small {
  color: #667082;
}

.apple-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 28px;
}

.apple-icon::before {
  position: absolute;
  inset: 8px 3px 1px 2px;
  content: "";
  border-radius: 46% 50% 44% 50%;
  background: currentColor;
}

.apple-icon::after {
  position: absolute;
  top: 0;
  left: 13px;
  width: 9px;
  height: 10px;
  content: "";
  border-radius: 9px 0 9px 0;
  background: currentColor;
  transform: rotate(24deg);
}

.text-link {
  color: var(--ink);
  font-weight: 780;
}

.text-link::after {
  display: inline-block;
  margin-left: 8px;
  content: "->";
  color: var(--blue);
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.desk-grid {
  position: absolute;
  right: max(-120px, calc((100vw - 1220px) / 2));
  bottom: -12vh;
  width: min(70vw, 860px);
  height: 72vh;
  border-radius: 44% 0 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, #132643 0%, #246bfe 48%, #18cfe6 100%);
  background-size: 28px 28px, 28px 28px, auto;
  transform: perspective(900px) rotateX(58deg) rotateZ(-18deg);
  transform-origin: bottom right;
  opacity: 0.92;
}

.paper-sheet {
  position: absolute;
  right: max(230px, calc((100vw - 980px) / 2));
  bottom: 36px;
  width: min(32vw, 430px);
  min-width: 270px;
  aspect-ratio: 1.34;
  padding: 20px 22px;
  border: 1px solid rgba(198, 207, 219, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(16, 21, 37, 0.2);
  transform: rotate(-7deg);
}

.paper-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.paper-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cdd7e7;
}

.paper-sheet svg {
  width: 100%;
  height: auto;
}

.draw-line,
.camera-view svg path,
.line-pad svg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draw-line {
  stroke-width: 8;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: traceLine 4.8s ease-in-out infinite;
}

.line-a {
  stroke: var(--blue);
}

.line-b,
.line-d {
  stroke: var(--coral);
  animation-delay: 0.35s;
}

.line-c {
  stroke: var(--ink);
  animation-delay: 0.62s;
}

.phone-stack {
  position: absolute;
  right: max(34px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  width: min(48vw, 570px);
  height: min(72vh, 660px);
}

.phone {
  position: relative;
  border: 10px solid #111827;
  border-radius: 36px;
  background: #111827;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    var(--shadow);
}

.phone-main {
  position: absolute;
  right: 80px;
  bottom: 20px;
  width: min(28vw, 300px);
  min-width: 245px;
  aspect-ratio: 0.49;
  transform: rotate(7deg);
}

.phone-side {
  position: absolute;
  right: 0;
  bottom: 134px;
  width: min(19vw, 206px);
  min-width: 160px;
  aspect-ratio: 0.49;
  border-width: 8px;
  opacity: 0.98;
  transform: rotate(-11deg);
}

.phone-speaker {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 5;
  width: 72px;
  height: 19px;
  border-radius: 999px;
  background: #111827;
  transform: translateX(-50%);
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #f4f8ff;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding: 12px 18px 0;
  color: #111827;
  font-size: 0.76rem;
  font-weight: 760;
}

.camera-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 12px;
  font-weight: 840;
}

.close-dot,
.capture-button {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #e6eefb;
}

.close-dot::before,
.close-dot::after {
  position: absolute;
  width: 12px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: #5b6476;
  transform: translate(9px, 14px) rotate(45deg);
}

.close-dot::after {
  transform: translate(9px, 14px) rotate(-45deg);
}

.camera-view {
  position: relative;
  display: grid;
  width: calc(100% - 30px);
  aspect-ratio: 0.82;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(16, 21, 37, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 21, 37, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, #e7f1ff 0%, #ffffff 54%, #effdf3 100%);
  background-size: 24px 24px, 24px 24px, auto;
  place-items: center;
}

.target-frame {
  display: grid;
  width: 78%;
  aspect-ratio: 1;
  border: 2px dashed rgba(36, 107, 254, 0.42);
  border-radius: 8px;
  place-items: center;
}

.camera-view svg {
  width: 84%;
}

.camera-view svg path {
  stroke: var(--blue);
  stroke-width: 8;
}

.alignment-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.36);
}

.dot-one {
  top: 17%;
  right: 18%;
}

.dot-two {
  bottom: 22%;
  left: 17%;
  background: var(--mint);
}

.dot-three {
  right: 28%;
  bottom: 15%;
  background: var(--amber);
}

.control-strip {
  position: absolute;
  right: 14px;
  bottom: 15px;
  left: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(16, 21, 37, 0.1);
  backdrop-filter: blur(12px);
}

.control-strip div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 760;
}

.control-strip strong {
  color: var(--ink);
}

.range-track {
  position: relative;
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe8f4;
}

.range-track span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.capture-button {
  position: absolute;
  right: 10px;
  bottom: -44px;
  width: 48px;
  height: 48px;
  border: 4px solid #fff;
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(255, 107, 107, 0.34);
}

.app-library {
  padding: 0 12px 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.app-library h3 {
  margin: 16px 4px 8px;
  font-size: 1.12rem;
}

.search-pill {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #e4edf9;
  color: #687386;
  font-size: 0.78rem;
  font-weight: 720;
}

.template-card {
  display: flex;
  justify-content: space-between;
  min-height: 86px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
}

.card-blue {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.template-grid span {
  aspect-ratio: 1.1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 21, 37, 0.08);
}

.template-grid span:nth-child(2) {
  background: #fff3df;
}

.template-grid span:nth-child(3) {
  background: #eefbe6;
}

.template-grid span:nth-child(4) {
  background: #f1efff;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: -24px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 42px rgba(16, 21, 37, 0.08);
}

.metric-band div {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.metric-band strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
}

.metric-band span {
  display: block;
  margin-top: 10px;
  color: var(--ink-muted);
  font-weight: 680;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

h2 {
  margin: 0;
  font-size: 4.7rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  color: var(--ink-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(16, 21, 37, 0.06);
}

.feature-card p {
  margin: 16px 0 0;
}

.feature-icon {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #eef5ff;
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.icon-camera::before {
  inset: 13px 9px 11px;
  border: 3px solid var(--blue);
  border-radius: 8px;
}

.icon-camera::after {
  top: 19px;
  left: 18px;
  width: 8px;
  height: 8px;
  border: 3px solid var(--blue);
  border-radius: 999px;
}

.icon-layers {
  background: #f2efff;
}

.icon-layers::before,
.icon-layers::after {
  width: 24px;
  height: 17px;
  border: 3px solid var(--violet);
  border-radius: 7px;
}

.icon-layers::before {
  top: 12px;
  left: 10px;
}

.icon-layers::after {
  top: 19px;
  left: 16px;
  background: rgba(118, 103, 255, 0.13);
}

.icon-spark {
  background: #fff3df;
}

.icon-spark::before {
  top: 9px;
  left: 20px;
  width: 6px;
  height: 28px;
  border-radius: 999px;
  background: var(--amber);
}

.icon-spark::after {
  top: 20px;
  left: 9px;
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: var(--amber);
}

.icon-lock {
  background: #edfbed;
}

.icon-lock::before {
  top: 19px;
  left: 12px;
  width: 22px;
  height: 17px;
  border-radius: 6px;
  background: #31b867;
}

.icon-lock::after {
  top: 10px;
  left: 16px;
  width: 14px;
  height: 16px;
  border: 3px solid #31b867;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 1fr) minmax(230px, 0.74fr);
  gap: 30px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.workflow-copy p:last-child {
  max-width: 390px;
  margin-top: 20px;
  font-size: 1.03rem;
}

.workflow-steps {
  display: grid;
  gap: 14px;
}

.step-item {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.step-item:hover,
.step-item.is-active {
  border-color: rgba(36, 107, 254, 0.34);
  box-shadow: 0 18px 38px rgba(36, 107, 254, 0.12);
  transform: translateY(-2px);
}

.step-item span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 820;
}

.step-item h3 {
  margin-top: 12px;
}

.step-item p {
  margin: 8px 0 0;
}

.workflow-phone {
  display: flex;
  justify-content: center;
}

.workflow-phone .phone {
  width: min(100%, 250px);
  aspect-ratio: 0.49;
}

.workflow-screen {
  padding: 0 14px 14px;
}

.workflow-visual {
  height: calc(100% - 40px);
  margin-top: 10px;
}

.screen-label {
  display: block;
  margin: 8px 0 14px;
  font-size: 1.22rem;
  font-weight: 840;
}

.visual-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  margin-top: 12px;
}

.visual-row span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #e7f0ff, #d7f8ff);
}

.visual-row span:nth-child(2) {
  background: #fff0dd;
}

.visual-row.compact {
  grid-template-columns: repeat(3, 1fr);
}

.visual-row.compact span:nth-child(2) {
  background: #ecffe9;
}

.visual-row.compact span:nth-child(3) {
  background: #f1efff;
}

.tune-view {
  display: grid;
  align-content: start;
  gap: 12px;
}

.tune-preview {
  display: grid;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  place-items: center;
}

.tune-preview svg {
  width: 76%;
}

.tune-preview path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 9;
  stroke-linecap: round;
}

.slider-line {
  height: 10px;
  border-radius: 999px;
  background: #e0e8f3;
}

.slider-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.trace-view {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(16, 21, 37, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 21, 37, 0.05) 1px, transparent 1px),
    #eef9ff;
  background-size: 22px 22px, 22px 22px, auto;
}

.trace-view svg {
  position: absolute;
  inset: 20% 10%;
  width: 80%;
}

.trace-view path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 8;
  stroke-linecap: round;
}

.template-section {
  padding-top: 86px;
}

.template-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.template-board article {
  min-height: 360px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 21, 37, 0.06);
}

.template-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1.12;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef5ff;
}

.template-thumb::before,
.template-thumb::after {
  position: absolute;
  content: "";
}

.portrait::before {
  top: 22%;
  left: 50%;
  width: 28%;
  aspect-ratio: 1;
  border: 5px solid var(--blue);
  border-radius: 50%;
  transform: translateX(-50%);
}

.portrait::after {
  bottom: 17%;
  left: 22%;
  width: 56%;
  height: 28%;
  border: 5px solid var(--blue);
  border-radius: 50% 50% 12px 12px;
}

.nature {
  background: #f0fbe9;
}

.nature::before {
  top: 28%;
  left: 29%;
  width: 46%;
  height: 30%;
  border-radius: 60% 0 60% 0;
  background: #31b867;
  transform: rotate(-18deg);
}

.nature::after {
  right: 25%;
  bottom: 23%;
  width: 42%;
  height: 5px;
  border-radius: 999px;
  background: #31b867;
  transform: rotate(-32deg);
}

.lettering {
  background: #fff4df;
}

.lettering::before {
  top: 24%;
  left: 22%;
  width: 54%;
  height: 42%;
  border: 6px solid var(--amber);
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.lettering::after {
  right: 21%;
  bottom: 23%;
  width: 42%;
  height: 6px;
  border-radius: 999px;
  background: var(--amber);
}

.template-board p {
  margin-bottom: 0;
}

.compare-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(340px, 1.1fr);
  gap: 28px;
  align-items: start;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 108px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.compare-panel {
  min-height: 286px;
  padding: 24px;
  border-radius: 8px;
}

.compare-panel ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.compare-panel li {
  position: relative;
  padding-left: 24px;
  color: #5d6878;
  font-weight: 650;
}

.compare-panel li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 999px;
  background: #aab5c5;
}

.muted-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.strong-panel {
  background: #101525;
  color: #fff;
  box-shadow: var(--tight-shadow);
}

.strong-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.strong-panel li::before {
  background: var(--mint);
}

.download-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 44px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 430px;
  margin: 0 auto 34px;
  overflow: hidden;
  padding: 48px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 24, 44, 0.96), rgba(32, 86, 170, 0.96) 58%, rgba(24, 207, 230, 0.92)),
    #101525;
  color: #fff;
}

.download-section p {
  color: rgba(255, 255, 255, 0.76);
}

.download-section .eyebrow {
  color: var(--mint);
}

.download-copy {
  position: relative;
  z-index: 2;
}

.download-copy p {
  max-width: 460px;
  margin: 20px 0 28px;
  font-size: 1.04rem;
}

.download-visual {
  position: relative;
  min-height: 330px;
}

.mini-phone {
  position: absolute;
  top: 14px;
  left: 18%;
  z-index: 2;
  display: grid;
  width: 148px;
  aspect-ratio: 0.52;
  padding: 18px 14px;
  border: 8px solid #0d1526;
  border-radius: 30px;
  background: #f7fbff;
  color: var(--ink);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.2);
}

.mini-phone span {
  width: 48px;
  height: 16px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #0d1526;
}

.mini-phone strong {
  align-self: end;
  color: var(--blue);
  font-size: 1.28rem;
}

.mini-phone small {
  color: #687386;
  font-weight: 700;
}

.line-pad {
  position: absolute;
  right: 4%;
  bottom: 20px;
  width: 70%;
  min-width: 260px;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
  transform: rotate(-5deg);
}

.line-pad svg {
  width: 100%;
}

.line-pad svg path {
  stroke: var(--blue);
  stroke-width: 7;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--ink-muted);
  font-weight: 700;
}

.legal-page {
  background:
    linear-gradient(145deg, rgba(225, 226, 255, 0.65), rgba(255, 255, 255, 0.9) 42%, rgba(255, 237, 247, 0.72)),
    var(--paper);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(980px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
}

.legal-nav,
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-muted);
  font-weight: 720;
}

.legal-nav a:hover,
.legal-footer a:hover,
.legal-shell a:hover {
  color: var(--blue);
}

.legal-shell {
  width: min(860px, calc(100% - 32px));
  margin: 26px auto 72px;
  padding: 42px;
  border: 1px solid rgba(221, 229, 239, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 56px rgba(30, 41, 59, 0.1);
}

.legal-shell h1 {
  margin: 0;
  font-size: 3.3rem;
  line-height: 1;
}

.legal-lede {
  margin: 16px 0 24px;
  color: var(--ink);
  font-weight: 780;
}

.legal-shell a {
  color: var(--blue);
  font-weight: 740;
}

.legal-card {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-card:first-of-type {
  margin-top: 28px;
}

.legal-card h2 {
  font-size: 1.55rem;
  line-height: 1.18;
}

.legal-card p {
  margin: 14px 0 0;
}

.legal-footer {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 42px;
}

@keyframes traceLine {
  0% {
    stroke-dashoffset: 500;
  }
  42%,
  72% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -500;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 430px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: 18px;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: 7rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  .phone-stack {
    right: 4vw;
    bottom: 24px;
    width: min(92vw, 560px);
    height: 390px;
  }

  .phone-main {
    right: min(34vw, 190px);
    width: 242px;
    min-width: 0;
  }

  .phone-side {
    right: 20px;
    bottom: 108px;
    width: 170px;
    min-width: 0;
  }

  .paper-sheet {
    right: 16px;
    bottom: 28px;
    min-width: 240px;
    opacity: 0.88;
  }

  .desk-grid {
    width: 760px;
    height: 430px;
  }

  .metric-band {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .feature-grid,
  .template-board,
  .workflow,
  .compare-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow {
    padding-top: 72px;
  }

  .workflow-copy p:last-child {
    max-width: none;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .download-section {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    left: 10px;
    width: min(370px, calc(100vw - 20px));
    min-height: 58px;
    padding: 8px 9px 8px 12px;
    transform: none;
  }

  .hero-content {
    width: min(358px, calc(100vw - 32px));
    max-width: 358px;
  }

  .brand {
    gap: 8px;
  }

  .app-icon {
    width: 30px;
    height: 30px;
  }

  .nav-cta {
    min-width: 82px;
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    padding: 104px 16px 374px;
  }

  .hero h1 {
    font-size: 5.1rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .metric-band strong {
    font-size: 1.9rem;
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-actions {
    align-items: stretch;
    gap: 14px;
  }

  .app-store-btn {
    width: 100%;
    justify-content: center;
  }

  .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
  }

  .phone-stack {
    right: 0;
    bottom: 12px;
    width: 100vw;
    height: 312px;
  }

  .phone-main {
    right: max(36px, calc(100vw - 294px));
    bottom: 0;
    width: 184px;
  }

  .phone-side {
    right: max(6px, calc(100vw - 376px));
    bottom: 74px;
    width: 126px;
  }

  .paper-sheet {
    right: max(-10px, calc(100vw - 384px));
    bottom: 10px;
    min-width: 186px;
    padding: 14px;
  }

  .desk-grid {
    right: -220px;
    bottom: -72px;
  }

  .metric-band,
  .feature-grid,
  .template-board,
  .workflow,
  .compare-section,
  .download-section,
  .site-footer,
  .section {
    width: min(362px, calc(100vw - 28px));
    margin-left: 14px;
    margin-right: 0;
  }

  .metric-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .metric-band div {
    min-height: 92px;
    padding: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .feature-card {
    min-height: 210px;
  }

  .workflow {
    gap: 22px;
    padding: 68px 0;
  }

  .workflow-phone {
    order: 2;
  }

  .workflow-steps {
    order: 3;
  }

  .template-board article {
    min-height: 0;
  }

  .compare-section {
    padding-bottom: 80px;
  }

  .download-section {
    padding: 26px;
  }

  .download-visual {
    min-height: 270px;
  }

  .mini-phone {
    left: 4%;
    width: 126px;
  }

  .line-pad {
    right: -18px;
    width: 78%;
    min-width: 210px;
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .legal-header,
  .legal-footer,
  .legal-shell {
    width: calc(100% - 28px);
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0 0;
  }

  .legal-shell {
    margin-top: 22px;
    padding: 24px;
  }

  .legal-shell h1 {
    font-size: 2.35rem;
  }
}
