/*
 * The WhichDayz website: the marketing pages (templates/layout/landing.php)
 * and the document and shared-link pages (templates/layout/public.php).
 *
 * It wears what the app wears: the green of the app's bars as a ground under
 * black words, white cards on light grey, black pills, the dot-matrix
 * wordmark, Avenir. Green is a ground or a fill, never the colour of words
 * on white; green words on white are --green-ink.
 */

/* Avenir where the device has it (every iPhone, iPad and Mac), Mulish elsewhere. */
@font-face { font-family: "WD Avenir"; font-weight: 400; src: local("Avenir-Roman"), local("Avenir Roman"); }
@font-face { font-family: "WD Avenir"; font-weight: 500; src: local("Avenir-Medium"), local("Avenir Medium"); }
@font-face { font-family: "WD Avenir"; font-weight: 800; src: local("Avenir-Heavy"), local("Avenir Heavy"); }
@font-face { font-family: "WD Avenir"; font-weight: 900; src: local("Avenir-Black"), local("Avenir Black"); }
@font-face {
    font-family: "WD Mulish";
    font-weight: 200 1000;
    font-display: swap;
    src: url("../font/mulish-latin.woff2") format("woff2");
}
/* The wordmark's face: Doto Black, cut down to the letters of "WhichDayz". */
@font-face {
    font-family: "WD Doto";
    font-weight: 900;
    font-display: block;
    src: url("../font/doto-black-wordmark.woff2") format("woff2");
}

:root {
    --green: #1AEC86;
    --green-ink: #086A3D;
    --green-wash: #DDF7EA;
    --black: #000;
    --charcoal: #1C1C1C;
    --grey-dark: #4D4D4D;
    --grey-mid: #8A8A8A;
    --grey-light: #B8B8B8;
    --line: #E4E4E4;
    --ground: #F5F5F5;
    --white: #FFF;

    --font: "WD Avenir", "WD Mulish", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1160px;
    --gutter: clamp(16px, 4vw, 40px);
    --bar: 64px;
    --band: clamp(56px, 9vw, 112px);
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bar) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.5;
    color: var(--black);
    background: var(--white);
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.tone-black :focus-visible, .tone-image :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--black); color: var(--white); font-weight: 800; text-decoration: none; }
.skip:focus { left: 16px; }

/* ---------- The wordmark and the pills ---------- */

