/* =====================================================================
   SMMAI landing — home.smmai.app
   Layout model (same as the old Readymag build):
   - Desktop is designed on a 1024px canvas, phone on a 414px canvas.
   - The whole page scales with the window: 1rem = 10 design px.
     (html font-size = window width / 102.4 on desktop, / 41.4 on phone;
      set in CSS below and refined by a tiny inline script in <head>.)
   - So every number in this file is "design px / 10".
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Gasoek One"; src: url("../fonts/gasoek-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Graphik (Commercial Type) needs a paid web license, so Inter stands in for it,
   scaled to Graphik's width. After buying Graphik: put Graphik-Regular/Medium
   .woff2 into assets/fonts, point these two src lines at them and delete size-adjust. */
@font-face { font-family: "Text"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400; size-adjust: 102.56%; font-display: swap; }
@font-face { font-family: "Text"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 500; size-adjust: 102.56%; font-display: swap; }

:root {
  --f-display: "Gasoek One", "Arial Black", sans-serif;
  --f-text: "Text", "Inter", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --f-ui: "Inter", -apple-system, system-ui, sans-serif;
  --f-poppins: "Poppins", -apple-system, system-ui, sans-serif;
  --page-bg: #f4f4f4;
  --blue: #007aff;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100vw / 102.4); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (min-width: 3660px) { html { font-size: 35.742px; } }
@media (max-width: 767.98px) { html { font-size: calc(100vw / 41.4); } }
body { margin: 0; background: var(--page-bg); color: #000; font-family: var(--f-text); font-size: 1.4rem; line-height: 1.8rem; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.sub { --page-bg: #ededed; }
img, video, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
/* Like Readymag, pages shorter than the window sit in its vertical middle (desktop only) */
.page { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow-x: clip; }
.frame { position: relative; display: flow-root; width: 100%; }
@media (max-width: 767.98px) { .page { display: block; min-height: 0; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.only-phone { display: none !important; }
@media (max-width: 767.98px) { .only-desktop { display: none !important; } .only-phone { display: revert !important; } }

/* ---------- Shared bits ---------- */
.display { font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; line-height: 2.4rem; color: #000; text-align: center; }
@media (max-width: 767.98px) { .display { font-size: 2rem; line-height: 2rem; color: #222; } }

.btn { display: inline-flex; align-items: center; justify-content: center; width: 10rem; height: 3rem; border-radius: .8rem; background: #000; color: #fff; font: 500 1rem/1 var(--f-text); white-space: nowrap; transition: background-color .2s ease-in-out, opacity .2s ease-in-out; }
.btn:hover { background: #48484a; }
.badge { display: block; transition: opacity .2s ease-in-out; }
.badge img { width: 100%; height: 100%; }
.badge--fade:hover { opacity: .6; }
.badge-box { display: flex; align-items: center; justify-content: center; border-radius: .6rem; background: #fff; }
.badge-box img { width: 8.3rem; height: 2.7rem; object-fit: cover; object-position: 50% 50%; }

.logo { position: absolute; top: 1.9rem; left: 46.95rem; width: 8.5rem; height: 2rem; z-index: 5; }
.logo img { width: 100%; height: 100%; }
@media (max-width: 767.98px) { .logo { left: 14.8rem; top: 2.1rem; width: 11.8rem; height: 2.8rem; } }

/* Template cards + reviews (home and the four SEO pages) */
.tpl { position: relative; display: grid; grid-template-columns: repeat(4, 20.1rem); column-gap: 4.767rem; padding-left: 3.9rem; }
.tpl__item { position: relative; }
.tpl__slot { position: relative; width: 20.1rem; height: 20.1rem; display: flex; align-items: center; justify-content: center; }
.tpl__img { width: 20.1rem; height: 20.1rem; object-fit: cover; position: relative; z-index: 1; transition: transform .2s ease-in-out; }
.tpl__item:nth-child(odd) .tpl__img:hover { transform: rotate(-3deg); }
.tpl__item:nth-child(even) .tpl__img:hover { transform: rotate(3deg); }
.tpl--story .tpl__img { width: 11.3rem; height: 20.1rem; }
.tpl--wide .tpl__img { width: 20.1rem; height: 10.5rem; }
.tpl__shape { position: absolute; z-index: 0; }
.tpl__review { display: flex; gap: 1.2rem; margin-top: 3.33rem; }
.tpl__avatar { width: 3rem; height: 3rem; border-radius: 50%; flex: none; object-fit: cover; }
.tpl__text { width: 15.9rem; font: 500 .8rem/1rem var(--f-text); color: rgba(64,64,64,.95); }
.tpl__text b { display: block; font-weight: 500; margin-bottom: 1rem; }
@media (max-width: 767.98px) {
  .tpl { grid-template-columns: repeat(2, 19.2rem); column-gap: 1.1rem; row-gap: 0; padding-left: 1rem; grid-auto-rows: 37rem; }
  .tpl__slot, .tpl__img, .tpl--story .tpl__img, .tpl--wide .tpl__img { width: 19.2rem; height: 19.2rem; }
  .tpl__shape { display: none; }
  .tpl__review { display: block; margin-top: .8rem; }
  .tpl__text { width: 18.1rem; margin-top: 1.3rem; }
  .tpl__item:nth-child(n+3) .tpl__text { margin-top: 2.3rem; }
}

/* FAQ accordion (same behaviour as the old embed) */
.faq-card { position: relative; width: 98.4rem; height: 47rem; margin: 0 auto; background: #fff; border-radius: 3.2rem; }
.faq-card .display { position: absolute; left: 0; right: 0; top: 2.71rem; }
.faq { position: absolute; left: 8.3rem; top: 9.9rem; width: 81.8rem; }
.faq__q { position: relative; display: block; width: 100%; text-align: left; padding: 1.5rem .8rem; margin: 0; font: 400 1.4rem/1.4rem var(--f-ui); color: #000; border-top: .1rem solid transparent; }
.faq__item:first-child .faq__q { border-top-color: #e4e4e4; }
.faq__q::after { content: "\2715"; position: absolute; top: 50%; right: 0; transform: translateY(-50%) rotate(-45deg); font-size: 1.1rem; transition: .2s ease-out; }
.faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(0deg); }
.faq__a { padding: 0 .8rem; overflow: hidden; max-height: 0; transition: max-height .2s ease-out; border-bottom: .1rem solid #e4e4e4; }
.faq__a p { margin: 0; font: 400 1.4rem/1.4rem var(--f-ui); color: #6e6e73; }
.faq__a p::after { content: ""; display: block; height: 1.6rem; }
@media (max-width: 767.98px) {
  .faq-card { width: 39.4rem; height: 44.7rem; }
  .faq-card .display { top: 2.37rem; }
  .faq { left: 2.1rem; top: 8rem; width: 35.1rem; }
}

/* Pink call-to-action band */
.cta { display: flex; width: 98.4rem; height: 27rem; margin: 0 auto; }
.cta__photo { width: 49.8rem; height: 27rem; object-fit: cover; object-position: 50% 0; }
.cta__panel { position: relative; width: 48.6rem; height: 27rem; background: #fa0cf7; }
.cta__title { position: absolute; left: 3.9rem; top: 3.46rem; width: 41.7rem; font: 400 2.4rem/3rem var(--f-display); color: #fff; }
.cta__buttons { position: absolute; left: 2.7rem; top: 21.66rem; width: 43.7rem; height: 3.05rem; }
.cta__buttons .btn { position: absolute; left: 0; top: 0; width: 10.58rem; border-radius: .6rem; }
.cta__buttons .badge-box { position: absolute; left: 24.1rem; top: .04rem; width: 9.5rem; height: 3rem; }
.cta__buttons .badge--apple { position: absolute; left: 34.2rem; top: 0; width: 9.5rem; height: 3.05rem; }
@media (max-width: 767.98px) {
  .cta { display: block; width: 39.3rem; height: auto; }
  .cta__photo { width: 39.3rem; height: 21.1rem; object-position: 50% 50%; }
  .cta__panel { width: 39.3rem; height: 21rem; }
  .cta__title { left: 0; top: 5rem; width: 100%; font-size: 2rem; line-height: 2rem; letter-spacing: .05rem; text-align: center; }
  .cta__buttons { left: 0; top: 14.5rem; width: 100%; }
  .cta__buttons .btn { left: 3.62rem; width: 10.4rem; }
  .cta__buttons .badge-box { left: 15.12rem; top: -.1rem; width: 10.4rem; border-radius: .8rem; }
  .cta__buttons .badge-box img { width: 8.5rem; }
  .cta__buttons .badge--apple { left: 26.52rem; width: 9.4rem; height: 3rem; }
}

/* Footer */
.site-footer { position: relative; height: 30.4rem; background: #000; color: #fff; font: 400 1rem/2rem var(--f-text); }
.sub .site-footer, .seo .site-footer { height: 29.1rem; }
.site-footer__logo { position: absolute; left: 2rem; top: 3.17rem; width: 8.5rem; height: 2rem; }
.site-footer__logo img { width: 100%; height: 100%; }
.site-footer__cols { position: absolute; left: 18.6rem; top: 2.77rem; display: grid; grid-template-columns: repeat(4, 15.4rem); column-gap: 1.2rem; }
.site-footer .lbl { color: rgba(255,255,255,.4); }
.site-footer a { color: #fff; transition: color .2s; }
.site-footer a:hover { color: #cde1f9; }
.site-footer__year { position: absolute; left: 2rem; top: 24.77rem; }
@media (max-width: 767.98px) {
  .site-footer, .sub .site-footer, .seo .site-footer { height: 24.6rem; line-height: 1.8rem; }
  .site-footer__cols { left: 2.2rem; top: 1.5rem; grid-template-columns: 8.4rem 8.4rem 8rem 10.7rem; column-gap: .6rem; }
  .site-footer .lbl { color: rgba(255,255,255,.5); }
  .site-footer__logo { left: 2.2rem; top: 18.8rem; width: 8.2rem; height: 1.9rem; }
  .site-footer__year { left: 29.7rem; top: 19.3rem; }
}

/* ======================= HOME ======================= */
/* Readymag rendered the scrolling content ~9px higher than the fixed button bar; kept for a 1:1 look */
.hero { position: relative; height: 52.14rem; margin-top: -.89rem; }
.hero__word { position: absolute; z-index: 495; font: 400 6.4rem/5.6rem var(--f-display); color: #000; text-align: center; white-space: nowrap; }
.hero__word--1 { left: 36.8rem; top: 16.4rem; width: 30rem; }
.hero__word--2 { left: 26.9rem; top: 22.8rem; width: 21.4rem; }
.hero__word--3 { left: 54.6rem; top: 22.8rem; width: 21.4rem; }
.hero__c { position: absolute; z-index: 493; left: 48.96rem; top: 22.4rem; width: 6.24rem; height: 6.66rem; }
.hero__sub, .hero__note { position: absolute; z-index: 488; left: 33.5rem; width: 35.4rem; font-size: 1.4rem; line-height: 1.8rem; letter-spacing: -.05rem; color: #222; text-align: center; }
.hero__sub { top: 30.2rem; }
.hero__note { top: 49.7rem; }
.hc { position: absolute; left: calc(var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w) * .1rem); height: calc(var(--h) * .1rem); border-radius: calc(var(--r) * .1rem); object-fit: cover; z-index: var(--z); }
.js .hc { opacity: 0; transform: translate(calc(var(--dx) * -.1rem), calc(var(--dy) * -.1rem)); transition: opacity .3s linear, transform .3s cubic-bezier(.25,.1,.25,1); }
.js .hero__word, .js .hero__c { opacity: 0; transform: scale(.8); transition: opacity .3s ease-out, transform .3s ease-out; }
.js.is-loaded .hc, .js.is-loaded .hero__word, .js.is-loaded .hero__c { opacity: 1; transform: none; }

.cta-bar { position: sticky; top: .54rem; z-index: 60; display: flex; gap: .35rem; align-items: center; width: 31.45rem; height: 3.97rem; margin: .89rem auto 0; padding: 0 .5rem 0 .45rem; background: var(--page-bg); border-radius: 1.1rem; }
.cta-bar .btn { width: 10rem; height: 3.06rem; flex: none; }
.cta-bar .btn:hover { opacity: .6; }
.cta-bar .badge--chrome { width: 10.3rem; height: 3.08rem; border-radius: .6rem; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; background: #fff; border: .1rem solid #d9d9d9; }
.cta-bar .badge--chrome img { width: 9rem; height: 2.72rem; object-fit: cover; }
.cta-bar .badge--apple { width: 9.5rem; height: 3.05rem; flex: none; }

.hero-video { display: block; width: 65.4rem; height: 36.9rem; margin: 2.96rem auto 0; object-fit: cover; background: #fff; }

.stats { display: flex; justify-content: center; gap: .6rem; margin-top: 3.94rem; }
.stat { width: 17.8rem; height: 7rem; border-radius: 2rem; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.stat__num { font: 400 2.4rem/2.3rem var(--f-display); color: #000; }
.stat__label { font: 400 1.4rem/1.8rem var(--f-text); color: #000; }
.stat--rating .stat__num, .stat--rating .stat__label { line-height: 2.4rem; }
.stat--rating .stat__label { margin-top: -.1rem; }
.app .stat { opacity: 0; transform: translateY(3.2rem); transition: opacity var(--d) linear, transform var(--d) ease-out; }
.app .stat.in-view { opacity: 1; transform: none; }

.templates { position: relative; height: 46.6rem; margin-top: 3.2rem; padding-top: 2.8rem; background: #fff; }
.templates .tpl { margin-top: 4.76rem; }

.howto { margin-top: 6.1rem; }
.howto__grid { display: grid; grid-template-columns: repeat(4, 20.3rem); column-gap: 4.567rem; padding-left: 3.9rem; margin-top: 3.9rem; }
.howto__video { width: 20.3rem; height: 20rem; border: .1rem solid #000; border-radius: 1.2rem; object-fit: cover; transition: transform .2s ease-in-out; background: #fff; }
.howto__video:hover { transform: scale(1.05); }
.howto__cap { margin-top: 2.2rem; font: 400 .9rem/1.1rem var(--f-text); letter-spacing: -.05rem; color: rgba(64,64,64,.95); text-align: center; }
.howto__btn { display: flex; justify-content: center; margin-top: 3.7rem; }
.howto__btn .btn { width: 10.4rem; }

.vibe { position: relative; width: 98.4rem; height: 41.9rem; margin: 5.47rem auto 0; background: #000; border-radius: 3.2rem; color: #fff; }
.vibe__title { position: absolute; left: 26.6rem; top: 3.5rem; width: 45.2rem; font: 400 2.4rem/3rem var(--f-display); text-align: center; }
.vibe__burst { position: absolute; left: 57.33rem; top: 3.9rem; width: 36.93rem; height: 37.4rem; z-index: 0; }
.vibe__label { position: absolute; top: 13.7rem; font: 400 1.4rem/1.8rem var(--f-text); text-align: center; z-index: 2; }
.vibe__single .vibe__label { left: 33.2rem; width: 15.4rem; }
.vibe__multi .vibe__label { left: 67.7rem; width: 15.3rem; }
.vibe__item { position: absolute; top: 17rem; width: 15.4rem; z-index: 1; }
.vibe__item img, .vibe__item video { width: 15.4rem; height: 15.4rem; object-fit: cover; }
.vibe__item figcaption { margin-top: 1.9rem; font: 400 1rem/1rem var(--f-text); text-align: center; }
.vibe__item--1 { left: 16.5rem; }
.vibe__item--2 { left: 33.2rem; }
.vibe__item--3 { left: 49.8rem; }
.vibe__item--4 { left: 67.8rem; width: 15.3rem; }
.vibe__item--4 video { width: 15.3rem; height: 15.43rem; }

.duo { display: flex; gap: 1.2rem; width: 98.4rem; margin: 4.32rem auto 0; }
.duo__card { position: relative; width: 48.6rem; height: 41rem; background: #fff; border-radius: 3.2rem; }
.duo__card .display { position: absolute; left: 0; right: 0; top: 3.8rem; }
.duo__text { position: absolute; left: 50%; transform: translateX(-50%); top: 8.7rem; width: 36.1rem; font-size: 1.4rem; line-height: 1.8rem; letter-spacing: -.05rem; color: rgba(29,29,31,.8); text-align: center; }
.duo__card--2 .duo__text { top: 8.4rem; width: 35.7rem; }
.duo__main { position: absolute; left: 19rem; top: 18rem; width: 26.7rem; height: 20rem; border-radius: 1.2rem; object-fit: cover; z-index: 2; }
.duo__small { position: absolute; left: 3.2rem; top: 21rem; width: 18.2rem; height: 14rem; border-radius: .8rem; object-fit: cover; z-index: 1; }
.duo__card--1 .duo__main { object-position: 50% 31%; }
.duo__card--2 .duo__main { left: 18.9rem; object-position: 50% 16%; }
.duo__card--2 .duo__small { left: 3.4rem; width: 17.9rem; }

.fonts-sec { margin-top: 6.07rem; }
.fonts-sec__text { width: 45.4rem; height: 7.1rem; margin: 2.25rem auto 0; font-size: 1.4rem; line-height: 1.8rem; letter-spacing: -.05rem; color: #1d1d1f; text-align: center; }
.ftiles { display: grid; grid-template-columns: repeat(6, 15.4rem); gap: 1.2rem; padding: 0 2rem; margin-top: 5.39rem; }
.ft { position: relative; width: 15.4rem; height: 15.6rem; background: var(--bg); overflow: hidden; }
.ft > * { position: absolute; left: calc(var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w) * .1rem); font-size: calc(var(--fs) * .1rem); line-height: calc(var(--lh) * .1rem); letter-spacing: calc(var(--ls, 0) * .1rem); text-align: var(--ta, left); font-weight: 400; }
.ft__nowrap { white-space: nowrap; }
@media (min-width: 768px) { .ft__nowrap-d { white-space: nowrap; } }
.ft--more a { color: #282828; transition: color .2s; }
.ft--more a:hover { color: rgba(0,122,255,.8); }
.and-more span { font-family: var(--ff); }

.designers { width: 45.8rem; height: 8.8rem; margin: 6.31rem auto 0; font: 400 2.4rem/3rem var(--f-display); letter-spacing: .01rem; color: #000; text-align: center; }
.designers a { color: var(--blue); }

.home .faq-card { margin-top: 5.79rem; }
.home .cta { margin-top: 5rem; }
.home .site-footer { height: 31.3rem; margin-top: 6.46rem; }

@media (max-width: 767.98px) {
  .hero { height: 65.9rem; margin-top: 0; }
  .hero__word { font-size: 4.8rem; line-height: 4.2rem; }
  .hero__word--1 { left: 9.5rem; top: 22.9rem; width: 22.9rem; }
  .hero__word--2 { left: 12.55rem; top: 27.9rem; width: 16.3rem; }
  .hero__word--3 { left: 14.5rem; top: 32.8rem; width: 16.3rem; }
  .hero__c { left: 10.2rem; top: 32.5rem; width: 4.8rem; height: 5rem; }
  .hero__sub, .hero__note { font-size: 1rem; line-height: 1.3rem; }
  .hero__sub { left: 12.2rem; top: 40.1rem; width: 16.7rem; }
  .hero__note { left: 7rem; top: 63rem; width: 27rem; }
  .hc { left: calc(var(--px) * .1rem); top: calc(var(--py) * .1rem); width: calc(var(--pw) * .1rem); height: calc(var(--ph) * .1rem); border-radius: calc(var(--pr) * .1rem); }
  .js .hc { opacity: 1; transform: none; transition: none; }
  .hc--d { display: none; }

  .cta-bar { position: static; width: auto; height: 4.06rem; margin: 0; padding: 0 0 0 7rem; gap: 1.67rem; background: none; border-radius: 0; }
  .cta-bar .btn { width: 12.83rem; height: 4rem; }
  .cta-bar .badge--chrome { display: none; }
  .cta-bar .badge--apple { width: 12.9rem; height: 4.06rem; }

  .hero-video { width: 39.4rem; height: 23.7rem; margin-top: 8.1rem; }

  .stats { gap: .5rem; margin-top: 2.8rem; }
  .stat { width: 12.8rem; }
  .stat__num { line-height: 2.4rem; }
  .stat__label { font-size: .9rem; line-height: 1.2rem; }
  .app .stat { opacity: 1; transform: none; transition: none; }

  .templates { height: auto; margin-top: 8.6rem; padding-top: 0; background: none; }
  .templates .tpl { margin-top: 2.9rem; }

  .howto { margin-top: 3.94rem; height: 65rem; padding-top: 3.1rem; background: #fff; }
  .howto__grid { grid-template-columns: repeat(2, 19.1rem); column-gap: 1.1rem; row-gap: 2.9rem; padding-left: 1.1rem; margin-top: 3.2rem; }
  .howto__video { width: 19.1rem; height: 18.8rem; border: 0; }
  .howto__cap { margin-top: 2.1rem; }
  .howto__btn { margin-top: 2.8rem; }

  .vibe { width: auto; height: auto; margin: 5.47rem 0 0; background: none; border-radius: 0; color: #1d1d1f; }
  .vibe__title { position: static; width: 39.4rem; margin: 0 auto; font-size: 2rem; line-height: 2rem; color: #222; }
  .vibe__burst { display: none; }
  .vibe__single { position: relative; height: 16.43rem; margin-top: 4.4rem; }
  .vibe__label { top: 0; font-weight: 500; }
  .vibe__single .vibe__label { left: 4.3rem; width: 32.8rem; color: #1d1d1f; }
  .vibe__item { top: 2.9rem; display: flex; flex-direction: column-reverse; align-items: center; width: 9rem; }
  .vibe__item img { width: 9rem; height: 9rem; }
  .vibe__item figcaption { margin: 0 0 .8rem; width: 11rem; font-size: 1rem; line-height: 1.8rem; color: #1d1d1f; white-space: nowrap; }
  .vibe__item--1 { left: 4.9rem; }
  .vibe__item--2 { left: 16.2rem; }
  .vibe__item--3 { left: 27.55rem; }
  .vibe__multi { position: relative; height: 45.7rem; background: var(--blue); border-radius: 2.4rem; color: #fff; }
  .vibe__multi .vibe__label { left: 5.6rem; top: 2.5rem; width: 30rem; }
  .vibe__item--4 { left: 4.8rem; top: 6.8rem; width: 31.8rem; flex-direction: column; }
  .vibe__item--4 video { width: 31.8rem; height: 32rem; }
  .vibe__item--4 figcaption { margin: 2.3rem 0 0; font-size: 1.4rem; color: #fff; }

  .duo { display: block; width: 41.4rem; margin-top: 1.97rem; }
  .duo__card { width: 41.4rem; height: 37rem; }
  .duo__card + .duo__card { margin-top: 2rem; }
  .duo__card .display { top: 2.3rem; }
  .duo__text, .duo__card--2 .duo__text { top: 5.5rem; width: 36.4rem; color: rgba(34,34,34,.7); }
  .duo__card--2 .duo__text { top: 6.6rem; }
  .duo__main, .duo__card--2 .duo__main { left: 17.3rem; top: 16rem; width: 23rem; height: 18rem; object-position: 50% 50%; }
  .duo__small { left: .9rem; top: 17.5rem; width: 18.66rem; height: 15rem; border-radius: 1.2rem; }
  .duo__card--2 .duo__small { left: 1.9rem; width: 17.8rem; }

  .fonts-sec { margin-top: 6.33rem; }
  .fonts-sec__text { width: 34.7rem; height: 10.6rem; margin-top: 2.77rem; letter-spacing: 0; color: #2c2c2c; }
  .ftiles { grid-template-columns: repeat(3, 12.5rem); column-gap: .95rem; row-gap: .9rem; padding: 0 0 0 1rem; margin-top: 6.1rem; }
  .ft { width: 12.5rem; height: 12.6rem; order: var(--po); }
  .ft > * { left: calc(var(--px) * .1rem); top: calc(var(--py) * .1rem); width: calc(var(--pw) * .1rem); font-size: calc(var(--pfs, var(--fs)) * .1rem); line-height: calc(var(--plh, var(--lh)) * .1rem); letter-spacing: calc(var(--pls, var(--ls, 0)) * .1rem); }

  .designers { width: 39.4rem; height: 6.9rem; margin-top: 5.2rem; font-size: 2rem; line-height: 2rem; letter-spacing: 0; color: #222; }
  .designers a { display: block; line-height: 3rem; }

  .home .faq-card { margin-top: 4.93rem; }
  .home .cta { margin-top: 11.7rem; }
  .home .site-footer { margin-top: 8.87rem; }
}

/* ======================= SUBPAGES (fonts / tutorials / onboarding) ======================= */
.back { position: absolute; left: 1.9rem; top: 1.5rem; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #fff; color: #1d1d1f; font: 400 1.1rem/3.5rem Arial, sans-serif; text-align: center; transition: background-color .2s, color .2s; z-index: 5; }
.back:hover { background: var(--blue); color: #fff; }
.sub .logo { width: 8.5rem; }
.card { position: relative; background: #fff; border-radius: 2rem; }
.card__title { position: absolute; left: 2.4rem; top: 2.2rem; width: 22.9rem; font: 400 2rem/2.4rem var(--f-poppins); letter-spacing: -.1rem; color: #1d1d1f; }
.card__list { position: absolute; left: 2.4rem; top: 6.1rem; width: 29.5rem; font: 400 1rem/1.2rem var(--f-text); color: rgba(64,64,64,.95); white-space: pre-line; }
.card__list--bullets { white-space: normal; }
.card__list--bullets li { padding-left: .55rem; text-indent: -.55rem; }
.card__list--bullets li::before { content: "\2022\00a0"; }
.yt { position: absolute; left: 40.8rem; top: 3.1rem; width: 54.5rem; height: 40.9rem; border-radius: 1.2rem; overflow: hidden; background: #000; }
.yt iframe, .yt img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.yt button { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yt button svg { width: 6.8rem; height: 4.8rem; transition: opacity .2s; opacity: .9; }
.yt button:hover svg { opacity: 1; }

.fonts-page .card { width: 98.37rem; height: 97.1rem; margin: 6.9rem 0 0 2.04rem; }
.fonts-page .card__list { left: 49.76rem; top: 2.3rem; width: 41.2rem; color: rgba(29,29,31,.81); }
.fonts-page .site-footer { margin-top: 4rem; }

.tutorials-page .card { width: 98.3rem; height: 47.1rem; margin: 6.9rem 0 0 2.1rem; }
.tutorials-page .site-footer { margin-top: 4rem; }

.onboarding-page .hint { position: absolute; left: 78.6rem; top: 2.91rem; font: 500 1rem/1.2rem var(--f-text); color: rgba(0,0,0,.95); white-space: nowrap; }
.onboarding-page .hint-arrow { position: absolute; left: 91.73rem; top: .585rem; width: 3.69rem; height: 3.69rem; }
.steps { position: relative; width: 98.4rem; height: 37rem; margin: 7rem 0 0 2rem; background: #0076ff; border-radius: 1.6rem; color: rgba(255,255,255,.95); }
.steps__title { position: absolute; left: 31.7rem; top: 2.65rem; width: 34.9rem; font: 500 1.8rem/2.4rem var(--f-text); letter-spacing: -.03rem; text-align: center; }
.steps__item { position: absolute; top: 8.65rem; width: 30.7rem; }
.steps__item figcaption { font: 500 1.3rem/1.2rem var(--f-text); text-align: center; height: 3.45rem; }
.steps__item img { width: 30.7rem; height: 23.6rem; border-radius: .8rem; object-fit: cover; }
.steps__item--1 { left: 1.2rem; }
.steps__item--2 { left: 33.85rem; }
.steps__item--3 { left: 66.6rem; }
.onboarding-page .card { width: 98.3rem; height: 37.14rem; margin: 3rem 0 0 2.1rem; }
.onboarding-page .yt { height: 30.71rem; }
.onboarding-page .site-footer { margin-top: 2.86rem; }

@media (max-width: 767.98px) {
  .back { left: 1.2rem; top: 1.6rem; }
  .sub .logo { left: 16.6rem; top: 1.6rem; width: 8.2rem; height: 1.9rem; }
  .card__title { left: 1.8rem; top: 2.1rem; width: 33.6rem; }
  .card__list { left: 1.8rem; top: 6.5rem; width: 20.66rem; }
  .yt { left: 1rem; top: 25rem; width: 37.4rem; height: 28rem; }
  .fonts-page .card { width: 39.4rem; height: 138.1rem; margin: 6rem 0 0 1rem; }
  .fonts-page .card__title { color: #000; }
  .fonts-page .card__list { left: 15.5rem; top: 12.29rem; width: 20.66rem; }
  .fonts-page .site-footer { margin-top: 3.9rem; }
  .tutorials-page .card { width: 39.4rem; height: 54rem; margin: 6rem 0 0 1rem; }
  .tutorials-page .site-footer { margin-top: 4rem; }
  .onboarding-page .hint, .onboarding-page .hint-arrow { display: none; }
  .steps { width: 39.4rem; height: 97.5rem; margin: 6rem 0 0 1rem; }
  .steps__title { left: 5.7rem; top: 3.2rem; width: 28rem; }
  .steps__item { left: 5.7rem; width: 28rem; }
  .steps__item figcaption { height: auto; margin-bottom: 1.7rem; }
  .steps__item--1 { top: 11.2rem; }
  .steps__item--2 { top: 41.6rem; }
  .steps__item--3 { top: 70.1rem; }
  .steps__item--2 figcaption { margin-bottom: 1.5rem; }
  .steps__item--3 figcaption { margin-bottom: 1.1rem; }
  .steps__item img { width: 28rem; height: 21.5rem; }
  .onboarding-page .card { width: 39.4rem; height: 54rem; margin: 3.5rem 0 0 1rem; }
  .onboarding-page .card__list { left: 1.7rem; top: 6.1rem; color: rgba(29,29,31,.81); }
  .onboarding-page .card__title { left: 1.7rem; }
  .onboarding-page .yt { left: .9rem; top: 22rem; height: 28rem; }
  .onboarding-page .site-footer { margin-top: 4rem; }
}

/* ======================= SEO PAGES (instant / 1200x1200 / 1080x1920 / 1200x628) ======================= */
.seo .logo { left: 4.8rem; }
.seo-hero { display: flex; gap: 1.2rem; width: 98.4rem; margin: 6rem auto 0; }
.seo-hero__card { position: relative; width: 48.6rem; height: 36.4rem; background: #fff; border: .1rem solid #202020; border-radius: 2.4rem; }
.seo-hero__title { position: absolute; left: 2.7rem; top: 2.5rem; width: 43.8rem; font: 400 3.2rem/3.2rem var(--f-display); color: #000; }
.seo-hero__title em { font-style: normal; color: #ff6d2d; }
.seo-hero__sub { position: absolute; left: 2.7rem; top: calc(var(--sub-y) * .1rem); width: 33.9rem; /* Readymag box is 32.57; widened so the Inter stand-in breaks lines like Graphik */ font-size: 1.4rem; line-height: 2.4rem; letter-spacing: -.05rem; color: #222; }
.seo-hero__note { position: absolute; left: 26.9rem; top: 28.7rem; width: 19.6rem; font: 400 .9rem/1.1rem var(--f-text); letter-spacing: -.05rem; color: rgba(64,64,64,.95); white-space: nowrap; }
.seo-hero__buttons .btn { position: absolute; left: 2.3rem; top: 31.1rem; width: 10.58rem; }
.seo-hero__buttons .badge-box { position: absolute; left: 26.9rem; top: 31.1rem; width: 9.5rem; height: 3.05rem; background: transparent; border: .05rem solid #aaa; }
.seo-hero__buttons .badge--apple { position: absolute; left: 37rem; top: 31.1rem; width: 9.5rem; height: 3.05rem; }
.seo-hero__video { width: 48.6rem; height: 36.4rem; object-fit: cover; background: #fff; }
.seo .tpl-sec { margin-top: 5.1rem; }
.seo .tpl-sec .display { width: 48.6rem; margin: 0 auto; }
.seo .tpl-sec .tpl { height: 35.6rem; margin-top: 8.06rem; }
.seo .faq-card { margin-top: 5.34rem; }
.seo .cta { margin-top: 5rem; }
.seo .site-footer { margin-top: 8.06rem; }

@media (max-width: 767.98px) {
  .seo .logo { left: 14.8rem; }
  .seo-hero { display: block; width: 39.4rem; margin-top: 6.5rem; }
  .seo-hero__card { width: 39.4rem; height: 29.5rem; }
  .seo-hero__title { left: 1.85rem; top: 2.5rem; width: 35.9rem; font-size: 2.6rem; }
  .p1080 .seo-hero__title { width: 37.4rem; letter-spacing: -.04rem; }
  .seo-hero__title em { color: inherit; }
  .seo-hero__sub { left: 1.9rem; top: calc(var(--psub-y) * .1rem); width: 34.6rem; font: 400 1.8rem/2.4rem var(--f-poppins); letter-spacing: -.1rem; color: #282828; }
  .seo-hero__note { left: 18rem; top: 22rem; }
  .seo-hero__buttons .btn { left: 1.7rem; top: 24.4rem; width: 10.4rem; }
  .seo-hero__buttons .badge-box { left: 18rem; top: 24.4rem; }
  .seo-hero__buttons .badge-box img { width: 8.5rem; }
  .seo-hero__buttons .badge--apple { left: 28.1rem; top: 24.4rem; }
  .seo-hero__video { display: block; width: 39.4rem; height: 29.6rem; margin-top: 1rem; }
  .seo .tpl-sec { margin-top: 4.6rem; }
  .seo .tpl-sec .display { width: 39.4rem; }
  .seo .tpl-sec .tpl { height: auto; margin-top: 4.8rem; }
  .seo .faq-card { margin-top: 5rem; }
  .seo .cta { margin-top: 6.4rem; }
  .seo .cta__photo { display: none; }
  .seo .cta__panel { height: 27rem; }
  .seo .cta__title { top: 10rem; }
  .seo .cta__buttons { top: 20.1rem; }
  .seo .site-footer { margin-top: 8.47rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .js .hc, .js .hero__word, .js .hero__c, .app .stat { opacity: 1; transform: none; }
}
