/* The fonts come from this site, never from another host (WEB-23). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage-grotesque-a79fdb52d4a5.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("instrument-sans-2ee17598a98d.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --orange: #f0562b;
  --blue: #2563eb;
  --ink: #17130f;
  --paper: #fbf9f5;
  --soft: #574f45;
  --warm: #ffe6db;
  --cool: #dfe9ff;
  --on-panel: #352f28;
  --on-orange: #1b0d06;
  --foot: #17130f;
  --foot-text: #f3eee6;
  --foot-soft: #c9c2b7;
  --minus: #1746b8;
  --plus: #c63d15;
  --field: #fff;
  --field-line: rgba(23, 19, 15, 0.34);
  --field-hint: #64594d;
  --drop-line: rgba(23, 19, 15, 0.4);
  --drop-bg: rgba(255, 255, 255, 0.6);
  --image-line: rgba(23, 19, 15, 0.14);
  --error: #a32a0a;
  --placeholder-bg: #ffe6db;
  --placeholder-text: #7a2a0c;
  /* Stays dark in both appearances, since it sits on the orange and holds white text. */
  --menu: #17130f;
  --seam: 14px;
  --display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", sans-serif;
  --text: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

/* The two halves keep their colors: they're nmeld's, and they hold white text in both appearances. */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f0e8;
    --paper: #14110e;
    --soft: #b8b0a4;
    --warm: #3a2016;
    --cool: #16264a;
    --on-panel: #e9e3da;
    --foot: #0b0a08;
    --minus: #8fb0ff;
    --plus: #ff8a66;
    --field: #1e1a16;
    --field-line: rgba(245, 240, 232, 0.34);
    --field-hint: #a89f93;
    --drop-line: rgba(245, 240, 232, 0.4);
    --drop-bg: rgba(255, 255, 255, 0.05);
    --image-line: rgba(245, 240, 232, 0.16);
    --error: #ff9d80;
    --placeholder-bg: #4a2415;
    --placeholder-text: #ffd2bf;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px / 1.5 var(--text);
}

a {
  color: inherit;
}

a:hover {
  opacity: 0.82;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page {
  --section-gap: 112px;
  --foot-gap: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: clip;
}

main {
  flex: 1;
}

.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding-top: var(--section-gap);
}

/* The header */

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 28px / 1 var(--display);
  color: #fff;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 40px;
  height: 40px;
}

.nav {
  display: flex;
  gap: 32px;
  color: #fff;
  font-weight: 500;
}

.nav a {
  padding: 10px 0;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* The phone's menu needs no script: it's a details element (D10). */
.menu {
  display: none;
  position: relative;
}

.menu summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--menu);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  display: grid;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  background: var(--menu);
  color: #fff;
  box-shadow: 0 18px 36px rgba(23, 19, 15, 0.32);
}

.menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
}

.menu nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* The two halves joined at a seam, with a notch and a tab between them */

.halves {
  --big-size: clamp(60px, 7.6vw, 118px);
  --big-leading: 0.94;
  --half-top: 136px;
  --half-bottom: 300px;
  --notch-top: 150px;
  --notch-height: 186px;
  --notch-radius: 26px;
  --tab-top: 164px;
  --tab-height: 158px;
  --tab-radius: 18px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--seam);
}

.close {
  --half-top: 88px;
  --half-bottom: 88px;
  --notch-top: calc(50% - 93px);
  --tab-top: calc(50% - 79px);
  margin-top: 120px;
}

.band {
  --big-size: clamp(52px, 6.8vw, 104px);
  --big-leading: 1;
  --half-top: 124px;
  --half-bottom: 72px;
  --notch-top: calc(50% - 74px);
  --notch-height: 148px;
  --notch-radius: 24px;
  --tab-top: calc(50% - 60px);
  --tab-height: 120px;
  --tab-radius: 16px;
}

.half {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  padding-top: var(--half-top);
  padding-bottom: var(--half-bottom);
}

.left {
  background: var(--orange);
  align-items: flex-end;
  text-align: right;
  padding-left: 56px;
  padding-right: 112px;
}

.right {
  background: var(--blue);
  color: #fff;
  padding-left: 64px;
  padding-right: 56px;
}

.big {
  font: 800 var(--big-size) / var(--big-leading) var(--display);
  letter-spacing: -0.025em;
  color: #fff;
}

.notch {
  position: absolute;
  top: var(--notch-top);
  left: calc(50% - 88px);
  z-index: 1;
  width: 95px;
  height: var(--notch-height);
  border-radius: var(--notch-radius) 0 0 var(--notch-radius);
  background: var(--paper);
}

