@font-face{font-family:Roboto;src:url("assets/roboto-regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Roboto;src:url("assets/roboto-bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Roboto;src:url("assets/roboto-mediumitalic.woff2") format("woff2");font-weight:500;font-style:italic;font-display:swap}
@font-face{font-family:Roboto;src:url("assets/roboto-bolditalic.woff2") format("woff2");font-weight:700;font-style:italic;font-display:swap}

@font-face{font-family:"Toro Condensed";src:url("assets/toro-condensed-bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Toro Condensed";src:url("assets/toro-condensed-bolditalic.woff2") format("woff2");font-weight:700;font-style:italic;font-display:swap}

:root {
  color-scheme: light;
  --ink: #191712;
  --red: #b4140b;
  --red-dark: #a60e08;
  --paper: #ffe7bd;
  --cream: #fff0d2;
  --print-grain: url("assets/print-grain.webp");
  --print-tile-size: 430px;
  --red-paint:
    radial-gradient(ellipse at 16% 76%, #ffbd8f73, transparent 45%),
    radial-gradient(ellipse at 77% 36%, #27060064, transparent 55%),
    url("assets/paint-density.webp") 65px 117px / 510px repeat,
    var(--print-grain) 29px 49px / var(--print-tile-size) repeat,
    var(--red);
  --body: Roboto, Arial, sans-serif;
  --condensed: "DIN Condensed", "Toro Condensed", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; background: var(--paper); }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(ellipse at 50% 26%, #fff2d4 0%, transparent 60%),
    radial-gradient(ellipse at 47% 80%, #fff0d2 0%, transparent 65%),
    var(--paper);
}

body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/paper-grain.webp") 0 0 / 282px 684px repeat;
  mix-blend-mode: soft-light;
  opacity: .75;
  pointer-events: none;
}
h1, h2, h3, p, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
::selection { background: var(--red); color: white; }

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

.page-width {
  max-width: 1100px;
  margin-inline: auto;
  container-type: inline-size;
}

.poster {
  overflow: clip;
  position: relative;
  isolation: isolate;
}

.masthead {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 29% 1fr auto;
  align-items: start;
  gap: 2.4cqw;
  height: 8.5cqw;
  padding: .8cqw 3.15cqw 0 5.8cqw;
}

.brand img, .hero h1 img, .templates h2 img, .store-badge img { width: 100%; }

.brand {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 1cqw;
  width: 25.8cqw;
}
.masthead nav {
  display: flex;
  justify-content: space-evenly;
  gap: 1.1cqw;
  padding-top: 2.1cqw;
  font: 700 2.55cqw/1 var(--condensed);
  white-space: nowrap;
}
.masthead nav a:hover { text-decoration: underline; text-underline-offset: .2em; }

.button, .step-number {
  position: relative;
  isolation: isolate;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: max(44px, 5.95cqw);
  padding: .65cqw clamp(8px, 1.4cqw, 16px);
  color: var(--cream);
  font: 700 3.05cqw/1 var(--condensed);
  text-align: center;
}
.button::before, .step-number::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 2px solid var(--red-dark);
  border-radius: 2px;
  background: var(--print-grain) 24px 60px / var(--print-tile-size) repeat var(--red);
  transform: skewX(-7deg);
  pointer-events: none;
}
.button:hover::before { background-color: var(--red-dark); }
.button:focus-visible { outline-color: var(--ink); outline-offset: 6px; }
.button-outline { color: var(--red-dark); }
.button-outline::before { background-color: var(--cream); }
.button-outline:hover::before { background-color: var(--paper); }
.header-action { margin-top: 1cqw; min-height: 4.65cqw; min-width: 16.6cqw; font-size: 2.75cqw; white-space: nowrap; }

.hero { position: relative; height: 60.7cqw; }
.hero-art { position: absolute; width: 58.02cqw; right: 0; top: -1.38cqw; }
.hero-art img, .editor-art img { position: relative; width: 100%; }
.hero h1 { position: absolute; top: 0; left: 5.1cqw; width: 49.42cqw; }
.hero-copy { position: absolute; top: 39.4cqw; left: 6.05cqw; }
.intro { font-size: 3.02cqw; font-weight: 500; font-style: italic; line-height: 1.3; letter-spacing: -.037em; }
.promise {
  display: flex;
  gap: .6cqw;
  align-items: center;
  margin: .65cqw -1.9cqw 0;
  font: italic 700 2.13cqw/1.14 var(--body);
  letter-spacing: -.032em;
  white-space: nowrap;
}
.promise::before, .promise::after { content: ""; width: 3.85cqw; height: 2px; border-radius: 100%; background: var(--red); }
.promise::before { margin-right: .8cqw; }
.promise::after { margin-left: .45cqw; }
.hero-actions {
  position: absolute;
  top: 51.55cqw;
  left: 4.65cqw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 46.5cqw;
  gap: max(10px, 1.55cqw);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 28.5cqw;
  padding: .35cqw 2.5cqw .45cqw;
  text-align: center;
}
.features article { position: relative; }
.features article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.2cqw;
  bottom: 1.4cqw;
  width: 1px;
  background: #817259;
}
.feature-icon { display: flex; align-items: end; justify-content: center; height: 12.85cqw; }
.feature-icon img { width: auto; height: auto; max-height: 100%; max-width: 86%; object-fit: contain; }
@media (min-width: 941px) {
  .feature-icon img { width: calc(var(--icon-width, 181) * 100cqw / 941); }
  .features article:nth-of-type(2) { --icon-width: 122; }
  .features article:nth-of-type(3) { --icon-width: 186; }
  .features article:nth-of-type(4) { --icon-width: 154; }
}
.features h3, .step-caption strong {
  font-family: var(--condensed);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}
.features h3 { margin: .57cqw 0 .75cqw; font-size: 3.82cqw; line-height: .94; letter-spacing: -.04em; }
.features p { font-size: 1.91cqw; line-height: 1.3; letter-spacing: -.032em; }

/* Clip the ink wear to the existing vector artwork. */
.hero h1 { --ink-mask: url("assets/hero-title.svg"); }
.templates h2 { --ink-mask: url("assets/templates-title.svg"); }

.hero h1::after, .templates h2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--print-grain) 0 0 / var(--print-tile-size) repeat;
  mask: var(--ink-mask) center / 100% 100% no-repeat;
  pointer-events: none;
}

