/* getbryd.com. Colours and the display face are the brand kit's (src/theme.ts): charcoal, chalk,
   lime, and Barlow Condensed for headings. No scripts, no cookies, no outside requests. */

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/BarlowCondensed-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  --charcoal: #151815;
  --surface: #20241f;
  --chalk: #f7f8f3;
  --lime: #c5f349;
  --olive: #4a650f;
  --muted-dark: #a9b1a6;
  --muted-light: #50594f;
  --line-dark: rgba(247, 248, 243, 0.12);
  --line-light: rgba(21, 24, 21, 0.14);
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--chalk);
  font: 17px/1.5 var(--text);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; margin: 0; }
h2 { font-size: 40px; line-height: 1; letter-spacing: 0.01em; }

.top, main, .foot { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.top nav a { color: var(--muted-dark); text-decoration: none; font-weight: 600; padding: 12px 0 12px 12px; }
.top nav a:hover { color: var(--chalk); }

/* Hero */
.hero { padding: 44px 0 52px; }
.kicker { margin: 0 0 14px; color: var(--lime); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(58px, 15vw, 128px); line-height: 0.9; letter-spacing: 0.005em; }
.hero h1 span { color: var(--lime); display: block; }
.lead { margin: 22px 0 0; max-width: 34em; color: var(--muted-dark); font-size: 19px; }
.cta { margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 27px;
  background: var(--lime); color: var(--charcoal);
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none;
}
.button:hover { background: #d3f76f; }
.note { margin: 14px 0 0; color: var(--muted-dark); font-size: 15px; }

/* Phones: a swipeable row on a phone, three across on a wide screen */
.phones {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 20px 6px; margin: 0 -20px; scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones figure { margin: 0; flex: 0 0 72%; max-width: 320px; scroll-snap-align: center; }
/* Each picture shows the top of a screen and fades out, so no screen's bottom buttons are cut. */
.phones img {
  width: 100%; aspect-ratio: 640 / 1120; object-fit: cover; object-position: top;
  border-radius: 30px 30px 0 0; border: 1px solid var(--line-dark); border-bottom: 0; background: var(--surface);
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
}
.phones figcaption { margin-top: 6px; color: var(--muted-dark); font-size: 15px; }
.phones strong { display: block; color: var(--chalk); font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 4px; }

/* What it does */
.what { padding: 72px 0 0; }
.grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.grid li { background: var(--surface); border: 1px solid var(--line-dark); border-radius: 20px; padding: 20px; }
.grid h3 { margin: 0 0 6px; font-size: 18px; }
.grid p { margin: 0; color: var(--muted-dark); font-size: 16px; }

/* Your data */
.data { margin: 72px 0 0; padding: 28px 22px 26px; background: var(--surface); border-radius: 24px; border-top: 3px solid var(--lime); }
.data ul { margin: 20px 0 0; padding: 0; list-style: none; }
.data li { padding: 12px 0; border-top: 1px solid var(--line-dark); }
.data li:first-child { border-top: 0; padding-top: 0; }
.data p { margin: 18px 0 0; }
.data p a { color: var(--lime); font-weight: 700; }

/* Footer */
.foot { padding-top: 56px; padding-bottom: 44px; color: var(--muted-dark); font-size: 15px; }
.foot p { margin: 14px 0 0; }
.foot .small { font-size: 13px; }
.foot a:hover { color: var(--chalk); }

@media (min-width: 760px) {
  body { font-size: 18px; }
  h2 { font-size: 52px; }
  .top { padding-top: 28px; padding-bottom: 28px; }
  .hero { padding: 72px 0 80px; }
  .lead { font-size: 21px; }
  .phones { overflow: visible; margin: 0; padding: 0; gap: 28px; justify-content: space-between; }
  .phones figure { flex: 1 1 0; max-width: 320px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grid li { padding: 24px; }
  .what, .data { margin-top: 0; }
  .what { padding-top: 104px; }
  .data { margin-top: 104px; padding: 40px 40px 36px; }
}

/* Privacy policy: the sign-in emails' layout. Charcoal header, lime line, chalk page. */
body.doc { background: var(--chalk); color: var(--charcoal); }
.doc .band { background: var(--charcoal); border-bottom: 3px solid var(--lime); }
.doc .top nav a { color: var(--muted-dark); }
.doc main { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(44px, 11vw, 72px); line-height: 0.95; }
.doc h2 { font-size: 30px; margin-top: 44px; }
.doc h3 { font-size: 18px; margin: 28px 0 0; }
.doc p, .doc ul { margin: 12px 0 0; }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc li ul { margin-top: 4px; }
.doc .date { color: var(--muted-light); }
.doc main a { color: var(--olive); font-weight: 600; }
.doc .scroll { overflow-x: auto; margin-top: 16px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-light); }
.doc th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); }
.doc .footband { background: var(--charcoal); color: var(--muted-dark); }
.doc .foot a { color: inherit; font-weight: 400; }
