:root {
  --paper: #FCFBF8;
  --ink: #171717;
  --gray: #68645F;
  --sakura: #E98289;
  --deep: #B92F3D;
  --pale: #F7E3E2;
  --rule: #E8E4DE;

  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --page: 1080px;
  --gut: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }

a { color: inherit; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; z-index: 50; }

/* ---------- ink motifs ---------- */

/* Tapered fills rather than strokes: a brush line is thick in the middle and thin at its ends. */
.petal { position: absolute; width: 34px; fill: var(--sakura); opacity: 0.85; pointer-events: none; }
.petal.deep { fill: var(--deep); }
.wind { position: absolute; width: 420px; fill: var(--ink); opacity: 0.14; pointer-events: none; }

/* Drawn in as the section arrives, like a stroke being laid down. */
.wind { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.22,.61,.36,1); }
.wind.in { clip-path: inset(0 0 0 0); }

@keyframes drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  50%  { transform: translate(26px,-14px) rotate(9deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}
.drift { animation: drift 14s ease-in-out infinite; }
.drift-b { animation-duration: 18s; animation-delay: -4s; }
.drift-c { animation-duration: 22s; animation-delay: -9s; }

/* ---------- header ---------- */

.bar {
  max-width: var(--page); margin: 0 auto;
  padding: 26px var(--gut) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; text-decoration: none; font-size: 16px;
}
.wordmark img { display: block; }
.bar nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.bar nav a { color: var(--gray); text-decoration: none; }
.bar nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--paper);
  padding: 13px 22px; border-radius: 11px;
  font-size: 16px; font-weight: 500; text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.bar nav a.btn { color: var(--paper); }
.btn-small { padding: 8px 15px; font-size: 14px; border-radius: 9px; }
.btn-large { padding: 16px 30px; font-size: 17px; }

.link-arrow { color: var(--deep); text-decoration: none; font-size: 15px; font-weight: 500; }
.link-arrow::after { content: " ↘"; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero ---------- */

.hero {
  max-width: var(--page); margin: 0 auto;
  padding: clamp(56px, 11vh, 120px) var(--gut) clamp(50px, 9vh, 96px);
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 20px;
}
h1 { font-family: var(--serif); font-size: clamp(42px, 6.4vw, 74px); font-weight: 400; letter-spacing: -0.025em; }
.lede { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--gray); max-width: 30em; }
.actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fineprint { margin-top: 18px; font-size: 13px; color: var(--gray); }

.hero-art { position: relative; }
.hero-art .cloud { width: 100%; height: auto; display: block; }
.wind-1 { top: 38%; left: 46%; width: 62%; }
.wind-2 { top: 55%; left: 56%; width: 52%; opacity: 0.09; }
.drift-a { top: 30%; left: 84%; width: 26px; }
.drift-b { top: 47%; left: 95%; width: 18px; }
.drift-c { top: 62%; left: 88%; width: 22px; opacity: 0.6; }

/* ---------- glance strip ---------- */

.strip {
  max-width: var(--page); margin: 0 auto; padding: 0 var(--gut);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.strip ul {
  list-style: none; margin: 0; padding: 26px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.strip li { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.strip strong { font-weight: 600; letter-spacing: -0.01em; }
.strip span { color: var(--gray); font-size: 13px; }

/* ---------- features ---------- */

#features { max-width: var(--page); margin: 0 auto; padding: 0 var(--gut); }

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 76px); align-items: center;
  padding: clamp(64px, 11vh, 118px) 0;
}
.feature + .feature { border-top: 1px solid var(--rule); }
.feature.reverse .feature-copy { order: 2; }
.feature h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; }
.feature p { margin-top: 18px; color: var(--gray); font-size: 16.5px; max-width: 32em; }
.feature strong { color: var(--ink); font-weight: 600; }
.feature-art { position: relative; }

.quiet {
  text-align: center; padding: clamp(72px, 13vh, 130px) 0 clamp(64px, 11vh, 110px);
  border-top: 1px solid var(--rule); position: relative;
}
.quiet h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 400; }
.quiet p { margin: 18px auto 0; color: var(--gray); max-width: 34em; }
.quiet strong { color: var(--ink); font-weight: 600; }
.wind-4 { bottom: 34px; left: 50%; transform: translateX(-50%); width: min(420px, 70%); opacity: 0.1; }

/* ---------- app mockups ---------- */

