/* DutyBook's website. The app's own look: black and white, DM Sans for text, Manrope for headings and the wordmark.
   Sections sit on white, pale grey and black bands, never a line between them. Boxes are cards with one hairline edge,
   and a list never has a line under its last item. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #000; font: 17px/1.55 "DM Sans", system-ui, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 16ch; }
h1.wide { max-width: 22ch; }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border: 1px solid #000; border-radius: 6px; }

/* Top bar, stays put */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #e6e6e6; }
.bar { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.logo { text-decoration: none; font: 800 22px Manrope, sans-serif; letter-spacing: -0.02em; }
.bar nav { display: flex; gap: 24px; margin-left: 12px; flex: 1; }
.bar nav a, .signin { text-decoration: none; font-size: 16px; }
.bar nav a:hover, .signin:hover, .bar nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.btn { display: inline-block; padding: 11px 18px; border: 1px solid #000; border-radius: 6px; text-decoration: none; font: 600 16px "DM Sans", sans-serif; background: #fff; color: #000; cursor: pointer; }
.btn.solid { background: #000; color: #fff; }
.btn:hover { opacity: 0.8; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 11px 14px; border: 1px solid #000; border-radius: 6px; font-weight: 600; font-size: 16px; }
.menu summary::-webkit-details-marker { display: none; }
.menu div { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #000; border-radius: 8px; padding: 8px; display: grid; min-width: 200px; }
.menu div a { padding: 10px 12px; text-decoration: none; border-radius: 6px; }
.menu div a:hover { background: #f3f3f3; }

/* Bands */
section { padding: 84px 0; scroll-margin-top: 64px; }
.grey { background: #f3f3f3; }
.black { background: #000; color: #fff; }
.black .btn { border-color: #fff; background: #000; color: #fff; }
.black .btn.solid { background: #fff; color: #000; }
.lede { font-size: 20px; max-width: 48ch; margin-top: 18px; }
.small { font-size: 15px; color: #444; }
.black .small { color: #bbb; }
.after { margin-top: 18px; }
/* A heading inside a band, over a second row of cards. */
.sub { margin-top: 56px; }
/* What DutyBook AI said on the screen beside it, word for word. */
.said { margin-top: 16px; background: #f3f3f3; border-radius: 8px; padding: 14px 16px; font-size: 16px; }
.said span { display: block; font-size: 13px; color: #555; margin-bottom: 4px; }
.row + .cards { margin-top: 56px; }

.hero { padding-top: 64px; }
.calls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.shot { border: 1px solid #000; border-radius: 8px; overflow: hidden; }
.hero .shot { margin-top: 48px; }
.zoom { cursor: zoom-in; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid #000; border-radius: 8px; padding: 26px; background: #fff; color: #000; }
.card p { margin-top: 10px; }
.card ul { margin: 14px 0 0; padding-left: 20px; }
.card li { margin-top: 6px; }
.price { font: 800 40px Manrope, sans-serif; letter-spacing: -0.02em; margin-top: 8px; }
.price span { font: 400 16px "DM Sans", sans-serif; letter-spacing: 0; }
.price span.fig { font: inherit; letter-spacing: inherit; }
.toggle { display: inline-flex; gap: 0; margin-top: 28px; border: 1px solid #000; border-radius: 6px; overflow: hidden; }
.toggle button { font: 600 16px "DM Sans", sans-serif; padding: 10px 18px; border: 0; background: #fff; color: #000; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #000; color: #fff; }

/* Feature rows */
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 40px 0; }
.row:last-child { padding-bottom: 0; }
.row.flip > .words { order: 2; }
.row p { margin-top: 12px; }
.row ul { margin: 14px 0 0; padding-left: 20px; }
.row li { margin-top: 6px; }
.phones { display: flex; gap: 20px; justify-content: center; }
.phone { width: 230px; border: 1px solid #000; border-radius: 30px; overflow: hidden; background: #000; }
.black .phone { border-color: #555; }

/* Questions and help topics */
.qs { max-width: 820px; margin-top: 32px; display: grid; gap: 10px; }
details.q { border: 1px solid #000; border-radius: 8px; padding: 16px 20px; background: #fff; color: #000; }
details.q summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details.q p, details.q ol { margin-top: 10px; }
details.q ol { padding-left: 22px; }

/* Long reading: about, the policy and the terms */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 4.4vw, 52px); max-width: none; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 6px; }

.last { text-align: center; padding-bottom: 56px; }
.last .calls { justify-content: center; }
footer { padding: 28px 0 56px; font-size: 15px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px; }

/* A screen blown up */
#big { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 3vh 3vw; background: rgba(0, 0, 0, 0.82); cursor: zoom-out; }
#big.on { display: flex; }
#big img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
/* A phone's screen keeps the frame's rounded corners, sized to its height since that is what limits it. */
#big.of-phone img { border-radius: min(5.6vh, 12vw); }

@media (max-width: 900px) {
  .bar nav, .signin, .bar .demo { display: none; }
  .bar { justify-content: space-between; gap: 10px; }
  .logo { flex: 1; }
  .menu { display: block; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 24px; }
  .row.flip > .words { order: 0; }
  section { padding: 56px 0; }
  .phone { width: 46%; }
}
