@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Inter:400,700|Inter+Tight:500,400,600|Poppins:500,400,600|Manrope:500");
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  margin: 0px;
  height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

.font-work-sans {
  font-family: "Work Sans", sans-serif !important;
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2") format("woff2");
}

/* Founders Grotesk substitute: Work Sans (Google Fonts) */
@font-face {
  font-family: "Founders Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2") format("woff2");
}

@font-face {
  font-family: "Founders Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2") format("woff2");
}

@font-face {
  font-family: "Founders Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2") format("woff2");
}

@font-face {
  font-family: "Founders_Grotesk-Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2") format("woff2");
}

@font-face {
  font-family: "Founders_Grotesk-Medium";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2") format("woff2");
}

@font-face {
  font-family: "Founders_Grotesk-Semibold";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2") format("woff2");
}

[data-faq-accordion] [data-faq-item] {
  background-color: #f8fbff;
  border-bottom-color: #1f292f;
}

[data-faq-accordion] [data-faq-item].is-open {
  background-color: #f8faff;
  border-bottom-color: #011587;
}

.faq-accordion__trigger {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.faq-accordion__icon {
  transition: transform 0.2s ease;
}

[data-faq-accordion] [data-faq-item].is-open .faq-accordion__icon {
  transform: rotate(180deg);
}

[data-suite-slides] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

[data-suite-slide] {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

[data-suite-slide].is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

[data-suite-tab] {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

[data-cta] {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

[data-cta]:hover {
  background-color: #0a2ab8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 21, 135, 0.28);
}

[data-cta]:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(1, 21, 135, 0.2);
}

[data-cta][aria-disabled="true"],
[data-cta]:disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  background-color: #011587 !important;
}

.hero-consent__input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  border: 1.5px solid #011587;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  opacity: 0.85;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.hero-consent__input:checked {
  background: rgba(1, 21, 135, 0.18);
  border-color: #8a93b5;
  opacity: 0.55;
}

.hero-consent__input:checked::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 1px;
  width: 6px;
  height: 7px;
  border: solid rgba(92, 99, 138, 0.75);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.hero-consent__input:focus-visible {
  outline: 2px solid #5e90ff;
  outline-offset: 2px;
  opacity: 1;
}

.hero-consent__label {
  user-select: none;
}

/* Hero typography — base (mobile) */
.hero-headline {
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.hero-subheadline {
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .hero-subheadline {
    font-size: 1.0625rem;
  }
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: clamp(2.5rem, 3.8vw, 3.5rem);
  }

  .hero-subheadline {
    font-size: 1.125rem;
  }

  .hero-cta-label {
    font-size: 2.25rem;
  }

  .hero-cta-button {
    padding: 1.75rem 6.5rem;
  }

  .hero-cta-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero-disclaimer {
    font-size: 0.8125rem;
  }
}

/* Desktop: header + hero fill exactly one viewport */
@media (min-width: 768px) {
  .hero-viewport {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }

  .hero-viewport .hero-section {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* 1080p at 125–150% OS scale → ~1280×720 CSS px */
@media (min-width: 1200px) and (max-height: 820px) {
  .hero-content {
    max-width: 980px;
    gap: 1.75rem;
  }

  .hero-content > .hero-copy {
    gap: 1.25rem;
  }

  .hero-headline {
    font-size: clamp(3rem, 4.8vw, 4.25rem);
    line-height: 1.08;
  }

  .hero-subheadline {
    font-size: 1.25rem;
    max-width: 700px;
  }

  .hero-cta-group {
    gap: 0.75rem;
  }

  .hero-cta-button {
    padding: 1.375rem 6rem;
    gap: 1rem;
  }

  .hero-cta-label {
    font-size: 2.625rem;
  }

  .hero-cta-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero-disclaimer {
    font-size: 0.8125rem;
    line-height: 1.45;
    max-width: 620px;
  }
}

/* Large desktop (e.g. 1920×1080 at 100% scale) */
@media (min-width: 1600px) and (min-height: 900px) {
  .hero-content {
    max-width: 1100px;
    gap: 4rem;
  }

  .hero-headline {
    font-size: clamp(4.25rem, 4.5vw, 5.75rem);
    line-height: 1.08;
  }

  .hero-subheadline {
    font-size: 1.5rem;
    max-width: 800px;
  }

  .hero-cta-group {
    gap: 1.25rem;
  }

  .hero-cta-button {
    padding: 2.75rem 9.5rem;
    gap: 1.375rem;
  }

  .hero-cta-label {
    font-size: 4rem;
  }

  .hero-cta-icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .hero-disclaimer {
    font-size: 0.9375rem;
    line-height: 1.5;
    max-width: 740px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) and (max-width: 1199px) {
  .hero-cta-group {
    gap: 0.5rem;
  }
}

/* Youfiles 2026 visual system — based on Figma frame 8363:698 */
:root {
  --yf-canvas: #f3f4f9;
  --yf-surface: #ffffff;
  --yf-surface-soft: #f8fafc;
  --yf-lavender: #eaedff;
  --yf-lavender-card: #f1f3ff;
  --yf-lavender-strong: #e9edff;
  --yf-blue: #4588fb;
  --yf-blue-hover: #2f75ed;
  --yf-navy: #011587;
  --yf-heading: #0f172b;
  --yf-ink: #1f292f;
  --yf-copy: #54534f;
  --yf-muted: #62748e;
  --yf-radius-sm: 14px;
  --yf-radius-md: 18px;
  --yf-radius-lg: 22px;
  --yf-radius-pill: 24px;
  --yf-shadow: 0 14px 40px rgba(31, 55, 117, 0.08);
  --yf-page-gutter: clamp(1.5rem, 6.25vw, 7.5rem);
  --yf-section-space: clamp(4rem, 6.25vw, 7.5rem);
  --yf-content-width: 1680px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--yf-canvas);
  color: var(--yf-ink);
}

body :focus-visible {
  outline: 3px solid var(--yf-blue) !important;
  outline-offset: 4px;
}

.figma-home > div:not(._wrapper),
.site-page > div:not(._wrapper) {
  background: var(--yf-canvas) !important;
}

.figma-home header,
.site-page header {
  justify-content: space-between !important;
  min-height: 96px;
  padding: 24px var(--yf-page-gutter) !important;
  background: rgba(243, 244, 249, 0.94) !important;
  border: 0 !important;
}

.figma-home header img,
.site-page header img {
  width: clamp(130px, 9vw, 173px) !important;
  height: auto !important;
}

.figma-home header [data-cta] {
  padding: 16px 28px !important;
  background: var(--yf-blue) !important;
  border-radius: var(--yf-radius-pill) !important;
}

.figma-home header [data-cta]:hover {
  background: var(--yf-blue-hover) !important;
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  color: #f7f4fe !important;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  background: var(--yf-blue);
  border-radius: var(--yf-radius-pill);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-header-cta:hover {
  background: var(--yf-blue-hover);
  transform: translateY(-2px);
}

.figma-home .home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 96px);
  padding: clamp(4.5rem, 8vw, 11.25rem) var(--yf-page-gutter) !important;
  overflow: hidden;
  background: var(--yf-canvas) !important;
}

.home-hero-art {
  position: absolute;
  z-index: -1;
  top: -2%;
  right: -2%;
  width: min(36vw, 660px);
  height: auto;
  transform: rotate(12deg);
  transform-origin: center;
  pointer-events: none;
  user-select: none;
}

.figma-home .hero-content {
  max-width: 1120px;
  gap: clamp(2.25rem, 4vw, 4rem) !important;
}

.figma-home .hero-copy {
  gap: clamp(1.25rem, 2vw, 2.1rem) !important;
}

.figma-home .hero-headline {
  max-width: 980px;
  color: var(--yf-blue) !important;
  font-family: "Inter", "Work Sans", sans-serif !important;
  font-size: clamp(3rem, 4vw, 4.625rem) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.06em !important;
}

.figma-home .hero-subheadline {
  max-width: 820px !important;
  color: var(--yf-copy) !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(1rem, 1.15vw, 1.25rem) !important;
  line-height: 1.5 !important;
}

.home-value-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.7rem);
  color: var(--yf-blue);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.9rem, 1vw, 1.18rem);
  letter-spacing: -0.04em;
}

