@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: local("Pretendard Thin"),
    url("../assets/fonts/Pretendard-Thin.subset.fd268e8d.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-Thin.subset.529747cd.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local("Pretendard ExtraLight"),
    url("../assets/fonts/Pretendard-ExtraLight.subset.d385aac9.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-ExtraLight.subset.ffa7334f.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("Pretendard Light"),
    url("../assets/fonts/Pretendard-Light.subset.50c3fb32.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-Light.subset.585a7cf7.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Pretendard Regular"),
    url("../assets/fonts/Pretendard-Regular.subset.352c8e19.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-Regular.subset.03d8daed.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Pretendard Medium"),
    url("../assets/fonts/Pretendard-Medium.subset.ce54de3a.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-Medium.subset.358ea39e.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Pretendard SemiBold"),
    url("../assets/fonts/Pretendard-SemiBold.subset.d67e7444.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-SemiBold.subset.a7c8a0e1.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Pretendard Bold"),
    url("../assets/fonts/Pretendard-Bold.subset.4fe33033.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-Bold.subset.ad31b300.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local("Pretendard ExtraBold"),
    url("../assets/fonts/Pretendard-ExtraBold.subset.df5e9b5a.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-ExtraBold.subset.3611773c.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local("Pretendard Black"),
    url("../assets/fonts/Pretendard-Black.subset.4c3afc36.woff2") format("woff2"),
    url("../assets/fonts/Pretendard-Black.subset.d57ad8ed.woff") format("woff");
}

:root {
  --desktop-layout-scale: 1;
  --motion-dark-background-opacity: 0;
  --motion-white-background-opacity: 0;
  --hero-intro-opacity: 1;
  --hero-intro-y: 0px;
  --nav-progress: 0;
  --nav-width: min(1208px, calc(100vw - 80px));
  --nav-logo-width: 188px;
  --nav-logo-height: 36px;
  --phone-x: 0px;
  --phone-y: -100px;
  --phone-scale: 1.4;
  --phone-rotate-x: 40deg;
  --phone-rotate-y: 0deg;
  --phone-opacity: 1;
  --phone-sticky-top: 140px;
  --phone-min-height: 480px;
  --phone-max-height: 800px;
  --brand-ink: #00293d;
  --brand-muted: #69788c;
  --brand-red: #ff0000;
  --brand-pink: #ff00bb;
  --brand-accent: #fc1547;
  --surface-warm: #fff2e5;
  --surface-soft: #f3f5f7;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: var(--surface-warm);
  color: var(--brand-ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface-warm);
  color: var(--brand-ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-demo-open {
  overflow: hidden;
}

button,
a,
iframe {
  font: inherit;
}

img {
  max-width: 100%;
}

.polar-phone-page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow-x: clip;
}

.landing-motion-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-motion-background__layer {
  position: absolute;
  inset: 0;
}

.landing-motion-background__layer--base {
  background: var(--surface-warm);
}

.landing-motion-background__layer--dark {
  background: #001621;
  opacity: var(--motion-dark-background-opacity);
  will-change: opacity;
}

.landing-motion-background__layer--white {
  background: #fff;
  opacity: var(--motion-white-background-opacity);
  will-change: opacity;
}

.landing-nav {
  position: fixed;
  top: 28px;
  right: 40px;
  left: 40px;
  z-index: 30;
  height: 60px;
  pointer-events: none;
}

.landing-nav__surface {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--nav-width);
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / calc(var(--nav-progress) * 0.9)) 0%,
      rgb(255 255 255 / calc(var(--nav-progress) * 0.75)) 100%
    );
  box-shadow:
    0 0.6px 0.6px -1.25px rgb(0 0 0 / calc(var(--nav-progress) * 0.18)),
    0 2.3px 2.3px -2.5px rgb(0 0 0 / calc(var(--nav-progress) * 0.16)),
    0 10px 10px -3.75px rgb(0 0 0 / calc(var(--nav-progress) * 0.06));
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(calc(var(--nav-progress) * 5px));
  backdrop-filter: blur(calc(var(--nav-progress) * 5px));
  pointer-events: auto;
  will-change: width, background, box-shadow, backdrop-filter;
}

.landing-logo {
  position: absolute;
  top: 50%;
  left: 16px;
  display: inline-flex;
  width: var(--nav-logo-width);
  height: var(--nav-logo-height);
  align-items: center;
  gap: calc(10px - (var(--nav-progress) * 4px));
  padding: 0;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, #fff calc((1 - var(--nav-progress)) * 100%), var(--brand-ink) calc(var(--nav-progress) * 100%));
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.landing-logo__mark {
  position: relative;
  display: block;
  width: calc(34px - (var(--nav-progress) * 8px));
  height: calc(37px - (var(--nav-progress) * 9px));
  flex: none;
}

.landing-logo__symbol {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.landing-logo__symbol--light {
  opacity: calc(1 - var(--nav-progress));
}

.landing-logo__symbol--solid {
  opacity: var(--nav-progress);
}

.landing-logo__text {
  overflow: hidden;
  font-size: calc(26px - (var(--nav-progress) * 4px));
  letter-spacing: 0;
  white-space: nowrap;
}

.landing-nav__actions {
  position: absolute;
  top: 6px;
  right: 12px;
  display: flex;
  align-items: center;
}

.landing-login {
  display: inline-flex;
  min-width: calc(84px + (var(--nav-progress) * 44px));
  max-width: min(240px, calc(var(--nav-width) - var(--nav-logo-width) - 96px));
  height: 48px;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px;
  border: 1px solid rgb(255 255 255 / calc((1 - var(--nav-progress)) * 0.14));
  border-radius: 12px;
  background: rgb(255 255 255 / calc((1 - var(--nav-progress)) * 0.08));
  color: color-mix(in srgb, #fff calc((1 - var(--nav-progress)) * 100%), var(--brand-ink) calc(var(--nav-progress) * 100%));
  font-size: calc(14px + (var(--nav-progress) * 6px));
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transform:
    translate(calc(var(--nav-progress) * -2.5px), calc(var(--nav-progress) * -1px))
    scale(calc(1 - (var(--nav-progress) * 0.065)), calc(1 - (var(--nav-progress) * 0.042)));
  transform-origin: center;
}

.motion-section {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 940vh;
  background: transparent;
}

.hero-panel {
  --hero-tail-depth: clamp(180px, 16.7vw, 240px);
  --hero-diagonal-height: clamp(52px, 5vw, 92px);
  --hero-nav-guard-height: clamp(118px, 10vw, 152px);
  position: relative;
  z-index: 1;
  display: flex;
  height: 65vh;
  min-height: 480px;
  align-items: center;
  justify-content: center;
  padding: 120px max(28px, calc((100vw - 1120px) / 2)) 40px;
  color: #fff;
  text-align: center;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: calc(var(--hero-tail-depth) * -1);
  left: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.26) 68%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 22, 33, 0.12), rgba(0, 22, 33, 0.48)),
    url("../assets/brand/origin.jpg");
  background-position: top center, center, center;
  background-repeat: no-repeat;
  background-size: 100% var(--hero-nav-guard-height), cover, cover;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: calc((var(--hero-tail-depth) * -1) - 1px);
  left: 0;
  z-index: 1;
  height: var(--hero-diagonal-height);
  background: var(--surface-warm);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  opacity: var(--hero-intro-opacity);
  transform: translateY(var(--hero-intro-y));
  will-change: transform, opacity;
}

.hero-copy h1 {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(46px, 5.3vw, 75px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-copy p {
  max-width: 800px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
}

.phone-sticky {
  position: sticky;
  top: var(--phone-sticky-top);
  z-index: 4;
  display: flex;
  width: 100%;
  height: 70vh;
  min-height: var(--phone-min-height);
  align-items: flex-end;
  justify-content: center;
}

.phone-frame {
  position: relative;
  z-index: 2;
  flex: none;
  width: auto;
  height: 100%;
  min-height: var(--phone-min-height);
  max-height: var(--phone-max-height);
  aspect-ratio: 0.496429;
  overflow: visible;
}

.phone-frame--motion {
  opacity: var(--phone-opacity);
  transform:
    perspective(1200px)
    translateX(var(--phone-x))
    translateY(var(--phone-y))
    scale(var(--phone-scale))
    rotateX(var(--phone-rotate-x))
    rotateY(var(--phone-rotate-y));
  will-change: transform, opacity;
}

.phone-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: #00090d;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0.84px 0.84px -0.25px rgba(0, 0, 0, 0.08),
    0 3.63px 3.63px -0.75px rgba(0, 0, 0, 0.08),
    0 9.75px 9.75px -1.25px rgba(0, 0, 0, 0.09),
    0 27.48px 27.48px -1.75px rgba(0, 0, 0, 0.1),
    0 50px 50px -2px rgba(0, 0, 0, 0.12);
}

.phone-glare {
  position: absolute;
  z-index: 5;
  top: -67%;
  left: -104%;
  right: -83%;
  height: 74%;
  background: conic-gradient(transparent 108deg 136.407deg, rgba(255, 255, 255, 0.37) 320.4deg);
  opacity: 0.66;
  transform: translateX(-12%) rotate(-60deg);
  pointer-events: none;
}

.system-bar {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  z-index: 6;
  display: flex;
  height: 4%;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.system-island {
  position: absolute;
  top: 4px;
  left: 34.45%;
  z-index: 1;
  width: 31%;
  height: 80%;
  border-radius: 20px;
  background: #000;
}

.system-icons {
  display: block;
  width: 18%;
  aspect-ratio: 79 / 13;
  height: auto;
}

.screen-stack {
  position: absolute;
  inset: 6px;
  overflow: hidden;
  border-radius: 35px;
  background: #000;
}

.phone-screen-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  transform: translateY(var(--screen-y, 0));
  will-change: opacity, transform, height, bottom;
}

.phone-screen-layer img,
.mobile-phone-image,
.mobile-phone-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  user-select: none;
  pointer-events: none;
}

.phone-screen-layer--panel {
  top: auto;
  right: 0;
  bottom: var(--screen-bottom, 0);
  left: 0;
  height: var(--screen-height, 50%);
  border-top-left-radius: var(--screen-radius, 28px);
  border-top-right-radius: var(--screen-radius, 28px);
  background: #fff;
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.08);
}

