:root {
  --paper: #faf7ef;
  --ink: #1a332d;
  --pine: #193d33;
  --rule: #c8cbbd;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
body { background-color: var(--paper); }
.site-header.container, .site-footer.container, .studio-width {
  width: min(100% - clamp(36px, 9vw, 144px), 1260px); margin-inline: auto;
}
.site-header.container {
  min-height: 74px; padding: 12px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; color: var(--ink); background: var(--paper);
}
.site-header .wordmark, .site-footer .wordmark {
  display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none;
}
.wordmark > span { font: italic 600 35px/.98 var(--display); letter-spacing: -.074em; }
.wordmark .wordmark-dot { color: inherit; }
.site-header .smudge-mark, .site-footer .smudge-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.site-header .header-nav { display: flex; gap: clamp(12px, 2.5vw, 36px); align-items: center; }
.site-header .header-nav a { font: 550 14px/1.15 var(--body); color: var(--ink); text-decoration: none; }
.site-header .header-nav .header-download { color: white; background: var(--ink); padding: 13px 19px; border-radius: 25px; white-space: nowrap; }
.site-footer.container { border-top: 1px solid var(--rule); color: var(--ink); }
.studio { color: var(--ink); font: 400 16px/1.55 var(--body); }
.studio h1, .studio h2, .studio h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
.studio p { margin: 0; }
.studio a:focus-visible, .header-nav a:focus-visible, .wordmark:focus-visible { outline: 3px solid #d57b4d; outline-offset: 5px; }
.studio-hero { overflow: hidden; background: var(--pine); color: var(--paper); }
.studio-hero .studio-width { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 2%; padding-block: clamp(42px,5vw,85px); }
.studio-hero h1 { font-size: clamp(58px,6.8vw,105px); line-height: .98; margin: 0 0 25px; }
.studio-hero h1 em { color: #d3dc9b; font-weight: inherit; }
.studio-hero p { max-width: 36ch; color: #ebeee0; font-size: clamp(17px,1.45vw,21px); }
.studio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 25px; margin-top: 31px; }
.store-link { display: inline-flex; border-radius: 8px; }
.store-link img { height: 48px; width: auto; }
.studio-link { color: inherit; text-decoration: underline; text-underline-offset: 5px; font-weight: 550; font-size: 15px; }
.book-fan { position: relative; width: 100%; aspect-ratio: 1.25; margin: 0; isolation: isolate; }
.book-leaf { position: absolute; overflow: hidden; width: 49%; aspect-ratio: 3/4; background: #fffdf7; border: 5px solid #f6f0e2; border-radius: 3px 10px 10px 3px; box-shadow: 1px 2px #c9bfaa, 2px 4px #eee8d8, 4px 6px #b6ae9a, 0 17px 28px #061d1b55; }
.book-leaf img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leaf-left { left: 7%; top: 12%; transform: rotate(-15deg); }
.leaf-right { right: 3%; top: 12%; transform: rotate(14deg); }
.leaf-front { width: 54%; top: 3%; left: 25%; transform: rotate(-4deg); }
.book-shelf { padding-block: clamp(48px,6.5vw,98px); }
.shelf-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.studio h2 { margin: 0; font-size: clamp(39px,4.6vw,67px); line-height: 1.04; }
.book-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2.1vw,32px); }
.book-grid figure { margin: 0; }
.book-frame { display: grid; place-items: center; aspect-ratio: 1.51; border-radius: 6px; background: var(--mat); }
.book-frame img { height: 79%; width: 54%; object-fit: cover; object-position: center; border-radius: 1px 4px 4px 1px; box-shadow: 2px 3px 0 #f6efe1, 3px 4px 0 #a8a094, 2px 8px 12px #48453430; transform: rotate(-3deg); }
.book-grid figure:nth-child(2) img {transform:rotate(3deg)}
.book-grid figcaption { margin-top: 13px; }
.book-grid h3 { margin: 0; font-size: clamp(23px,2.1vw,34px); line-height: 1.14; }
.book-grid small { color: #515f55; display: block; margin-top: 4px; font-size: 14px; }
.sketch-feature { background: #e8e9dd; }
.sketch-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; padding-block: clamp(42px,5vw,80px); }
.sketch-layout figure { height: clamp(295px,29vw,405px); overflow: hidden; margin: 0; padding-top: 23px; border-radius: 6px; background: #c6cdb9; }
.sketch-layout img { width: min(63%,262px); margin: 0 auto; border-radius: 30px; border: 5px solid #2b332d; box-shadow: 0 10px 18px #33433244; display: block; }
.sketch-layout p { margin-top: 20px; max-width: 39ch; font-size: 18px; }
.sketch-layout a { display: inline-block; margin-top: 22px; }
.clip-card { text-align: center; max-width: 650px; margin: 0 auto; padding: 65px 22px 85px; }
.clip-card > img { width: 88px; border-radius: 20px; margin: 0 auto 22px; }
.clip-card h1 { font-size: clamp(44px,6vw,76px); line-height: 1; margin: 12px 0 18px; }
.clip-card p { margin: 14px 0; }
.clip-card .studio-actions { justify-content: center; }
.studio-pill { background: var(--pine); color: white; border-radius: 40px; padding: 13px 23px; text-decoration: none; }
@media(max-width: 740px) {
  .site-header.container { min-height: 64px; }
  .site-header .header-nav .idea-nav {display:none}
  .studio-hero .studio-width {grid-template-columns:1fr; padding: 44px 0 18px; gap: 24px;}
  .studio-hero h1 {font-size:clamp(52px,11vw,76px); margin-bottom: 17px;}
  .book-fan {max-width:485px; justify-self:center;}
  .studio-actions {margin-top:24px;}
  .shelf-heading {align-items:flex-start; flex-direction:column; gap:10px;}
  .sketch-layout {gap:25px;}
}
@media(max-width: 560px) {
  .site-header .smudge-mark {width:32px;height:32px;border-radius:8px}
  .site-header .wordmark {gap:6px}
  .site-header .wordmark > span {font-size:29px}
  .site-header .header-nav {gap:12px}
  .site-header .header-nav a {font-size:12px}
  .site-header .header-nav .header-download {padding:10px 13px}
  .book-grid {grid-template-columns:1fr;}
  .book-grid figure {display:grid; grid-template-columns:minmax(100px,38%) 1fr; align-items:center; gap:18px;}
  .book-grid figcaption {margin:0}
  .book-frame {aspect-ratio:1.3;}
  .sketch-layout { grid-template-columns: 1fr; }
  .sketch-layout figure {grid-row:2;}
}
@media(max-width:365px){.site-header .header-nav a[href="/support"]{display:none}}
.site-header .wordmark, .site-footer .wordmark { flex: none; white-space: nowrap; }
.site-header .smudge-mark, .site-footer .smudge-mark { filter: none; flex: none; }
@media(max-width: 560px) {
  .site-header .header-nav a[href="/try"] { display: none; }
  .book-fan { width: 94%; }
}
