/*
 * getbukket.com, every page (owner, 15 Nov): a warm white page, near-black type and tangerine only
 * as an accent. Light only: `only light` also stops browsers darkening the pages themselves.
 * DM Sans is served from this site; headings use the app's display cut (src/theme/typography.ts).
 * The home page adds home.css.
 */

@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('/fonts/DMSans-400Regular.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('/fonts/DMSans-500Medium.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url('/fonts/DMSans-600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('/fonts/DMSans-700Bold.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans Display'; font-weight: 700; font-display: swap; src: url('/fonts/DMSans36pt-Bold.ttf') format('truetype'); }

:root {
  color-scheme: only light;
  --page: #FBFAF8;
  --surface: #FFFFFF;
  --ink: #24252C;
  --muted: #6F6D68;
  --soft: #96928B;
  --line: #E5E1D9;
  --sand: #EFEBE3;
  --sage: #DEE4D7;
  --sky: #DAE3E9;
  --butter: #F3E8CB;
  --screen: #F5F3EF;
  --accent: #FF5D18;
  --accent-soft: #FFAE8C;
  --accent-press: #EB4F0C;
  --accent-text: #B83E0A;
  --pale: #FFE7DC;
  --danger: #B42F12;
  --wrap: 1240px;
  --gut: 40px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'DM Sans Display', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
/* Links from the top bar stop with their section just below the bar. */
[id] { scroll-margin-top: 108px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gut); }

.draft { background: var(--accent); color: #fff; text-align: center; font-weight: 600; font-size: 14px; padding: 8px 16px; }
mark { background: var(--pale); color: var(--ink); padding: 0 3px; border-radius: 4px; }

/* Buttons in tangerine with white words, like the app's own (owner, 16 Nov), and Google Play's
   badge as Google draws it. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-press); }
.btn.sm { height: 42px; padding: 0 20px; font-size: 15px; }
.play { display: inline-block; line-height: 0; border-radius: 9px; }
.play img { height: 52px; width: auto; transition: transform .25s var(--ease); }
.play:hover img { transform: translateY(-2px); }

/* The top bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.stuck { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 76px; gap: 36px; }
.logo { display: block; line-height: 0; }
.logo img { height: 30px; width: auto; }
.links { display: flex; gap: 30px; margin-left: auto; font-size: 16px; font-weight: 500; color: var(--muted); }
.links a { transition: color .2s; }
.links a:hover { color: var(--ink); }
/* Where you are: the page you're on, or on the home page the section you've scrolled to (home.js). */
.links a[aria-current], .menu a[aria-current] { color: var(--accent); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--ink); transform: translateY(-3px); }
.menu { display: none; }

/* The footer */
.foot { margin-top: 88px; padding: 36px 0 56px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.foot .logo img { height: 24px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-left: auto; }
.foot a:hover { color: var(--ink); }
.foot .fine { flex-basis: 100%; font-size: 13px; color: var(--soft); }

/* Every page but the home page: one readable column. */
.page { max-width: 808px; margin: 0 auto; padding: 40px var(--gut) 24px; }
.page h1 { font: 700 56px/1.02 var(--display); letter-spacing: -.045em; margin: 0 0 16px; text-wrap: balance; }
.page h2 { font: 700 30px/1.12 var(--display); letter-spacing: -.035em; margin: 56px 0 14px; }
.page h3 { font-size: 19px; line-height: 1.25; font-weight: 700; margin: 30px 0 6px; }
.page p, .page ul, .page ol { margin: 0 0 14px; }
.page li { margin: 0 0 6px; }
.page a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.page a:hover { text-decoration-thickness: 2px; }
.page strong { font-weight: 700; }
.sub { color: var(--muted); font-size: 19px; }
.accent { color: var(--accent); }

/* Long documents */
.doc { font-size: 16.5px; }
.doc h1 + p { color: var(--muted); }
.table { overflow-x: auto; margin: 6px 0 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; font-size: 14px; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

/* Help */
.back { margin: 0 0 18px; font-weight: 600; font-size: 15px; }
.back a::before { content: '‹ '; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; padding: 18px 32px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--soft);
  border-bottom: 2px solid var(--soft);
  transform: translateY(-70%) rotate(45deg);
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--muted); margin: 0 0 18px; padding-right: 32px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form label[hidden] { display: none; }
input, select, textarea {
  font: 400 17px/1.4 var(--text);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  width: 100%;
}
select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238E8A83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
textarea { resize: vertical; min-height: 132px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.form button { font: 700 17px var(--text); background: var(--accent); color: #fff; border-radius: 999px; height: 54px; transition: background .2s; }
.form button:hover { background: var(--accent-press); }
.form button:disabled { opacity: .5; cursor: default; }
.status { font-weight: 600; min-height: 1em; margin: 0; }
.status.error { color: var(--danger); }
.note { font-size: 14px; color: var(--muted); margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The join page (where an invite's link lands without the app) and the 404. */
.lone { padding-top: 72px; }
.lone h1 { font-size: 72px; letter-spacing: -.05em; line-height: .96; }
.lone .sub { max-width: 30em; }
.soon { font-weight: 600; }
.steps { list-style: none; counter-reset: step; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; position: relative; margin: 0; padding: 20px 0 20px 52px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 17px; line-height: 1.5; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 19px; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 15px; font-weight: 700; display: grid; place-items: center; }
.steps strong { color: var(--ink); font-weight: 600; }
.steps .store { display: block; margin-top: 14px; }
/* getbukket.com/get, the short link to Google Play (web/get.js). */
.get-cta { margin: 36px 0 22px; }
.get [hidden] { display: none; }
.get-cta .soon { margin: 14px 0 0; }
.get .note + .note { margin-top: 12px; }

@media (max-width: 1020px) {
  :root { --gut: 32px; }
}
@media (max-width: 640px) {
  :root { --gut: 20px; }
  [id] { scroll-margin-top: 88px; }
  .nav .wrap { height: 64px; gap: 10px; }
  .logo img { height: 26px; }
  .links { display: none; }
  .nav .btn { margin-left: auto; }
  .menu-btn { display: flex; }
  .nav.bare .btn { margin-left: auto; }
  /* The menu hangs below the bar, over the page, so opening or closing it never moves the page
     (a link would otherwise land in the wrong place as the menu closed). */
  .menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--page);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 40px -28px rgba(36, 37, 44, .3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu a { display: block; padding: 15px var(--gut); font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .foot { margin-top: 48px; }
  .foot nav { margin-left: 0; width: 100%; }
  .page { padding-top: 24px; }
  .page h1 { font-size: 40px; }
  .page h2 { font-size: 26px; margin-top: 44px; }
  .sub { font-size: 17px; }
  .lone { padding-top: 40px; }
  .lone h1 { font-size: 48px; }
  .play img { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}