.phone-screen-layer--panel img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--screen-panel-image-height, 100%);
  object-position: bottom center;
}

.tenant-phone-cloud {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.tenant-mini-phone {
  position: absolute;
  width: clamp(64px, calc(7.65vw * var(--desktop-layout-scale)), 110px);
  aspect-ratio: 232 / 480;
  overflow: hidden;
  border-radius: clamp(16px, 1.53vw, 22px);
  background: #000;
  opacity: 0;
  box-shadow:
    0 0.84px 0.84px -0.25px rgba(0, 0, 0, 0.1),
    0 3.63px 3.63px -0.75px rgba(0, 0, 0, 0.1),
    0 15.96px 15.96px -1.5px rgba(0, 0, 0, 0.14),
    0 42px 42px -12px rgba(0, 0, 0, 0.24);
  will-change: transform, opacity;
}

.tenant-mini-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tenant-mini-phone--1 { top: 12%; left: clamp(28px, calc(50% - 411px), calc(100% - 138px)); }
.tenant-mini-phone--2 { top: 34%; left: clamp(28px, calc(50% - 614px), calc(100% - 138px)); }
.tenant-mini-phone--3 { top: 52%; left: clamp(28px, calc(50% - 294px), calc(100% - 138px)); }
.tenant-mini-phone--4 { top: 13%; left: clamp(28px, calc(50% + 203px), calc(100% - 138px)); }
.tenant-mini-phone--5 { top: 53%; left: clamp(28px, calc(50% + 331px), calc(100% - 138px)); }
.tenant-mini-phone--6 { top: 25%; left: clamp(28px, calc(50% + 525px), calc(100% - 138px)); }

.motion-handoff-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.motion-conclusion-copy,
.motion-services-header.bottom-section__header {
  position: absolute;
  right: 32px;
  left: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: opacity, transform;
}

.motion-conclusion-copy {
  bottom: clamp(-14px, -1vh, 4px);
  opacity: var(--handoff-conclusion-opacity, 0);
  transform: translateY(var(--handoff-conclusion-y, 28px));
}

.motion-services-header.bottom-section__header {
  bottom: clamp(18px, 5vh, 56px);
  max-width: none;
  margin: 0;
  opacity: var(--handoff-services-opacity, 0);
  pointer-events: var(--handoff-services-pointer-events, none);
  transform: translateY(var(--handoff-services-y, 92px)) scale(var(--handoff-services-scale, 0.94));
  transform-origin: center bottom;
}

.motion-conclusion-copy span,
.motion-services-header span,
.bottom-section__header span,
.demo-modal__header span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--brand-accent);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
}