.home-value-strip span + span {
  position: relative;
  padding-left: clamp(1rem, 2vw, 2.7rem);
}

.home-value-strip span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 23px;
  background: var(--yf-blue);
  content: "";
  transform: translateY(-50%);
  opacity: 0.8;
}

.figma-home .hero-cta-button {
  min-width: min(100%, 630px) !important;
  padding: clamp(1.5rem, 2.5vw, 3rem) clamp(3rem, 7vw, 7.5rem) !important;
  background: var(--yf-blue) !important;
  border-radius: var(--yf-radius-pill) !important;
}

.figma-home .hero-cta-button:hover {
  background: var(--yf-blue-hover) !important;
}

.figma-home .hero-cta-label {
  font-size: clamp(2rem, 3vw, 3.5rem) !important;
}

.figma-home .hero-disclaimer,
.figma-home .hero-consent__label {
  color: rgba(92, 99, 138, 0.72) !important;
}

.figma-home .home-suite {
  gap: 40px !important;
  padding: clamp(4rem, 4.2vw, 5rem) var(--yf-page-gutter) !important;
  background: var(--yf-lavender) !important;
}

.figma-home .home-suite > div {
  width: 100%;
  max-width: var(--yf-content-width) !important;
  padding: 0 !important;
  padding-bottom: 0 !important;
}

