/* Paperroom's page on origalabs.com. A draft (see the comment at the top of index.html).
   The tokens and fonts are the guide's (products/paperroom/docs/guide.css, the app's v5
   fern values): Bricolage Grotesque for titles, Figtree for text, JetBrains Mono for code.
   The fonts sit beside this file in fonts/ under the SIL Open Font Licence; nothing is
   fetched from another origin. Light and dark follow the system. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url("/paperroom/fonts/BricolageGrotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url("/paperroom/fonts/BricolageGrotesque-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/paperroom/fonts/Figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/paperroom/fonts/Figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("/paperroom/fonts/Figtree-latin-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("/paperroom/fonts/Figtree-latin-ext-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/paperroom/fonts/JetBrainsMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/paperroom/fonts/JetBrainsMono-Medium.woff2") format("woff2"); }

/* Tokens, light: the guide's, the app's v5 values in fern. */
:root {
  color-scheme: light dark;
  --display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --accent: #0b7a54; --onAccent: #ffffff; --accentInk: #0b7a54; --accentSoft: #dcf2e6;
  --sticker: #ffe45c; --onSticker: #17181a;
  --glow: 0 8px 20px rgba(11, 122, 84, 0.22);

  --page: #ffffff; --side: #f6f7f7; --soft: #f2f3f4; --card: #ffffff;
  --line: #e4e5e8; --line2: #d6d8dc; --tick: #b4b8be;
  --text: #17181a; --body: #33363a; --mute: #5e6369; --faint: #7c8187;
  --hover: rgba(23, 24, 26, 0.05); --press: rgba(23, 24, 26, 0.09);
  --lift-sm: 0 1px 2px rgba(23, 24, 26, 0.12), 0 4px 12px rgba(23, 24, 26, 0.06);
  --barbg: rgba(255, 255, 255, 0.97);
  --bar: #17181a; --onBar: #f2f3f5; --onBarMute: #b9bdc3;
  --code-bg: #17181a; --code-ink: #e8eaed; --code-line: transparent;
  --stripeA: #f2f3f4; --stripeB: #f8f9f9;

  --amber-bg: #fdf1cc; --amber-fg: #7a4b00; --amber-badge: #f5a524; --amber-onBadge: #17181a;
  --blue-bg: #e3e9ff; --blue-fg: #2a44b8; --blue-badge: #4c6ef5; --onBadge: #ffffff;
  --green-bg: #ddf3e6; --rose-bg: #ffe4e9;
  --focus: #0b7a54;

  --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-20: 20px; --r-pill: 999px;
  --fast: 140ms; --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --barH: 64px; --barP: 28px; --h1: 48px; --lead: 19px; --body-fs: 16.5px; --tap: 40px;
  --title-stretch: 85%; --title-track: -0.035em;
  --shot-shadow: 0 30px 60px -30px rgba(4, 69, 47, 0.3), 0 2px 8px rgba(23, 24, 26, 0.06);
  --phone-frame: #17181a;
}
@media screen and (prefers-color-scheme: dark) {
  :root {
    --accent: #3ddc97; --onAccent: #06281a; --accentInk: #5be3a8; --accentSoft: #16352a;
    --glow: none;
    --page: #141517; --side: #18191c; --soft: #26282c; --card: #212226;
    --line: #2d2f34; --line2: #3a3d43; --tick: #5a5e66;
    --text: #f2f3f5; --body: #d3d6da; --mute: #9ea3a9; --faint: #7d8289;
    --hover: rgba(255, 255, 255, 0.06); --press: rgba(255, 255, 255, 0.1);
    --lift-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --barbg: rgba(20, 21, 23, 0.97);
    --bar: #f2f3f5; --onBar: #17181a; --onBarMute: #4a4e54;
    --code-bg: #0e0f11; --code-ink: #e8eaed; --code-line: #2d2f34;
    --stripeA: #1d1e21; --stripeB: #18191c;
    --amber-bg: #3a2e10; --amber-fg: #f7cf6b;
    --blue-bg: #1d2547; --blue-fg: #a9b8ff;
    --green-bg: #133326; --rose-bg: #3a1820;
    --focus: #3ddc97;
    --shot-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.3);
    --phone-frame: #3a3d43;
  }
}
@media (max-width: 640px) {
  :root { --barH: 56px; --barP: 16px; --h1: 36px; --lead: 17.5px; --body-fs: 16px; --tap: 44px; }
}


