/* getyapcut.com: one stylesheet for every page. No web fonts, no frameworks. */

:root {
  --paper: #FBFCFF;
  --sky: #EDF3FF;
  --card: #FFFFFF;
  --ink: #0A1A3F;
  --ink-2: #4A5878;
  --line: #DCE4F5;
  --blue: #1F6BFF;
  --blue-ink: #0B4FD9;
  --blue-hi: #28B3FE;
  --blue-lo: #004EE9;
  --coral: #F2604E;
  --night: #070F26;
  --on-blue: #FFFFFF;
  --on-blue-2: rgba(255, 255, 255, .94);
  --blue-fill: #1F6BFF;
  --bezel: #0A0F1F;
  --shadow: 0 30px 60px -24px rgba(6, 30, 90, .45), 0 12px 24px -12px rgba(6, 30, 90, .25);
  --radius-xl: 40px;
  --radius-l: 28px;
  --radius-m: 18px;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --max: 1160px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #060E24;
    --sky: #0B1630;
    --card: #0E1A36;
    --ink: #EEF3FF;
    --ink-2: #A7B3CF;
    --line: #1E2C50;
    --blue: #3D84FF;
    --blue-ink: #8DB6FF;
    --night: #030817;
    --shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
  }
}
:root[data-theme="dark"] {
  --paper: #060E24;
  --sky: #0B1630;
  --card: #0E1A36;
  --ink: #EEF3FF;
  --ink-2: #A7B3CF;
  --line: #1E2C50;
  --blue: #3D84FF;
  --blue-ink: #8DB6FF;
  --night: #030817;
  --shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ header */
.site-head { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 20, 80, .25); }
.head-link { color: inherit; font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.head-link:hover { background: rgba(255, 255, 255, .26); }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  color: var(--on-blue);
  background:
    radial-gradient(60% 50% at 92% 18%, rgba(40, 179, 254, .55) 0%, rgba(40, 179, 254, 0) 70%),
    linear-gradient(160deg, #0B6BEA 0%, #0566EE 35%, #0052E0 70%, #0044D0 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: 104px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero .wrap { display: grid; gap: 40px; }
.hero h1 { font-size: clamp(42px, 11.5vw, 84px); line-height: .98; letter-spacing: -0.035em; }
.hero h1 span { display: block; }
.hero h1 .second { margin-top: .12em; }
.hero .lede { margin-top: 20px; font-size: clamp(17px, 4.4vw, 21px); line-height: 1.45; color: var(--on-blue-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.cta-note { font-size: 15px; color: var(--on-blue-2); }
.cta-note strong { color: var(--on-blue); font-weight: 700; }

/* App Store badge: Apple's black badge layout (swap for the official artwork from Apple's marketing site) */
.badge { display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px 0 16px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid #A6A6A6; transition: transform .15s ease; }
.badge:hover { transform: translateY(-1px); }
.badge:active { transform: translateY(1px); }
.badge svg { width: 26px; height: 32px; flex: none; }
.badge span { display: grid; line-height: 1; font-family: -apple-system, system-ui, sans-serif; }
.badge small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.badge b { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }

.hero-stage { position: relative; display: flex; justify-content: center; padding-bottom: 0; min-height: 520px; }
.hero-stage .phone { width: min(270px, 68vw); margin-bottom: -90px; transform: rotate(-3deg); }

/* the Yapper, as a sticker */
.sticker { filter: drop-shadow(0 0 0 #fff) drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 10px 14px rgba(0, 20, 80, .35)); }
.hero-yapper { position: absolute; width: min(150px, 34vw); right: max(0px, calc(50% - 230px)); top: -12px; transform: rotate(8deg); z-index: 3; }

/* takes card: the hero's one moment of motion */
.takes {
  position: absolute; z-index: 2;
  left: max(0px, calc(50% - 205px)); bottom: 48px;
  width: min(300px, 82vw);
  background: var(--card); color: var(--ink);
  border-radius: 22px; padding: 14px 14px 16px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.takes-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.takes-head b { font-family: var(--display); font-size: 15px; }
.takes-head span { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.takes q { display: block; margin: 6px 0 12px; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; quotes: "\201C" "\201D"; }
.take-row { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.take-row li { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--sky); border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.take-row li.best { width: auto; padding: 0 10px 0 8px; gap: 5px; display: inline-flex; background: var(--blue-fill); border-color: var(--blue-fill); color: #fff; }
.take-row li.best svg { width: 14px; height: 14px; }
.takes-foot { margin-top: 10px; font-size: 13px; color: var(--ink-2); }

@media (prefers-reduced-motion: no-preference) {
  .js .take-row li { opacity: 0; transform: translateY(8px) scale(.8); animation: take-in .32s cubic-bezier(.2, .9, .3, 1.3) forwards; animation-delay: calc(.6s + var(--i) * .11s); }
  .js .take-row li.best { animation-name: best-in; animation-duration: .5s; }
  .js .takes-foot { opacity: 0; animation: fade .4s ease forwards; animation-delay: calc(.6s + 17 * .11s + .4s); }
  .js .takes-head span .n { animation: none; }
}
@keyframes take-in { to { opacity: 1; transform: none; } }
@keyframes best-in { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

@media (min-width: 960px) {
  .hero { padding-top: 132px; }
  .hero .wrap { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 24px; }
  .hero-copy { padding-bottom: 120px; }
  .hero-stage { min-height: 640px; }
  .hero-stage .phone { width: 300px; margin-bottom: -60px; }
  .takes { left: -24px; bottom: 120px; }
  .hero-yapper { right: 0; top: 10px; width: 160px; }
}

/* ------------------------------------------------------------ phone frame */
.phone { position: relative; border-radius: 46px; padding: 9px; background: var(--bezel); box-shadow: var(--shadow), inset 0 0 0 1.5px #2A3350; }
.phone img { width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 38px; background: #222; }
.phone.sm { border-radius: 34px; padding: 7px; }
.phone.sm img { border-radius: 28px; }

/* ------------------------------------------------------------ sections */
section { scroll-margin-top: 24px; }
.section { padding: 120px 0 0; }
.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(34px, 8vw, 56px); letter-spacing: -0.03em; }
.section-head p { margin-top: 14px; font-size: clamp(17px, 4vw, 20px); color: var(--ink-2); }

/* how it works: a real sequence, so it is numbered */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 56px; counter-reset: step; }
.step { display: grid; gap: 22px; }
.step-text { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: start; }
.step-num { grid-row: span 2; width: 48px; height: 48px; border-radius: 16px; background: var(--blue-fill); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; }
.step h3 { font-size: 26px; padding-top: 9px; }
.step p { color: var(--ink-2); }
.step .phone { width: min(260px, 70vw); justify-self: center; }
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-rows: auto 1fr; align-content: start; }
  .step .phone { width: 100%; max-width: 280px; }
  .step:nth-child(2) { transform: translateY(48px); }
}

/* story player: the real screens, one after another */
.tour { margin-top: 64px; background: var(--night); color: #fff; border-radius: var(--radius-xl); padding: 40px var(--gutter) 44px; display: grid; gap: 32px; justify-items: center; position: relative; overflow: hidden; }
.tour::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(closest-side, rgba(31, 107, 255, .45), transparent); pointer-events: none; }
.tour-copy { position: relative; text-align: center; max-width: 30em; }
.tour-copy h3 { font-size: clamp(28px, 6vw, 40px); }
.tour-copy p { margin-top: 10px; color: #B9C5E2; }
.story { position: relative; width: min(300px, 76vw); }
.story .phone { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1.5px #2A3350; }
.story-screens { position: relative; aspect-ratio: 1206 / 2622; }
.story-screens img { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.story-screens img.on { opacity: 1; }
.story-bars { display: flex; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; }
.story-bars li { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.story-bars li i { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.story-bars li.done i { width: 100%; }
.story-caption { position: relative; min-height: 3.2em; margin-top: 18px; text-align: center; }
.story-caption b { display: block; font-family: var(--display); font-size: 21px; }
.story-caption span { color: #B9C5E2; font-size: 15px; }
.story-controls { position: relative; display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.story-controls button { appearance: none; border: 0; cursor: pointer; font: 600 15px var(--text); color: #fff; background: rgba(255, 255, 255, .12); border-radius: 999px; height: 44px; min-width: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; }
.story-controls button:hover { background: rgba(255, 255, 255, .2); }
.story-controls svg { width: 16px; height: 16px; }
@media (min-width: 880px) {
  .tour { grid-template-columns: 1fr auto; padding: 64px; justify-items: start; align-items: center; gap: 64px; }
  .tour-copy { text-align: left; }
  .story { width: 320px; }
}

/* features: different sizes because they are not equally important */
.features { display: grid; gap: 16px; margin-top: 48px; }
.feature { background: var(--sky); border-radius: var(--radius-l); padding: 28px 24px 0; overflow: hidden; display: grid; gap: 20px; align-content: start; }
.feature h3 { font-size: 26px; }
.feature p { color: var(--ink-2); margin-top: 8px; }
.feature .crop { margin: 0 auto; width: min(280px, 78%); border-radius: 30px 30px 0 0; padding: 7px 7px 0; background: var(--bezel); }
.feature .crop img { border-radius: 24px 24px 0 0; aspect-ratio: 1206 / 1500; object-fit: cover; object-position: top; }
.feature.big { background: var(--blue-fill); color: #fff; }
.feature.big p { color: rgba(255, 255, 255, .85); }
.feature.big .pair { display: flex; gap: 12px; justify-content: center; align-items: flex-end; }
.feature.big .pair .crop { margin: 0; width: min(220px, 46%); }
.feature.big .pair .crop:last-child { transform: translateY(24px); }
.feature-points { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.feature-points li { padding-left: 26px; position: relative; }
.feature-points li::before { content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%; background: currentColor; opacity: .9; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.7 5.8-4.2 4.6a.8.8 0 0 1-1.1.1L4.3 8.7a.8.8 0 1 1 1-1.2l1.5 1.3 3.7-4a.8.8 0 0 1 1.2 1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.7 5.8-4.2 4.6a.8.8 0 0 1-1.1.1L4.3 8.7a.8.8 0 1 1 1-1.2l1.5 1.3 3.7-4a.8.8 0 0 1 1.2 1Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 880px) {
  .features { grid-template-columns: repeat(6, 1fr); }
  .feature { grid-column: span 2; padding: 32px 28px 0; }
  .feature.big { grid-column: span 6; grid-template-columns: 1fr 1fr; align-items: end; padding: 48px 48px 0; }
  .feature.big .feature-text { align-self: center; padding-bottom: 48px; }
  .feature.big h3 { font-size: 40px; }
  .feature.half { grid-column: span 3; }
}

/* arcade */
.arcade { margin-top: 16px; border-radius: var(--radius-l); background: radial-gradient(90% 70% at 50% 0%, #2B1767 0%, #120A33 55%, #0A0620 100%); color: #fff; padding: 36px 24px 0; overflow: hidden; position: relative; }
.arcade h3 { font-size: clamp(30px, 7vw, 44px); }
.arcade p { color: #C9C2EA; margin-top: 10px; max-width: 32em; }
.squad { display: flex; gap: 2px; margin: 22px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.squad li { width: 46px; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; align-items: end; }
.games figure { margin: 0; }
.games .crop { border-radius: 22px 22px 0 0; padding: 6px 6px 0; background: #000; }
.games .crop img { border-radius: 17px 17px 0 0; aspect-ratio: 1206 / 1700; object-fit: cover; object-position: center 22%; }
.games figure:nth-child(2) .crop img { aspect-ratio: 1206 / 1950; }
.games figcaption { font-size: 13px; color: #C9C2EA; text-align: center; margin: 0 0 10px; font-weight: 600; }
@media (min-width: 880px) {
  .arcade { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; padding: 56px 56px 0; align-items: end; }
  .arcade-text { align-self: center; padding-bottom: 56px; }
  .games { margin-top: 0; }
  .squad li { width: 48px; }
}

/* pricing */
.pricing { margin-top: 48px; display: grid; gap: 16px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--radius-l); padding: 28px 24px; background: var(--card); }
.plan.lead { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.plan h3 { font-size: 22px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; margin-top: 10px; line-height: 1; }
.plan .price small { font-size: 18px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.plan p { color: var(--ink-2); margin-top: 10px; }
.plan .trial { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--blue-ink); }
.price-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); max-width: 46em; }
@media (min-width: 720px) { .pricing { grid-template-columns: 1fr 1fr; max-width: 820px; } }

/* FAQ */
.faq { margin-top: 40px; max-width: 760px; border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231F6BFF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 2px 24px; color: var(--ink-2); max-width: 62ch; }
.faq .answer p + p { margin-top: 10px; }
.faq-yapper { width: 84px; margin-bottom: 18px; transform: scaleX(-1) rotate(-6deg); }

/* closing call */
.closer { margin-top: 120px; text-align: center; }
.closer h2 { font-size: clamp(36px, 9vw, 64px); letter-spacing: -0.035em; }
.closer p { margin: 14px auto 0; color: var(--ink-2); max-width: 30em; font-size: 19px; }
.closer .cta-row { justify-content: center; }
.closer .cta-note { color: var(--ink-2); margin: 0; }
.closer .cta-note strong { color: var(--ink); }

/* footer: the squad on top of a giant wordmark */
.site-foot { margin-top: 96px; background: var(--blue-fill); color: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 40px 0 0; overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 32px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 0; display: inline-block; }
.foot-links a:hover { text-decoration: underline; }
.foot-small { font-size: 14px; color: rgba(255, 255, 255, .9); margin-top: 8px; }
.foot-mark { position: relative; margin-top: 36px; }
.foot-mark .squad { justify-content: center; margin: 0 0 -1vw; gap: 0; flex-wrap: nowrap; position: relative; z-index: 1; }
.foot-mark .squad li { width: min(9.5vw, 104px); }
.foot-mark .squad li:nth-child(odd) { transform: translateY(6px) rotate(-4deg); }
.foot-mark .squad li:nth-child(even) { transform: rotate(4deg); }
.wordmark { display: block; font-family: var(--display); font-weight: 900; font-size: 27vw; line-height: .74; letter-spacing: -0.06em; text-align: center; color: #fff; margin: 0; padding-top: .06em; user-select: none; }
@media (min-width: 1400px) { .wordmark { font-size: 380px; } .foot-mark .squad { margin-bottom: -30px; } }

/* ------------------------------------------------------------ text pages (privacy, support) */
.page-hero { background: linear-gradient(160deg, #0B6BEA 0%, #0566EE 45%, #0044D0 100%); color: #fff; border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding: 112px 0 48px; }
.page-hero h1 { font-size: clamp(36px, 9vw, 60px); letter-spacing: -0.03em; }
.page-hero p { margin-top: 10px; color: var(--on-blue-2); }
.page-hero .wrap { max-width: 700px; }
.prose { max-width: 700px; padding-top: 48px; padding-bottom: 24px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; margin: 10px 0; }
.prose li + li { margin-top: 8px; }
.prose .muted { font-size: 14px; }
.text-page .site-foot { margin-top: 64px; }
.text-page .foot-mark { display: none; }
.text-page .site-foot { padding-bottom: 32px; }