.figma-home .home-suite [role="tablist"] {
  display: none !important;
}

.figma-home .home-suite [data-suite-slides] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.figma-home .home-suite [data-suite-slide] {
  position: static !important;
  display: block !important;
  grid-area: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.figma-home .home-suite [data-suite-slide] > div:first-child {
  min-height: 100%;
  padding: 40px !important;
  background: var(--yf-surface-soft) !important;
  border-radius: var(--yf-radius-lg) !important;
}

.figma-home .home-suite [data-suite-slide] > div:last-child {
  display: none !important;
}

.figma-home .home-suite [data-suite-slide] p,
.figma-home .home-suite [data-suite-slide] div {
  border-color: transparent;
}

.figma-home .home-intensive {
  padding: var(--yf-section-space) var(--yf-page-gutter) !important;
  background: var(--yf-surface) !important;
  border: 0 !important;
}

.figma-home .home-intensive > div {
  max-width: var(--yf-content-width) !important;
}

.figma-home .home-intensive .grid > div {
  min-height: 198px;
  padding: 32px !important;
  background: var(--yf-lavender-card) !important;
  border: 0 !important;
  border-radius: var(--yf-radius-md) !important;
}

.figma-home .home-process {
  gap: 36px !important;
  padding: clamp(4rem, 4.2vw, 5rem) var(--yf-page-gutter) !important;
  background: var(--yf-blue) !important;
}

.figma-home .home-process > div {
  max-width: var(--yf-content-width) !important;
}

.figma-home .home-process > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.figma-home .home-process > div:last-child > div {
  padding: 0 !important;
  background: var(--yf-lavender-strong) !important;
  border-radius: 16px !important;
}

.figma-home .home-process > div:last-child > div > div:first-child {
  display: none !important;
}

.figma-home .home-process > div:last-child > div > div:last-child {
  min-height: 160px;
  padding: 24px !important;
}

.figma-home .home-process > div:last-child > div > div:last-child > div:first-child {
  width: auto !important;
  height: auto !important;
  padding: 12px 18px !important;
  background: var(--yf-surface) !important;
}

.figma-home .home-process > div:last-child > div > div:last-child > div:first-child > div {
  font-size: 1.75rem !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.figma-home .home-faq {
  align-items: flex-start !important;
  padding: var(--yf-section-space) var(--yf-page-gutter) !important;
  background: var(--yf-surface) !important;
}

.figma-home .home-faq > div {
  width: 100%;
  max-width: var(--yf-content-width) !important;
  margin: 0 auto;
}

.figma-home .home-faq > div:first-child {
  align-items: flex-start !important;
  text-align: left !important;
}

.figma-home .home-faq [data-faq-item] {
  border-radius: 0 !important;
  background: transparent !important;
}

.figma-home .home-faq .faq-accordion__trigger {
  padding: 28px 0 !important;
}

.figma-home footer,
.site-page footer,
.site-footer {
  padding: 56px var(--yf-page-gutter) !important;
  background: var(--yf-lavender) !important;
  border: 0 !important;
}

.figma-home footer > div,
.site-page footer > div,
.site-footer > div {
  width: 100% !important;
  max-width: var(--yf-content-width);
}

.figma-home footer a,
.site-page footer a,
.site-footer a {
  color: var(--yf-heading) !important;
}

/* Secondary-page shell */
.site-page main {
  background: var(--yf-canvas) !important;
}

.site-page main h1,
.site-page main > p:first-child {
  color: var(--yf-blue) !important;
  font-family: "Work Sans", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.045em !important;
}

.site-page main h2 {
  color: var(--yf-navy) !important;
}

.site-page main p,
.site-page main li {
  color: var(--yf-copy);
}

.page-about main > section:first-child {
  background: var(--yf-canvas) !important;
}

.page-about main > section:last-child {
  background: var(--yf-surface) !important;
}

.page-about main > section:last-child .grid > div {
  background: var(--yf-lavender-card) !important;
  border: 0 !important;
  box-shadow: var(--yf-shadow);
}

.page-faq main > div:first-child,
.page-uninstall main > div > div:first-child,
.page-legal main > div > div:first-child {
  border-color: rgba(69, 136, 251, 0.2) !important;
}

.page-faq [data-faq-item] {
  background: var(--yf-surface) !important;
  border-color: rgba(31, 41, 47, 0.65) !important;
  border-radius: 0 !important;
}

.page-contact main > div,
.page-thank-you main > div,
.page-goodbye main > h1,
.page-error main > img,
.page-coming-soon main > div {
  position: relative;
  z-index: 1;
}

.page-contact main::before,
.page-thank-you main::before,
.page-goodbye main::before {
  position: absolute;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 136, 251, 0.14), rgba(69, 136, 251, 0));
  content: "";
  pointer-events: none;
}

