/* Motion and presentation for the Priem landing page. No scripts or remote assets. */
:root {
  --ink: #143c4b;
  --blue: #097da7;
  --blue-dark: #075a7b;
  --mint: #bcebdd;
}
body { background: #fcfdfd; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  background: rgba(252, 253, 253, .93);
  backdrop-filter: blur(16px);
  border-color: rgba(20, 60, 75, .09);
}
.header-inner { min-height: 88px; }
.brand img { box-shadow: 0 3px 10px #147fbb16; }
.header-inner nav { align-items: center; gap: 28px; }
.header-inner nav a { position: relative; padding-block: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.header-inner .brand { min-height: 44px; }
.header-inner nav a:not(.nav-price)::after {
  content: '';
  height: 2px;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.header-inner nav a:hover::after { transform: scaleX(1); }
.header-inner nav .nav-price {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 17px;
  border: 1px solid #cbdfe5;
  border-radius: 30px;
  transition: background 180ms ease, border-color 180ms ease;
}
.nav-price:hover { background: #e7f6f1; border-color: #80b6ba; }
.hero { grid-template-columns: 1.03fr .97fr; gap: 46px; min-height: 760px; padding-block: 56px 64px; }
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(3.2rem, 5.3vw, 4.4rem); line-height: 1.07; letter-spacing: -.065em; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #d4e9e4;
  border-radius: 24px;
  background: #f2f9f6;
  color: #346961;
  font-size: .8rem;
  letter-spacing: 0;
  margin-bottom: 26px;
}
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: #248a76; display: inline-block; flex: 0 0 7px; }
.gradient-word { color: #08849a; background: linear-gradient(100deg, #007aaa, #268a72); background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 1.0625rem; line-height: 1.75; max-width: 455px; }
.hero-actions { gap: 10px; }
.button { gap: 18px; min-height: 54px; font-size: .9375rem; border-radius: 14px; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.primary { background: #087da5; box-shadow: 0 8px 22px #087da526; }
.secondary { background: #fcfdfd; border-color: #d2e1e7; }
.button > span { transition: transform 180ms ease; }
.button:hover > span { transform: translate(2px, -2px); }
.button:active { transform: translateY(1px); }
.hero-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8125rem; }
.android-mark { color: #27947b; font-size: .75rem; }
.note-divider { color: #8297a0; padding-inline: 3px; }
.hero-tools { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.hero-tools span { font-size: .75rem; color: #516d78; }
.hero-tools span::before { content: '✓'; color: #3a9a85; margin-right: 6px; font-weight: 700; }
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 638px;
  padding: 28px 18px 22px;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  background: #e6f3f3;
  border: 1px solid #d6eae8;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -15%;
  z-index: -2;
  background: radial-gradient(ellipse at 10% 25%, #b4dcefff, transparent 57%), radial-gradient(ellipse at 100% 80%, #a9e6caff, transparent 59%);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .33;
  background-image: linear-gradient(#ffffff90 1px, transparent 1px), linear-gradient(90deg, #ffffff90 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
}
.visual-orbit { position: absolute; width: 410px; height: 410px; border: 1px solid #ffffffaa; border-radius: 50%; z-index: -1; }
.orbit-one { left: -190px; top: -40px; }
.orbit-two { right: -175px; bottom: -90px; width: 510px; height: 510px; }
.visual-caption { display: flex; gap: 9px; align-items: center; margin-bottom: 24px; font-size: .75rem; font-weight: 650; color: #446570; }
.app-preview { margin: 0; border: 0; padding: 0; width: 100%; min-width: 0; }
.phone {
  position: relative;
  width: 232px;
  height: 501px;
  border: 7px solid #224550;
  border-radius: 32px;
  background: #f4f7fb;
  box-shadow: 0 26px 36px -14px #15495145, 0 3px 0 #ffffff60 inset;
  overflow: hidden;
  transform: rotate(-3deg);
}
.phone::after { content: ''; position: absolute; inset: 0; border-radius: 25px; box-shadow: inset 0 0 0 1px #183c5020; pointer-events: none; z-index: 2; }
.phone img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 240ms ease, transform 340ms ease, visibility 240ms;
}
#preview-calendar:checked ~ .phone .preview-calendar,
#preview-hours:checked ~ .phone .preview-hours,
#preview-specialties:checked ~ .phone .preview-specialties { opacity: 1; visibility: visible; transform: translateX(0); }
.preview-controls { display: flex; justify-content: center; gap: 3px; margin: 21px auto 0; width: fit-content; padding: 4px; border: 1px solid #ffffffcc; background: #ffffff91; border-radius: 25px; }
.preview-controls label { display: flex; align-items: center; min-height: 44px; padding: 11px 9px; border-radius: 20px; font-size: .6875rem; line-height: 1.5; color: #496570; cursor: pointer; user-select: none; transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease; }
#preview-calendar:checked ~ .preview-controls [for='preview-calendar'],
#preview-hours:checked ~ .preview-controls [for='preview-hours'],
#preview-specialties:checked ~ .preview-controls [for='preview-specialties'] { background: #fff; color: #0b6f92; box-shadow: 0 2px 7px #153c4d12; font-weight: 650; }
#preview-calendar:focus-visible ~ .preview-controls [for='preview-calendar'],
#preview-hours:focus-visible ~ .preview-controls [for='preview-hours'],
#preview-specialties:focus-visible ~ .preview-controls [for='preview-specialties'] { outline: 3px solid #0873ac; outline-offset: 2px; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fffffff2; border: 1px solid #ffffff; border-radius: 16px; box-shadow: 0 12px 24px #215d6118; font-weight: 650; font-size: .8125rem; line-height: 1.5; pointer-events: none; }
.floating-card small { display: block; color: #546e79; font-size: .6875rem; font-weight: 400; margin-top: 2px; }
.floating-schedule { left: 12px; top: 156px; }
.floating-pdf { right: 12px; bottom: 140px; }
.floating-icon { width: 35px; height: 39px; border-radius: 10px; background: #edf5fc; color: #1682af; display: grid; place-items: center; }
.floating-icon svg { width: 22px; height: 22px; }
.mint-icon { background: #e6f7ef; color: #288c70; }
.floating-check { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #dff6eb; color: #268864; font-size: .6875rem; margin-left: 5px; }
.workflow-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 40px; }
.workflow-title { font-size: .8125rem; color: #506c76; line-height: 1.7; }
.workflow-title strong { font-weight: 600; color: #355562; }
.workflow-item { display: flex; align-items: center; gap: 9px; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.workflow-item > span { font-size: .6875rem; border: 1px solid #d5e5e6; color: #23827e; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.workflow-arrow { color: #96b1b9; }
.section { padding-block: 104px; }
.section-heading { max-width: 640px; }
.section-heading h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -.055em; }
.heading-soft { color: #607e88; }
.eyebrow { font-size: .8125rem; }
.features-section { background: #f2f7f6; border-color: #e0ebe8; }
.feature-grid { gap: 18px; }
.feature { min-width: 0; position: relative; padding: 32px; border-color: #dfeae6; border-radius: 24px; overflow: hidden; transition: box-shadow 240ms ease, border-color 240ms ease; }
.feature-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.feature-index { margin-bottom: 0; font-size: .75rem; color: #526d73; }
.feature-icon { width: 39px; height: 39px; display: grid; place-items: center; font-size: 1.65rem; line-height: 1; color: #24867d; background: #edf7f2; border-radius: 12px; transition: transform 240ms ease; }
.feature p { max-width: 470px; font-size: .9375rem; line-height: 1.75; }
.feature h3 { font-size: 1.375rem; }
.week-visual { display: flex; gap: 8px; margin-top: 25px; padding-top: 19px; border-top: 1px solid #edf1ef; }
.week-visual > span { display: grid; justify-items: center; gap: 10px; width: 35px; font-size: .625rem; color: #5b7c80; }
.week-visual i { width: 29px; height: 26px; display: block; border: 1px solid #96ccbc; border-radius: 7px; background: #ccebe0; transform-origin: bottom; }
.week-visual .week-off { color: #98a9ae; }
.week-off i { background: #f3f6f4; border-color: #e3ebe7; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; padding-top: 19px; border-top: 1px solid #edf1ef; }
.feature-tags > span { font-size: .75rem; color: #447274; padding: 8px 11px; border-radius: 8px; background: #eff7f3; }
.pdf-visual { display: flex; gap: 18px; align-items: center; margin-top: 25px; padding-top: 19px; border-top: 1px solid #edf1ef; }
.pdf-file { font-size: .6875rem; font-weight: 750; color: #137da8; padding: 11px 9px; border: 1px solid #c0dce8; background: #edf6fb; border-radius: 7px; }
.pdf-line { flex: 1; height: 1px; background: #d6e9e1; }
.pdf-ready { color: #47816e; font-size: .75rem; white-space: nowrap; }
.screen-grid { gap: 24px; }
.screen-image { position: relative; }
.screen-open { position: absolute; right: 12px; top: 12px; padding: 7px 9px; border: 1px solid #ddece7; border-radius: 20px; background: #fffffff2; color: #396974; font-size: .625rem; box-shadow: 0 3px 10px #1b5c6510; }
.screen-image { background: linear-gradient(155deg, #e8f1f8, #e5f5ed); padding: 32px 22px; border-color: #ddebe6; border-radius: 26px; overflow: hidden; }
.screen-image img { width: min(100%, 300px); box-shadow: 0 12px 22px #1b5c6520; border: 1px solid #ffffff; transition: transform 350ms cubic-bezier(.2,.65,.3,1); }
.screen-card figcaption { font-size: .9375rem; }
.screen-card figcaption > span { font-size: .75rem; width: 28px; height: 28px; border: 1px solid #d7e7e8; border-radius: 50%; display: grid; place-items: center; }
.subscription-section { position: relative; isolation: isolate; background: #123c49; overflow: hidden; }
.subscription-section::before { content: ''; position: absolute; z-index: -1; top: -240px; right: -150px; width: 750px; height: 750px; border-radius: 50%; border: 1px solid #ffffff10; box-shadow: 0 0 0 70px #ffffff03, 0 0 0 140px #ffffff03; pointer-events: none; }
.subscription-layout { grid-template-columns: 1fr .8fr; gap: 88px; }
.subscription-copy h2 { font-size: clamp(2.5rem, 4.5vw, 3.7rem); letter-spacing: -.055em; }
.subscription-accent { color: #b9e5d3; }
.subscription-copy > p { font-size: 1rem; }
.subscription-steps { gap: 28px; }
.subscription-steps li::before { border-color: #547980; background: #ffffff05; }
.price-card { position: relative; padding: 36px; border-radius: 26px; border: 1px solid #ffffff70; box-shadow: 0 28px 44px #042c3533; }
.price-name { display: inline-block; padding-bottom: 22px; width: 100%; border-bottom: 1px solid #e3eeea; font-size: 1.375rem; }
.price { margin-top: 26px; }
.price strong { font-size: 4.125rem; letter-spacing: -.06em; }
.trial { font-size: .8125rem; border-radius: 20px; padding: 8px 12px; }
.included { gap: 16px; }
.payment-status { font-size: .8125rem; font-weight: 600; background: #f2f7f8; border-color: #dfe9ec; padding: 15px 10px; }
.price-note { font-size: .8125rem; }
.terms-section .section-heading h2 { font-size: 2.5rem; }
.terms-grid { gap: 34px 66px; }
.terms-grid h3 { font-size: 1.125rem; }
.terms-grid p { font-size: .9375rem; }
.contacts-section { background: #eaf5f2; border-color: #d5e9e1; }
.contacts-inner h2 { font-size: 2.25rem; letter-spacing: -.045em; }
.contact-email { display: inline-block; transition: color 180ms ease, text-underline-offset 180ms ease; }
.contact-email:hover { color: #075c67; text-underline-offset: 8px; }
.merchant { border-color: #cddfd9; }
.footer { min-height: 120px; }

@keyframes enter-up {
  from { opacity: .1; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes phone-settle {
  from { opacity: .1; transform: translateY(34px) rotate(-8deg); }
  to { opacity: 1; transform: translateY(0) rotate(-3deg); }
}
@keyframes card-drift {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-9px); }
  70% { transform: translateY(3px); }
}
@keyframes glow-drift {
  from { transform: translate(-3%, -2%) scale(1.03); }
  to { transform: translate(3%, 2%) scale(1); }
}
@keyframes reveal-block {
  from { opacity: .18; translate: 0 30px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: enter-up 700ms cubic-bezier(.2,.7,.3,1) both; }
  .hero-copy h1 { animation-delay: 70ms; }
  .hero-copy .lead { animation-delay: 130ms; }
  .hero-actions { animation-delay: 190ms; }
  .hero-note { animation-delay: 240ms; }
  .hero-tools { animation-delay: 290ms; }
  .phone { animation: phone-settle 1100ms cubic-bezier(.2,.7,.3,1) both; }
  .floating-card { animation: card-drift 4600ms ease-in-out; }
  .floating-pdf { animation-delay: 250ms; }
  .hero-visual::before { animation: glow-drift 4800ms ease-in-out both; }
  @supports (animation-timeline: view()) {
    .section-heading, .feature, .screen-card, .price-card, .terms-grid > div {
      animation: reveal-block 1s linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
  }
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #087da526; }
  .feature:hover { border-color: #a9cec0; box-shadow: 0 13px 28px #2c6a6510; }
  .feature:hover .feature-icon { transform: rotate(-7deg); }
  .screen-card:hover .screen-image img { transform: translateY(-5px); }
}
@media (max-width: 1060px) {
  .hero { gap: 28px; }
  .hero-copy h1 { font-size: 3.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-visual { min-height: 616px; }
  .floating-card { padding: 11px; font-size: .75rem; }
  .floating-schedule { top: 134px; left: 7px; }
  .floating-pdf { right: 7px; bottom: 136px; }
  .floating-card small { font-size: .625rem; }
  .floating-icon { width: 28px; height: 32px; }
  .floating-icon svg { width: 19px; height: 19px; }
  .floating-check { display: none; }
  .subscription-layout { gap: 45px; }
  .header-inner nav { gap: 18px; font-size: .8125rem; }
  .workflow-title { max-width: 155px; }
  .workflow-item { font-size: .8125rem; }
}
@media (max-width: 820px) {
  .screen-grid { grid-template-columns: 1fr; max-width: 430px; margin-inline: auto; }
  .header-inner nav .nav-price { display: none; }
  .hero-copy h1 { font-size: 3rem; }
  .hero-visual { min-height: 605px; padding-inline: 10px; }
  .phone { width: 216px; height: 466px; }
  .floating-schedule { top: 110px; }
  .floating-pdf { bottom: 125px; }
  .preview-controls label { padding-inline: 7px; font-size: .625rem; }
  .workflow-title { display: none; }
  .workflow-strip { justify-content: center; gap: 19px; }
  .subscription-layout { grid-template-columns: 1fr .95fr; gap: 28px; }
  .price-card { padding: 28px; }
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-block: 38px 38px; gap: 32px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 9.5vw, 4rem); margin-bottom: 23px; }
  .hero .hero-eyebrow { font-size: .75rem; max-width: 100%; margin-bottom: 23px; }
  .header-inner { min-height: 76px; padding-block: 15px; }
  .header-inner nav { gap: 18px; font-size: .8125rem; }
  .header-inner nav a { padding-block: 6px; }
  .hero-actions { flex-direction: row; align-items: stretch; }
  .hero-tools { margin-top: 26px; gap: 18px; }
  .lead { font-size: 1rem; }
  .hero-visual { min-height: 603px; padding: 23px 12px 22px; border-radius: 28px; }
  .phone { width: 230px; height: 496px; }
  .visual-caption { font-size: .6875rem; margin-bottom: 20px; }
  .floating-schedule { top: 122px; left: 10px; }
  .floating-pdf { bottom: 141px; right: 10px; }
  .preview-controls { margin-top: 19px; }
  .preview-controls label { font-size: .6875rem; padding-inline: 9px; }
  .workflow-strip { padding-block: 8px 34px; justify-content: space-between; gap: 5px; }
  .workflow-item { flex-direction: column; gap: 8px; font-size: .6875rem; }
  .workflow-arrow { margin-top: -23px; font-size: .875rem; }
  .section { padding-block: 65px; }
  .section-heading h2 { font-size: clamp(2.25rem, 7.5vw, 3rem); }
  .section-heading p { font-size: .9375rem; }
  .feature { padding: 26px; border-radius: 21px; }
  .feature h3 { font-size: 1.25rem; }
  .feature p { font-size: .9375rem; }
  .feature-top { margin-bottom: 20px; }
  .screen-grid { gap: 36px; }
  .screen-image { padding-block: 30px; }
  .screen-image img { width: min(100%, 320px); }
  .screen-card figcaption { margin-top: 16px; }
  .subscription-layout { grid-template-columns: 1fr; gap: 36px; }
  .subscription-copy h2 { font-size: 3rem; }
  .price-card { padding: 29px; }
  .terms-section .section-heading h2 { font-size: 2.2rem; }
  .contacts-inner h2 { font-size: 1.9rem; }
  .contact-email { font-size: 1rem; }
  .footer { min-height: 0; padding-block: 30px; }
}
@media (max-width: 420px) {
  .header-inner { flex-direction: row; align-items: center; gap: 10px; }
  .header-inner nav { width: auto; justify-content: flex-start; gap: 13px; font-size: .6875rem; }
  .brand { font-size: 1.2rem; gap: 7px; }
  .brand img { width: 32px; height: 32px; border-radius: 10px; }
  .hero-actions { flex-direction: column; }
  .hero-visual { min-height: 595px; }
  .hero-note { font-size: .75rem; }
  .floating-card { font-size: .6875rem; padding: 10px; gap: 7px; }
  .floating-card small { font-size: .625rem; }
  .floating-schedule { left: 7px; }
  .floating-pdf { right: 7px; }
  .price strong { font-size: 3.7rem; }
}
@media (max-width: 360px) {
  .header-inner { flex-wrap: wrap; }
  .header-inner nav { width: 100%; justify-content: space-between; font-size: .75rem; }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero .hero-eyebrow { font-size: .6875rem; }
  .phone { width: 210px; height: 453px; }
  .hero-visual { min-height: 558px; }
  .floating-card { padding: 8px; }
  .preview-controls label { font-size: .625rem; padding-inline: 8px; }
  .workflow-item { font-size: .625rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .phone { transform: none; }
}
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-header { position: static; }
  .phone { transform: none; }
}
