/* Self-hosted Google Fonts (latin + vietnamese subsets only), see landing/fonts/ */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-normal-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-normal-400-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: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-normal-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-normal-500-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: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-normal-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-normal-600-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: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/newsreader-italic-400-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/newsreader-italic-400-500-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: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/newsreader-normal-400-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/newsreader-normal-400-600-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: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/patrick-hand-normal-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/patrick-hand-normal-400-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;
}

/* Củ Lạc Space landing. Light: silver photo paper, graphite ink, one red grease pencil. */
:root {
  --paper: #EDEFEA;        /* silver gelatin paper, cool */
  --paper-hi: #F8F9F6;     /* the print's white border */
  --ink: #1F2326;          /* graphite */
  --ink-2: #3F454B;
  --muted: #7A8086;
  --rule: #D3D7D0;
  --film: #000000;         /* film base */
  --edge: #E3A63B;         /* edge print on the film */
  --grease: #D3262E;       /* china marker */
  --blush: #F2E1DC; --sage: #DEE6D8; --sky: #DCE4EC; --sand: #ECE4D6; /* illustration tints */
  --line: #3A3F44;         /* illustration stroke */
  --highlight: rgb(240 178 60 / 0.62); /* amber highlighter */

  --serif: "Newsreader", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --shadow-print: 0 1px 1px rgb(31 35 38 / 0.08), 0 8px 24px -6px rgb(31 35 38 / 0.18), 0 28px 60px -24px rgb(31 35 38 / 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.022em; text-wrap: balance; }
b, strong { font-weight: 600; }
/* highlighter under a keyword in running text */
.hl { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 58%, var(--highlight) 58%, var(--highlight) 92%, transparent 92%); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 0.12em; margin: 0 -0.12em; }
:focus-visible { outline: 2px solid var(--grease); outline-offset: 3px; }
::selection { background: rgb(211 38 46 / 0.18); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 8px 14px; background: var(--ink); color: var(--paper); }
.skip:focus-visible { top: 16px; }

.hand { font-family: var(--hand); color: var(--grease); font-size: 1.15rem; line-height: 1.2; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 500 0.95rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn-ink { background: var(--ink); color: var(--paper-hi); }
.btn-ink:hover { background: var(--grease); }
.btn-ink:active { transform: translateY(1px); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper-hi); }
.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--grease); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--grease); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px;
  padding: 16px var(--gutter); background: rgb(237 239 234 / 0.86); backdrop-filter: blur(10px);
}
.wordmark { display: flex; align-items: center; gap: 10px; font: 600 1.35rem/1 var(--serif); text-decoration: none; white-space: nowrap; }
.wordmark img { width: auto; height: 26px; }
@media (max-width: 40rem) { .wordmark img { height: 20px; } }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 0.92rem; }
.nav nav a { color: var(--ink-2); text-decoration: none; }
.nav nav a:hover { color: var(--grease); }
.nav-login { display: none; }
.nav nav .btn-ink, .nav nav .btn-ink:hover { color: var(--paper-hi); }

/* small screens: the links fold into a sheet under the bar, opened by the two-line button */
.nav-toggle {
  display: none; position: relative; flex: none; width: 44px; height: 44px; margin-right: -10px;
  border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 12px; width: 20px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: translate 200ms ease, rotate 200ms ease;
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { translate: 0 3.5px; rotate: 45deg; }
.nav-toggle[aria-expanded="true"] span:last-child { translate: 0 -3.5px; rotate: -45deg; }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vh, 72px) var(--gutter) clamp(64px, 10vh, 120px);
  min-height: calc(100svh - 80px);
}
.hero h1 { font-size: clamp(2.6rem, 4.6vw + 0.4rem, 4.9rem); line-height: 1.04; }
.lead { margin-top: 24px; max-width: 36ch; color: var(--ink-2); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }

