/*

Your Self Tape Friend Stylesheet
Author: Lee Frankis
Copyright: 2025 Idearium
Version 2.0

*/

/****************************************************************************************************/
/* Custom root styles */

@font-face {
    font-family: "Courier Prime";
    src: url('assets/fonts/CourierPrime-Regular.ttf');
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf');
    font-display: swap;
}

:root {
    --container-width: 1200px;
    --container-padding: 20px;
    --grid-column-gap: 20px;
    --grid-row-gap: 20px;
    --gap: 5px;
    --gap-2x: calc(var(--gap) * 2); /* 10px */
    --gap-3x: calc(var(--gap) * 3); /* 15px */
    --gap-4x: calc(var(--gap) * 4); /* 20px */
    --gap-6x: calc(var(--gap) * 6); /* 30px */
    --gap-8x: calc(var(--gap) * 8); /* 40px */
    --gap-12x: calc(var(--gap) * 12); /* 60px */
    --white: #ffffff;
    --grey: #e0e0e0;
    --black: #101010;
    --accent: #5a33e7;
    --border-radius: 12px;
    --big-border-radius: 24px;
}

/****************************************************************************************************/
/* Idearium default styles */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 16px; /* root em */
    scroll-behavior: smooth;
    /* scroll-padding-top: 48px; */
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    color: var(--black);
}

button {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    text-align: inherit;
    font: inherit;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* hr */
hr {
    border: none;
    height: 1px;
    background: rgba(0,0,0,0.60);
}

hr.light {
    border: none;
    height: 1px;
    background: rgba(0,0,0,0.20);
}

/* flex utilities */

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-ctr {
    justify-content: center;
    align-items: center;
}

.flex-start {
    align-items: flex-start;
}

.align-items-ctr {
    align-items: center;
}

.justify-ctr {
    justify-content: center;
}

.flex-grow {
    flex-grow: 1;
}

.flex-right {
    margin-left: auto;
}

.fill-width {
    width: 100%;
}

.fill-height {
    height: 100%;
}

.space-between {
    justify-content: space-between;
}

.push-bottom {
    margin-top: auto;
}

.push-right {
    margin-left: auto;
}

/* Container */
.container {
  width: 100%;
  margin-inline: auto;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-column-gap);
  row-gap: var(--gap-8x);
}

/* columns */
.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* gap */
.gap {
    gap: var(--gap); /* 5px */
}

.gap-2x {
    gap: var(--gap-2x); /* 10px */
}

.gap-3x {
    gap: var(--gap-3x); /* 15px */
}

.gap-4x {
    gap: var(--gap-4x); /* 20px */
}

.gap-6x {
    gap: var(--gap-6x); /* 30px */
}

.gap-8x {
    gap: var(--gap-8x); /* 40px */
}

.gap-12x {
    gap: var(--gap-12x); /* 60px */
}

/* fonts */
h1, h2, h3, h4, h5, p {
    margin: 0;
    line-height: 1.2;
    max-width: 75ch;
}

.text-center {
    text-align: center;
}

.no-limit {
    max-width: 100%;
}

.max-30 {
    max-width: 30ch;
}

.rotate-90 {
    transform: rotate(-90deg);
}

.basic-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.basic-list a,
.unstyled-list a {
    color: inherit;
}

.unstyled-list {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style-type: none;
}

/* .truncate-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
} */

/* font styles */
.cp-display {
    font-family: "Courier Prime", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -4%;
}

.cp-l {
    font-family: "Courier Prime", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -4%;
}

.cp-m {
    font-family: "Courier Prime", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -4%;
}

.int-l {
    font-family: "Inter";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1%;
}

.int-m {
    font-family: "Inter";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1%;
}


/* images */
.img-holder {
    background-color: #f0f0f0;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aspect-ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.aspect-ratio-2-1 {
    aspect-ratio: 2 / 1;
}

.aspect-ratio-4-5 {
    aspect-ratio: 4 / 5;
}

.aspect-ratio-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-ratio-1-1 {
    aspect-ratio: 1 / 1;
}

.img-rounded {
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
    height: auto;
}

.img-border {
    border: 1px solid #d4d4d4;
}


/* buttons */
.btn-primary {
    display: flex;
    width: fit-content;
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--white);
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
}

.btn-primary:hover {
    color: var(--accent);
    background-color: transparent;
}

.btn-secondary {
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: var(--black);
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
}

.btn-secondary:hover {
    text-decoration: underline;
}

.btn-primary.fill-width,
.btn-secondary.fill-width {
    width: 100%;
}