.hero h1::after, .templates h2::after { opacity: .72; }
.hero-art::before, .editor-art::before, .workflow h2::before, .templates h2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red-paint);
  background-blend-mode: soft-light, soft-light, normal, normal, normal;
  mask: var(--paint-mask) center / 100% 100% no-repeat;
  pointer-events: none;
}

.hero-art { --paint-mask: url("assets/hero-rays.svg"); }
.workflow h2 { --paint-mask: url("assets/steps-badge.svg"); }
.templates h2 { --paint-mask: url("assets/templates-underline.svg"); }

.workflow { position: relative; height: 27.5cqw; }
.workflow::before, .workflow::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 4.1cqw;
  background: var(--red-paint);
  background-blend-mode: soft-light, soft-light, normal, normal, normal;
  z-index: -1;
  pointer-events: none;
}
.workflow::before { top: 0; clip-path: polygon(34% 69%, 93% 0, 100% 0, 96% 18%, 30% 89%); }
.workflow::after { bottom: -.6cqw; clip-path: polygon(0 100%, 5% 76%, 100% 0, 92% 18%, 0 100%); }
.workflow h2 {
  position: absolute;
  left: 0;
  top: .85cqw;
  width: 31.46cqw;
  aspect-ratio: 296 / 234;
  container-type: inline-size;
}

.workflow h2 span, .footer-copy h2 {
  color: var(--cream);
  font-family: var(--condensed);
  font-style: italic;
  font-weight: 700;
  line-height: .81;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.workflow h2 span {
  position: absolute;
  left: 17%;
  top: 19%;
  font-size: 34cqw;
  transform: skew(-8deg, -9deg);
}
.workflow ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: absolute;
  inset: 4.1cqw 2.1cqw auto 30.4cqw;
}
.workflow li { position: relative; }
.workflow li + li::before {
  content: "";
  position: absolute;
  top: 6.2cqw;
  left: -2.25cqw;
  width: 2.1cqw;
  height: 2.1cqw;
  border: solid var(--red);
  border-width: .49cqw .49cqw 0 0;
  transform: rotate(45deg);
}
.workflow li > img { width: 16.65cqw; margin-inline: auto; }
.step-caption { display: flex; align-items: center; justify-content: center; gap: .9cqw; }
.step-number {
  display: grid;
  place-items: center;
  width: 4.65cqw;
  height: 5.05cqw;
  flex: none;
  color: var(--cream);
  font: italic 700 4cqw/1 var(--condensed);
}
.step-number > span {
  text-box: trim-both cap alphabetic;
  transform: translateX(-.09em);
}
.step-caption strong { font-size: 2.7cqw; line-height: .94; letter-spacing: -.035em; }

.templates { position: relative; height: 39.8cqw; }
.editor-art {
  --paint-mask: url("assets/template-editor-rays.svg");
  position: absolute;
  isolation: isolate;
  width: 81.62cqw;
  right: 0;
  bottom: 0;
}
.editor-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/template-editor-shadow.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.editor-art img { z-index: 1; }
.templates h2 { position: absolute; top: 1.1cqw; left: 3.5cqw; width: 35.4cqw; }
.templates p { position: absolute; top: 24.3cqw; left: 4.4cqw; width: 34.3cqw; font-size: 2.24cqw; letter-spacing: -.035em; line-height: 1.3; }
.templates em { font-weight: 700; }

footer {
  color: var(--cream);
  background: linear-gradient(rgb(30 27 21 / 48%), rgb(30 27 21 / 48%)),
    var(--print-grain) 61px 133px / var(--print-tile-size) repeat #1e1b15;
}

