/* Honey PDF landing. The colours are the app icon's: honey, cream, ink. Glass only where content passes behind it
   (top bar, the guide over the paper, the install bar on phones). No decorative motion. */
:root { --honey: #ffc83a; --honey-2: #f59a00; --amber: #b85f00; --ink: #2a1a07; --cream: #fff6da; --blue: #2457f5;
  --head: "Nunito", "HP Head", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", "Noto Sans KR", sans-serif;
  --body: "Nunito", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", "Noto Sans KR", "Segoe UI", sans-serif;
  --doc: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "AppleMyungjo", "Hiragino Mincho ProN", "Songti SC", "Noto Serif KR", serif;
  --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104'%3E%3Cpath d='M30 0 60 17.5V52L30 69.5 0 52V17.5ZM30 69.5V104M0 52-30 69.5M60 52 90 69.5' fill='none' stroke='%23fff' stroke-opacity='.3' stroke-width='3'/%3E%3C/svg%3E"); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 600 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.in { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
:lang(ko) { word-break: keep-all; }
:lang(ja), :lang(zh-Hans) { line-break: strict; overflow-wrap: anywhere; }

.glass { background: rgba(255, 249, 230, .62); -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 0 0 1px rgba(255, 255, 255, .38), 0 10px 30px -14px rgba(74, 40, 0, .5); }

/* top bar */
.bar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 60px; padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; font: 800 21px/1 var(--head); letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.brand b { font-weight: 900; color: var(--amber); }
.lang select { appearance: none; -webkit-appearance: none; border: 1.5px solid rgba(42, 26, 7, .28); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232a1a07' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center no-repeat; color: var(--ink); font: 700 15px/1 var(--body); padding: 9px 30px 9px 13px; border-radius: 10px; cursor: pointer; }

/* the store button: a link when the app is out, a plain label before that */
.store { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 14px; font: 800 18px/1.15 var(--body); text-decoration: none; white-space: nowrap; }
a.store { background: var(--ink); color: var(--cream); }
a.store:hover { background: #000; }
span.store { border: 2px solid var(--ink); color: var(--ink); }
.store.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
span.store.small { border-width: 1.5px; }
.bar .store { display: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* hero */
.hero { background: var(--honey) var(--comb); padding: 132px 0 0; overflow-x: clip; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 56px; align-items: start; }
.pitch { align-self: center; padding: 0 0 170px; }
h1 { font: 900 clamp(40px, 4.5vw, 66px)/1.04 var(--head); letter-spacing: -.025em; white-space: pre-line; }
:lang(ko) h1, :lang(ja) h1, :lang(zh-Hans) h1 { line-height: 1.16; letter-spacing: -.01em; font-size: clamp(36px, 4.2vw, 60px); }
.lede { margin-top: 26px; max-width: 31em; font-size: 20px; line-height: 1.5; }
.get { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.devices { font-size: 16px; font-weight: 700; }

/* the paper */
.desk { position: relative; max-width: 500px; width: 100%; justify-self: end; margin-bottom: -150px; z-index: 2; }
.sheet-back { position: absolute; inset: 14px -8px 30px 10px; background: #fff3d2; border-radius: 10px; transform: rotate(3.2deg); box-shadow: 0 18px 36px -18px rgba(74, 40, 0, .5); }
.paper { position: relative; background: #fff; border-radius: 10px; padding: 78px 38px 120px; box-shadow: 0 34px 60px -26px rgba(74, 40, 0, .6), 0 1px 0 rgba(42, 26, 7, .08); font: 400 16px/1.55 var(--doc); color: #1d1408; overflow: hidden; }
.pour { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.pour svg, .drip svg { display: block; }
.tag { position: absolute; top: 34px; right: 0; padding: 4px 14px 4px 12px; background: var(--ink); color: var(--cream); font: 800 12px/1.4 var(--body); border-radius: 6px 0 0 6px; }
.doc-title { font: 700 27px/1.2 var(--doc); letter-spacing: -.01em; }
.doc-between { margin-top: 4px; color: #6b5a44; font-size: 14.5px; }
.practice { margin-top: 14px; padding: 9px 12px; background: #fff6da; border-radius: 7px; font: 600 14px/1.45 var(--body); color: #5c4420; }
.paper h3 { margin: 22px 0 5px; font: 700 15px/1.3 var(--doc); }
.typo { margin: 0 -8px; padding: 5px 8px; border-radius: 6px; outline: none; cursor: text; -webkit-user-select: text; user-select: text; }
.typo:hover { background: rgba(36, 87, 245, .06); }
.typo:focus { background: rgba(36, 87, 245, .08); box-shadow: 0 0 0 2px var(--blue); }
.typo .wrong { text-decoration: underline wavy #d92c1c 1.5px; text-underline-offset: 4px; }
.typo[data-fixed] .wrong { text-decoration: none; }
.form { display: grid; gap: 12px; margin-top: 4px; }
.field { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.field input { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1.5px solid rgba(36, 87, 245, .55); background: rgba(36, 87, 245, .09); border-radius: 4px; font: 400 16px/1 var(--doc); color: #111a4a; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(36, 87, 245, .3); }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check i { flex: none; width: 22px; height: 22px; border: 1.5px solid rgba(36, 87, 245, .55); background: rgba(36, 87, 245, .09); border-radius: 4px; position: relative; }
.check input:checked + i::after { content: ""; position: absolute; left: 6px; top: 1.5px; width: 6px; height: 12px; border: solid #111a4a; border-width: 0 2.5px 2.5px 0; transform: rotate(42deg); }
.check input:focus-visible + i { box-shadow: 0 0 0 2px rgba(36, 87, 245, .45); }
.sig { margin-top: 18px; }
.sig canvas { display: block; width: 100%; height: 92px; border-bottom: 1.5px solid #1d1408; touch-action: none; cursor: crosshair; border-radius: 4px 4px 0 0; }
.sig[data-on] canvas { background: rgba(36, 87, 245, .06); }
.sig p { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 13.5px; color: #6b5a44; min-height: 26px; }
.sig button, #restart { border: 0; background: none; padding: 4px 0; font: 700 14px/1 var(--body); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* the guide: glass, because the page runs on behind it */
.guide { position: sticky; bottom: 14px; z-index: 3; margin: -104px 12px 0; padding: 8px 8px 10px; border-radius: 18px; transform: translateY(18px); background: rgba(255, 249, 230, .86); }
.steps { display: flex; gap: 4px; }
.steps button { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: 800 14.5px/1.15 var(--body); cursor: pointer; text-align: left; }
.steps button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.steps i { flex: none; width: 17px; height: 17px; border: 2px solid currentColor; border-radius: 50%; position: relative; opacity: .55; }
.steps button[data-done] i { opacity: 1; background: currentColor; }
.steps button[data-done] i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--cream); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.steps button[aria-pressed="true"][data-done] i::after { border-color: var(--ink); }
.say { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 10px 0; font: 700 14.5px/1.4 var(--body); min-height: 2.8em; }
#restart { flex: none; }

/* app screens */
.shots { position: relative; padding: 250px 0 110px; }
.drip { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.shots-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; align-items: start; }
.shots figure:nth-child(2) { margin-top: 76px; }
.shots figure:nth-child(3) { margin-top: 22px; }
.shots figure:nth-child(4) { margin-top: 98px; }
.shots img { width: 100%; height: auto; border: 7px solid #15100a; border-radius: 36px; background: #f5f5f7; box-shadow: 0 30px 50px -28px rgba(74, 40, 0, .65); }
.shots h2 { margin-top: 26px; font: 900 27px/1.13 var(--head); letter-spacing: -.015em; white-space: pre-line; }
:lang(ko) .shots h2, :lang(ja) .shots h2, :lang(zh-Hans) .shots h2 { line-height: 1.25; font-size: 25px; }
.shots figcaption p { margin-top: 8px; font-size: 16.5px; line-height: 1.45; color: #5c4420; }

/* the rest, set like a table of contents */
.also { padding: 30px 0 120px; }
.also h2 { font: 900 clamp(34px, 4vw, 52px)/1.08 var(--head); letter-spacing: -.02em; }
.also dl { margin-top: 30px; max-width: 980px; border-top: 2px solid var(--ink); }
.also dl div { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(42, 26, 7, .22); }
.also dt { font: 900 24px/1.25 var(--head); letter-spacing: -.01em; }
.also dl div::before { content: ""; order: 1; flex: 1; min-width: 24px; border-bottom: 2px dotted rgba(42, 26, 7, .4); transform: translateY(-5px); }
.also dd { order: 2; font-size: 17.5px; color: #5c4420; text-align: right; }

/* files stay on the phone */
.keep { background: var(--ink); color: var(--cream); padding: 112px 0; }
.keep-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: end; }
.keep h2 { font: 900 clamp(40px, 5.2vw, 72px)/1.04 var(--head); letter-spacing: -.025em; white-space: pre-line; }
:lang(ko) .keep h2, :lang(ja) .keep h2, :lang(zh-Hans) .keep h2 { line-height: 1.18; letter-spacing: -.01em; }
.keep ul { list-style: none; padding: 0; font: 900 26px/1.3 var(--head); color: var(--honey); }
.keep p { margin-top: 18px; font-size: 17.5px; line-height: 1.6; color: rgba(255, 246, 218, .8); max-width: 30em; }

/* last call */
.last { background: var(--honey) var(--comb); padding: 104px 0; }
.last-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 44px; align-items: center; }
.last img { border-radius: 33px; box-shadow: 0 26px 44px -20px rgba(74, 40, 0, .7); }
.last h2 { font: 900 clamp(30px, 3.6vw, 48px)/1.12 var(--head); letter-spacing: -.02em; max-width: 19em; }
:lang(ko) .last h2, :lang(ja) .last h2, :lang(zh-Hans) .last h2 { line-height: 1.28; }
.last .get { margin-top: 28px; }

.foot { padding: 34px 0 44px; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink); text-underline-offset: 3px; }

/* install bar on phones, once the first button has scrolled away */
.dock { position: fixed; z-index: 25; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 9px 10px; border-radius: 18px; display: none; align-items: center; gap: 10px; font: 800 16px/1 var(--head); }
.dock img { border-radius: 10px; }
.dock b { margin-right: auto; font-weight: 800; }

@media (min-width: 861px) { .bar .store { display: inline-flex; } }
@media (max-width: 1060px) { .hero-in { gap: 40px; } .shots-in { gap: 22px; } .shots h2 { font-size: 23px; } }
@media (max-width: 860px) {
  body { font-size: 17px; }
  .in { padding: 0 20px; }
  .hero { padding-top: 96px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pitch { padding: 8px 0 44px; }
  .lede { font-size: 18px; margin-top: 18px; }
  .get { margin-top: 24px; }
  .desk { justify-self: center; margin-bottom: -120px; }
  .sheet-back { inset: 12px 0 30px 8px; transform: rotate(2deg); }
  .paper { padding: 70px 24px 116px; }
  .guide { margin-left: 6px; margin-right: 6px; }
  .steps button { font-size: 13px; padding: 6px 6px; gap: 5px; }
  .steps i { width: 15px; height: 15px; }
  .steps button[data-done] i::after { left: 3px; top: 0; }
  .shots { padding: 196px 0 72px; }
  .shots-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .shots figure:nth-child(n) { margin-top: 0; }
  .shots figure:nth-child(even) { margin-top: 54px; }
  .shots img { border-width: 5px; border-radius: 26px; }
  .shots h2 { margin-top: 16px; font-size: 20px; white-space: normal; }
  :lang(ko) .shots h2, :lang(ja) .shots h2, :lang(zh-Hans) .shots h2 { font-size: 19px; }
  .shots figcaption p { font-size: 15px; }
  .also { padding: 10px 0 80px; }
  .also dl div { display: block; padding: 16px 0; }
  .also dl div::before { display: none; }
  .also dt { font-size: 21px; }
  .also dd { margin-top: 3px; text-align: left; font-size: 16.5px; }
  .keep { padding: 76px 0; }
  .keep-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .keep ul { font-size: 22px; }
  .last { padding: 72px 0; }
  .last-in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .last img { width: 104px; height: 104px; border-radius: 24px; }
  .foot { padding-bottom: 96px; }
  .dock[data-on] { display: flex; }
}
@media (max-width: 380px) { .store { padding: 0 18px; font-size: 16.5px; } .steps button i { display: none; } }
@media print { .bar, .guide, .dock { display: none; } }