.basic-link {
    color: inherit;
    font-weight: 500;
}

.unstyled-link {
    color: inherit;
    text-decoration: none;
}

/* page */
.page-width {
    width: 100%;
    max-width: 1440px;
    padding-left: var(--padding-x);
    padding-right: var(--padding-x);
    margin: 0 auto;
}

.section-margin {
    margin: 100px auto;
    padding: 0px var(--gap-8x);
}

.section-padding-x {
    padding: 0px var(--gap-8x);
}

.section-padding {
    padding: 100px var(--gap-8x);
}

.black-bg {
    background-color: var(--black);
    color: var(--white);
}

.grey-bg {
    background-color: #f6f6f6;
}

.dark-bg {
    background-color: #eae5da;
}

.warm-white-bg {
    background: var(--warm-white);
}

.beige-bg {
    /* background-color: #f4f1eb; */
    background-color: var(--beige);
}

/* hr */
hr {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    margin: 0;
}

/* gradients */
.gradient {
    background: radial-gradient(46.18% 47.41% at 31.28% 0%, rgba(220, 254, 128, 0.40) 0%, rgba(255, 255, 255, 0.40) 100%), radial-gradient(48.61% 47.26% at 66.35% 0%, rgba(254, 176, 128, 0.60) 0%, rgba(255, 255, 255, 0.60) 100%), #FFF;
    background-attachment: fixed;
}

/* hide / show */
.hidden-sm,
.hidden-md {
    display: flex;
}

.visible-sm,
.visible-md {
    display: none;
}

/* overflow */
.overflow-hidden {
    overflow: hidden;
}

/****************************************************************************************************/
/* Blocks */

/* hero */
.hero {
    padding-top: 40px;
    padding-bottom: 40px;
    height: 100svh;
}

.img-hero {
    min-width: 680px;
}

.img-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* logo */
.logo {
    max-width: 200px;
}

.logo-inline {
    max-width: 260px;
}

/* swipe container */
.swipe-container {
    overflow: hidden;
}

/* swiper */
/* Swiper container */
.custom-swiper, .review-swiper {
  width: 100%;
  overflow: visible !important;
}

/* Swiper wrapper */
.custom-swiper .swiper-wrapper {
  align-items: stretch;
}

/* Slide width */
.custom-swiper .swiper-slide {
  width: max(400px, calc((100% - 40px) / 3));
  height: auto;
  display: flex;
  box-sizing: border-box;
}

/* Card */
.custom-swiper .swipe-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

/* Card image */
.custom-swiper .swipe-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

/* Card text */
.custom-swiper .swipe-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* review swiper */
.review-swiper .swiper-slide {
    width: 100%;
    max-width: 600px;
    
}

.review-card {
    background-color: var(--white);
    border: 1px solid var(--grey);
    padding: 20px;
    border-radius: var(--border-radius);
}

.img-review {
    align-self: flex-start;
    flex-shrink: 0;
    width: 160px;
}

.truncate-5-lines {
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* footer */
footer {
    padding: 20px 40px 20px 40px;
}

/* label */
.label {
    display: flex;
    align-items: center;
    border-radius: 100px;
    background-color: var(--white);
    border: 1px solid var(--grey);
    padding: 8px 16px;
    width: fit-content;
}

/* how it works */
.hiw-number {
    width: 60px;
    flex-shrink: 0;
}

/* pricing */
.pricing-card {
    max-width: 460px;
}

.vertical-rule {
  width: 1px;
  background: rgba(0,0,0,0.60);
}

/* FAQs */
.faq-list {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

/* Question */
.faq-question {
  width: 100%;
  padding: 24px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background: none;
  border: 0;
  cursor: pointer;

  font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1%;
  
}

/* Plus icon */
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;

  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 18px;
  height: 1px;

  background: currentColor;
  transform: translate(-50%, -50%);
}

/* Vertical part of + */
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Rotate entire + into an X */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}


/* Answer */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;

  overflow: hidden;

  transition: grid-template-rows 0.35s ease;
}

.faq-answer-inner {
  min-height: 0;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 40px 24px 0;

  line-height: 1.6;
}


/* Open state */
.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

/****************************************************************************************************/
/* media queries */

/* Large screens */
@media screen and (max-width: 1590px) {}

