/* notes2ai.com: Apple-style. White page, light grey tiles, the system font, one blue. */
:root{
  --bg:#fff;--tile:#f5f5f7;--card:#fff;--tint:#f5f5f7;--text:#1d1d1f;--muted:#6e6e73;--faint:#86868b;
  --line:#d2d2d7;--accent:#0071e3;--accent-h:#0077ed;--dark:#1d1d1f;--r:28px;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 17px/1.47 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:-.022em;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%}
.wrap{max-width:1024px;margin:0 auto;padding:0 22px}
.narrow{max-width:692px;margin:0 auto}
.center{text-align:center}
h1,h2,h3{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;font-weight:600}
h1{font-size:clamp(44px,7vw,80px);line-height:1.05;letter-spacing:-.015em}
h2{font-size:clamp(32px,5vw,56px);line-height:1.07;letter-spacing:-.005em}
h3{font-size:24px;line-height:1.17;letter-spacing:.009em}
.sub{font-size:clamp(19px,2.2vw,24px);line-height:1.38;color:var(--muted);max-width:30em;margin:18px auto 0;font-weight:500;text-wrap:balance}

/* nav: a thin translucent bar, like apple.com */
header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid transparent;transition:border-color .2s}
header.scrolled{border-bottom-color:rgba(0,0,0,.08)}
.bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:52px}
.brand{display:flex;align-items:center;gap:9px;font-weight:600;font-size:17px;color:var(--text)}
.brand:hover{text-decoration:none}
.brand img{width:28px;height:28px;border-radius:7px;box-shadow:0 0 0 1px rgba(0,0,0,.09),0 1px 3px rgba(0,0,0,.12)}
nav.links{display:flex;gap:30px}
nav.links a{color:var(--text);opacity:.8;font-size:13px}
nav.links a:hover{opacity:1;text-decoration:none}
.bar .end{justify-self:end}

/* buttons: Apple's blue pill */
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;font:400 17px/1 inherit;font-family:inherit;padding:12px 22px;border-radius:980px;border:0;transition:background .15s}
.btn:hover{background:var(--accent-h);text-decoration:none}
.btn.dark{background:var(--accent)}
.btn.s{padding:7px 14px;font-size:13px}
.btn svg.mac{flex:none;width:17px;height:17px;margin-top:-3px}
svg.apple{vertical-align:-1px;margin-right:2px}
.btn.s svg.mac{width:13px;height:13px;margin-top:-2px}
.textlink{color:var(--accent);font-size:17px}
.textlink:hover{text-decoration:underline}
.cta{display:flex;justify-content:center;align-items:center;gap:28px;margin-top:30px;flex-wrap:wrap}
.fine{font-size:14px;color:var(--muted);margin-top:16px}

/* hero */
.hero{text-align:center;padding:84px 0 0}
.hero .eyebrow{font-size:21px;font-weight:600;color:var(--text);margin:0 0 6px}
.hero .lead{font-size:clamp(21px,2.6vw,28px);line-height:1.25;color:var(--muted);max-width:24em;margin:16px auto 0;font-weight:500;text-wrap:balance}
.hero-shot{margin:56px auto 0;max-width:1200px;padding:0 22px}
.hero-shot img{display:block;width:100%;height:auto}

