/* The site of cinewide.app. The colours and the sizes are the extension's own
   (src/ui/tokens.ts), a little larger: a page is read from further away than a popup. */
:root {
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --surface: #ffffff;
  --raised: #f1f3f4;
  --text: #1f1f1f;
  --muted: #5f6368;
  --line: #dadce0;
  --accent: #0b57d0;
  --accent-text: #ffffff;
  --radius: 10px;
  --width: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #202124;
    --raised: #303134;
    --text: #e8eaed;
    --muted: #9aa0a6;
    --line: #3c4043;
    --accent: #8ab4f8;
    --accent-text: #202124;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 17px/1.55 var(--font);
}
a {
  color: var(--accent);
}
.top,
main,
.bottom {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 24px;
}
.draft {
  margin: 0;
  padding: 6px 24px;
  background: #fff4ce;
  color: #3b2f00;
  font-size: 14px;
  text-align: center;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
}
.top nav,
.bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 3.5vw, 32px);
  line-height: 1.2;
}
h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
section {
  padding: 44px 0;
}
.hero {
  padding-top: 40px;
}
.lead {
  max-width: 44em;
  margin: 0 0 24px;
  font-size: 20px;
  color: var(--muted);
}
.cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
}
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}
.button.soon {
  background: var(--raised);
  color: var(--text);
}
.aside,
.note {
  color: var(--muted);
  font-size: 15px;
}
.note {
  margin: 16px 0 0;
}

/* A before-and-after pair: the same still, as an ultrawide screen shows it. */
.pair {
  margin-bottom: 32px;
}
.sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.shot {
  margin: 0;
}
.screen {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 6px solid #111418;
  border-radius: 10px;
  background: #000000;
}
.screen img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
/* A 2.39:1 film in a 16:9 video on a 21:9 screen: 16 of 21 wide, and 6.69 of 9 high. */
.smart.before img {
  width: 76.19%;
  height: 74.38%;
}
/* Fitted: as wide as the screen, 8.79 of 9 high. Nothing is cropped. */
.smart.after img {
  width: 100%;
  height: 97.63%;
}
/* A 16:9 picture on a 21:9 screen: 16 of 21 wide, with bars at the sides. */
.fill.before img {
  width: 76.19%;
  height: 100%;
}
/* Filled: that same picture as wide as the screen. Its top and bottom are off the screen. */
.fill.after img {
  width: 100%;
  height: 131.25%;
}
figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.how ol {
  margin: 0;
  padding-left: 1.3em;
}
.how li {
  margin-bottom: 8px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.cards article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cards p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.plan {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan.pro {
  border: 2px solid var(--accent);
}
.plan[hidden] {
  display: none;
}
.price {
  margin: 0 0 12px;
}
.price strong {
  font-size: 34px;
  letter-spacing: -0.01em;
}
.price span {
  color: var(--muted);
}
.plan ul {
  margin: 0;
  padding-left: 1.2em;
}
.plan li {
  margin-bottom: 6px;
}

/* A page of text: the privacy page, the Terms, the Refund Policy. */
.text {
  max-width: 44em;
  padding: 32px 0 56px;
}
.text h1 {
  font-size: clamp(30px, 5vw, 44px);
}
.text h2 {
  margin: 36px 0 10px;
  font-size: 22px;
}
.text li {
  margin-bottom: 6px;
}
/* The uninstall survey: one column, each question under the one before. */
.survey form {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.survey fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.survey fieldset label {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.survey legend,
.survey label[for] {
  margin: 8px 0 2px;
  padding: 0;
  font-weight: 600;
}
.survey input[type='text'],
.survey textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.survey button {
  justify-self: start;
  margin-top: 8px;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.survey button:disabled {
  opacity: 0.5;
  cursor: default;
}
/* A name that is not known yet. Not on a page that is built for the web. */
.hole {
  padding: 0 4px;
  border-radius: 4px;
  background: #fff4ce;
  color: #3b2f00;
}

.bottom {
  padding-top: 28px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.bottom p {
  margin: 10px 0 0;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .top,
  main,
  .bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sides {
    grid-template-columns: 1fr;
  }
  section {
    padding: 32px 0;
  }
}
