@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Stylesheet for /scams-rug-pull/ only. Don't link it from other pages. */

/* ---------- Tokens ---------- */
:root {
  --ink: #062526;
  --sky: #a7d2dd;
  --coral: #f47068;
  --cream: #fff4f0;
  --white: #fff;

  --fs-display: min(74.67px, 15.3vw);
  --fs-quote: clamp(25.6px, 2.22vw, 32px);
  --fs-eyebrow: clamp(19.2px, 1.67vw, 24px);
  --fs-body: clamp(17px, 1.48vw, 21.33px);
  --fs-small: clamp(14.9px, 1.3vw, 18.67px);
  --fs-tagline: min(32px, 3.44vw);

  --radius-photo: clamp(24px, 2.8vw, 40px);
  --wrap: 1232px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: var(--fs-body);
  /* Canva's "regular" Montserrat renders like Google's 500. */
  font-weight: 500;
  line-height: 1.36;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

ul {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

b {
  font-weight: 700;
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.bullets {
  padding-left: 36px;
  list-style: disc;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.btn--cta {
  min-height: 72px;
  width: min(537px, 100%);
  padding: 0 24px;
  border-color: var(--cream);
  background: var(--coral);
  color: var(--cream);
  font-size: var(--fs-eyebrow);
}

/* On the cream "hello" section the button is outlined and lettered in ink. */
.btn--outline-ink {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 555fr) minmax(0, 638fr);
  column-gap: clamp(32px, 6.95vw, 100px);
  align-items: start;
  /* On the 1440px design the photo starts 37px from the left edge and the text ends at x=1330. */
  margin: 94px max(16px, 50% - 610px) 0 max(16px, 50% - 683px);
  padding-bottom: 55px;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 555 / 642;
  margin-top: 85px;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.eyebrow,
.hero__title,
.hero__lead {
  align-self: stretch;
  text-align: center;
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  line-height: 1.375;
  letter-spacing: .036em;
  text-transform: uppercase;
  color: var(--coral);
}

.hero__title {
  margin-top: 52px;
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: .924;
  text-transform: uppercase;
  color: var(--sky);
}

.hero__lead {
  margin-top: 15px;
  font-size: var(--fs-quote);
  line-height: 1.375;
}

.hero__knowing {
  margin: 44px 0 0 6px;
  color: var(--white);
}

.hero__text .bullets {
  margin: 29px -10px 0 6px;
  line-height: 1.594;
  color: var(--white);
}

.hero__text .btn {
  margin: 60px 0 0 69px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  padding: 65px 0 70px;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

.testimonial p {
  font-size: var(--fs-quote);
  line-height: 1.375;
}

.testimonial img {
  width: clamp(148px, 12.85vw, 185px);
  aspect-ratio: 1;
  margin: 15px auto 17px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial cite {
  font-style: italic;
}

/* ---------- Crypto scams happen to serious investors too ---------- */
.next {
  padding: 72px 0 121px;
}

.next__body {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.next__title {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.018;
}

.next__subtitle {
  margin-top: 24px;
  font-size: var(--fs-quote);
  font-weight: 600;
  line-height: 1.375;
  color: var(--coral);
}

.next__body p + p {
  margin-top: 29px;
}

.next__body .btn {
  margin-top: 48px;
}

/* ---------- About ---------- */
.about {
  padding: 64px 0 101px;
  background: var(--cream);
  color: var(--ink);
}

.about__title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: .99;
  text-transform: uppercase;
  text-align: center;
}

.about__tagline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  font-size: var(--fs-tagline);
  font-weight: 700;
  line-height: 1.375;
  white-space: nowrap;
}

.about__tagline img {
  height: 1.8em;
  width: auto;
  /* The tall emoji must not make the line taller than the text.
     Its transparent right edge sits under the start of "Crypto", as in Canva. */
  position: relative;
  top: .125em;
  margin: -.22em -.375em -.22em .59em;
}

.about__body {
  display: grid;
  grid-template-columns: minmax(0, 640fr) minmax(0, 544fr);
  column-gap: clamp(32px, 4.2vw, 60px);
  align-items: start;
  width: min(1244px, 100% - 32px);
  margin: 70px 0 0 max(16px, 50% - 683px);
}

.about__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 640 / 662;
  border-radius: var(--radius-photo);
}

/* Canva zooms the landscape photo past "cover" and shows its bottom edge. */
.about__photo img {
  position: absolute;
  bottom: 0;
  left: -39.84%;
  width: 184.84%;
  max-width: none;
}

.photo-caption {
  position: absolute;
  left: 0;
  right: 43px;
  bottom: 39px;
  padding: 14px 8px 14px 17px;
  border-radius: 10px;
  background: rgb(6 37 38 / .85);
  font-size: var(--fs-small);
  line-height: 1.07;
  letter-spacing: .036em;
  color: var(--cream);
}

.about__text {
  padding-top: 29px;
}

.about__text p + p {
  margin-top: 29px;
}

.about__text .btn {
  margin-top: 81px;
}

/* ---------- Below the full desktop width ---------- */
@media (max-width: 1280px) {

  /* Canva's hard line breaks only fit the full 1440px design; below it text wraps naturally. */
  p br,
  li br,
  h1 br,
  h2 br {
    display: none;
  }

  .hero__text .btn {
    margin-left: 0;
    align-self: center;
  }

  .next__body .btn {
    align-self: center;
  }

  .about__text {
    display: grid;
  }

  .about__text .btn {
    justify-self: center;
  }
}

/* ---------- Phone layout (Canva's 390px design) ---------- */
@media (max-width: 800px) {

  /* Canva's phone design is 390px wide; on larger phones and small tablets keep it from ballooning. */
  :root {
    --wrap: 560px;
  }

  .btn--cta {
    width: 100%;
    min-height: 58px;
  }

  /* The photo moves between the eyebrow and the title. */
  .hero__body {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: var(--wrap);
    margin: 26px max(16px, 50% - 280px) 0;
    padding-bottom: 44px;
  }

  .hero__text {
    display: contents;
  }

  .hero__body > *,
  .hero__text > * {
    order: 2;
  }

  .eyebrow {
    order: 0;
    /* Canva's phone text box sits 5px right of the page margin. */
    margin-left: 5px;
    line-height: 1.375;
  }

  .hero__photo {
    order: 1;
    margin-top: 21px;
  }

  /* "CAUGHT IN" just fits 358px in Google's Montserrat; Canva's wraps it, and so does this width. */
  .hero__title {
    align-self: center;
    max-width: 5.9em;
    margin-top: 23px;
  }

  .hero__lead {
    margin-top: 12px;
  }

  .hero__knowing {
    margin: 11px 0 0 5px;
  }

  .hero__text .bullets {
    margin: 23px 0 0 5px;
    padding-left: 29px;
  }

  .hero__text .btn {
    margin-top: 16px;
  }

  .testimonial {
    padding: 52px 0 55px;
  }

  .testimonial img {
    margin: 12px auto 13px;
  }

  .next {
    padding: 58px 0 96px;
  }

  .next__subtitle {
    margin-top: 19px;
  }

  .next__body p + p {
    margin-top: 23px;
  }

  .next__body .next__subtitle + p {
    margin-top: 11px;
  }

  .next__body .btn {
    margin-top: 14px;
  }

  .about {
    padding: 51px 0 80px;
  }

  .about__body {
    display: block;
    width: auto;
    margin: 19px max(16px, 50% - 280px) 0;
  }

  .about__photo {
    aspect-ratio: 359 / 546;
  }

  .about__photo img {
    left: -82.17%;
    width: 271.59%;
  }

  .photo-caption {
    left: 15px;
    right: 16px;
    bottom: 32px;
    padding: 8px 20px 8px 22px;
  }

  .about__text {
    padding-top: 13px;
  }

  .about__text p + p {
    margin-top: 23px;
  }

  .about__text .btn {
    margin-top: 23px;
  }
}

/* ---------- Very narrow phones ---------- */
@media (max-width: 360px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}