/* the stack of instant prints (Instax mini proportions: 54 x 86 mm, picture 46 x 62) */
.stack-wrap { display: grid; justify-items: center; gap: 28px; }
.stack {
  position: relative; width: min(74vw, 330px); aspect-ratio: 54 / 86; outline-offset: 12px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  font-size: min(3.9vw, 17.4px); /* 1em = 1/19 of the print, so the mockups scale with it */
}
.insta {
  position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; padding: 7.4% 7.4% 0;
  background: var(--paper-hi); border-radius: 4px; box-shadow: var(--shadow-print);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 380ms ease;
}
.stack:not(.is-live) .insta:not(:first-child) { display: none; } /* no script: just the first print */
.insta.is-top { cursor: grab; }
.insta.is-dragging { cursor: grabbing; transition: none; }
.insta.is-flying { transition: transform 340ms cubic-bezier(.5,0,.75,0), opacity 340ms ease; }
.shot { aspect-ratio: 46 / 62; overflow: hidden; border-radius: 1px; }
.cap { display: grid; place-items: center; padding: 0 4%; font: 400 1.45em/1.1 var(--hand); color: var(--ink); text-align: center; rotate: -1.5deg; }
.insta.keep .cap { color: var(--grease); font-size: 1.6em; }

.stack-ctrl { display: flex; align-items: center; gap: 14px; }
.stack-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%;
  background: var(--paper-hi); color: var(--ink); font: 400 1.4rem/1 var(--serif); cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.stack-btn:hover { border-color: var(--ink); color: var(--grease); }
