/* Anemone, anemonewedding.app

   The whole page is the hero's table (Kevin's pick, 2026-11-03): a pale
   blue-gray board with a faint real grain, Instrument Sans, and the app's
   own screens lying level on it in Apple's bezels, at the hero's true scale
   relative to each other, with the hero's shadow. Two of Kevin's wedding
   frames come in where the day's light changes: golden hour, then the
   sparkler exit, each beside the app at that same moment. No motion, no
   tilt, no cards; the pictures do the decorating.

   Desktop sections are laid out like the hero: each piece is placed by hand
   in a 1240-wide design box (.lay), in design pixels that scale with the
   box (--x, --y, --w on the piece; --h on the box). Under 1000 px wide the
   same pieces stack in reading order. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --surface: #CDDDE9;
  --sheet: #F4F7FA;
  --ink: #16202C;
  --ink-2: #4F5C69;
  --ink-3: #66727F;
  --gold: #76530E;
  --blue: #2F5E99;
  --line: rgba(22, 32, 44, 0.12);
  --sans: "Instrument Sans", -apple-system, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --s: min(calc(100vw / 1440), calc(100svh / 900));
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--surface); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px; line-height: 1.5;
  color: var(--ink);
  background: var(--surface) url("/assets/hero/table.jpg") 0 0 / 900px 900px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.prose a, .notfound p a, .plans p a { text-decoration: underline; text-decoration-color: rgba(22, 32, 44, 0.35); text-underline-offset: 0.18em; }
.prose a:hover, .notfound p a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(51, 102, 166, 0.22); }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 10; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: 8px; }
.skip:focus { left: var(--gutter); top: var(--gutter); }

/* Nav: the hero's, over the table on every page. */
nav.top { position: absolute; z-index: 6; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(16px, calc((100vw - 1440 * var(--s)) / 2 + 72 * var(--s))); font-size: 15px; }
.mark { font-weight: 600; letter-spacing: -0.01em; font-size: 17px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.mark img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 1px 2px rgba(20, 28, 40, 0.18); }
nav.top ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; color: var(--ink-2); }
nav.top ul a { display: inline-block; padding: 10px 0; }
nav.top ul a:hover { color: var(--ink); }
/* the one control in the nav: the store, from every screen of the page */
nav.top ul { align-items: center; }
nav.top ul a.get { white-space: nowrap; padding: 8px 14px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 600; }
nav.top ul a.get:hover { background: #22303f; color: #fff; }

/* The store spot: Apple's badge after launch, a status line before it. */
.store-soon { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.store-soon svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.store-badge { display: inline-block; border-radius: 9px; }
.store-badge img { width: 150px; height: auto; }
.hero .store-badge img { width: max(132px, calc(150 * var(--s))); }

/* Type for every section. */
section { position: relative; }
main > section { overflow-x: clip; }
.text h2 { font-size: clamp(30px, 1.6vw + 18px, 42px); }
.text p { margin-top: 18px; color: var(--ink-2); font-size: 19px; line-height: 1.5; max-width: 44ch; text-wrap: pretty; }
.text p.clock { margin: 0 0 14px; font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.text p.clock.after { color: var(--blue); }

/* Kevin's note, in the room the hero's lid and anemone lie into. */
.kevin { padding: calc(190 * var(--s) + 40px) 0 0; }
.kevin .wrap { max-width: 660px; text-align: center; }
.kevin p { font-size: clamp(21px, 0.8vw + 14px, 25px); line-height: 1.45; text-wrap: pretty; }
.kevin .sign { margin-top: 20px; font-size: 16px; color: var(--ink-2); }

/* A hand-placed section. */
.sec { padding: 72px 0; }
.lay { position: relative; aspect-ratio: 1240 / var(--h); }
.lay > * { position: absolute; margin: 0; max-width: none;
  left: calc(100% * var(--x) / 1240); top: calc(100% * var(--y) / var(--h)); width: calc(100% * var(--w) / 1240); }
/* every picture's shadow is baked into its file with 48 px of room on each
   side at 1x, so a picture's design box is 48 px bigger than what you see */
.o-phone { --w: 537; }
.o-alert, .o-share, .o-golden, .o-sunpath, .o-overtime, .o-shift { --w: 492; }

.s-import .lay { --h: 1000; }
.s-import .text { --x: 40; --y: 330; --w: 500; }
.s-import .o-phone { --x: 650; --y: 0; }

.s-mac { padding-top: 24px; }
.s-mac .lay { --h: 1260; }
.s-mac .text { --x: 40; --y: 0; --w: 620; }
.s-mac .o-mac { --x: -60; --y: 160; --w: 1815; z-index: 1; }
.s-mac .o-narrow { display: none; }

.s-morning .lay { --h: 1000; }
.s-morning .o-phone { --x: 0; --y: 0; }
.s-morning .text { --x: 610; --y: 150; --w: 520; }
.s-morning .o-alert { --x: 562; --y: 560; }

.s-between .lay { --h: 600; }
.s-between .text { --x: 270; --y: 0; --w: 700; text-align: center; display: flex; flex-direction: column; align-items: center; }
/* the Live Activity and the watch centered as a pair under the centered copy */
.o-lock { --w: 492; }
.s-between .o-lock { --x: 220; --y: 250; }
.s-between .o-watch { --x: 676; --y: 150; --w: 360; }

.s-formals .lay { --h: 1000; }
.s-formals .text { --x: 40; --y: 330; --w: 520; }
.s-formals .o-phone { --x: 640; --y: 0; z-index: 1; }
.s-formals .o-bloom { --x: 130; --y: 560; --w: 420; z-index: 2; }  /* under the body copy (Kevin, 2026-11-04) */

.s-shots .lay { --h: 1000; }
.s-shots .o-phone { --x: 60; --y: 0; }
.s-shots .text { --x: 690; --y: 330; --w: 500; }

.s-share { padding-top: 0; }
.s-share .lay { --h: 380; }
.s-share .text { --x: 40; --y: 70; --w: 560; }
.s-share .o-share { --x: 690; --y: 0; }

/* Golden hour: Kevin's frame across the page, the timeline at the same
   minute lying over its lower edge and onto the table. */
.s-golden { padding: 40px 0 70px; }
.s-golden .photo { position: absolute; left: 0; right: 0; top: 40px; height: 720px; overflow: hidden; }
.s-golden .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* the light falling off to the left, so the type reads on the trees */
.s-golden .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 9, 6, 0.62) 0%, rgba(12, 9, 6, 0.38) 34%, rgba(12, 9, 6, 0) 56%); }
.s-golden .photo .credit { position: absolute; right: 24px; top: 20px; z-index: 1; font-size: 13px; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.s-golden .lay { --h: 1300; }
.s-golden .text { --x: 0; --y: 76; --w: 520; color: #fff; }
.s-golden .text p { color: rgba(255, 255, 255, 0.86); }
.s-golden .text p.clock { color: #F2C66D; }
.s-golden .o-golden { --x: -48; --y: 400; z-index: 1; }
.s-golden .o-sunpath { --x: 420; --y: 600; z-index: 1; }

/* The end of the night: the sparkler exit as a print on the table, the
   overtime header lying on its corner, the shift menu off to the side. */
.s-late .lay { --h: 1060; }
.s-late .text { --x: 0; --y: 40; --w: 430; }
.s-late .o-shift { --x: -48; --y: 380; }
.s-late .o-print { --x: 470; --y: 30; --w: 770; padding: 12px; background: #FBFBF9; border-radius: 3px;
  box-shadow: 0 1px 1px rgba(20, 28, 40, 0.16), 3px 6px 10px rgba(20, 28, 40, 0.16), 8px 16px 34px rgba(20, 28, 40, 0.12); }
.s-late .o-overtime { --x: 748; --y: 440; z-index: 1; }
.s-late .o-print figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); }

.s-trust .lay { --h: 1000; }
.s-trust .o-phone { --x: 60; --y: 0; }
.s-trust .text { --x: 690; --y: 360; --w: 500; }

/* More props from the hero's family, sparse, in the sections that were bare
   (Kevin, 2026-11-04). Widths keep the hero's real scale: a prop's hero
   width (sizes.css --cw) times 1.52, the page's phone-to-hero ratio. They
   lie on the table only, never over a screen. Phones hide them. */
.o-prop { pointer-events: none; }
.s-import .o-white   { --x: -250; --y: 560; --w: 419; }  /* the hero's white anemone, about a third off the page edge */
.s-morning .o-short  { --x: 1080; --y: 440; --w: 319; }  /* just off the page edge */
.s-trust .o-cream    { --x: 790;  --y: 610; --w: 425; }

/* Plans: one sheet on the table. The free timeline is the anchor; the
   Premium tools are shown by their own screens. */
.plans { padding: 90px 0 110px; }
.plans .sheet { background: var(--sheet); border-radius: 28px; padding: 72px 72px 56px;
  box-shadow: 0 1px 2px rgba(20, 28, 40, 0.12), 6px 18px 40px rgba(20, 28, 40, 0.12); }
.plans-head h2 { font-size: clamp(32px, 2vw + 16px, 48px); max-width: 17ch; }
.plans-head p { margin-top: 18px; color: var(--ink-2); font-size: 19px; max-width: 52ch; text-wrap: pretty; }
/* Free above Premium, each the sheet's full width (2026-11-10): side by
   side, the Premium thumbnails had a third of the room and their text was
   too small to read */
.plans .cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 56px; align-items: start; }
.plans .free ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.plans h3 { font-size: 26px; letter-spacing: -0.02em; }
.plans .tag { margin-top: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.plans ul { margin: 0; padding: 0; list-style: none; }
.plans .free li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.plans .tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; margin-top: 28px; }
.plans .tools li { font-size: 15px; line-height: 1.4; }
/* each thumb carries 48 px of shadow room around a 251 px picture */
.plans .tools img { width: calc(100% * 347 / 251); max-width: none; margin: calc(-100% * 48 / 251) calc(-100% * 48 / 251) calc(-100% * 30 / 251); }
.plans .tools b { display: block; font-weight: 600; font-size: 17px; margin-top: 2px; }
.plans .tools span { display: block; color: var(--ink-2); margin-top: 2px; }
.plans .also { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
/* The terms sit in the same two columns as Free and Premium: a label on the
   left, two plain sentences on the right. No plan cards (design manifest 12). */
.plans .terms { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 10px 72px; align-items: baseline; }
.plans .terms h3 { grid-row: span 2; font-size: 19px; letter-spacing: -0.01em; }
.plans .terms > p { grid-column: 2; font-size: 17px; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }

.plans .plans-store { margin-top: 36px; padding-left: 372px; }
.plans .plans-store .store-badge img { width: 160px; }

/* Close: the icon on the table, with two of the hero's flowers lying by. */
.close { padding: 60px 0 150px; text-align: center; overflow-x: clip; }
.close .wrap { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.close .icon { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 0 0 0.5px rgba(20, 28, 40, 0.18), 2px 6px 10px rgba(20, 28, 40, 0.16), 6px 16px 30px rgba(20, 28, 40, 0.14); margin-bottom: 30px; }
.close h2 { font-size: clamp(30px, 1.6vw + 18px, 42px); }
.close .store-soon, .close .store-badge { margin-top: 28px; }
.close .store-soon { font-size: 17px; }
.close .store-soon svg { width: 20px; height: 20px; }
.close p.sub { margin-top: 14px; color: var(--ink-2); }
/* the sprig and the anemone frame the centered icon, headline and line evenly
   (Kevin, 2026-11-04): the anemone further right, the sprig turned a little
   counterclockwise */
.close .o-plum { position: absolute; width: 400px; right: max(-160px, calc(50% - 880px)); top: -40px; }
.close .o-sprig { position: absolute; width: 360px; left: max(-80px, calc(50% - 760px)); bottom: -30px; transform: rotate(-12deg); transform-origin: 50% 100%; }

/* Footer. */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.foot-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; flex: 1; flex-wrap: wrap; }
.foot nav a { padding: 6px 0; }
.foot nav a:hover { color: var(--ink); }
.foot .made { margin-left: auto; }
.foot .made a { color: inherit; text-decoration: underline; text-decoration-color: rgba(22, 32, 44, 0.3); text-underline-offset: 0.18em; }
.foot .made a:hover { color: var(--ink); }
.foot .legal { margin-top: 28px; font-size: 13px; color: var(--ink-2); max-width: 80ch; }

/* Privacy, Support, 404: one column of prose on a sheet like the plans,
   so long reading sits on a calm surface. */
.page { padding: 120px 0 100px; }
.page .wrap { max-width: 800px; }
.page .sheet { background: var(--sheet); border-radius: 28px; padding: 64px 72px 64px;
  box-shadow: 0 1px 2px rgba(20, 28, 40, 0.12), 6px 18px 40px rgba(20, 28, 40, 0.12); }
.page h1 { font-size: clamp(34px, 2vw + 18px, 48px); }
.page .lede { margin-top: 20px; font-size: 21px; color: var(--ink-2); text-wrap: pretty; }
.page .updated { margin-top: 24px; font-size: 15px; color: var(--ink-3); }
.prose { margin-top: 40px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.mail { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; margin-top: 28px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; }
.mail:hover { background: #22303f; }
.page .aside { margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.notfound { padding: 150px 0 100px; }
.notfound .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: center; }
.notfound h1 { font-size: clamp(34px, 2vw + 18px, 48px); max-width: 14ch; }
.notfound p { font-size: 19px; color: var(--ink-2); margin-top: 14px; max-width: 40ch; }
.notfound p a { color: var(--ink); }
.notfound img { width: 492px; }

/* Between a laptop and a phone: the same lay, narrower. */
@media (max-width: 1180px) {
  .text p { font-size: 18px; }
  .plans .sheet { padding: 56px 48px 48px; }
  .plans .terms { grid-template-columns: 260px minmax(0, 1fr); gap: 10px 48px; }
  .plans .plans-store { padding-left: 308px; }
}

/* Phones and small tablets: the pieces stack in reading order. */
@media (max-width: 999px) {
  .sec { padding: 64px 0; }
  .lay { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; }
  .lay > * { position: relative; left: auto; top: auto; width: auto; }
  .lay > .text { width: 100%; align-self: stretch; margin-bottom: 8px; }
  .s-between .text { text-align: left; align-items: flex-start; }
  .o-phone { width: min(440px, 100% * 537 / 441 - 40px); margin-top: -8px; }
  .o-alert, .o-share, .o-golden, .o-sunpath, .o-overtime, .o-shift, .o-lock { width: min(560px, 100% * 492 / 396); margin-top: -24px; }
  .s-morning .o-phone, .s-shots .o-phone { order: 1; }
  .s-morning .o-alert { order: 2; }
  .s-share { padding-top: 0; }
  .s-mac { padding-top: 0; }
  .s-mac .o-mac { display: none; }
  .s-mac .o-narrow { display: block; width: min(560px, 100% * 457 / 361); margin-top: -24px; }
  .s-between .o-watch { width: min(300px, 70%); margin-top: -40px; }
  .s-between .o-lock { order: 1; }
  .s-between .o-watch { order: 2; }
  .o-prop { display: none; }
  .s-formals .o-bloom { position: absolute; width: 260px; right: -120px; top: auto; bottom: -40px; z-index: 2; }
  /* Golden hour on phones: a 4:5 frame with the clock and the headline over
     its lower edge, the light falling off toward the bottom; the body copy
     and the two panels on the table below. The wrap and the text box step
     aside (display: contents) so their pieces sit in the section's grid. */
  .s-golden { padding: 0 0 40px; display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); grid-template-rows: 1fr auto auto; }
  .s-golden .lay, .s-golden .text { display: contents; }
  .s-golden .photo { position: relative; top: 0; height: auto; grid-column: 1 / -1; grid-row: 1 / 4; }
  .s-golden .photo img { height: auto; aspect-ratio: 4 / 5; object-position: 50% 50%; }
  .s-golden .photo::after { background: linear-gradient(0deg, rgba(12, 9, 6, 0.78) 0%, rgba(12, 9, 6, 0.5) 30%, rgba(12, 9, 6, 0) 58%); }
  .s-golden .photo .credit { right: var(--gutter); top: 14px; font-size: 12px; }
  .s-golden .text > * { grid-column: 2; position: relative; z-index: 1; }
  .s-golden .text p.clock { grid-row: 2; margin: 0 0 10px; }
  .s-golden .text h2 { grid-row: 3; margin-bottom: 26px; max-width: 16ch; }
  .s-golden .text p:not(.clock) { color: var(--ink-2); margin-top: 28px; }
  .s-golden .o-golden, .s-golden .o-sunpath { grid-column: 2; justify-self: center; position: relative; }
  .s-golden .o-golden { margin-top: 0; }
  .s-late .o-print { width: 100%; padding: 8px; margin-top: 16px; order: 1; }
  .s-late .o-print figcaption { margin-top: 6px; }
  .s-late .o-overtime { order: 2; margin-top: -12px; }
  .s-late .o-shift { order: 3; }
  .s-trust .o-phone { order: 1; }
  .kevin { padding-top: calc(170 * var(--s) + 60px); }
  .plans .sheet { padding: 40px 24px 32px; border-radius: 24px; }
  .plans .cols { grid-template-columns: 1fr; }
  .plans .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .plans .free ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans .terms { grid-template-columns: 1fr; }
  .plans .terms h3 { grid-row: auto; }
  .plans .terms > p { grid-column: 1; }
  .plans .plans-store { padding-left: 0; }
  .page .sheet { padding: 40px 24px; border-radius: 24px; }
  .notfound .wrap { grid-template-columns: 1fr; }
  .notfound img { width: min(100%, 492px); }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; background-size: 600px 600px; }
  nav.top { padding: 0 16px; }
  .kevin { padding-top: 24px; padding-bottom: 8px; }
  .text p { font-size: 17px; }
  .plans-head p { font-size: 17px; }
  .plans .tools span { font-size: 14px; }
  .plans .free ul { grid-template-columns: minmax(0, 1fr); }
  .close .o-plum { width: 220px; right: -70px; top: -60px; }
  .close .o-sprig { display: none; }
  .foot nav { flex-basis: 100%; }
  .foot nav a { padding: 11px 0; }
  .s-formals .o-bloom { display: none; }
  nav.top ul { gap: 20px; }
  nav.top ul li:nth-child(2) { display: none; }  /* Privacy stays in the footer */
  .foot .made { margin-left: 0; }
  .page { padding: 96px 0 64px; }
  .page .wrap { width: 100%; }
  .page .sheet { border-radius: 0; box-shadow: none; padding: 32px 16px; background: transparent; }
}
