/* Second direction: editorial photography, stronger contrast, original typefaces. */
/* Third iteration: one author/book story and visible social proof. */
[hidden] {
  display: none !important;
}
.brand {
  font-size: 20px;
  letter-spacing: -0.035em;
  gap: 13px;
}
.brand > span:last-child {
  font-family: var(--serif);
  font-weight: 400;
}
.brand small {
  font: 10px var(--sans);
  letter-spacing: 0.04em;
  margin-top: 7px;
}
.brand-symbol {
  border: 0;
  border-radius: 0;
  width: 42px;
  height: 45px;
  font-style: normal;
  font-size: 42px;
  line-height: 1;
}
.brand-symbol::after {
  display: none;
}
.brand-symbol img {
  width: 145%;
  height: 145%;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}
.site-footer .brand-symbol img {
  width: 100%;
  height: 100%;
  filter: none;
}
.hero-editorial {
  background: #0b252b;
}
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 640px;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 76%;
  height: 100%;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
  border-radius: 0;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #0b252b 4%,
    rgba(11, 37, 43, 0.98) 23%,
    rgba(11, 37, 43, 0.86) 35%,
    rgba(11, 37, 43, 0.48) 49%,
    rgba(11, 37, 43, 0) 65%
  );
}
.hero-content {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-editorial .hero-copy {
  width: 57%;
  padding: 65px 0 85px;
  color: #fffdf8;
}
.hero-editorial .eyebrow {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #e7cbb9;
  max-width: 510px;
  margin-bottom: 28px;
}
.hero-editorial h1 {
  font-size: clamp(55px, 5.1vw, 75px);
  line-height: 1.06;
  max-width: 665px;
  margin-bottom: 26px;
}
.hero-editorial h1 em {
  color: #ffc3a7;
}
.hero-description {
  font-size: 16px;
  line-height: 1.8;
  max-width: 450px;
  color: #e0e9e5;
  margin-bottom: 29px;
}
.hero-editorial .hero-hint {
  color: #c0d0ca;
  font-size: 11px;
  margin-top: 17px;
}
.hero-editorial .link-arrow {
  font-size: 13px;
  color: #fffdf8;
}
.hero-caption {
  position: absolute;
  bottom: 26px;
  right: 36px;
  display: flex;
  flex-direction: column;
  align-items: end;
  color: white;
  font-size: 10px;
  line-height: 1.7;
  text-shadow: 0 1px 4px #000;
}
.hero-caption span:first-child {
  font-size: 9px;
  letter-spacing: 0.13em;
}
.proof-strip {
  background: #e6e9de;
  border-bottom: 1px solid #c5cec1;
}
.proof-strip > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.proof-strip p {
  font: 24px/1.2 var(--serif);
  margin: 0;
}
.proof-strip p em {
  color: #42736a;
}
.proof-strip .stats {
  gap: 40px;
}
.proof-strip .stat strong {
  font-size: 42px;
}
.proof-strip .link-arrow {
  font-size: 12px;
  margin-left: 10px;
  color: var(--ink);
  border-color: #7a9282;
}
#vida-real {
  position: relative;
  padding: 85px 0 92px;
}
#vida-real h2 {
  font-size: clamp(44px, 4.5vw, 65px);
}
#vida-real .intro {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
}
.everyday span {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #b1c4b4;
  padding: 6px 0;
  margin-right: 12px;
}
.app-section {
  background: #061b28;
  padding: 90px 0;
}
.app-section .app-grid {
  grid-template-columns: 1fr 0.95fr;
  gap: 85px;
}
.app-wordmark {
  text-transform: none;
}
.app-campaign {
  margin: 0;
  position: relative;
  width: 100%;
}
.app-campaign > img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}
.app-campaign figcaption {
  font-size: 10px;
  letter-spacing: 0.08em;
  padding-top: 13px;
  color: #bccbcf;
  text-align: right;
}
.app-section h2 {
  font-size: clamp(43px, 4.2vw, 61px);
}
.app-section .app-wordmark {
  margin-bottom: 40px;
}
.app-section .feature-list li {
  grid-template-columns: 26px 1fr;
}
.app-section .feature-list {
  margin-bottom: 28px;
}
.download-section {
  background: #e6e9de;
}
#sobre-mi {
  padding: 110px 0 65px;
}
.about-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
}
.about-image img {
  border-radius: 0;
  aspect-ratio: 1.17;
  object-position: 60% 50%;
}
.about-text h2 {
  font-size: clamp(38px, 3.7vw, 54px);
}
.partners {
  padding: 20px 0 90px;
}
.testimonials {
  background: #e1e8df;
  border-top: 1px solid #c7d4c6;
}
.testimonials .section-heading h2 {
  font-size: clamp(46px, 5vw, 70px);
}
.testimonials .section-heading {
  align-items: center;
}
.testimonials .section-heading p {
  border-left: 2px solid #b35d4e;
  padding-left: 24px;
}
.video-card {
  border-radius: 0;
}
.video-card blockquote {
  font-size: 24px;
}
#libro {
  background: #f4e9da;
}
.book-photo > img {
  border-radius: 0;
}
.book-stamp {
  display: none;
}
.book-copy .eyebrow {
  color: #945238;
}
.press {
  border-color: #d9cab5;
}
.faq-section {
  background: var(--paper);
}
.closing {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
  background: #113e40;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  background: var(--coral);
}
.closing h2 {
  font-size: clamp(42px, 4.8vw, 68px);
  max-width: 800px;
}
.app-page-hero {
  background: #071c29;
  color: var(--paper);
  padding: 65px 0;
}
.app-page-hero .app-grid {
  grid-template-columns: 1fr 0.86fr;
  gap: 105px;
}
.app-page-hero .lead {
  color: #d3dfdc;
}
.app-page-hero .hero-hint {
  color: #bdcfc7;
}
.app-page-hero h1 em {
  color: #ffc3a7;
}
.app-page-hero .eyebrow {
  color: #e8c7b7;
}
.app-gallery {
  background: #e7eae1;
}
.campaign-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.campaign-rail figure {
  margin: 0;
}
.campaign-rail img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.campaign-rail figcaption {
  font-size: 12px;
  padding-top: 17px;
  border-top: 1px solid #b9c8b8;
  margin-top: 18px;
}
.app-gallery h2 {
  max-width: 740px;
}
.app-gallery .section-heading {
  align-items: end;
}
.site-footer .brand-symbol {
  width: 37px;
}
@media (min-width: 1500px) {
  .hero-stage,
  .hero-content {
    min-height: 720px;
  }
  .hero-editorial h1 {
    font-size: 83px;
  }
}
@media (max-width: 1100px) {
  .brand {
    font-size: 18px;
  }
  .brand small {
    font-size: 9px;
  }
  .brand-symbol {
    width: 35px;
    height: 39px;
  }
  .hero-editorial .hero-copy {
    width: 60%;
  }
  .hero-editorial h1 {
    font-size: 62px;
  }
  .hero-description {
    max-width: 360px;
    font-size: 15px;
  }
  .hero-media {
    width: 83%;
  }
  .hero-stage::before {
    background: linear-gradient(
      90deg,
      #0b252b 1%,
      #0b252bf5 27%,
      #0b252bbd 40%,
      #0b252b00 72%
    );
  }
  .proof-strip > .wrap {
    gap: 25px;
  }
  .proof-strip .stats {
    gap: 25px;
  }
  .proof-strip .link-arrow {
    display: none;
  }
  .app-section .app-grid,
  .app-page-hero .app-grid {
    gap: 45px;
  }
  #vida-real .intro {
    gap: 45px;
  }
  .about-grid {
    gap: 50px;
  }
}
@media (max-width: 800px) {
  .hero-editorial h1 {
    font-size: 52px;
  }
  .hero-stage,
  .hero-content {
    min-height: 620px;
  }
  .hero-editorial .hero-copy {
    padding: 55px 0 70px;
    width: 65%;
  }
  .hero-description {
    font-size: 14px;
    max-width: 330px;
  }
  .hero-caption {
    right: 20px;
    bottom: 18px;
  }
  .hero-editorial .eyebrow {
    font-size: 9px;
    max-width: 330px;
    line-height: 1.8;
  }
  .hero-media {
    width: 100%;
    object-position: 65% 50%;
  }
  .hero-stage::before {
    background: linear-gradient(
      90deg,
      #0b252bf5 0%,
      #0b252be8 26%,
      #0b252b9c 52%,
      #0b252b14 100%
    );
  }
  .app-section .app-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .app-section h2 {
    font-size: 40px;
  }
  .app-section .app-wordmark {
    margin-bottom: 25px;
  }
  .proof-strip p {
    font-size: 22px;
  }
  .proof-strip .stat strong {
    font-size: 35px;
  }
  .app-page-hero .app-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .app-page-hero h1 {
    font-size: 44px;
  }
  .campaign-rail {
    gap: 16px;
  }
  .about-grid {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1.8;
    z-index: 0;
  }
  .hero-media img {
    object-position: center 42%;
  }
  .hero-stage::before {
    display: none;
  }
  .hero-content {
    min-height: 0;
  }
  .hero-editorial .hero-copy {
    width: 100%;
    padding: 38px 0 42px;
  }
  .hero-editorial h1 {
    font-size: 60px;
  }
  .hero-editorial .eyebrow,
  .hero-description {
    max-width: 600px;
  }
}
@media (max-width: 600px) {
  .hero-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    z-index: 0;
    display: block;
  }
  .hero-media img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
  }
  .hero-stage::before {
    display: none;
  }
  .hero-content {
    min-height: 0;
    width: calc(100% - 40px);
    display: block;
  }
  .hero-editorial .hero-copy {
    width: 100%;
    padding: 28px 0 30px;
  }
  .hero-editorial .eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
    line-height: 1.7;
    margin-bottom: 17px;
    max-width: none;
  }
  .hero-editorial h1 {
    font-size: clamp(40px, 11.7vw, 64px);
    line-height: 1.03;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.7;
    max-width: none;
    margin-bottom: 22px;
  }
  .hero-editorial .button-row {
    gap: 17px;
  }
  .hero-editorial .btn {
    font-size: 12px;
    gap: 15px;
    padding: 13px 18px;
  }
  .hero-editorial .link-arrow {
    font-size: 11px;
    gap: 9px;
  }
  .hero-editorial .hero-hint {
    font-size: 10px;
  }
  .hero-caption {
    display: none;
  }
  .proof-strip > .wrap {
    display: block;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .proof-strip p {
    font-size: 22px;
    margin-bottom: 23px;
  }
  .proof-strip .stats {
    justify-content: space-between;
  }
  .proof-strip .stat strong {
    font-size: 38px;
  }
  .proof-strip .stat span {
    font-size: 11px;
  }
  #vida-real {
    padding: 60px 0;
  }
  #vida-real .intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  #vida-real h2 {
    font-size: 43px;
  }
  .app-section {
    padding: 55px 0;
  }
  .app-section .app-grid,
  .app-page-hero .app-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .app-section .app-campaign {
    max-width: 440px;
    margin: auto;
  }
  .app-section h2 {
    font-size: 43px;
  }
  .app-section .app-wordmark {
    margin-bottom: 27px;
  }
  .app-section .app-campaign figcaption {
    text-align: left;
  }
  #sobre-mi {
    padding: 65px 0 30px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-text h2 {
    font-size: 40px;
  }
  .about-image img {
    aspect-ratio: 1.3;
  }
  .partners {
    padding: 20px 0 55px;
  }
  .testimonials .section-heading h2 {
    font-size: 48px;
  }
  .testimonials .section-heading p {
    margin-top: 25px;
    padding-left: 17px;
  }
  .video-card blockquote {
    font-size: 23px;
  }
  .app-page-hero {
    padding: 38px 0 45px;
  }
  .app-page-hero h1 {
    font-size: 48px;
  }
  .app-page-hero .app-campaign {
    max-width: 400px;
    margin: auto;
  }
  .campaign-rail {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
  }
  .campaign-rail figure {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .app-gallery .section-heading {
    display: block;
  }
  .app-gallery h2 {
    font-size: 40px;
  }
  .closing {
    padding: 70px 24px;
  }
  .closing::before {
    width: 5px;
  }
  .closing h2 {
    font-size: 42px;
  }
  .brand {
    font-size: 19px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand-symbol {
    width: 31px;
    height: 36px;
  }
  .header-inner {
    gap: 10px;
  }
  .brand {
    gap: 10px;
  }
}

/* A single personal story: the book and the person behind Hapiens. */
#sobre-mi.author-story {
  background: #f2e9dc;
  padding: 95px 0 70px;
}
.author-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.author-story-copy h2 {
  font-size: clamp(40px, 3.8vw, 56px);
  line-height: 1.07;
  margin-bottom: 28px;
}
.author-story-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 590px;
}
.author-story-copy > p strong {
  color: var(--ink);
  font-weight: 600;
}
.author-book {
  border-top: 1px solid #ccbaa5;
  padding-top: 26px;
  margin-top: 28px;
  scroll-margin-top: 120px;
}
.author-book .eyebrow {
  font-size: 9px;
  color: #9a5037;
  margin-bottom: 12px;
}
.author-book h3 {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.12;
  font-weight: 400;
  margin: 0 0 15px;
  max-width: 400px;
}
.author-book p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.author-book .button-row {
  gap: 22px;
  align-items: center;
  margin-top: 23px;
}
.author-book .btn {
  font-size: 12px;
  padding: 15px 21px;
}
.author-book .link-arrow {
  color: var(--ink);
  font-size: 12px;
  border-color: #a69983;
}
.author-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: end;
  min-width: 0;
}
.author-photos figure {
  margin: 0;
  min-width: 0;
}
.author-photo-main {
  grid-column: 1;
  grid-row: 1 / 3;
}
.author-photo-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: 50% 47%;
  display: block;
}
.author-photo-meeting {
  grid-column: 2;
  grid-row: 2;
}
.author-photo-meeting img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  object-position: 65% center;
  display: block;
}
.author-photos figcaption {
  padding-top: 12px;
  font-size: 11px;
  color: #5c665e;
  line-height: 1.4;
}
.author-photo-note {
  grid-column: 2;
  grid-row: 1;
  font: 31px/1.12 var(--serif);
  color: var(--ink);
  margin: 0 0 15px;
  padding-top: 50px;
}
.author-photo-note em {
  color: #a45b43;
}
.author-story .press {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #ccbaa5;
}
.author-story .press > p {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.author-story .press-logos {
  gap: 30px;
  justify-content: space-between;
}
.author-story .press-logos img {
  opacity: 0.85;
}
.student-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--ink);
}
.student-proof:hover .stat span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.student-faces {
  display: flex;
  align-items: center;
  padding-left: 8px;
  flex-shrink: 0;
}
.student-faces img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 50%;
  border: 3px solid #e6e9de;
  margin-left: -10px;
}
.student-proof .stat {
  gap: 10px;
}
.proof-strip > .wrap {
  gap: 25px;
}
.proof-strip .stats {
  gap: 30px;
}
.proof-strip .stat span {
  font-size: 10px;
}
.testimonials .reviews-box {
  margin: 0 0 35px;
  border: 1px solid #b9caba;
  background: #f9f8f2;
  padding: 24px 28px;
}
.reviews-head {
  align-items: center;
}
.google-source {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}
.reviews-head h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 10px;
}
.reviews-head p {
  font-size: 11px;
  max-width: 550px;
  margin: 0;
  line-height: 1.65;
}
.reviews-head .button-row {
  flex-shrink: 0;
}
.reviews-head .btn {
  font-size: 12px;
  padding: 13px 20px;
}
.reviews-head .link-arrow {
  font-size: 12px;
  color: var(--ink);
  border-color: #a5b8a6;
}
.reviews-status:empty,
.review-list:empty {
  display: none;
}
.reviews-status:not(:empty) {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.3;
  padding: 20px 0 0;
  margin: 0;
}
.review-list {
  display: flex;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  gap: 16px;
}
.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  border: 1px solid #d6dfd1;
  border-radius: 0;
  font-size: 13px;
  min-width: 0;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  line-height: 1.4;
}
.review-author img {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-card .review-date {
  font-size: 10px;
}
@media (max-width: 1100px) {
  .author-story-grid {
    gap: 38px;
  }
  .author-photo-main img {
    height: 420px;
  }
  .author-photo-meeting img {
    height: 225px;
  }
  .author-photo-note {
    font-size: 26px;
  }
  .student-faces img {
    width: 42px;
    height: 42px;
  }
  .student-proof {
    gap: 10px;
  }
  .proof-strip p {
    font-size: 20px;
  }
  .reviews-head .button-row {
    flex-direction: column;
    gap: 12px;
    align-items: start;
  }
}
@media (max-width: 800px) {
  .author-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .author-story-copy > p {
    max-width: none;
  }
  .author-story-copy h2 {
    max-width: 630px;
  }
  .author-photos {
    max-width: 650px;
    gap: 20px;
  }
  .author-photo-main img {
    height: 440px;
  }
  .author-photo-meeting img {
    height: 285px;
    object-position: 65% center;
  }
  .author-photo-note {
    font-size: 36px;
    padding-top: 20px;
  }
  .author-story .press-logos {
    justify-content: center;
  }
  .proof-strip > .wrap {
    flex-wrap: wrap;
    gap: 20px;
  }
  .proof-strip .stats {
    flex: 1;
    justify-content: space-between;
  }
  .review-card {
    flex-basis: 75%;
  }
}
@media (max-width: 600px) {
  #sobre-mi.author-story {
    padding: 58px 0 45px;
  }
  .author-story-copy h2 {
    font-size: 41px;
  }
  .author-story-copy > p {
    font-size: 14px;
  }
  .author-book h3 {
    font-size: 30px;
  }
  .author-photos {
    gap: 12px;
  }
  .author-photo-main img {
    height: 310px;
  }
  .author-photo-meeting img {
    height: 205px;
  }
  .author-photo-note {
    font-size: 24px;
    padding: 0;
    margin: 0 0 12px;
  }
  .author-photos figcaption {
    font-size: 9px;
    padding-top: 9px;
  }
  .author-story .press {
    margin-top: 35px;
  }
  .author-story .press-logos {
    gap: 22px;
  }
  .student-proof {
    flex-direction: column;
    align-items: start;
    gap: 6px;
  }
  .student-faces img {
    width: 39px;
    height: 39px;
    border-width: 2px;
    margin-left: -8px;
  }
  .student-proof .stat {
    display: flex;
    gap: 8px;
  }
  .student-proof .stat strong {
    font-size: 32px;
  }
  .proof-strip .stats {
    align-items: center;
    gap: 16px;
  }
  .proof-strip .stat span {
    font-size: 9px;
  }
  .proof-strip p {
    font-size: 24px;
  }
  .testimonials .reviews-box {
    padding: 22px 18px;
    margin-bottom: 26px;
  }
  .reviews-head {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .reviews-head .button-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
  }
  .reviews-head h3 {
    font-size: 27px;
  }
  .reviews-head .btn {
    padding: 12px 16px;
    font-size: 11px;
  }
  .reviews-head .link-arrow {
    font-size: 11px;
  }
  .review-card {
    flex-basis: 95%;
    padding: 18px;
  }
  .reviews-status:not(:empty) {
    font-size: 23px;
  }
}

.reviews-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.reviews-navigation p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.review-list:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