/* Page */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--sans); font-size: var(--body-fs); line-height: 1.6; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--accentInk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-stretch: var(--title-stretch); letter-spacing: var(--title-track); color: var(--text); margin: 0; }
h1 em, h2 em { font-style: normal; color: var(--accentInk); }
p { margin: 0 0 1em; color: var(--body); }
code { font-family: var(--mono); font-size: 0.9em; background: var(--soft); border-radius: 6px; padding: 1px 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--card); border-radius: var(--r-8); z-index: 10; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* The CSS mark, as the guide draws it, until the icon is final. */
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--accent); color: var(--onAccent); }
.mark span { font-family: var(--display); font-size: 19px; font-weight: 800; line-height: 1; font-stretch: var(--title-stretch); }
.wordmark { font-family: var(--display); font-size: 21px; font-weight: 800; font-stretch: var(--title-stretch); letter-spacing: -0.03em; white-space: nowrap; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--barH); padding-top: 12px; padding-bottom: 12px; }
.top-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: var(--tap); }
.by { color: var(--mute); font-size: 14px; text-decoration: none; white-space: nowrap; padding-left: 12px; border-left: 1px solid var(--line2); }
.by:hover { color: var(--text); }
.top nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--mute); text-decoration: none; font-size: 14.5px; font-weight: 600; min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 10px; border-radius: var(--r-pill); }
.top nav a:hover { color: var(--text); background: var(--hover); }
.top nav a.nav-cta { color: var(--onAccent); background: var(--accent); padding: 0 16px; }
.top nav a.nav-cta:hover { background: var(--accent); filter: brightness(1.06); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; border: 1px solid var(--line2); color: var(--text); }
.button.primary { background: var(--accent); color: var(--onAccent); border-color: transparent; box-shadow: var(--glow); }
.button:hover { filter: brightness(1.05); }
button.button { font: inherit; font-weight: 700; background: transparent; cursor: pointer; }
.try { margin: 0; }
.actions + .try-note { margin: -14px 0 22px; }
.text-link { font-weight: 600; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px; }
.eyebrow span { color: var(--accentInk); margin-right: 4px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; font-weight: 800; margin-bottom: 22px; }
.lede { font-size: var(--lead); color: var(--body); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 26px 0 26px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: 14px; color: var(--body); background: var(--soft); border-radius: var(--r-pill); padding: 6px 14px; }

/* The hero's drawing: paper sheets, not a screenshot. */
.room { position: relative; margin: 0; aspect-ratio: 5 / 4; }
.sheet { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-16); box-shadow: var(--lift-sm); padding: 22px 24px; }
.sheet.back { inset: 0 16% 18% 0; transform: rotate(-3deg); background: var(--side); }
.sheet.front { inset: 12% 0 0 12%; }
.sheet .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--onSticker); background: var(--sticker); border-radius: var(--r-pill); padding: 2px 10px; margin-bottom: 12px; }
.sheet .title { font-family: var(--display); font-weight: 800; font-size: 26px; font-stretch: var(--title-stretch); letter-spacing: var(--title-track); color: var(--text); margin-bottom: 10px; }
.sheet ul { list-style: none; padding: 0; margin: 0; }
.sheet li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--body); font-size: 15px; border-bottom: 1px solid var(--line); }
.sheet li:last-child { border-bottom: 0; }
.box { width: 16px; height: 16px; border: 1.5px solid var(--tick); border-radius: 5px; flex: none; }
.box.done { background: var(--accent); border-color: var(--accent); }
.cursor { position: relative; display: inline-block; width: 2px; height: 1.1em; background: var(--blue-badge); vertical-align: text-bottom; margin-left: 2px; }
.cursor b { position: absolute; left: 0; bottom: 100%; font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--onBadge); background: var(--blue-badge); padding: 1px 6px; border-radius: 4px 4px 4px 0; white-space: nowrap; }
.cursor.amber { background: var(--amber-badge); }
.cursor.amber b { background: var(--amber-badge); color: var(--amber-onBadge); }
.sheet .drawing { margin-top: 14px; height: 70px; border: 1.5px dashed var(--line2); border-radius: var(--r-12); display: grid; place-items: center; color: var(--mute); font-size: 13px; }