.motion-conclusion-copy h2,
.motion-services-header h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(30px, calc(58px * var(--desktop-layout-scale)), 58px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
}

.motion-conclusion-copy p,
.motion-services-header p {
  margin: 12px 0 0;
  color: var(--brand-muted);
  font-size: clamp(14px, calc(16px * var(--desktop-layout-scale)), 16px);
  line-height: 1.5;
  word-break: keep-all;
}

.motion-services-header .service-cta__actions {
  pointer-events: auto;
}

.motion-copy {
  --motion-copy-near-offset: clamp(0px, calc((100vw - 1280px) * 0.42), 340px);
  position: relative;
  z-index: 5;
  display: flex;
  width: 100%;
  height: min-content;
  flex-flow: column;
  margin-top: -40vh;
  padding: 0 80px;
  overflow: hidden;
  pointer-events: none;
}

.motion-step {
  position: relative;
  display: flex;
  flex: none;
  width: 100%;
  height: 50vh;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  overflow: visible;
  transform: scale(0.5);
  transform-origin: center;
  will-change: transform, opacity;
}

.motion-step--left {
  text-align: right;
}

.motion-step--bottom {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100vh;
  min-height: 720px;
  text-align: center;
}

.motion-step--multi-site-copy-hold {
  height: 56vh;
  min-height: 420px;
}

