/* natedo.com: one stylesheet for the landing page and the legal pages. Dark only, the app's default theme (Midnight). */
:root {
  color-scheme: dark;
  --bg: #0a0f1a; --surface: #101726; --raised: #162033; --raised-2: #1b2740; --line: #1e293c; --line-strong: #304059;
  --ink: #e6eaf1; --ink-2: #aab4c4; --muted: #7f8a9d;
  /* deep green fills with white text (buttons); the lighter greens are for text, icons and focus; the logo stays emerald */
  --brand: #17825d; --brand-hover: #136e4f; --on-brand: #ffffff;
  --brand-text: #5fc29b; --brand-2: #34d399; --brand-mark: #10b981; --brand-soft: #0f2a24;
  --glow: 23, 130, 93; --warn: #e0b25b;
  --radius: 14px;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --cond: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--cond); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -.012em; }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
code, .mono { font-family: var(--mono); }
::selection { background: var(--brand); color: var(--on-brand); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(10, 15, 26, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.lined, .legal .top { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--cond); font-weight: 600; font-size: 23px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand > svg:first-child { width: 34px; height: 34px; display: block; }
.brand .wm { height: 30px; width: auto; display: block; }
.wm-name { fill: currentColor; } .wm-sub { fill: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 15px; gap: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; border: 1px solid var(--line); background: var(--raised); color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--line-strong); color: var(--ink); background: var(--raised-2); }
.btn.primary, .nav a.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); }
.btn svg { width: 18px; height: 18px; flex: none; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.lede { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 40em; margin-top: 16px; }

/* hero */
.hero { position: relative; padding: 72px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; top: -68px; left: 50%; width: 100vw; transform: translateX(-50%); height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(var(--glow), .24), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 10%, #000 30%, transparent 80%);
          mask-image: radial-gradient(70% 70% at 50% 10%, #000 30%, transparent 80%);
  opacity: .9; }
.hero-text { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--brand-text); }
.hero .lede { margin: 22px auto 0; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-mark); box-shadow: 0 0 0 4px var(--brand-soft); }

.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--glow), .06); }
.shot img { display: block; width: 100%; }
.shot figcaption { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.hero .shot { margin-top: 56px; box-shadow: 0 40px 120px -50px rgba(var(--glow), .45), 0 30px 80px -40px rgba(0, 0, 0, .9); }

/* sections */
section { padding: 104px 0 0; scroll-margin-top: 72px; }
.head { max-width: 760px; }
.head h2 { margin-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-2); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 20px; height: 20px; }