.page-contact main,
.page-thank-you main,
.page-goodbye main {
  position: relative;
  overflow: hidden;
}

.page-contact main > div,
.page-thank-you main > div,
.page-goodbye main > h1 {
  padding: clamp(2rem, 5vw, 4.5rem) !important;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(69, 136, 251, 0.14);
  border-radius: var(--yf-radius-lg);
  box-shadow: var(--yf-shadow);
}

.page-uninstall main ol > li {
  border: 0 !important;
  background: var(--yf-surface) !important;
  border-radius: var(--yf-radius-md) !important;
  box-shadow: var(--yf-shadow);
}

.page-uninstall main ol > li > span:first-child {
  background: var(--yf-blue) !important;
}

.page-legal main > div {
  max-width: 1280px !important;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--yf-surface);
  border-radius: var(--yf-radius-lg);
  box-shadow: var(--yf-shadow);
}

.page-error main {
  background: var(--yf-canvas) !important;
}

.page-error main > img {
  max-width: 980px;
  padding: 24px;
  border-radius: var(--yf-radius-lg);
}

.page-coming-soon main {
  background: var(--yf-canvas) !important;
}

.page-coming-soon main svg {
  width: min(100%, 428px);
  height: auto;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer__brand img {
  width: 201px;
  height: auto;
}

.site-footer__divider {
  width: 100%;
  border-top: 2px solid var(--yf-ink);
}

.site-footer__bottom,
.site-footer__nav {
  display: flex;
  align-items: center;
}

.site-footer__bottom {
  justify-content: space-between;
  gap: 24px;
}

.site-footer__nav {
  flex-wrap: wrap;
  gap: 8px 11px;
}

.site-footer__nav a {
  color: var(--yf-ink);
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
}

@media (max-width: 1023px) {
  .figma-home .home-suite [data-suite-slides] {
    grid-template-columns: 1fr !important;
  }

  .figma-home .home-process > div:last-child {
    grid-template-columns: 1fr !important;
  }

  .home-hero-art {
    top: -12%;
    right: -18%;
    width: min(66vw, 460px);
    opacity: 0.78;
  }
}

@media (max-width: 767px) {
  .figma-home header,
  .site-page header {
    min-height: 80px;
  }

  .figma-home .home-hero {
    min-height: auto;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .figma-home .hero-headline {
    font-size: clamp(2.5rem, 12vw, 3.5rem) !important;
  }

  .home-value-strip {
    flex-direction: column;
    gap: 0.7rem;
  }

  .home-value-strip span + span {
    padding-left: 0;
  }

  .home-value-strip span + span::before {
    display: none;
  }

  .home-hero-art {
    top: -4%;
    right: -34%;
    width: 92vw;
    opacity: 0.42;
  }

  .figma-home .home-suite [data-suite-slide] > div:first-child {
    padding: 28px !important;
  }

  .figma-home .home-process > div:last-child > div > div:last-child {
    min-height: auto;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__nav span {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header-cta {
    padding: 12px 16px;
    font-size: 0.82rem;
  }

  .figma-home header [data-cta] {
    padding: 12px 16px !important;
  }

  .figma-home header [data-cta] > div {
    font-size: 0.82rem !important;
  }
}