/* video */
.film{background:var(--tile);margin-top:100px;padding:96px 0}
.frame{border-radius:20px;overflow:hidden;background:#000;box-shadow:0 30px 60px -30px rgba(0,0,0,.35);margin-top:44px}
.frame video{display:block;width:100%;height:auto;aspect-ratio:16/9}
.stagecap{font-size:14px;color:var(--muted);margin:14px 0 0}

/* bento */
section{padding:110px 0 0}
.bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-top:52px}
.bento>*{min-width:0}
.tile{background:var(--tile);border-radius:var(--r);padding:40px 40px 0;overflow:hidden;display:flex;flex-direction:column;min-height:300px;position:relative}
.tile.pad{padding-bottom:40px}
.tile h3{font-size:clamp(26px,3vw,36px);line-height:1.1;letter-spacing:-.003em}
.tile p{margin:10px 0 0;color:var(--muted);font-size:17px;max-width:28em}
.tile .pic{margin-top:28px;flex:1;display:flex;align-items:flex-end}
.tile .pic img{display:block;width:100%;height:auto;border-radius:14px 14px 0 0}
.tile .pic.crop{height:300px;overflow:hidden}
.tile .pic.crop img{object-fit:cover;object-position:left top;height:100%}
.tile .pic.shadow img{box-shadow:0 18px 40px -18px rgba(0,0,0,.25)}
.s6{grid-column:span 6}.s4{grid-column:span 4}.s3{grid-column:span 3}.s2{grid-column:span 2}
.tile.dark{background:#000;color:#f5f5f7}
.tile.dark p{color:#a1a1a6}
.tile.blue{background:linear-gradient(160deg,#e8f1fd,#f5f5f7)}
.glyph{font-size:44px;line-height:1;margin-bottom:22px;font-weight:600;color:var(--text);letter-spacing:-.02em}
.glyph sup{font-size:.55em;color:var(--accent)}
.ico{width:52px;height:52px;margin-bottom:22px;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.keys{display:flex;gap:10px;margin:6px 0 22px}
.keys span{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:14px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08),0 4px 0 rgba(0,0,0,.07);font-size:30px;color:var(--text)}
.tile.dark .keys span{background:#1d1d1f;color:#f5f5f7;box-shadow:0 1px 0 rgba(255,255,255,.08),0 4px 0 rgba(255,255,255,.06)}
.term{background:#1d1d1f;color:#f5f5f7;border-radius:14px 14px 0 0;padding:22px 24px;font:400 14px/1.65 ui-monospace,"SF Mono",Menlo,monospace;white-space:pre;overflow:hidden;margin-top:28px;letter-spacing:0}
.term .g{color:#30d158}.term .d{color:#8e8e93}
.tile.price{align-items:center;text-align:center;justify-content:center;padding:64px 40px}
.tile.price .big{font-size:clamp(64px,10vw,120px);font-weight:600;letter-spacing:-.02em;line-height:1}
.tile.price h3{margin-top:10px}
.tile.price p{margin-left:auto;margin-right:auto}

/* faq */
.faqlist{margin-top:44px;max-width:740px;margin-left:auto;margin-right:auto}
details{border-bottom:1px solid var(--line)}
details:first-child{border-top:1px solid var(--line)}
summary{cursor:pointer;list-style:none;padding:22px 44px 22px 0;font-size:19px;font-weight:600;position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:6px;top:16px;font-size:28px;font-weight:300;color:var(--muted)}
details[open] summary::after{content:"\2212"}
details .a{padding:0 0 26px;color:var(--muted)}
details .a p{margin:0 0 14px}
ol.steps{margin:14px 0 0;padding:0;list-style:none;counter-reset:s}
ol.steps li{counter-increment:s;padding:14px 0 14px 46px;position:relative;border-top:1px solid var(--line)}
ol.steps li b{color:var(--text)}
ol.steps li::before{content:counter(s);position:absolute;left:0;top:13px;width:28px;height:28px;border-radius:50%;background:var(--accent);color:#fff;font:600 14px/28px inherit;font-family:inherit;text-align:center}
code{white-space:nowrap;font:500 .88em ui-monospace,"SF Mono",Menlo,monospace;background:var(--tile);border-radius:6px;padding:2px 7px;letter-spacing:0}
details code{white-space:normal;word-break:break-all}

/* closing */
.final{text-align:center;padding:120px 0 110px}

/* footer */
footer{background:var(--tile);padding:40px 0 30px;font-size:12px;color:var(--muted);margin-top:0}
.fcols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
.fcols h4{margin:0 0 10px;font-size:12px;font-weight:600;color:var(--text)}
.fcols a{display:block;color:var(--muted);margin:0 0 8px}
.fcols a:hover{color:var(--text);text-decoration:none}
footer .brand,.fcols a.brand{display:flex;font-size:14px;margin-bottom:10px;color:var(--text)}
.fine-print{margin-top:28px;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* other pages (about, thanks) */
.about p{font-size:21px;line-height:1.5;color:var(--muted);max-width:32em}
.small{font-size:14px;color:var(--muted)}

/* change notes (generated block and /changelog) */
.entries{display:grid;border-top:1px solid var(--line);max-width:820px;margin:44px auto 0}
.entry{display:grid;grid-template-columns:180px 1fr;gap:28px;padding:28px 0;border-bottom:1px solid var(--line)}
.entry .meta{display:flex;flex-direction:column;gap:8px;align-items:flex-start;font-size:14px;color:var(--muted)}
.entry .tag{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:#e8f1fd;color:var(--accent)}
.entry .tag.k-improvement{background:var(--tile);color:var(--text)}
.entry .tag.k-news{background:#fdf3e1;color:#8a5a00}
.entry .ver{font-weight:600;color:var(--text)}
.entry h3{font-size:24px;margin:0 0 10px}
.entry ul{margin:0;padding-left:20px;color:var(--muted)}
.entry li{margin:0 0 8px}

/* entrance */
.rv{opacity:0;transform:translateY(16px);animation:rv .9s cubic-bezier(.2,.7,.2,1) forwards}
.d2{animation-delay:.08s}.d3{animation-delay:.16s}.d4{animation-delay:.28s}
@keyframes rv{to{opacity:1;transform:none}}

@media(max-width:900px){
  .bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .s6,.s4{grid-column:span 2}.s3,.s2{grid-column:span 1}
}
@media(max-width:640px){
  .bar{grid-template-columns:1fr auto}nav.links{display:none}
  .bento{grid-template-columns:minmax(0,1fr)}
  .term{font-size:12px}.s6,.s4,.s3,.s2{grid-column:span 1}
  .tile{padding:30px 26px 0;min-height:0}.tile.pad{padding-bottom:30px}
  .tile .pic.crop{height:220px}
  .fcols{grid-template-columns:1fr 1fr}
  section{padding-top:80px}.film{margin-top:72px;padding:64px 0}.hero{padding-top:56px}
  .entry{grid-template-columns:1fr;gap:10px}.entry .meta{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}
}
@media(prefers-reduced-motion:reduce){.rv{animation:none;opacity:1;transform:none}html{scroll-behavior:auto}}