.motion-step--services-complete-hold {
  height: 78vh;
  min-height: 560px;
}

.motion-step__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 0 0;
  width: 1px;
  min-width: 0;
  max-width: clamp(300px, calc(400px * var(--desktop-layout-scale)), 400px);
  flex-flow: column;
  gap: 8px;
  justify-content: center;
  overflow: visible;
}

.motion-step__spacer {
  flex: 1.25 0 0;
  width: 1px;
  height: 94px;
  overflow: hidden;
}

.motion-step--right .motion-step__content {
  order: 2;
  align-items: flex-start;
  text-align: left;
  transform: translateX(calc(var(--motion-copy-near-offset) * -1));
}

.motion-step--right .motion-step__spacer {
  order: 1;
}

.motion-step--left .motion-step__content {
  order: 1;
  align-items: flex-end;
  text-align: right;
  transform: translateX(var(--motion-copy-near-offset));
}

.motion-step--left .motion-step__spacer {
  order: 2;
}

.motion-step--bottom .motion-step__content,
.motion-step--bottom .motion-step__spacer {
  display: none;
}

.motion-step span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--brand-accent);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.motion-step h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(30px, calc(58px * var(--desktop-layout-scale)), 53.4px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
}

.motion-step p {
  display: none;
  margin: 12px 0 0;
  color: var(--brand-muted);
  font-size: clamp(14px, calc(16px * var(--desktop-layout-scale)), 16px);
  line-height: 1.5;
  word-break: keep-all;
}

.motion-step--admin-dashboard h2,
.motion-step--admin-side-menu h2,
.motion-step--admin-category-list h2,
.motion-step--admin-category-create h2,
.motion-step--admin-mainpage h2,
.motion-step--admin-brand h2 {
  color: #fff;
}

.motion-step--admin-dashboard p,
.motion-step--admin-side-menu p,
.motion-step--admin-category-list p,
.motion-step--admin-category-create p,
.motion-step--admin-mainpage p,
.motion-step--admin-brand p {
  color: rgba(255, 255, 255, 0.72);
}

.mobile-motion-sections,
.mobile-service-cta {
  display: none;
}

.bottom-panel {
  --bottom-panel-bg: var(--surface-soft);
  --bottom-panel-diagonal-height: clamp(52px, 5vw, 92px);
  position: relative;
  z-index: 2;
  margin-top: 160px;
  background: var(--bottom-panel-bg);
  color: var(--brand-ink);
}

