@font-face {
  font-family: Paperlogy;
  src: url("./fonts/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Paperlogy;
  src: url("./fonts/Paperlogy-8ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
#yx-manifesto p { min-width: 0; max-width: 100%; }
html[lang="zh-CN"] #yx-manifesto p { display: block !important; word-break: normal; overflow-wrap: anywhere; }
html[lang="zh-CN"] #yx-manifesto p > span { display: inline !important; }
html[lang="zh-CN"] #yx-manifesto [data-word] { white-space: pre-wrap; }
#yx-overlay h1 { white-space: normal !important; text-wrap: balance; }
#yx-overlay h1, #yx-side-l, #yx-side-r {
  font-family: Paperlogy, "Pretendard Variable", Pretendard, system-ui, sans-serif;
  letter-spacing: -.04em;
}
#yx-overlay .hero-slogan--evening > span {
  color: var(--accent);
  text-shadow: 0 2px 5px #000d, 0 0 20px #000b;
}
.closing-reveal { isolation: isolate; }
.closing-reveal #faq {
  position: relative;
  z-index: 1;
  background: #fff;
}
#cta { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: no-preference) {
  .cta-reveal-panel {
    position: sticky;
    bottom: min(0px, calc(100svh - var(--cta-reveal-height, 0px)));
    z-index: 0;
  }
  .cta-reveal-panel:focus-within { position: relative; bottom: auto; }
}
.brand-tobi { font-weight: 800; letter-spacing: -.04em; }
.tocubi-mark { display:block; flex:none; width:30px; height:auto; }
.tocubi-footer-brand { display:flex; align-items:center; gap:9px; font-size:28px; }
.tocubi-footer-brand .tocubi-mark { width:34px; }
.tocubi-compare-brand { display:flex; align-items:center; gap:6px; font-weight:700; }
.tocubi-compare-brand .tocubi-mark { width:20px; }
html[lang="ko"] .tocubi-home-link .brand-tobi {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
html[lang="ko"] .tocubi-home-link::after {
  content:"";
  width:58px;
  height:18px;
  flex:none;
  background:currentColor;
  mask:url("./tocubi-wordmark-ko.svg") center / contain no-repeat;
}
#yx-nav[data-tone="closing"] #yx-nav-in a:not(#yx-nav-btn) { color:inherit; }
#yx-foot-brand .brand-tobi { font-weight: 850; }
.company-signature {
  position:relative;
  max-width:1600px;
  margin:clamp(32px, 6vw, 92px) auto 0;
  /* Show the 500-row wordmark while clipping only the PNG's transparent padding. */
  aspect-ratio:4096 / 504;
  overflow:hidden;
}
.company-signature img {
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:auto;
  transform:translateY(-41.927083%);
  pointer-events:none;
}
.company-signature-muted {
  filter:grayscale(1);
  opacity:.18;
}
.company-signature-color {
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  mask-image:radial-gradient(
    ellipse clamp(75px, 12vw, 180px) clamp(35px, 8vw, 100px)
    at var(--company-x, 50%) var(--company-y, 50%),
    #000 0%, #000e 20%, #0006 57%, transparent 100%
  );
  transition:opacity .3s ease;
}
@media (hover:hover) and (pointer:fine) {
  .company-signature[data-spotlight]:hover .company-signature-color { opacity:1; }
}
@media (max-width:767px), (hover:none) {
  .company-signature-muted { filter:none; opacity:1; }
  .company-signature-color { display:none; }
}
@media (prefers-reduced-motion:reduce) { .company-signature-color { transition:none; } }
.brand-company { display: block; width: 92px; height: auto; margin-top: 22px; }
.brand-highlight {
  color: var(--on);
  background: linear-gradient(to bottom, transparent 47%, var(--accent) 47% 90%, transparent 90%);
  padding-inline: .05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.brand-section-label::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: .3em;
  margin-right: .55em;
  border-radius: 99px;
  vertical-align: .2em;
  background: var(--accent);
}
#yx-seg-card {
  container-type: inline-size;
}
#yx-seg-card [data-segp] {
  position: absolute;
  inset: 0;
}
.audience-icon {
  position: absolute;
  top: 2.5%;
  right: 4.5%;
  width: min(30%, 26vh, 174px);
  max-height: 22%;
  height: auto;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px #0612104d);
}
.audience-content {
  --audience-padding: clamp(9px, min(3.3cqw, 2.55vh), 22px);
  --audience-body: clamp(11px, min(2.85cqw, 2.1vh), 16px);
  --audience-title: clamp(13px, min(3.35cqw, 2.6vh), 20px);
  position: absolute;
  inset: auto 5% 4% clamp(44px, 9%, 65px);
  min-height: 70%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(7px, 1.65cqw, 12px);
}
.audience-caption {
  font: 600 clamp(11px, 2.55cqw, 14px)/1.25 'IBM Plex Mono', monospace;
  letter-spacing: .06em;
  color: #e6e6e9;
}
.audience-content--enterprise > div:nth-child(2),
.audience-content--enterprise > div:nth-child(3),
.audience-content--startup > div:nth-child(2),
.audience-content--startup > div:nth-child(3) {
  flex: 1 0 auto;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: var(--audience-padding) !important;
}
.audience-content--enterprise > div:nth-child(2) > div:first-child,
.audience-content--enterprise > div:nth-child(3) > div:first-child > span:first-child,
.audience-content--startup > div:nth-child(3) > div:first-child {
  font-size: var(--audience-title) !important;
}
.audience-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 6px;
  margin-top: 7px;
}
.audience-policy-grid > span,
.audience-content--enterprise > div:nth-child(3) > div:last-child,
.audience-content--startup > div:nth-child(2),
.audience-content--startup > div:nth-child(3) > div:not(:first-child) {
  font-size: var(--audience-body) !important;
  line-height: 1.28;
}
.audience-content--enterprise > div:nth-child(3) > div:last-child {
  gap: clamp(4px, 1.2cqw, 8px) !important;
  margin-top: 7px !important;
}
.audience-content--startup > div:nth-child(2) {
  line-height: 1.55;
}
.audience-content--startup > div:nth-child(3) {
  gap: clamp(5px, 1.2cqw, 10px) !important;
}
.audience-content--startup > div:nth-child(3) > div:not(:first-child) {
  grid-template-columns: minmax(84px, 29%) minmax(16px, 1fr) minmax(68px, 20%) !important;
  gap: clamp(5px, 1.5cqw, 10px) !important;
}
.audience-content--startup > div:nth-child(3) > div:not(:first-child) > span:last-child {
  justify-self: start;
  white-space: nowrap;
}
.audience-content--enterprise > div:last-child > div,
.audience-content--startup > div:last-child > div {
  padding: var(--audience-padding) !important;
}
.audience-content--enterprise > div:last-child > div > div:first-child,
.audience-content--startup > div:last-child > div > div:first-child {
  font-size: var(--audience-body) !important;
}
.audience-content--enterprise > div:last-child > div > div:last-child {
  font-size: var(--audience-title) !important;
}
.audience-content--solo > div:nth-child(2) {
  font-size: clamp(20px, min(5.5cqw, 4.1vh), 34px) !important;
  line-height: 1.16;
}
.audience-content--solo > div:nth-child(3) {
  font-size: var(--audience-body) !important;
  color: #eeeef1 !important;
}
.studio-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
  flex: 1 0 auto;
  grid-auto-rows: 1fr;
}
.studio-tile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(3px, 1cqw, 8px);
  padding: var(--audience-padding);
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  color: #0e0e10;
}
.studio-tile-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.studio-tile-copy b { font-size: var(--audience-title); }
.studio-tile-copy > span { font-size: var(--audience-body); color: #5d5c55; }
.studio-tile-icon {
  box-sizing: content-box;
  align-self: flex-end;
  flex: none;
  width: clamp(14px, 4.5cqw, 25px);
  height: auto;
  aspect-ratio: 1;
  padding: clamp(2px, 1cqw, 5px);
  border-radius: 28%;
  background: color-mix(in srgb, var(--acd) 48%, white);
  color: #0e0e10;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tobi-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(12px, 3vw, 54px);
  border-top: 1px solid rgba(14, 14, 16, .14);
}
.tobi-stat { text-align: center; min-width: 0; }
.tobi-stat-value { font-size: clamp(40px, 5.35vw, 102px); white-space: nowrap; }
.metric-unit {
  color: var(--acd);
}
.tobi-stat-value .metric-unit { font-size: .7em; }
.testimonial-card {
  background: #f4f3ef;
  --testimonial-mark: var(--at);
  --testimonial-role: #68675f;
  --testimonial-rule: #0e0e101a;
  --testimonial-metric-bg: #22c55e1a;
  --testimonial-metric: #176738;
}
.testimonial-card:nth-of-type(2) {
  background: #0e0e10;
  color: #f8f8f5;
  --testimonial-mark: var(--acd);
  --testimonial-role: #c6c6ca;
  --testimonial-rule: #ffffff29;
  --testimonial-metric-bg: var(--acd);
  --testimonial-metric: #0e0e10;
}
.testimonial-card:nth-of-type(2) .testimonial-avatar {
  color: #0e0e10 !important;
  background: var(--acd) !important;
}
#ct-hero {
  min-height: min(660px, max(490px, 78svh));
  height: auto;
  display: flex;
  align-items: flex-end;
  padding: clamp(124px, 20svh, 220px) clamp(16px, 2.8vw, 48px) 114px;
  background: radial-gradient(ellipse at 87% 96%, #b6ff3224, transparent 58%), #0e0e10;
}
#ct-hero .ct-hero-copy { width: 100%; }
#ct-hero h1 { text-wrap: balance; }
.lang-switch { margin-left: 5px; }
.lang-options a[aria-current=true] { background: color-mix(in srgb, var(--accent) 28%, #fff); }
.lang-options a[aria-current=true]::after { background: #416313; }

@media (max-width: 859px) {
  #yx-seg { height: 280vh !important; height: 280svh !important; }
  #yx-seg-sticky {
    top: min(0px, calc(100svh - 680px)) !important;
    height: max(100svh, 680px) !important;
    padding: 83px 16px 24px !important;
  }
  #yx-seg-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    max-width: 500px !important;
  }
  #yx-seg-right { display: contents; }
  #yx-seg-label { grid-row: 1; margin-bottom: 0 !important; }
  #yx-seg-words { grid-row: 2; display: grid !important; }
  #yx-seg-words [data-segw] {
    grid-area: 1 / 1;
    visibility: hidden;
    gap: 8px !important;
    font-size: clamp(28px, 7vw, 42px) !important;
  }
  #yx-seg-words [data-segw][data-active] { visibility: visible; }
  #yx-seg-words [data-segs] { font-size: 11px !important; }
  #yx-seg-card {
    grid-row: 3;
    height: clamp(420px, 51svh, 465px);
    max-height: none !important;
    aspect-ratio: auto !important;
    border-radius: 22px !important;
  }
  .audience-content { inset-inline: 27px 12px; }
  .audience-icon { width: min(29%, 112px); }
  #yx-seg-dots { left: 6px !important; padding: 7px 4px !important; }
  #yx-seg-texts { grid-row: 4; display: grid; min-height: 0 !important; margin-top: 3px !important; }
  #yx-seg-texts [data-segt] { grid-area: 1 / 1; position: relative !important; min-width: 0; }
  #yx-seg-texts [data-segt] > div:first-child { font-size: 17px !important; }
  #yx-seg-texts [data-segt] > p { margin-top: 5px !important; font-size: 13px !important; line-height: 1.48 !important; }
  #yx-seg-texts [data-segt] > div:nth-of-type(2) { display: none !important; }
  #yx-seg-texts [data-segt] > a { margin-top: 8px !important; font-size: 13px !important; }
  #yx-feat-panel { transition: background-color .35s ease, border-color .35s ease; }
  #yx-feat-panel[data-tone="dark"] { background: #15161a !important; border-color: #303236 !important; }
  #yx-feat-panel [data-panel] { padding: 13px !important; gap: 8px !important; }
  #yx-feat-panel [data-panel] > div { zoom: .78; }
  #yx-feat-panel [data-panel="3"] > div:first-child { color: #fff; }
  #yx-feat-panel [data-panel="3"] > div:first-child > div:last-child { color: #c9c9c9 !important; }
  #yx-feat-panel [data-panel="3"] > div:nth-child(2) > div > div:first-child { color: #fff; white-space: normal !important; }
  #yx-feat-panel[data-tone="dark"] [data-panel="3"] > div:nth-child(2) > div > div:first-child > span { color: var(--accent) !important; }
  #yx-feat-panel[data-tone="dark"] [data-dot] { background: #bfc2b7 !important; }
  #yx-feat-panel[data-tone="dark"] [data-dot][data-active] { background: var(--accent) !important; }
  .tobi-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tobi-stat-value { font-size: clamp(38px, 10.5vw, 69px); }
  #ct-hero { padding-bottom: 96px; }
}

@media (max-width: 390px) {
  .audience-content { inset-inline: 23px 10px; }
  .audience-content--enterprise > div:last-child > div { padding-inline: 6px !important; }
  .studio-tile { padding: 7px 6px; }
  #yx-feat-panel [data-panel] > div { zoom: .7; }
  #ct-nav-shell a[href="#form"] { padding-inline: 6px !important; }
  #ct-start { padding-inline: 9px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #yx-seg [data-segp], #yx-seg [data-segt], #yx-feat-panel [data-panel] { transition: none !important; }
}