.wordmark {
    font-family: "WD Doto", ui-monospace, Menlo, Consolas, monospace;
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
    letter-spacing: .06em;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.pill:active { transform: scale(.97); }
.pill-black { background: var(--black); color: var(--white); }
.pill-black:hover { background: #262626; }
.pill-green { background: var(--green); color: var(--black); }
.pill-green:hover { background: #3FF09B; }
.tone-green .pill-green { background: var(--black); color: var(--white); }

/* ---------- The bar at the top ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); color: var(--black); }
.site-header .bar { display: flex; align-items: center; gap: 12px; min-height: var(--bar); }
.site-header .wordmark { margin-right: auto; padding-block: 8px; }

/* Links that do not fit scroll inside the bar, never the page; the room around them is for a link's focus ring. */
.site-nav { min-width: 0; margin: -7px; padding: 7px; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a, .header-back {
    display: block;
    padding: 11px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav a:hover, .header-back:hover { background: rgba(0, 0, 0, .09); }
.header-back { display: inline-flex; align-items: center; gap: 8px; }
.header-back svg { width: 18px; height: 18px; fill: currentColor; }

.site-header details { position: static; }
.site-header .sheet {
    position: absolute;
    top: calc(100% + 8px);
    right: max(var(--gutter), (100% - var(--wrap)) / 2);
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 16px 48px rgba(0, 0, 0, .2);
}
.sheet-title { font-size: 14px; font-weight: 800; color: var(--grey-dark); }
.sheet .stores { flex-direction: column; align-items: stretch; }
.sheet .stores img { height: 48px; }

.menu { display: none; }
.menu > summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.menu > summary:hover { background: rgba(0, 0, 0, .09); }
.menu > summary svg { width: 24px; height: 24px; fill: currentColor; }
.menu .sheet { left: var(--gutter); right: var(--gutter); gap: 0; padding: 6px 18px; }
.menu .sheet ul { margin: 0; padding: 0; list-style: none; }
.menu .sheet li + li { border-top: 1px solid var(--line); }
.menu .sheet a { display: block; padding: 16px 2px; font-weight: 800; font-size: 17px; text-decoration: none; }

@media (max-width: 860px) {
    :root { --bar: 56px; }
    .wordmark { font-size: 24px; }
    .site-nav { display: none; }
    .menu.has-links { display: block; }
    .pill { min-height: 40px; padding-inline: 16px; }
}
/* A menu of six links or more folds into the menu button sooner, where a wide bar would not hold it. */
@media (max-width: 1180px) {
    .site-header:has(.site-nav li:nth-child(6)) .site-nav { display: none; }
    .site-header:has(.site-nav li:nth-child(6)) .menu.has-links { display: block; }
}
/* The narrowest phones: the bar's three pieces draw in so they still sit on one line. */
@media (max-width: 380px) {
    .site-header .bar { gap: 6px; }
    .site-header .wordmark { font-size: 20px; letter-spacing: .04em; }
    .site-header .pill { padding-inline: 13px; font-size: 14px; }
    .menu > summary { width: 40px; height: 40px; }
}

/* ---------- Bands: the sections of a page ---------- */

.band { padding-block: var(--band); }
.tone-green { background: var(--green); color: var(--black); }
.tone-white { background: var(--white); }
.tone-grey { background: var(--ground); }
.tone-black { background: var(--black); color: var(--white); }
/* Two sections on the same ground read as one: the second gives up its top margin. */
.tone-green + .tone-green, .tone-white + .tone-white, .tone-grey + .tone-grey, .tone-black + .tone-black { padding-top: 0; }

.eyebrow {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--grey-dark);
}
.tone-green .eyebrow { color: var(--black); }
.tone-black .eyebrow { color: var(--green); }

h2 {
    font-weight: 900;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    letter-spacing: -.02em;
    text-wrap: balance;
}
h3 { font-weight: 800; font-size: 18px; line-height: 1.25; }

.lead { max-width: 58ch; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--grey-dark); text-wrap: pretty; }
.tone-green .lead { color: var(--black); }
.tone-black .lead { color: var(--grey-light); }

.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4.5vw, 56px); }

/* ---------- The store badges ---------- */

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stores a { display: block; border-radius: 9px; transition: transform .15s ease; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 54px; width: auto; }

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: clamp(40px, 6.5vw, 88px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero .wrap { position: relative; display: grid; gap: clamp(18px, 2.4vw, 28px); }
.hero h1 {
    font-weight: 900;
    font-size: clamp(42px, 8.4vw, 108px);
    line-height: 1;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.hero h1 mark { display: inline-block; margin-top: .08em; padding: .04em .2em .1em; border-radius: .16em; background: var(--black); color: var(--green); }
.hero.tone-white h1 mark, .hero.tone-black h1 mark, .hero.tone-image h1 mark { background: var(--green); color: var(--black); }
.hero .lead { max-width: 54ch; font-size: clamp(18px, 2vw, 22px); }
.hero .stores { margin-top: 6px; }
.hero-center { text-align: center; }
.hero-center .wrap { justify-items: center; }
.hero-center .stores { justify-content: center; }

.tone-image { display: grid; align-items: end; min-height: min(78vh, 760px); background: var(--black); color: var(--white); overflow: hidden; }
.tone-image .lead { color: var(--white); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tone-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .72)); }
.tone-image .wrap { z-index: 1; }

/* ---------- The sample week ---------- */

.week { overflow: hidden; }

.week-ribbon {
    /* A tile and the gap between two. The real week is seven tiles and six gaps wide; --week adds half a gap on either side. */
    --tile: clamp(84px, 9.4vw, 104px);
    --gap: clamp(10px, 1.5vw, 18px);
    --week: calc(7 * var(--tile) + 7 * var(--gap));
    display: flex;
    justify-content: center;
    gap: var(--gap);
    padding: 10px 0 30px;
    /* The faded weeks on either side dissolve toward the edges; the real week stays whole. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(50% - var(--week) / 2), #000 calc(50% + var(--week) / 2), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 calc(50% - var(--week) / 2), #000 calc(50% + var(--week) / 2), transparent 100%);
}

.tile {
    flex: none;
    display: grid;
    grid-template-rows: auto 1fr;
    justify-items: center;
    width: var(--tile);
    aspect-ratio: 104 / 132;
    padding: 18px 6px 16px;
    border: 0;
    border-radius: 22px;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile-day { font-size: 14px; font-weight: 900; line-height: 1; letter-spacing: .09em; text-transform: uppercase; }
.tile.is-today .tile-day { color: var(--green-ink); }
.tile[aria-selected="true"] { background: var(--black); color: var(--green); transform: translateY(-8px); box-shadow: 0 14px 28px rgba(0, 0, 0, .28); }
.tile[aria-selected="true"] .tile-day { color: var(--green); }
.tile-dots { display: flex; align-self: center; padding-left: calc(var(--tile) * .085); }
.tile-dots .av { width: calc(var(--tile) * .3); height: calc(var(--tile) * .3); margin-left: calc(var(--tile) * -.085); box-shadow: 0 0 0 3px var(--white); }
.tile[aria-selected="true"] .tile-dots .av { box-shadow: 0 0 0 3px var(--black); }
.tile-none { align-self: center; width: 18px; height: 3px; border-radius: 2px; background: var(--grey-light); }
.tile.ghost { opacity: .42; pointer-events: none; }

.week-card {
    max-width: 640px;
    margin-inline: auto;
    padding: 6px 22px 10px;
    border-radius: 22px;
    background: var(--white);
    color: var(--black);
    box-shadow: var(--card-shadow);
}
.week-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0 4px; }
.week-label { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--grey-dark); }
.week-note { font-size: 13px; font-weight: 500; color: var(--grey-dark); }
.week-day-name { display: flex; align-items: baseline; gap: 10px; padding: 8px 0 2px; font-weight: 900; font-size: 22px; letter-spacing: -.01em; }
.week-day-name small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--grey-dark); }
.shifts { margin: 0; padding: 0; list-style: none; }
.shift { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.shift:first-child { border-top: 0; }
.shift-who strong { display: block; font-weight: 800; font-size: 17px; line-height: 1.25; }
.shift-who span { display: block; font-size: 14px; line-height: 1.35; color: var(--grey-dark); }
.shift-when { display: grid; justify-items: end; gap: 7px; text-align: right; }
.shift-time { font-size: 15px; line-height: 1.2; white-space: nowrap; }
.coming {
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid var(--grey-mid);
    border-radius: 999px;
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.coming:hover { border-color: var(--black); }
.coming.is-coming { border-color: var(--green); background: var(--green); font-weight: 800; }
.week-empty { padding: 18px 0 20px; color: var(--grey-dark); }

/* Without script nothing can choose a day: every day's list shows, and the tiles are a picture of the week. */
@media (scripting: none) {
    .week .week-day[hidden] { display: block !important; }
    .week .week-day + .week-day { border-top: 1px solid var(--line); }
    .week .tile { pointer-events: none; }
    .week .tile[aria-selected="true"] { background: var(--white); color: var(--black); transform: none; box-shadow: none; }
    .week .tile[aria-selected="true"] .tile-day { color: var(--black); }
    .week .tile[aria-selected="true"] .tile-dots .av { box-shadow: 0 0 0 3px var(--white); }
    .week .coming { display: none; }
}

/* A person without a photo: a colour of their own and the app's person glyph. */
.av { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--grey-mid); color: var(--white); }
.av svg { width: 56%; height: 56%; fill: currentColor; }
.av-0 { background: #5B8DEF; }
.av-1 { background: #EF7A5B; }
.av-2 { background: #9B6BEF; }
.av-3 { background: #2FB58A; }
.av-4 { background: #EFB05B; }
.av-5 { background: #E05B9B; }
.av-6 { background: #3AA6D8; }
.av-7 { background: #8C7A4E; }

@media (max-width: 760px) {
    .week-ribbon { gap: 6px; padding: 6px var(--gutter) 22px; -webkit-mask-image: none; mask-image: none; }
    .tile.ghost { display: none; }
    .tile { flex: 1 1 0; width: auto; min-width: 0; height: 80px; aspect-ratio: auto; padding: 11px 2px 9px; border-radius: 14px; }
    .tile-day { font-size: 11px; letter-spacing: .05em; }
    .tile[aria-selected="true"] { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0, 0, 0, .26); }
    .tile-dots { padding-left: 6px; }
    .tile-dots .av { width: 17px; height: 17px; margin-left: -6px; box-shadow: 0 0 0 2px var(--white); }
    .tile[aria-selected="true"] .tile-dots .av { box-shadow: 0 0 0 2px var(--black); }
    .tile-dots .av svg { display: none; }
    .tile-none { width: 12px; }
    .week-card { padding-inline: 16px; border-radius: 18px; }
    .shift { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
    .shift .av { width: 44px; height: 44px; }
    .shift-who strong { font-size: 16px; }
    .shift-time { font-size: 14px; }
}
/* The narrowest phones: seven tiles still fit, with their words and faces inside them. */
@media (max-width: 380px) {
    .week-ribbon { gap: 4px; }
    .tile { padding-inline: 0; }
    .tile-day { font-size: 9.5px; letter-spacing: 0; }
    .tile-dots { padding-left: 5px; }
    .tile-dots .av { width: 14px; height: 14px; margin-left: -5px; }
}

/* ---------- App screens ---------- */

.phone { padding: 2.8%; border-radius: 15.5% / 7.13%; background: var(--black); box-shadow: 0 22px 44px rgba(0, 0, 0, .2); }
.phone img { width: 100%; border-radius: 13.45% / 6.19%; background: var(--ground); }

.rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(20px, 3.4vw, 48px);
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.screen figure { display: grid; gap: 22px; }
.screen figcaption strong { display: block; font-weight: 800; font-size: 18px; line-height: 1.25; }
.screen figcaption span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--grey-dark); }
.tone-black .screen figcaption span { color: var(--grey-light); }
.tone-green .screen figcaption span { color: var(--black); }

@media (max-width: 760px) {
    .rail {
        display: flex;
        gap: 18px;
        width: auto;
        padding: 4px var(--gutter) 28px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }
    .rail::-webkit-scrollbar { display: none; }
    .screen { flex: 0 0 min(70vw, 280px); scroll-snap-align: start; }
    .screens { padding-bottom: calc(var(--band) - 28px); }
}

/* ---------- Words beside a picture ---------- */

.split-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 7vw, 112px); }
.split-reverse .split-media { order: -1; }
.split-reverse .split-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split-alone .split-grid { grid-template-columns: minmax(0, 760px); }
.split-text { display: grid; gap: 16px; }
.split-media .phone { width: min(100%, 330px); margin-inline: auto; }
.split-media img.plain { width: 100%; border-radius: 22px; }

.prose { display: grid; gap: 14px; max-width: 60ch; font-size: 18px; line-height: 1.55; color: var(--grey-dark); }
.prose strong, .prose b { font-weight: 800; color: var(--black); }
.prose a { font-weight: 800; color: var(--green-ink); text-underline-offset: 3px; }
.prose ol { margin: 0; padding-left: 1.3em; }
.prose ul { display: grid; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 36px; }
.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .16em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tone-black .prose { color: var(--grey-light); }
.tone-black .prose strong, .tone-black .prose b { color: var(--white); }
.tone-black .prose a { color: var(--green); }
.tone-green .prose { color: var(--black); }
.tone-green .prose a { color: var(--black); }
.tone-green .prose ul li::before { background-color: var(--white); }

.stats { display: flex; flex-wrap: wrap; gap: 16px 44px; margin-top: 12px; }
.stats dt { font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.stats dd { margin-top: 6px; font-size: 14px; color: var(--grey-dark); }
.tone-black .stats dd { color: var(--grey-light); }
.tone-green .stats dd { color: var(--black); }

@media (max-width: 860px) {
    .split-grid, .split-reverse .split-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .split-reverse .split-media { order: 0; }
    .split-media .phone { width: min(78%, 300px); }
}

/* ---------- Cards: what the app gives, point by point ---------- */

.cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 18px; background: var(--white); color: var(--black); }
.tone-white .card { background: var(--ground); }
.tone-black .card { background: var(--charcoal); color: var(--white); }
.cols-3 .card, .cols-4 .card { flex-direction: column; }
.card-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--green-wash); color: var(--green-ink); }
.card-icon svg { width: 26px; height: 26px; fill: currentColor; }
/* An outline icon: one the site wrapped itself, or a drawing that names no fill of its own. */
.card-icon svg.stroke, .card-icon svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-text { display: grid; gap: 6px; min-width: 0; }
.card p { font-size: 16px; line-height: 1.5; color: var(--grey-dark); }
.tone-black .card p { color: var(--grey-light); }

@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
    .cols-3 .card, .cols-4 .card { flex-direction: row; }
    .card { padding: 18px; }
}

/* ---------- The closing call ---------- */

.cta .wrap { display: grid; justify-items: center; gap: 18px; text-align: center; }
.cta h2 { font-size: clamp(36px, 6.6vw, 80px); letter-spacing: -.03em; }
.cta .stores { justify-content: center; margin-top: 10px; }
.cta .pill { margin-top: 6px; }

/* ---------- Questions, quotes, photos, film ---------- */

.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { border-radius: 16px; background: var(--white); color: var(--black); }
.tone-white .faq-item { background: var(--ground); }
.tone-black .faq-item { background: var(--charcoal); color: var(--white); }
.faq-item summary { position: relative; padding: 19px 56px 19px 22px; font-weight: 800; font-size: 17px; line-height: 1.35; }
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; max-width: none; font-size: 17px; }

.quote-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quote { display: grid; align-content: space-between; gap: 22px; padding: 26px; border-radius: 18px; background: var(--ground); color: var(--black); }
.tone-grey .quote, .tone-green .quote { background: var(--white); }
.tone-black .quote { background: var(--charcoal); color: var(--white); }
.quote > p { font-size: 20px; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote footer strong { display: block; font-weight: 800; }
.quote footer span { display: block; font-size: 14px; color: var(--grey-dark); }
.tone-black .quote footer span { color: var(--grey-light); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-item a { display: block; overflow: hidden; border-radius: 18px; background: var(--ground); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-item figcaption { margin-top: 8px; font-size: 14px; color: var(--grey-dark); }
.tone-black .gallery-item figcaption { color: var(--grey-light); }
.tone-green .gallery-item figcaption { color: var(--black); }

.video-frame { overflow: hidden; max-width: 960px; border-radius: 22px; background: var(--black); }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
.video-16x9 { aspect-ratio: 16 / 9; }
.video-4x3 { aspect-ratio: 4 / 3; }
.video-1x1 { aspect-ratio: 1 / 1; }
.video-21x9 { aspect-ratio: 21 / 9; }
.video-note { color: var(--grey-dark); }

@media (max-width: 700px) {
    .quote-list { grid-template-columns: minmax(0, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Free text, a divider, a gap ---------- */

.rich-text-body { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); font-size: 18px; line-height: 1.6; color: var(--grey-dark); }
.rich-text-body > * + * { margin-top: 16px; }
.rich-text-body h1, .rich-text-body h2, .rich-text-body h3 { color: var(--black); text-wrap: balance; }
.rich-text-body h1 { font-weight: 900; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.rich-text-body h2 { margin-top: 40px; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
.rich-text-body h3 { margin-top: 28px; font-size: 19px; }
.rich-text-body ul, .rich-text-body ol { padding-left: 1.3em; }
.rich-text-body li + li { margin-top: 8px; }
.rich-text-body li::marker { color: var(--green-ink); }
.rich-text-body strong { font-weight: 800; color: var(--black); }
.rich-text-body a { font-weight: 800; color: var(--green-ink); text-underline-offset: 3px; }

.divider { display: flex; align-items: center; gap: 16px; width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 36px auto; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider-container { max-width: 760px; }
.divider-narrow { max-width: 420px; }
.divider-dots::before, .divider-dots::after { height: 4px; background: radial-gradient(circle, var(--grey-light) 1.5px, transparent 2px) center / 12px 4px repeat-x; }
.divider-brand::before, .divider-brand::after { height: 4px; border-radius: 2px; background: var(--green); }
.divider-label { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--grey-dark); white-space: nowrap; }

/* ---------- Document pages and the pages a shared link opens ---------- */

.doc { padding: clamp(20px, 5vw, 56px) var(--gutter) clamp(40px, 7vw, 88px); background: var(--ground); }
.doc-card { max-width: 800px; margin-inline: auto; padding: clamp(24px, 6vw, 56px); border-radius: 22px; background: var(--white); font-size: 17px; line-height: 1.65; color: var(--grey-dark); }
.doc-card .rich-text-body { width: auto; padding: 0; font-size: inherit; line-height: inherit; }
.doc-card h1 { font-weight: 900; font-size: clamp(30px, 5vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: var(--black); text-wrap: balance; }
.doc-card h2 { margin-top: 36px; font-size: 21px; line-height: 1.25; letter-spacing: 0; color: var(--black); }
.doc-card p + p, .doc-card h2 + *, .doc-card ul + p, .doc-card ol + p, .doc-card p + ul, .doc-card p + ol { margin-top: 14px; }
.doc-card h1 + * { margin-top: 12px; }
.doc-card ul, .doc-card ol { padding-left: 1.25em; }
.doc-card li + li { margin-top: 8px; }
.doc-card li::marker { color: var(--green-ink); font-weight: 800; }
.doc-card strong { font-weight: 800; color: var(--black); }
.doc-card a { font-weight: 800; color: var(--green-ink); text-underline-offset: 3px; }
.doc-card .last-updated { padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.doc-card .contact-info { margin-top: 22px; padding: 20px 22px; border-radius: 16px; background: var(--ground); }
.doc-card .contact-info p + p { margin-top: 4px; }

/* Inside the app, under the app's own bar: the document alone, edge to edge. */
.embedded .doc { padding: 0; background: var(--white); }
.embedded .doc-card { padding: 12px 20px 40px; border-radius: 0; }

.share-page { max-width: 480px; margin-inline: auto; text-align: center; }
.share-page .avatar { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; background: var(--green-wash); }
.share-page .avatar.placeholder { display: grid; place-items: center; font-weight: 900; font-size: 44px; line-height: 1; color: var(--green-ink); }
.share-page .verified { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 4px; border-radius: 50%; background: var(--green); color: var(--black); font-size: 15px; font-weight: 800; letter-spacing: 0; vertical-align: middle; }
.share-page .venues, .share-page .address { margin-top: 8px; font-size: 18px; line-height: 1.4; }
.share-page .bio { margin-top: 14px; color: var(--black); white-space: pre-wrap; }
.share-card { margin-top: 24px; padding: 20px 22px; border-radius: 18px; background: var(--ground); }
.share-card + .share-card { margin-top: 12px; }
.share-card .label { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.share-card .when, .share-card .big { margin-top: 4px; font-weight: 800; font-size: 21px; line-height: 1.3; color: var(--black); }
.share-card .where, .share-card .sub { margin-top: 4px; font-size: 16px; line-height: 1.45; }
.share-card .promotion { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.share-card .promotion-title { font-weight: 800; color: var(--black); }
.share-card .promotion-dates { font-size: 14px; }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.share-actions .pill { min-height: 48px; padding-inline: 26px; font-size: 16px; }
.share-page a.pill-black { color: var(--white); }
.pill-line { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.share-page a.pill-line { color: var(--black); }
.pill-line:hover { background: var(--ground); }
.share-page .stores { justify-content: center; margin-top: 18px; }
.share-page .stores img { height: 48px; }
.share-page .hint { margin-top: 18px; font-size: 14px; }

/* ---------- A password to reset, an email to confirm ---------- */

.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: clamp(28px, 6vw, 96px); }
.account-alone .account-grid { grid-template-columns: minmax(0, 480px); justify-content: center; }
.account-copy { display: grid; gap: 16px; }
.account h1 { font-weight: 900; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.account-note { display: flex; align-items: flex-start; gap: 10px; max-width: 46ch; font-size: 15px; color: var(--grey-dark); }
.account-note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: currentColor; }
.account-card { display: grid; gap: 12px; padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: var(--white); box-shadow: var(--card-shadow); }
.account-card.is-status { justify-items: center; text-align: center; }
.account-card h1 { font-size: clamp(28px, 4vw, 36px); }
.account-card h2 { font-size: 26px; letter-spacing: -.01em; }
.account-card p { color: var(--grey-dark); }
.account-card strong { font-weight: 800; color: var(--black); }
.account-card form { display: grid; gap: 8px; margin-top: 4px; }
.account-card label { margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--grey-dark); }
.account-card input[type="password"] { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #C3C3C3; border-radius: 10px; background: var(--white); color: var(--black); font: inherit; font-size: 16px; }
.account-card input[type="password"]:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.account-card .pill { width: 100%; min-height: 52px; margin-top: 14px; font-size: 16px; }
.account-card .hint { font-size: 14px; text-align: center; }
.account-card .hint a { font-weight: 800; color: var(--green-ink); }
.form-error { padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #B71C1C; font-size: 15px; font-weight: 500; }
.account-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-wash); color: var(--green-ink); }
.account-icon svg { width: 32px; height: 32px; fill: currentColor; }

@media (max-width: 860px) {
    .account-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- The foot of every page ---------- */

.site-footer { padding-block: 44px 36px; border-top: 1px solid #262626; background: var(--black); color: var(--white); }
.site-footer .wrap { display: grid; gap: 28px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.site-footer .wordmark { font-size: 30px; color: var(--green); }
.foot-line { margin-top: 10px; color: var(--grey-light); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.foot-links a { display: block; padding-block: 11px; font-size: 15px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.foot-links a:hover { color: var(--green); }
.foot-legal { padding-top: 22px; border-top: 1px solid #262626; font-size: 13px; color: var(--grey-mid); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