.window {
  background: #fff; border: 1px solid var(--rule); border-radius: 13px;
  box-shadow: 0 1px 2px rgba(23,23,23,.04), 0 18px 44px -18px rgba(23,23,23,.16);
  overflow: hidden;
}
.titlebar {
  height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 13px;
  border-bottom: 1px solid var(--rule); background: #FDFCFA;
}
.titlebar i { width: 10px; height: 10px; border-radius: 50%; background: #E3DFD9; }
.win-body { padding: 18px 20px; }

.filelist, .snaps { list-style: none; margin: 0; padding: 0; }
.filelist li {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 0; font-size: 14px; border-bottom: 1px solid #F3F0EB;
}
.filelist li:last-child { border-bottom: 0; }
.ext {
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 6px; border-radius: 5px; background: var(--pale); color: var(--deep);
}
.ext.xlsx { background: #E4F0E8; color: #0F6B41; }
.ext.pptx { background: #FBE8DC; color: #A2521F; }
.ext.svg  { background: #E7ECF5; color: #34517F; }

.units { display: flex; flex-direction: column; gap: 4px; }
.unit { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; font-size: 14px; }
.unit b { width: 11px; height: 11px; border-radius: 3px; background: var(--c); margin-top: 5px; flex: none; opacity: .85; }
.unit span { display: flex; flex-direction: column; }
.unit em { font-style: normal; color: var(--gray); font-size: 12.5px; }

.sched { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.sched span {
  font-size: 12px; padding: 5px 10px; border-radius: 7px;
  border: 1px solid var(--rule); color: var(--gray);
}
.sched .on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.bars { display: flex; align-items: flex-end; gap: 12px; height: 96px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 7px; }
.bars i { display: block; width: 100%; background: var(--pale); border-radius: 4px 4px 2px 2px; }
.bars div:first-child i { background: var(--sakura); opacity: .75; }
.bars small { font-size: 10.5px; color: var(--gray); }

.snaps li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; font-size: 14px; border-radius: 8px;
}
.snaps em { font-style: normal; font-size: 12.5px; color: var(--gray); }
.snaps .on { background: var(--pale); }
.snaps .on em { color: var(--deep); font-weight: 600; }

.float-a { top: -18px; right: 6%; width: 26px; }
.float-b { bottom: -14px; left: 4%; width: 22px; transform: rotate(155deg); }
.wind-3 { bottom: -26px; left: -6%; width: 78%; opacity: 0.1; }

/* ---------- faq ---------- */

#faq {
  max-width: var(--page); margin: 0 auto;
  padding: clamp(60px, 10vh, 100px) var(--gut);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 0.62fr 1fr; gap: clamp(24px, 5vw, 64px);
}
#faq h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 400; }
#faq dl { margin: 0; }
#faq dt { font-weight: 600; font-size: 16px; }
#faq dd { margin: 7px 0 24px; color: var(--gray); font-size: 15.5px; }
#faq dd:last-child { margin-bottom: 0; }

/* ---------- download ---------- */

#download {
  position: relative; text-align: center;
  padding: clamp(80px, 14vh, 140px) var(--gut);
  border-top: 1px solid var(--rule);
}
#download h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 400; }
#download p { margin-top: 14px; color: var(--gray); }
#download .btn-large { margin-top: 30px; }
.float-c { top: 14%; left: 50%; margin-left: -260px; width: 24px; opacity: .7; }

/* ---------- footer ---------- */

footer { position: relative; border-top: 1px solid var(--rule); }
.foot-inner {
  max-width: var(--page); margin: 0 auto; padding: 30px var(--gut) 44px;
  display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--gray);
}
.foot-mark { font-weight: 600; color: var(--ink); }
.foot-inner nav { margin-left: auto; display: flex; gap: 22px; }
.foot-inner a { color: var(--gray); text-decoration: none; }
.foot-inner a:hover { color: var(--ink); }
.float-d { top: -22px; right: 12%; width: 20px; transform: rotate(24deg); opacity: .6; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-art { order: -1; max-width: 380px; }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  #faq { grid-template-columns: 1fr; }
  .float-c { display: none; }
}

@media (max-width: 520px) {
  .bar nav a:not(.btn) { display: none; }
  .strip ul { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift { animation: none; }
  .wind { transition: none; clip-path: none; }
  .btn { transition: none; }
}