.tab {
  position: absolute;
  top: var(--tab-top);
  left: calc(50% - 74px);
  z-index: 2;
  width: 88px;
  height: var(--tab-height);
  border-radius: var(--tab-radius) 0 0 var(--tab-radius);
  background: var(--blue);
}

/* Home */

.lede {
  max-width: 420px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--on-orange);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.store {
  display: block;
}

.store img {
  display: block;
  width: auto;
  height: 60px;
}

.soon,
.get {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  padding: 0 24px;
  border: 2px solid #fff;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.req {
  font-size: 15px;
}

.shot {
  position: relative;
  z-index: 3;
  width: min(1200px, calc(100% - 64px));
  margin: -244px auto 0;
}

.shot img,
figure img {
  display: block;
  width: 100%;
  height: auto;
}

.shot img {
  filter: drop-shadow(0 28px 48px rgba(23, 19, 15, 0.32));
}

figure img {
  filter: drop-shadow(0 14px 28px rgba(23, 19, 15, 0.18));
}

.page-home h2 {
  max-width: 900px;
  margin-bottom: 48px;
  font: 800 clamp(38px, 4.6vw, 68px) / 1 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.gal {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 32px;
  margin-top: 72px;
}

figcaption {
  margin-top: 16px;
  font-size: 17px;
  color: var(--soft);
}

.duo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--seam);
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 56px;
}

.warm {
  background: var(--warm);
  border-radius: 32px 0 0 32px;
  padding-right: 108px;
}

.cool {
  background: var(--cool);
  border-radius: 0 32px 32px 0;
  padding-left: 64px;
}

.panel h3 {
  font: 800 36px / 1.05 var(--display);
  letter-spacing: -0.015em;
}

.panel p {
  color: var(--on-panel);
}

.panel img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: auto;
  border: 1px solid var(--image-line);
  border-radius: 14px;
}

.notch2 {
  position: absolute;
  top: calc(50% - 93px);
  left: calc(50% - 88px);
  width: 95px;
  height: 186px;
  border-radius: 26px 0 0 26px;
  background: var(--paper);
}

.tab2 {
  position: absolute;
  top: calc(50% - 79px);
  left: calc(50% - 74px);
  width: 88px;
  height: 158px;
  border-radius: 18px 0 0 18px;
  background: var(--cool);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 48px 40px;
}

.feature {
  padding-top: 18px;
  border-top: 5px solid var(--orange);
}

.feature.b {
  border-top-color: var(--blue);
}

.feature h3 {
  margin-bottom: 10px;
  font: 800 26px / 1.1 var(--display);
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--soft);
}

/* Support */

.page-support {
  --section-gap: 96px;
  --foot-gap: 120px;
}

.page-support h2 {
  margin-bottom: 40px;
  font: 800 clamp(36px, 4.2vw, 60px) / 1.02 var(--display);
  letter-spacing: -0.02em;
}

.faq {
  display: grid;
  max-width: 940px;
}

.faq details {
  border-top: 2px solid var(--ink);
}

.faq details:last-child {
  border-bottom: 2px solid var(--ink);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  min-height: 44px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font: 700 25px / 1.2 var(--display);
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-weight: 800;
  color: var(--plus);
}

.faq details[open] summary::after {
  content: "−";
  color: var(--minus);
}

.faq details p {
  padding: 0 56px 26px 0;
  color: var(--soft);
}

.placeholder {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--placeholder-bg);
  color: var(--placeholder-text);
  font-weight: 500;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--seam);
}

.page-support .warm {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 56px 108px 56px 56px;
}

.page-support .warm h2 {
  margin: 0;
}

.page-support .warm p {
  color: var(--on-panel);
}

.page-support .warm a {
  font-weight: 600;
}

.page-support .cool {
  position: relative;
  min-width: 0;
  padding: 56px 56px 56px 64px;
}

.page-support .notch2 {
  left: -95px;
}

.page-support .tab2 {
  left: -81px;
}

/* Without the form: the halves hold the heading and the address, tall enough for the notch between them (WEB-32). */

.contact-mail {
  min-height: 250px;
}

.page-support .contact-mail .warm,
.page-support .contact-mail .cool {
  justify-content: center;
}

.page-support .contact-mail .cool {
  display: flex;
  flex-direction: column;
}

.page-support .contact-mail .cool p {
  color: var(--on-panel);
  font-size: 20px;
}

.page-support .contact-mail .cool a {
  font-weight: 600;
}