.checks { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.checks li { padding: 18px 0 18px 34px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 23px; width: 18px; height: 18px; border-radius: 5px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%235fc29b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.checks b { display: block; }
.checks span { color: var(--ink-2); font-size: 16px; }

/* screenshots */
.screen { display: grid; grid-template-columns: 4fr 8fr; gap: 44px; align-items: center; margin-top: 48px; }
.screen.flip { grid-template-columns: 8fr 4fr; }
.screen.flip .screen-text { order: 2; }
.screen-text h3 { font-size: 26px; margin-top: 10px; }
.screen-text p:not(.eyebrow) { color: var(--ink-2); margin-top: 12px; font-size: 16px; }
.screen-text i { font-style: normal; font-family: var(--mono); font-size: 14px; color: var(--ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--mono); font-size: 14px; color: var(--brand-text); margin-bottom: 14px; }
.step p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.say { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.say-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--raised); color: var(--muted); font-family: var(--mono); font-size: 13px; }
.say-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.say ul { list-style: none; margin: 0; padding: 10px 0; }
.say li { display: grid; grid-template-columns: minmax(0, 18em) minmax(0, 1fr); gap: 8px 28px; padding: 12px 18px; }
.say code { color: var(--ink); font-size: 15px; }
.say code::before { content: "> "; color: var(--brand-text); }
.say span { color: var(--ink-2); font-size: 15px; }

/* automation note row */
.plain { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plain div { padding: 20px 22px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid rgba(var(--glow), .45); }
.plain b { display: block; color: var(--brand-text); }
.plain span { color: var(--ink-2); font-size: 16px; }

/* price */
.price { margin-top: 40px; display: grid; grid-template-columns: 5fr 7fr; gap: 18px; }
.price .tag { background: linear-gradient(160deg, var(--brand-soft), var(--surface) 70%); border: 1px solid rgba(var(--glow), .5); border-radius: var(--radius); padding: 30px; }
.price .tag .amount { font-family: var(--cond); font-weight: 600; font-size: 64px; line-height: 1; margin-top: 14px; color: var(--ink); }
.price .tag .eyebrow { color: var(--brand-text); margin: 0; font-size: 13px; }
.price .tag p { color: var(--ink-2); margin-top: 12px; font-size: 16px; }
.price .tag .btn { margin-top: 24px; }
.price ul { list-style: none; margin: 0; padding: 8px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.price li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.price li:first-child { border-top: none; }
.price li b { color: var(--ink); display: block; font-size: 17px; }

/* faq */
.faq { max-width: 820px; margin-top: 36px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--mono); font-size: 22px; color: var(--brand-text); transition: transform .15s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding: 0 0 22px; font-size: 16px; max-width: 46em; }

/* closing */
.final { margin-top: 112px; padding: 64px 32px; text-align: center; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 50% 0%, rgba(var(--glow), .26), transparent 60%), var(--surface); }
.final .mark { width: 64px; height: 64px; margin: 0 auto 22px; }
.final .mark svg { width: 100%; height: 100%; display: block; }

footer.site { margin-top: 64px; border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.site a { color: var(--ink-2); }
footer.site a:hover { color: var(--brand-2); }
footer.site .tm { margin-top: 18px; max-width: 60em; }
footer.site .brand { font-size: 18px; }
footer.site .brand > svg:first-child { width: 26px; height: 26px; }
footer.site .brand .wm { height: 22px; }

/* legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 32px 40px; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.08; margin: 10px 0 6px; }
.doc h2 { font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 20px; margin: 36px 0 8px; letter-spacing: 0; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc li { margin: 6px 0; }
.doc b { color: var(--ink); }
.meta { color: var(--muted); font-size: 14px; font-family: var(--mono); }
.table { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--surface); font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.doc th { background: var(--raised); border-top: none; font-weight: 600; color: var(--ink); }
.doc td { color: var(--ink-2); }
.legal footer.site { margin-top: 24px; }

@media (max-width: 900px) {
  .grid, .steps, .screen, .price, .checks, .plain { grid-template-columns: 1fr; }
  .screen { gap: 22px; }
  .screen.flip { grid-template-columns: 1fr; }
  .screen.flip .screen-text { order: 0; }
  .nav a:not(.btn) { display: none; }
  section { padding-top: 80px; }
  .say li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .doc { padding-left: 16px; padding-right: 16px; }
  .top .wrap { height: 60px; }
  .brand { font-size: 21px; }
  .brand > svg:first-child { width: 30px; height: 30px; }
  .brand .wm { height: 26px; }
  .hero { padding-top: 48px; }
  .cta .btn { width: 100%; }
  .hero .shot { margin-top: 40px; }
  .card, .step, .price .tag { padding: 22px; }
  .price ul { padding: 4px 20px; }
  .final { margin-top: 88px; padding: 44px 20px; }
  .nav .btn { padding: 8px 14px; }
  .doc table { min-width: 0; font-size: 14px; }
  .doc th, .doc td { padding: 10px 8px; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.shot a { display: block; }

/* downloads: Windows only for now; the Mac build is not released */
.soon { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 10px; border: 1px dashed var(--line); color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.2; }
@media (max-width: 600px) { .cta .soon { width: 100%; } .nav .wide { display: none; } }