/* Medium screens */
@media screen and (max-width: 1080px) {
/* flex */
.flex-col-md {
    display: flex;
    flex-direction: column;
}

.flex-row-md {
    display: flex;
    flex-direction: row;
}

.text-center-md {
    text-align: center;
}

.align-items-ctr-md {
    align-items: center;
}

.order-2-md {
    order: 2;
}

.col-1-md  { grid-column: span 1; }
.col-2-md  { grid-column: span 2; }
.col-3-md  { grid-column: span 3; }
.col-4-md  { grid-column: span 4; }
.col-5-md  { grid-column: span 5; }
.col-6-md  { grid-column: span 6; }
.col-7-md  { grid-column: span 7; }
.col-8-md  { grid-column: span 8; }
.col-9-md  { grid-column: span 9; }
.col-10-md { grid-column: span 10; }
.col-11-md { grid-column: span 11; }
.col-12-md { grid-column: span 12; }

/* gap */
.gap-md {
    gap: var(--gap); /* 5px */
}

.gap-2x-md {
    gap: var(--gap-2x); /* 10px */
}

.gap-3x-md {
    gap: var(--gap-3x); /* 15px */
}

.gap-4x-md {
    gap: var(--gap-4x); /* 20px */
}

.gap-6x-md {
    gap: var(--gap-6x); /* 30px */
}

.gap-8x-md {
    gap: var(--gap-8x); /* 40px */
}

.gap-12x-md {
    gap: var(--gap-12x); /* 60px */
}

/* section */
.section-margin {
    margin: 80px auto;
    padding: 0px var(--gap-4x);
}

.section-padding-x {
    padding: 0px var(--gap-4x);
}

.section-padding {
    padding: 80px var(--gap-4x);
}

/* hide/show */
.hidden-md {
    display: none;
}

.visible-md {
    display: flex;
}

/* hero */
.hero {
    height: 100%;
}

/* swiper */
.custom-swiper .swiper-slide {
  width: max(300px, calc((100% - 40px) / 3));
}

/* font styles */
.cp-display {
    font-family: "Courier Prime", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -4%;
}

.cp-l {
    font-family: "Courier Prime", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -4%;
}

.cp-m {
    font-family: "Courier Prime", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -4%;
}

.int-l {
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1%;
}

.int-m {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1%;
}


/* footer */
footer {
    padding: 20px;
}

.hero {
    padding-top: 20px;
    margin-bottom: 40px;
}

.img-headshot {
    max-width: 420px;
}

.review-swiper .swiper-slide {
    width: 100%;
    max-width: 300px;
    
}

}

/* Medium-small screens */
@media screen and (max-width: 740px) {
.img-hero {
    min-width: 100%;
}

}

/* Small screens */
@media screen and (max-width: 479px) {
/* flex */
.flex-col-sm {
    display: flex;
    flex-direction: column;
}

.flex-row-sm {
    display: flex;
    flex-direction: row;
}

.space-between-sm {
    justify-content: space-between;
}

.text-left-sm {
    text-align: left;
}

.align-items-left-sm {
    align-items: start;
}


/* grid */
.col-1-sm  { grid-column: span 1; }
.col-2-sm  { grid-column: span 2; }
.col-3-sm  { grid-column: span 3; }
.col-4-sm  { grid-column: span 4; }
.col-5-sm  { grid-column: span 5; }
.col-6-sm  { grid-column: span 6; }
.col-7-sm  { grid-column: span 7; }
.col-8-sm  { grid-column: span 8; }
.col-9-sm  { grid-column: span 9; }
.col-10-sm { grid-column: span 10; }
.col-11-sm { grid-column: span 11; }
.col-12-sm { grid-column: span 12; }

/* gap */
.gap-sm {
    gap: var(--gap); /* 5px */
}

.gap-2x-sm {
    gap: var(--gap-2x); /* 10px */
}

.gap-3x-sm {
    gap: var(--gap-3x); /* 15px */
}

.gap-4x-sm {
    gap: var(--gap-4x); /* 20px */
}

.gap-6x-sm {
    gap: var(--gap-6x); /* 30px */
}

.gap-8x-sm {
    gap: var(--gap-8x); /* 40px */
}

.gap-12x-sm {
    gap: var(--gap-12x); /* 60px */
}

/* hide/show */
.hidden-sm {
    display: none;
}

.visible-sm {
    display: flex;
}

/* font styles */
.cp-display {
    font-family: "Courier Prime", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -4%;
}

.cp-l {
    font-family: "Courier Prime", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -4%;
}

.cp-m {
    font-family: "Courier Prime", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -4%;
}

.int-l {
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1%;
}

.int-m {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -1%;
}

.img-hero {
    min-width: 100%;
}

}

/* Tiny screens */
@media screen and (max-width: 390px) {}