.bottom-panel::before {
  content: "";
  position: absolute;
  top: calc((var(--bottom-panel-diagonal-height) * -1) + 1px);
  right: 0;
  left: 0;
  height: var(--bottom-panel-diagonal-height);
  background: var(--bottom-panel-bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.bottom-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 108px) 32px 0;
}

.bottom-section__header {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.bottom-section__header h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
}

.bottom-section__header p {
  margin: 18px auto 0;
  color: var(--brand-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  word-break: keep-all;
}

.bottom-section--pricing {
  scroll-margin-top: 120px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid rgba(0, 41, 61, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(0, 41, 61, 0.06);
}

.pricing-card--featured {
  border-color: rgba(252, 21, 71, 0.3);
  background: linear-gradient(155deg, #fff 0%, rgba(255, 238, 243, 0.92) 100%);
  box-shadow: 0 22px 50px rgba(252, 21, 71, 0.12);
}

.pricing-card__heading {
  position: relative;
}

.pricing-card__eyebrow,
.billing-policy-summary > div > span {
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pricing-card__badge {
  position: absolute;
  top: -5px;
  right: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.pricing-card h3 {
  margin: 14px 0 0;
  color: var(--brand-ink);
  font-size: 20px;
  line-height: 1.35;
  word-break: keep-all;
}

.pricing-card__price {
  display: grid;
  gap: 8px;
  min-height: 112px;
  margin: 38px 0 0;
}

.pricing-card__price > strong {
  color: var(--brand-ink);
  font-size: 25px;
  line-height: 1.2;
}

.pricing-card__price > span {
  color: var(--brand-muted);
  font-size: 15px;
}

.pricing-card__monthly-price,
.pricing-card__annual-discount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.pricing-card__annual-regular {
  color: var(--brand-muted);
  font-size: 13px;
  text-decoration-thickness: 1px;
}

.pricing-card__price > .pricing-card__annual-discount {
  color: var(--brand-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.pricing-card__vat-inline {
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 700;
}

.pricing-card__annual-benefit {
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 700;
}

.pricing-card__description {
  margin: 24px 0 32px;
  color: var(--brand-muted);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

.billing-policy-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr);
  gap: 24px 48px;
  margin-top: 28px;
  padding: 36px;
  border-radius: 24px;
  background: var(--brand-ink);
  color: #fff;
}

.billing-policy-summary h3 {
  margin: 10px 0 0;
  font-size: 25px;
}

.billing-policy-summary ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.75;
}

.billing-policy-summary p {
  grid-column: 2;
  margin: -10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.billing-policy-summary a {
  grid-column: 2;
  width: fit-content;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--brand-ink);
  font: inherit;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0;
  text-align: left;
  word-break: keep-all;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  margin-right: 18px;
  color: var(--brand-muted);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-question:focus-visible {
  outline: 2px solid rgba(252, 21, 71, 0.34);
  outline-offset: 4px;
  border-radius: 6px;
}

.faq-answer {
  max-width: 920px;
  margin: 0;
  padding: 20px 0;
  box-sizing: border-box;
  color: var(--brand-muted);
  font-size: 20px;
  line-height: 1.6;
  word-break: keep-all;
  overflow: hidden;
  opacity: 1;
  will-change: height, opacity;
}

.faq-answer[hidden] {
  display: none;
}

.service-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.service-cta__actions a,
.service-cta__actions button {
  display: inline-flex;
  min-height: 73px;
  align-items: center;
  justify-content: center;
  padding: 0 38px;
  border: 0;
  border-radius: 8px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.service-cta__primary {
  background: linear-gradient(120deg, var(--brand-red) 0%, var(--brand-accent) 15%, var(--brand-pink) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(252, 21, 71, 0.24);
}

.service-cta__secondary,
.service-cta__actions .service-cta__secondary {
  border: 1px solid rgba(0, 41, 61, 0.14);
  background: #fff;
  color: var(--brand-ink);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(0, 41, 61, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 41, 61, 0.1);
}

.platform-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 80px 32px 48px;
  color: #000;
}

.platform-footer .inner {
  padding-top: 34px;
}

.footer-logo {
  margin: 0 0 18px;
  line-height: 1;
}

.footer-logo a {
  display: inline-flex;
  align-items: center;
}

.platform-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 650;
}

.platform-footer a {
  color: var(--brand-ink);
  text-decoration: none;
}

.platform-footer a:hover {
  color: var(--brand-accent);
}

.platform-footer__logo-image {
  display: block;
  width: auto;
  height: 42px;
}

.platform-footer .info {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.platform-footer dd {
  margin: 0;
}

.platform-footer dd + dd {
  margin-top: 4px;
}

.platform-footer .copyright {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 12, 18, 0.68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.demo-modal[hidden] {
  display: none;
}

.demo-modal__content {
  display: flex;
  width: min(100%, 440px);
  max-height: calc(100dvh - 48px);
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.demo-modal__header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 12px;
}

.demo-modal__header span {
  margin-bottom: 8px;
}

.demo-modal__header h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.demo-modal__close {
  display: inline-flex;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(0, 41, 61, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-ink);
  cursor: pointer;
}

.demo-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.demo-modal__tabs {
  display: flex;
  width: calc(100% - 48px);
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.demo-modal__tabs button {
  flex: 1 1 0;
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--brand-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.demo-modal__tabs button.is-active {
  background: #fff;
  color: var(--brand-ink);
  box-shadow: 0 8px 20px rgba(0, 41, 61, 0.1);
}

.demo-phone-frame {
  width: min(76vw, 360px);
  margin: 18px 0 28px;
  aspect-ratio: 0.496429;
}

.demo-phone-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 8px solid #05090c;
  border-radius: 38px;
  background: #fff;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.12),
    0 26px 54px rgba(0, 0, 0, 0.18);
}

.demo-phone-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html,
  body,
  .polar-phone-page,
  .landing-motion-background__layer--base {
    background: #fff;
  }

  .hero-panel::after {
    background: #fff;
  }

  .landing-nav {
    top: 16px;
    right: 16px;
    left: 16px;
    height: 60px;
  }

  .landing-nav__surface {
    width: 100%;
  }

  .landing-logo {
    --nav-logo-width: 146px;
    --nav-logo-height: 28px;
  }

  .hero-panel {
    --hero-tail-depth: clamp(150px, 18vw, 190px);
    height: 60vh;
    min-height: 480px;
    padding-top: 110px;
  }

  .hero-copy {
    max-width: 780px;
    padding: 0 12px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 8vw, 64px);
    line-height: 1.08;
  }

  .hero-copy p {
    max-width: 640px;
    margin-top: 22px;
    font-size: clamp(16px, 2.7vw, 20px);
    line-height: 1.52;
  }

  .motion-section {
    min-height: 0;
    padding-bottom: 0;
  }

  .phone-sticky,
  .motion-copy,
  .tenant-phone-cloud {
    display: none;
  }

  .mobile-motion-sections {
    position: relative;
    z-index: 6;
    display: block;
    margin-top: clamp(-110px, -12vw, -72px);
    padding-bottom: 48px;
    overflow: hidden;
  }

  .mobile-motion-section {
    padding: 0 0 72px;
  }

  .mobile-section-phones {
    display: flex;
    width: 100vw;
    margin-left: 50%;
    padding: 24px max(24px, calc((100vw - 390px) / 2)) 36px;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: max(24px, calc((100vw - 390px) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: translateX(-50%);
    -webkit-overflow-scrolling: touch;
  }

  .mobile-section-phones::after {
    content: "";
    display: block;
    flex: 0 0 max(32px, calc((100vw - 390px) / 2 + 32px));
  }

  .mobile-section-phones::-webkit-scrollbar {
    display: none;
  }

  .mobile-phone-card {
    flex: 0 0 clamp(252px, 74vw, 315px);
    scroll-snap-align: center;
    margin-left: 30px;
  }

  .mobile-phone-card p {
    margin: 12px 0 0;
    color: var(--brand-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    word-break: keep-all;
  }

  .phone-frame {
    width: clamp(252px, 74vw, 315px);
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .phone-frame--mobile-card {
    width: 100%;
  }

  .phone-frame--mobile-card .phone-shell {
    box-shadow:
      0 2px 3px rgba(0, 0, 0, 0.08),
      0 10px 18px -8px rgba(0, 0, 0, 0.12),
      0 24px 34px -18px rgba(0, 0, 0, 0.18);
  }

  .mobile-phone-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 92%;
    overflow: hidden;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    background: #fff;
    box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.08);
  }

  .mobile-phone-panel img {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 108.7%;
    object-position: bottom center;
  }

  .mobile-section-copy {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 0 24px;
    text-align: left;
  }

  .mobile-section-copy span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--brand-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
  }

  .mobile-section-copy h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(30px, 7vw, 38px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: 0;
    word-break: keep-all;
  }

  .mobile-section-copy p {
    max-width: 480px;
    margin: 12px 0 0;
    color: var(--brand-muted);
    font-size: 16px;
    line-height: 1.55;
    word-break: keep-all;
  }

  .mobile-service-cta {
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: center;
    padding: 0 24px 64px;
  }

  .mobile-service-cta .service-cta__actions {
    width: min(100%, 420px);
    margin-top: 0;
    flex-wrap: wrap;
  }

  .mobile-service-cta .service-cta__actions a,
  .mobile-service-cta .service-cta__actions button {
    width: 100%;
  }

  .bottom-section {
    padding: 72px 24px 0;
  }

  .bottom-section__header {
    margin-bottom: 28px;
    text-align: left;
  }

  .bottom-section__header h2 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .bottom-section__header p {
    margin-right: auto;
    margin-left: 0;
    font-size: 16px;
  }

  .pricing-card {
    min-height: 360px;
  }

  .billing-policy-summary {
    grid-template-columns: 1fr;
  }

  .billing-policy-summary p,
  .billing-policy-summary a {
    grid-column: 1;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-question {
    min-height: 68px;
    padding: 20px 0;
    font-size: 18px;
  }

  .faq-answer {
    padding: 18px 0;
    font-size: 18px;
  }

  .service-cta__actions {
    width: 100%;
  }

  .service-cta__actions a,
  .service-cta__actions button {
    flex: 1 1 180px;
  }

  .platform-footer {
    padding: 64px 24px 40px;
  }

  .footer-logo,
  .platform-footer .info {
    text-align: center;
  }

  .platform-footer__links {
    justify-content: center;
  }

  .demo-modal {
    align-items: center;
    overflow-y: auto;
    padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .demo-modal__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px 12px;
    width: 100%;
    max-width: 390px;
    height: calc(100dvh - 32px);
    max-height: none;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .demo-modal__header {
    display: contents;
  }

  .demo-modal__header > div {
    display: none;
  }

  .demo-modal__close {
    grid-column: 2;
    grid-row: 1;
    width: 48px;
    height: 48px;
    align-self: stretch;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .demo-modal__tabs {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .demo-modal__tabs button {
    min-height: 38px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
  }

  .demo-phone-frame {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 360px;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    aspect-ratio: auto;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-nav__actions {
    top: 6px;
  }

  .landing-login {
    min-width: 76px;
    height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-panel {
    --hero-tail-depth: 130px;
    padding: 96px 20px 48px;
  }

  .hero-copy {
    max-width: 440px;
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 8.9vw, 42px);
    line-height: 1.12;
  }

  .hero-copy p {
    margin-top: 18px;
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.5;
  }

  .mobile-motion-sections {
    margin-top: -72px;
  }

  .mobile-motion-section {
    padding-bottom: 64px;
  }

  .mobile-section-phones {
    gap: 0;
    padding: 22px 24px 34px;
    scroll-padding-inline: 24px;
  }

  .mobile-section-phones::after {
    flex-basis: 32px;
  }

  .mobile-phone-card {
    flex-basis: clamp(248px, 76vw, 304px);
  }

  .mobile-section-copy h2 {
    font-size: 34px;
  }

  .service-cta__actions a,
  .service-cta__actions button {
    min-height: 58px;
    padding: 0 22px;
    font-size: 18px;
  }

  .pricing-card {
    min-height: 330px;
    padding: 26px 22px 22px;
  }

  .billing-policy-summary {
    padding: 28px 22px;
  }

  .billing-policy-summary h3 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone-frame--motion,
  .motion-step,
  .tenant-mini-phone,
  .motion-conclusion-copy,
  .motion-services-header {
    transition: none;
  }
}
