/* Fast·it site: the app's colors. Off-white or near black, the icon's yellow, the paper colors. */
:root {
  color-scheme: light dark;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --text: #1F1F1F;
  --dim: #6B6B6B;
  --line: rgba(0, 0, 0, .09);
  --yellow: #FFDE59;
  --yellow-deep: #E8B82E;
  --ink: #2B2A24;
  --paper-yellow: #FFF4A3;
  --paper-pink: #FFC9DE;
  --paper-green: #C7EFB5;
  --paper-blue: #BFE3FA;
  --paper-purple: #DCCBF7;
  --shadow: 0 10px 30px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .06);
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151515;
    --surface: #1F1F1F;
    --text: #EDEDED;
    --dim: #A0A0A0;
    --line: rgba(255, 255, 255, .10);
    --shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: keep-all;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
nav.links { display: flex; gap: 4px; }
nav.links a { text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 15px; color: var(--dim); }
nav.links a:hover { color: var(--text); background: var(--line); }
nav.links a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 25px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, filter .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible, nav.links a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn.primary { background: var(--yellow); color: var(--ink); }
.btn.primary:hover { filter: brightness(.96); }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn.secondary:hover { filter: brightness(.97); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--yellow); padding: 3px 12px; border-radius: 999px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.1; letter-spacing: -.03em; margin: 18px 0 16px; }
.lead { font-size: 19px; color: var(--dim); margin: 0 0 28px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* Stacked notes illustration */
.notes { position: relative; height: 380px; }
.note {
  position: absolute; width: 230px; min-height: 200px; padding: 16px 18px; border-radius: 8px;
  color: var(--ink); box-shadow: var(--shadow); font-size: 15px; line-height: 1.55;
}
.note .bar { display: flex; gap: 6px; margin-bottom: 8px; }
.note .bar i { width: 9px; height: 9px; border-radius: 50%; border: 1.3px solid rgba(43, 42, 36, .45); }
.note b { display: block; font-size: 16px; margin-bottom: 4px; }
.note .md { color: #7A3E00; font-weight: 700; }
.note .code { color: #8A1F4C; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: rgba(0, 0, 0, .06); padding: 0 4px; border-radius: 4px; }
.note.n1 { background: var(--paper-yellow); left: 4%; top: 8px; transform: rotate(-4deg); }
.note.n2 { background: var(--paper-blue); left: 34%; top: 70px; transform: rotate(3deg); }
.note.n3 { background: var(--paper-pink); left: 14%; top: 172px; transform: rotate(-1.5deg); }
.note.n4 { background: var(--paper-green); left: 50%; top: 210px; width: 190px; min-height: 120px; transform: rotate(5deg); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 12px; }
.sub { color: var(--dim); margin: 0 0 36px; max-width: 36em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
section:not(.alt) .card { background: var(--surface); }
.card h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--dim); font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.icon.y { background: var(--paper-yellow); } .icon.b { background: var(--paper-blue); } .icon.p { background: var(--paper-pink); }
.icon.g { background: var(--paper-green); } .icon.v { background: var(--paper-purple); } .icon.o { background: #FFD5A1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.stat strong { display: block; font-size: 40px; letter-spacing: -.03em; }
.stat span { color: var(--dim); font-size: 15px; }
pre.term {
  margin: 0; padding: 18px 20px; border-radius: 14px; background: #1B1B1B; color: #EDEDED; overflow-x: auto;
  font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--line);
}
pre.term .p { color: #FFDE59; } pre.term .c { color: #8A8A8A; }
.band { text-align: center; }
.band .cta { justify-content: center; }

/* Download */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl .card { display: flex; flex-direction: column; gap: 10px; }
.dl .card .req { font-size: 14px; color: var(--dim); }
.dl .card .btn { margin-top: auto; }
.dl .card ul { margin: 0; padding-left: 18px; color: var(--dim); font-size: 15px; }
.note-box { margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--yellow) 22%, transparent); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 820px; }
.plan { position: relative; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.plan.featured { border: 2px solid var(--yellow-deep); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.plan p.what { color: var(--dim); margin: 0 0 18px; font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: 15.5px; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2.4px solid var(--yellow-deep); border-bottom: 2.4px solid var(--yellow-deep); transform: rotate(-45deg); }
details { border-top: 1px solid var(--line); padding: 16px 0; max-width: 820px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--dim); margin: 10px 0 0; font-size: 15.5px; }

/* Footer */
footer.bottom { padding: 36px 0 48px; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); }
footer.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.bottom a { text-decoration: none; }
footer.bottom a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .notes { height: 400px; max-width: 420px; }
  .grid, .dl { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 48px 0; }
}
@media (max-width: 520px) {
  nav.links a { padding: 6px 8px; font-size: 14px; }
  .brand span { display: none; }
  .note { width: 190px; min-height: 160px; font-size: 14px; }
  .note.n2 { top: 56px; }
  .note.n3 { top: 150px; }
  .note.n4 { width: 150px; min-height: 100px; top: 196px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