.form {
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.form[hidden],
.field[hidden] {
  display: none;
}

.field label,
.lbl {
  font-size: 16px;
  font-weight: 600;
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.input::placeholder {
  color: var(--field-hint);
  opacity: 1;
}

textarea.input {
  min-height: 136px;
  resize: vertical;
}

.drop {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 20px;
  border: 2px dashed var(--drop-line);
  border-radius: 12px;
  background: var(--drop-bg);
  cursor: pointer;
}

.drop.over {
  border-color: var(--blue);
  background: var(--field);
}

.drop .hint {
  flex: 1 1 240px;
  font-size: 16px;
  font-weight: 400;
}

.choose {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background: var(--field);
  font-size: 16px;
  font-weight: 600;
}

.hide {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.drop:focus-within {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.thumbs:empty {
  display: none;
}

.thumb {
  position: relative;
  display: block;
}

.thumb img,
.thumb-pending {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background: var(--field);
}

.thumb button {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--menu);
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.send {
  justify-self: start;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.send[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.status {
  margin: 0;
  font-weight: 500;
}

.status:empty {
  display: none;
}

.status.error {
  color: var(--error);
}

/* Privacy */

.page-privacy {
  --section-gap: 72px;
  --foot-gap: 112px;
  --soft: #4a443b;
  line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
  .page-privacy {
    --soft: #c4bcb0;
  }
}

.page-privacy .panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 44px 56px;
}

.page-privacy .warm {
  padding-right: 108px;
}

.page-privacy .cool {
  padding-left: 64px;
}

.page-privacy .panel h2 {
  font: 800 34px / 1.05 var(--display);
  letter-spacing: -0.015em;
}

.page-privacy .panel p {
  font-size: 20px;
  line-height: 1.4;
  color: var(--on-panel);
}

.page-privacy .notch2 {
  top: calc(50% - 60px);
  height: 120px;
  border-radius: 22px 0 0 22px;
}

.page-privacy .tab2 {
  top: calc(50% - 46px);
  height: 92px;
  border-radius: 14px 0 0 14px;
}

.prose {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.prose .date {
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--soft);
}

.prose h2 {
  margin-top: 34px;
  font: 800 30px / 1.1 var(--display);
  letter-spacing: -0.012em;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p {
  color: var(--soft);
}

/* Not found */

.page-missing {
  --section-gap: 72px;
  --foot-gap: 112px;
}

.page-missing .home-link {
  font: 800 clamp(26px, 3vw, 36px) / 1.1 var(--display);
  letter-spacing: -0.015em;
}

/* The footer */

.foot {
  margin-top: var(--foot-gap);
  padding: 56px 0;
  background: var(--foot);
  color: var(--foot-text);
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 56px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.foot a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
}

.foot nav a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal {
  flex-basis: 100%;
  font-size: 15px;
  color: var(--foot-soft);
}

/* Too narrow for the contact panels side by side: the email address alone needs more than the warm one has left. */

@media (max-width: 1100px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--seam);
  }

  .contact .notch2,
  .contact .tab2 {
    display: none;
  }

  .page-support .warm {
    padding: 44px 56px;
    border-radius: 32px 32px 0 0;
  }

  .page-support .cool {
    padding: 44px 56px;
    border-radius: 0 0 32px 32px;
  }
}

/* A phone */

@media (max-width: 860px) {
  .page {
    --section-gap: 72px;
  }

  .page-support {
    --section-gap: 64px;
    --foot-gap: 72px;
  }

  .page-privacy,
  .page-missing {
    --section-gap: 48px;
    --foot-gap: 72px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .topbar {
    position: relative;
    margin-bottom: var(--seam);
    padding: 14px 24px;
    background: var(--orange);
  }

  .nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .halves,
  .duo,
  .contact {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--seam);
  }

  .notch,
  .tab,
  .notch2,
  .tab2 {
    display: none;
  }

  .left {
    align-items: flex-start;
    text-align: left;
    padding: 8px 24px 28px;
  }

  .right {
    padding: 28px 24px 36px;
  }

  .hero,
  .close {
    --big-size: clamp(56px, 17vw, 96px);
  }

  .hero .left {
    padding: 8px 24px 40px;
  }

  .hero .right {
    padding: 36px 24px 210px;
  }

  .close {
    margin-top: 72px;
  }

  .close .left,
  .close .right {
    padding: 40px 24px;
  }

  .shot {
    width: calc(100% - 32px);
    margin-top: -176px;
  }

  .gal {
    grid-template-columns: minmax(0, 1fr);
  }

  .stack {
    margin-top: 0;
  }

  .warm,
  .cool,
  .page-support .warm,
  .page-support .cool,
  .page-privacy .panel {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .panel h3 {
    font-size: 30px;
  }

  .faq summary {
    font-size: 22px;
  }

  .faq details p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .store {
    transition: transform 0.15s ease;
  }

  .store:hover {
    transform: translateY(-2px);
    opacity: 1;
  }
}