/* Sections */
.section { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.section-heading { max-width: 44em; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; margin-bottom: 16px; }
.section-heading p { font-size: 17.5px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li, .card { background: var(--side); border: 1px solid var(--line); border-radius: var(--r-20); padding: 24px; }
.step-index { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--accentInk); margin-bottom: 10px; }
.steps h3, .card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.steps p, .card p { margin: 0; font-size: 15.5px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Screenshots: captures of the real app, with a fictional household's library. */
.shots { display: grid; gap: 28px; margin-bottom: 28px; }
.shots.with-phone { grid-template-columns: minmax(0, 1fr) minmax(0, 236px); align-items: end; }
.shots.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.shot { margin: 0; }
.shot picture { display: block; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--r-16); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shot-shadow); }
.shot figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--mute); }
.shot.phone img { border-radius: 34px; border: 7px solid var(--phone-frame); background: var(--phone-frame); }
.shot.phone figcaption { text-align: center; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 600; }
.card.accent { background: var(--accentSoft); border-color: transparent; }
.names { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.names li { font-weight: 700; font-size: 15px; background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-pill); padding: 6px 14px; }
.promise { font-size: 17.5px; color: var(--text); background: var(--accentSoft); border-radius: var(--r-16); padding: 18px 22px; margin-top: 28px; }

/* Price */
.price-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; background: var(--side); border: 1px solid var(--line); border-radius: var(--r-20); padding: 40px; }
.price-main h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; margin-bottom: 18px; }
.price { font-family: var(--display); font-weight: 800; font-stretch: var(--title-stretch); margin: 0 0 4px; color: var(--text); }
.price .amount { font-size: 64px; letter-spacing: -0.04em; }
.price .currency { font-size: 22px; color: var(--mute); }
.price-terms { font-weight: 600; color: var(--text); }
.buy { margin: 8px 0 22px; }
.fine { font-size: 14.5px; color: var(--mute); }
.price-detail h3 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.price-detail h3 + * { margin-bottom: 24px; }
.included { padding-left: 20px; margin: 0; color: var(--body); }
.included li { margin-bottom: 6px; }
.not-included { font-size: 15px; }

/* Questions */
.faq { padding-top: 72px; padding-bottom: 56px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; padding: 10px 0; font-family: var(--display); font-weight: 700; font-size: 19px; font-stretch: var(--title-stretch); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accentInk); font-size: 22px; transition: transform var(--fast) var(--ease-out); }
.faq details[open] summary span { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary span { transition: none; } }
.faq details p { padding-bottom: 14px; }

.made { display: flex; align-items: center; gap: 12px; padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.made p { margin: 0; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
footer p { margin: 0; flex: 1 1 260px; color: var(--mute); }
footer a { color: var(--mute); }

@media (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; }
  .room { max-width: 520px; width: 100%; }
  .steps, .cards { grid-template-columns: minmax(0, 1fr); }
  .shots.with-phone, .shots.pair { grid-template-columns: minmax(0, 1fr); }
  .shot.phone { width: 100%; max-width: 250px; justify-self: center; }
  .cards.two { grid-template-columns: minmax(0, 1fr); }
  .price-panel { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .top nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .by { display: none; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .sheet { padding: 16px 18px; }
  .sheet .title { font-size: 21px; }
  .sheet li { font-size: 14px; padding: 4px 0; }
  .sheet .drawing { display: none; }
  .price .amount { font-size: 52px; }
}
@media print { .top nav, .actions, .skip { display: none; } }