.stack-count { min-width: 3.5em; text-align: center; color: var(--ink-2); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.stack-hint { margin-left: 6px; rotate: -3deg; transition: opacity 300ms ease; }
.stack-hint.is-done { opacity: 0; }

/* problem mockups, in ems of the print */
.mock { color: var(--ink); font-family: var(--sans); }
.mock p { margin: 0; }

.chat { display: flex; flex-direction: column; gap: 0.45em; padding: 0.7em; background: #E3E9EF; }
.chat-top { padding-bottom: 0.45em; border-bottom: 1px solid rgb(31 35 38 / 0.1); font-size: 0.8em; color: var(--ink); }
.chat-top b { color: var(--ink); font-weight: 500; margin-right: 0.3em; }
.chat .b { align-self: flex-start; max-width: 86%; padding: 0.4em 0.7em; border-radius: 0.9em 0.9em 0.9em 0.2em; background: var(--paper-hi); font-size: 0.82em; line-height: 1.3; }
.chat .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.2em; width: 62%; }
.chat .thumbs i { aspect-ratio: 1; border-radius: 0.2em; background: linear-gradient(135deg, var(--blush), var(--sky)); }
.chat .thumbs i:nth-child(3n) { background: linear-gradient(135deg, var(--sage), var(--sand)); }
.chat .thumbs .more { display: grid; place-items: center; background: rgb(31 35 38 / 0.55); color: var(--paper-hi); font: 500 0.7em/1 var(--sans); font-style: normal; }

.cal { display: flex; flex-direction: column; gap: 0.6em; padding: 0.9em 0.8em; background: var(--paper-hi); }
.cal-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85em; color: var(--ink-2); }
.cal-top b { font: 400 1.9em/1 var(--serif); color: var(--ink); }
.cal-grid { position: relative; display: grid; grid-template-rows: repeat(4, 3.2em); border-top: 1px solid var(--rule); }
.cal-grid .h { border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 0.62em; padding-top: 0.2em; }
.cal .ev { position: absolute; top: 1.6em; height: 5.6em; width: 52%; padding: 0.45em 0.55em; border-left: 0.25em solid #6F88A6; border-radius: 0.25em; background: var(--sky); font-size: 0.78em; line-height: 1.25; left: 22%; }
.cal .ev small { display: block; color: var(--ink-2); font-size: 0.85em; }
.cal .ev.clash { left: 42%; top: 2.4em; border-color: var(--grease); background: #F6DADB; box-shadow: 0 0.2em 0.6em rgb(211 38 46 / 0.18); }
.warn { align-self: flex-start; padding: 0.3em 0.6em; border-radius: 999px; background: var(--grease); color: var(--paper-hi); font-size: 0.72em; }

.tag { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em; background: var(--sand); }
.tag-string { position: absolute; top: 0; left: 50%; width: 1px; height: 26%; background: var(--line); rotate: 8deg; transform-origin: top; }
.tag-card { position: relative; display: grid; gap: 0.15em; padding: 1.5em 1.2em 0.9em; background: var(--paper-hi); border-radius: 0.3em; rotate: -7deg; box-shadow: 0 0.3em 0.9em rgb(31 35 38 / 0.18); font-size: 1em; text-align: center; }
.tag-card::before { content: ""; position: absolute; top: 0.5em; left: 50%; width: 0.6em; height: 0.6em; margin-left: -0.3em; border-radius: 50%; box-shadow: inset 0 0 0 0.12em var(--line); }
.tag-card b { font: 500 1.35em/1.1 var(--sans); letter-spacing: 0.02em; }
.tag-card small { color: var(--ink-2); font-size: 0.75em; }
.tag-q { color: var(--ink-2); font: 400 0.85em/1.4 var(--sans); text-align: center; }

.xls { padding: 0.8em 0.7em; background: var(--paper-hi); }
.xls-name { margin-bottom: 0.6em !important; padding: 0.35em 0.6em; border-radius: 0.3em; background: #DDEBDF; color: #2C6A3F; font: 500 0.66em/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xls table { width: 100%; border-collapse: collapse; font-size: 0.72em; }
.xls th, .xls td { padding: 0.45em 0.4em; border: 1px solid var(--rule); text-align: left; font-weight: 400; }
.xls th { background: #EEF0EC; color: var(--muted); width: 1.4em; }
.xls .err { color: var(--grease); font-weight: 500; background: #FBE7E8; }

.bank { display: flex; flex-direction: column; gap: 0.6em; padding: 1em 0.7em; background: linear-gradient(170deg, #CFDCD6, #E4E9EE); }
.bank-time { margin-bottom: 0.4em !important; text-align: center; font: 300 2.6em/1 var(--serif); color: var(--ink); }
.bank-card { display: flex; gap: 0.55em; align-items: center; padding: 0.6em; border-radius: 0.8em; background: rgb(248 249 246 / 0.92); box-shadow: 0 0.2em 0.7em rgb(31 35 38 / 0.1); }
.bank-card.dim { opacity: 0.7; }
.bank-logo { display: grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 0.5em; background: #2C6A3F; color: var(--paper-hi); font: 500 0.7em/1 var(--sans); }
.bank-card p { display: grid; gap: 0.1em; }
.bank-card b { color: #2C6A3F; font-size: 0.85em; font-weight: 500; }
.bank-card small { color: var(--ink-2); font-size: 0.7em; }

.solve { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5em; background: var(--paper-hi); box-shadow: inset 0 0 0 1px var(--rule); text-align: center; }
.solve img { width: 3.2em; border-radius: 0.7em; }
.solve-name { font: 600 1.5em/1.1 var(--serif); }
.solve-list { color: var(--ink-2); font-size: 0.8em; line-height: 1.6; }
.ring { position: absolute; left: 4%; top: 12%; width: 92%; height: 76%; overflow: visible; pointer-events: none; }
.ring path { fill: none; stroke: var(--grease); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.insta.keep.is-top .ring path { animation: ring 1000ms cubic-bezier(.55,.1,.25,1) 250ms forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes strike { to { clip-path: inset(0 0 0 0); } }

/* line illustrations on soft tints */
.ill { display: grid; place-items: center; color: var(--line); }
.ill svg { width: 66%; height: 66%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ill-blush { background: var(--blush); } .ill-sage { background: var(--sage); } .ill-sky { background: var(--sky); } .ill-sand { background: var(--sand); }

/* hand-drawn highlight under a phrase */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -2%; right: -3%; bottom: -0.12em; height: 0.42em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C 60 6, 140 4, 296 11 M 12 20 C 90 13, 190 12, 288 17' fill='none' stroke='%23D3262E' stroke-width='5' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
h1, h2 { position: relative; z-index: 0; }
.mark-draw::after { clip-path: inset(0 100% 0 0); animation: strike 700ms cubic-bezier(.6,.05,.3,1) 600ms forwards; }


/* a day in wedding season */
.day {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start;
  max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.day-head { position: sticky; top: 112px; }
.day h2, .pick h2, .index h2, .faq h2 { font-size: clamp(2rem, 2.6vw + 0.8rem, 3.3rem); line-height: 1.08; }
.day-head p { margin-top: 18px; max-width: 34ch; color: var(--ink-2); }
.loose-print { margin: 40px 0 0; width: min(70%, 280px); padding: 10px 10px 34px; background: var(--paper-hi); box-shadow: var(--shadow-print); rotate: -3deg; }
.loose-print .ill { aspect-ratio: 1; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline time { font: italic 500 clamp(2rem, 2.4vw + 0.6rem, 2.8rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.was { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(211 38 46 / 0.55); text-decoration-thickness: 1.5px; }
.now { margin-top: 10px; font-size: 1.08rem; color: var(--ink); }

/* photo selection */
.pick {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 100px) var(--gutter) clamp(72px, 10vw, 140px);
}
.pick-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.stray { position: absolute; width: 40%; padding: 8px 8px 30px; background: var(--paper-hi); box-shadow: var(--shadow-print); }
.stray .ill { aspect-ratio: 1; }
.stray-1 { left: 0; top: 6%; rotate: -7deg; }
.stray-2 { right: 0; bottom: 4%; rotate: 5deg; }
.phone {
  position: relative; width: min(100%, 340px); padding: 18px 14px 16px; border-radius: 34px;
  background: var(--paper-hi); box-shadow: 0 0 0 9px var(--ink), var(--shadow-print);
}
.phone-head { display: flex; justify-content: space-between; align-items: end; padding: 4px 4px 12px; font: 500 0.9rem/1.25 var(--sans); }
.phone-head small { color: var(--muted); font-weight: 400; }
.count { font: 300 1rem/1 var(--serif); color: var(--ink-2); }
.count b { font-weight: 600; font-size: 1.9rem; color: var(--grease); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.grid li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.grid li:not(.on) svg { opacity: 0.45; }
.grid .ill svg { width: 62%; height: 62%; }
.grid li.on::after { /* heart */
  content: ""; position: absolute; right: 7px; top: 7px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D3262E' d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.note { position: absolute; left: 5px; right: 5px; bottom: 5px; padding: 4px 6px; border-radius: 4px; background: rgb(248 249 246 / 0.92); font: 400 0.7rem/1.25 var(--sans); }
.send { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 12px; border-radius: 999px; background: var(--ink); color: var(--paper-hi); font: 500 0.85rem/1 var(--sans); }
.pick-text p { margin-top: 18px; max-width: 42ch; color: var(--ink-2); }
.hand-pick { display: inline-block; margin-top: 26px; rotate: -2deg; font-size: 1.35rem; }

/* index of what is inside */
.index { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter); }
.index dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin: 44px 0 0; }
.index dl > div {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  min-height: clamp(240px, 22vw, 300px); padding: clamp(22px, 2.4vw, 32px); border-radius: 22px;
}
/* the big line icon, printed behind the words and bleeding off the tile */
.index .ic { position: absolute; z-index: -1; width: 64%; aspect-ratio: 1; right: -10%; bottom: -16%; rotate: -10deg; pointer-events: none; }
.index .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; }
.index dl > div:nth-child(2) .ic { right: auto; left: 34%; bottom: -24%; rotate: 8deg; width: 70%; }
.index dl > div:nth-child(3) .ic { bottom: -6%; right: -14%; rotate: 4deg; }
.index dl > div:nth-child(4) .ic { right: -4%; bottom: -26%; rotate: -4deg; width: 72%; }
.index dl > div:nth-child(5) .ic { right: -12%; bottom: -10%; rotate: 12deg; }
.index dl > div:nth-child(6) .ic { right: -6%; bottom: -20%; rotate: -6deg; width: 68%; }
.index .ill-blush { background: var(--blush); } .index .ill-blush .ic { color: #E2B3A7; }
.index .ill-sky { background: var(--sky); } .index .ill-sky .ic { color: #AFC0D3; }
.index .ill-sand { background: var(--sand); } .index .ill-sand .ic { color: #D5C29F; }
.index .ill-sage { background: var(--sage); } .index .ill-sage .ic { color: #B3C6A8; }
.index dt { font: 600 clamp(1.6rem, 1.4vw + 0.8rem, 2.1rem)/1.1 var(--serif); }
.index dd { margin: 0; max-width: 24ch; color: var(--ink); }

/* pricing: a hanging price tag beside what every plan includes */
.pricing {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gutter);
}
.price-tag { position: relative; display: grid; justify-items: center; padding-top: 70px; }
.price-string { position: absolute; top: 0; left: 50%; width: 1.5px; height: 96px; background: var(--line); rotate: 10deg; transform-origin: top; }
.price-card {
  position: relative; display: grid; gap: 10px; justify-items: center; width: min(100%, 340px); padding: 64px 30px 38px;
  border-radius: 18px 18px 22px 22px; background: var(--sand); box-shadow: var(--shadow-print); rotate: -6deg; text-align: center;
}
.price-card::before { content: ""; position: absolute; top: 22px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); }
.price-label { color: var(--ink-2); font-size: 0.95rem; }
.price-big { font: 600 clamp(2rem, 2.4vw + 0.8rem, 2.9rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.price-card .hand { font-size: 1.4rem; rotate: -2deg; }
.pricing h2 { font-size: clamp(2rem, 2.6vw + 0.8rem, 3.3rem); line-height: 1.08; }
.pricing-text > p { margin-top: 18px; max-width: 46ch; color: var(--ink-2); }
.included { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; max-width: 52ch; }
.included li { position: relative; padding-left: 34px; }
.included li::before { /* hand-drawn tick */
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13c2 1.5 3.5 3.2 5 5.5C12 12 15.5 7.5 20.5 4' fill='none' stroke='%23D3262E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pricing .actions { margin-top: 34px; }

/* questions */
.faq {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px);
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 1.3rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--grease); font-family: var(--sans); transition: rotate 200ms ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--grease); }
.faq details p { padding: 0 0 22px; max-width: 58ch; color: var(--ink-2); }

/* close */
.close { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 150px) var(--gutter); border-top: 1px solid var(--rule); }
.close h2 { font-size: clamp(2.4rem, 4.4vw + 0.4rem, 4.6rem); line-height: 1.05; max-width: 16ch; }
.close p { margin: 22px 0 34px; color: var(--ink-2); font-size: 1.12rem; }

.foot { display: grid; gap: 8px; max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.82rem; }
.foot a { text-decoration-color: var(--rule); }
.foot-contact { display: grid; gap: 8px; margin: 0 0 10px; padding-right: 80px; /* room for the Zalo button */ }
.foot-contact div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; }
.foot-contact dt { color: var(--muted); font-size: 0.88rem; }
.foot-contact dd { margin: 0; color: var(--ink); font-size: 1rem; }
.foot-contact a { text-decoration-color: var(--grease); text-underline-offset: 5px; }
.foot-contact a:hover { color: var(--grease); }

/* floating Zalo button */
.zalo-fab {
  position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 40;
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.zalo-dot { /* the shadow sits on a round box, not on the svg (iOS Safari draws an svg's shadow square) */
  flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #0068FF;
  box-shadow: 0 8px 22px -6px rgb(0 104 255 / 0.55), 0 2px 6px rgb(31 35 38 / 0.2); transition: transform 180ms ease;
}
.zalo-dot svg { display: block; width: 40px; height: 40px; }
.zalo-fab:hover .zalo-dot { transform: scale(1.06); }
.zalo-fab:focus-visible { outline: none; }
.zalo-fab:focus-visible .zalo-dot { outline: 3px solid var(--grease); outline-offset: 3px; }
.zalo-label {
  order: -1; padding: 8px 14px; border-radius: 999px; background: var(--paper-hi); color: var(--ink);
  font-size: 0.88rem; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow-print);
  opacity: 0; translate: 8px 0; pointer-events: none; transition: opacity 180ms ease, translate 180ms ease;
}
.zalo-fab:hover .zalo-label, .zalo-fab:focus-visible .zalo-label { opacity: 1; translate: 0 0; }
@media (hover: none) { .zalo-label { display: none; } }

@media (max-width: 60rem) {
  .nav { gap: 12px; }
  .nav .nav-cta { margin-left: auto; }
  .nav-toggle { display: block; }
  .nav nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    padding: 4px var(--gutter) 20px; background: var(--paper-hi); border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px -18px rgb(31 35 38 / 0.25); font-size: 1.05rem;
  }
  .nav.open nav { display: flex; animation: nav-drop 180ms ease-out; }
  .nav nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
  .nav .nav-login { display: none; }
  .hero, .day, .pick, .faq, .pricing { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .day-head { position: static; }
  .loose-print { display: none; }
  .pick-stage { min-height: 560px; order: 2; }
  .index dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes nav-drop { from { opacity: 0; translate: 0 -6px; } }
@media (max-width: 40rem) {
  body { font-size: 16px; }
  .nav .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav .nav-login { display: inline-flex; justify-content: center; margin-top: 18px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .index dl { grid-template-columns: minmax(0, 1fr); }
  .stray { width: 52%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring path, .insta.keep.is-top .ring path { animation: none; stroke-dashoffset: 0; }
  .insta, .insta.is-flying { transition: none; }
  .mark-draw::after { animation: none; clip-path: none; }
  .nav.open nav { animation: none; }
  .nav-toggle span { transition: none; }
}