.footer-inner {
  display: grid;
  grid-template-columns: 13.8cqw minmax(0, 1fr) auto;
  align-items: center;
  min-height: 12.65cqw;
  padding: 1.1cqw 3.2cqw 1.1cqw 3.3cqw;
}
.footer-copy h2 {
  width: fit-content;
  padding-block-start: .16em;
  font-size: 6.65cqw;
  line-height: .9;
  transform: skewY(-2deg);
}
.footer-copy p { margin-top: .12cqw; font-size: 2.07cqw; font-weight: 500; font-style: italic; letter-spacing: -.04em; }
.store-links {
  --badge-height: clamp(40px, 4.65cqw, 52px);
  display: flex;
  align-items: center;
  gap: 1.12cqw;
  min-height: 8.1cqw;
  padding-left: 3.6cqw;
  border-left: 1px solid var(--cream);
}
.store-badge { display: block; }
.app-store-badge { width: calc(var(--badge-height) * 119.66407 / 40); }
/* The original Google PNG includes transparent padding above and below its 192px badge. */
.google-play-badge { width: calc(var(--badge-height) * 646 / 192); }

@media (max-width: 719px) {
  .masthead { height: auto; grid-template-columns: 1fr auto; align-items: center; gap: 4cqw; padding: 3cqw 4.7cqw 0; }
  .brand { width: clamp(120px, 38cqw, 220px); }
  .header-action { grid-column: 2; grid-row: 1; margin: 0; }
  .masthead nav { grid-column: 1 / -1; justify-content: space-between; gap: 3cqw; padding: 0 1cqw; font-size: clamp(15px, 4.8cqw, 25px); }
  .masthead nav a { padding-block: 6px; }
  .button { padding-block: 7px; font-size: clamp(18px, 5cqw, 28px); }
  .header-action { min-height: 44px; padding-inline: 4cqw; }
  .hero { display: grid; padding: 5cqw 4.7cqw 6cqw; height: auto; }
  .hero h1, .hero-copy, .hero-actions, .hero-art { position: relative; inset: auto; }
  .hero h1 { grid-row: 1; width: min(88cqw, 510px); }
  .hero-copy { grid-row: 2; }
  .intro { font-size: clamp(21px, 5.75cqw, 33px); }
  .desktop-break { display: none; }
  .promise { margin: 3.3cqw 0 0; gap: 1.1cqw; font-size: clamp(12px, 3.8cqw, 21px); white-space: normal; }
  .promise::before, .promise::after { flex: 1; min-width: 6px; max-width: 18px; margin-inline: 0; }
  .hero-actions { grid-row: 3; width: min(100%, 510px); margin-top: 3.1cqw; }
  .hero-art { grid-row: 4; max-width: none; width: 95cqw; margin: 1cqw -4.7cqw -7cqw auto; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1cqw 3cqw 5cqw; gap: 6cqw 0; }
  .features article:nth-of-type(3)::before { content: none; }
  .features article + article::before { top: 8%; bottom: 3%; }
  .feature-icon { height: min(22cqw, 116px); }
  .features h3 { margin: 1cqw 0 1.5cqw; font-size: clamp(22px, 6.5cqw, 37px); letter-spacing: -.035em; }
  .features p { font-size: clamp(14px, 3.7cqw, 20px); letter-spacing: -.025em; }
  .workflow { height: auto; padding: 2cqw 3cqw 6cqw; }
  .workflow::before { top: 1.5cqw; }
  .workflow::after { bottom: 0; }
  .workflow h2 { position: relative; inset: auto; width: clamp(140px, 38cqw, 240px); margin-left: -3cqw; }
  .workflow ol { position: relative; inset: auto; gap: 2cqw; margin-top: -2.5cqw; }
  .workflow li + li::before { top: 10cqw; left: -2cqw; width: 2cqw; height: 2cqw; }
  .workflow li > img { width: 25cqw; }
  .step-caption { gap: 1.4cqw; }
  .step-number { width: 6.2cqw; height: 7.8cqw; font-size: 5.8cqw; }
  .step-caption strong { font-size: clamp(12px, 3.65cqw, 22px); }
  .templates { display: grid; height: auto; padding: 4cqw 4.4cqw 0; }
  .templates h2, .templates p, .editor-art { position: relative; inset: auto; }
  .templates h2 { grid-row: 1; width: min(70cqw, 400px); }
  .templates p { grid-row: 2; width: min(84cqw, 38ch); margin-top: 3cqw; font-size: clamp(17px, 4.65cqw, 26px); }
  .editor-art { grid-row: 3; max-width: none; width: 100cqw; margin: 2cqw -4.4cqw 0; }
  .footer-inner { grid-template-columns: 18cqw 1fr; padding: 4cqw; column-gap: 1.3cqw; }
  .footer-copy h2 { font-size: clamp(27px, 10.3cqw, 54px); }
  .footer-copy p { font-size: clamp(13px, 3.55cqw, 22px); }
  .store-links { grid-column: 1 / -1; justify-content: center; min-height: 0; gap: 3cqw; padding: 2.8cqw 0 0; border: 0; }
}
